diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/package.json b/extensions/cactus-plugin-htlc-coordinator-besu/package.json index 4a74c83425b..a869c13bdb6 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/package.json +++ b/extensions/cactus-plugin-htlc-coordinator-besu/package.json @@ -47,6 +47,7 @@ "codegen:openapi": "run-p generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --ignore-file-override=../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev webpack:prod", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..04570a0c164 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,20 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_counterparty_htlc_request.go +model_htlc_package.go +model_own_htlc_request.go +model_web3_signing_credential.go +model_web3_signing_credential_cactus_keychain_ref.go +model_web3_signing_credential_none.go +model_web3_signing_credential_private_key_hex.go +model_web3_signing_credential_type.go +model_withdraw_counterparty_request.go +response.go +test/api_default_test.go +utils.go diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/.travis.yml b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/README.md b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..2a172aae2e4 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,122 @@ +# Go API client for cactus-plugin-htlc-coordinator-besu + +Can exchange assets between networks + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-htlc-coordinator-besu "github.com/hyperledger/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-htlc-coordinator-besu.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-htlc-coordinator-besu.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-htlc-coordinator-besu.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-htlc-coordinator-besu.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *https://www.cactus.stream* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**CounterpartyHtlcV1**](docs/DefaultApi.md#counterpartyhtlcv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/counterparty-htlc | Create an instance to interact with the counterparty HTLC +*DefaultApi* | [**OwnHtlcV1**](docs/DefaultApi.md#ownhtlcv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/own-htlc | Create an instance to interact with the own HTLC. +*DefaultApi* | [**WithdrawCounterpartyV1**](docs/DefaultApi.md#withdrawcounterpartyv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/withdraw-counterparty | Withdraw funds of the counterparty HTLC + + +## Documentation For Models + + - [CounterpartyHTLCRequest](docs/CounterpartyHTLCRequest.md) + - [HtlcPackage](docs/HtlcPackage.md) + - [OwnHTLCRequest](docs/OwnHTLCRequest.md) + - [Web3SigningCredential](docs/Web3SigningCredential.md) + - [Web3SigningCredentialCactusKeychainRef](docs/Web3SigningCredentialCactusKeychainRef.md) + - [Web3SigningCredentialNone](docs/Web3SigningCredentialNone.md) + - [Web3SigningCredentialPrivateKeyHex](docs/Web3SigningCredentialPrivateKeyHex.md) + - [Web3SigningCredentialType](docs/Web3SigningCredentialType.md) + - [WithdrawCounterpartyRequest](docs/WithdrawCounterpartyRequest.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/api/openapi.yaml b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..bf233a5046d --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,335 @@ +openapi: 3.0.3 +info: + description: Can exchange assets between networks + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - HTLC Coordinator + version: v2.0.0-alpha.2 +servers: +- description: Public test instance + url: "https://www.cactus.stream/{basePath}" + variables: + basePath: + default: "" +- description: Local test instance + url: "http://localhost:4000/{basePath}" + variables: + basePath: + default: "" +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/own-htlc: + post: + operationId: ownHtlcV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/OwnHTLCRequest' + responses: + "200": + content: + application/json: + schema: {} + description: OK + summary: Create an instance to interact with the own HTLC. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/own-htlc + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/counterparty-htlc: + post: + operationId: counterpartyHtlcV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CounterpartyHTLCRequest' + responses: + "200": + content: + application/json: + schema: {} + description: OK + summary: Create an instance to interact with the counterparty HTLC + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/counterparty-htlc + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/withdraw-counterparty: + post: + operationId: withdrawCounterpartyV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WithdrawCounterpartyRequest' + responses: + "200": + content: + application/json: + schema: {} + description: OK + summary: Withdraw funds of the counterparty HTLC + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/withdraw-counterparty +components: + schemas: + OwnHTLCRequest: + example: + htlcPackage: null + receiver: receiver + connectorInstanceId: connectorInstanceId + constructorArgs: + - "" + - "" + outputAmount: 6.027456183070403 + outputNetwork: outputNetwork + hashLock: hashLock + inputAmount: 0.8008281904610115 + tokenAddress: tokenAddress + outputAddress: outputAddress + keychainId: keychainId + gas: 5.962133916683182 + web3SigningCredential: + type: null + expiration: 1.4658129805029452 + properties: + htlcPackage: + $ref: '#/components/schemas/HtlcPackage' + connectorInstanceId: + description: connector Instance Id for the connector plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychain plugin + nullable: false + type: string + constructorArgs: + default: [] + items: {} + type: array + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + inputAmount: + description: Input amount to lock + nullable: false + type: number + outputAmount: + description: Output amount to lock + nullable: false + type: number + expiration: + description: Timestamp to expire the contract + nullable: false + type: number + hashLock: + description: Hashlock needed to refund the amount + nullable: false + type: string + tokenAddress: + description: The token address + nullable: false + type: string + receiver: + description: The receiver address + nullable: false + type: string + outputNetwork: + description: The output network id + nullable: false + type: string + outputAddress: + description: The output addreess to receive the tokens + nullable: false + type: string + gas: + type: number + required: + - connectorInstanceId + - constructorArgs + - expiration + - hashLock + - htlcPackage + - inputAmount + - keychainId + - outputAddress + - outputAmount + - outputNetwork + - receiver + - tokenAddress + - web3SigningCredential + type: object + CounterpartyHTLCRequest: + example: + htlcPackage: null + htlcId: htlcId + keychainId: keychainId + connectorInstanceId: connectorInstanceId + gas: 0.8008281904610115 + web3SigningCredential: + type: null + properties: + htlcPackage: + $ref: '#/components/schemas/HtlcPackage' + connectorInstanceId: + description: connector Instance Id for the connector plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychain plugin + nullable: false + type: string + htlcId: + description: Id for the HTLC + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + gas: + type: number + required: + - connectorInstanceId + - htlcId + - htlcPackage + - keychainId + - web3SigningCredential + type: object + WithdrawCounterpartyRequest: + example: + htlcPackage: null + htlcId: htlcId + keychainId: keychainId + connectorInstanceId: connectorInstanceId + contractId: contractId + gas: 0.8008281904610115 + web3SigningCredential: + type: null + secret: secret + properties: + htlcPackage: + $ref: '#/components/schemas/HtlcPackage' + connectorInstanceId: + description: connector Instance Id for the connector plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychain plugin + nullable: false + type: string + contractId: + description: contractId for the contract + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + htlcId: + description: Id for the HTLC + nullable: false + type: string + secret: + description: Counterparty HTLC secret + nullable: false + type: string + gas: + type: number + required: + - connectorInstanceId + - htlcId + - htlcPackage + - keychainId + - secret + - web3SigningCredential + type: object + HtlcPackage: + enum: + - BESU + - BESU_ERC20 + type: string + Web3SigningCredential: + discriminator: + propertyName: type + example: + type: null + oneOf: + - $ref: '#/components/schemas/Web3SigningCredentialCactusKeychainRef' + - $ref: '#/components/schemas/Web3SigningCredentialPrivateKeyHex' + - $ref: '#/components/schemas/Web3SigningCredentialNone' + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialCactusKeychainRef: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + keychainEntryKey: + description: The key to use when looking up the the keychain entry holding + the secret pointed to by the keychainEntryKey parameter. + maxLength: 1024 + minLength: 0 + type: string + keychainId: + description: The keychain ID to use when looking up the the keychain plugin + instance that will be used to retrieve the secret pointed to by the keychainEntryKey + parameter. + maxLength: 1024 + minLength: 0 + type: string + required: + - ethAccount + - keychainEntryKey + - keychainId + - type + type: object + Web3SigningCredentialType: + enum: + - CACTUS_KEYCHAIN_REF + - GETH_KEYCHAIN_PASSWORD + - PRIVATE_KEY_HEX + - NONE + type: string + Web3SigningCredentialPrivateKeyHex: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + secret: + description: The HEX encoded private key of an eth account. + maxLength: 65535 + minLength: 0 + type: string + required: + - ethAccount + - secret + - type + type: object + Web3SigningCredentialNone: + description: Using this denotes that there is no signing required because the + transaction is pre-signed. + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/api_default.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..2a878130dfe --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,338 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiCounterpartyHtlcV1Request struct { + ctx context.Context + ApiService *DefaultApiService + counterpartyHTLCRequest *CounterpartyHTLCRequest +} + +func (r ApiCounterpartyHtlcV1Request) CounterpartyHTLCRequest(counterpartyHTLCRequest CounterpartyHTLCRequest) ApiCounterpartyHtlcV1Request { + r.counterpartyHTLCRequest = &counterpartyHTLCRequest + return r +} + +func (r ApiCounterpartyHtlcV1Request) Execute() (interface{}, *http.Response, error) { + return r.ApiService.CounterpartyHtlcV1Execute(r) +} + +/* +CounterpartyHtlcV1 Create an instance to interact with the counterparty HTLC + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCounterpartyHtlcV1Request +*/ +func (a *DefaultApiService) CounterpartyHtlcV1(ctx context.Context) ApiCounterpartyHtlcV1Request { + return ApiCounterpartyHtlcV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return interface{} +func (a *DefaultApiService) CounterpartyHtlcV1Execute(r ApiCounterpartyHtlcV1Request) (interface{}, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue interface{} + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CounterpartyHtlcV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/counterparty-htlc" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.counterpartyHTLCRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOwnHtlcV1Request struct { + ctx context.Context + ApiService *DefaultApiService + ownHTLCRequest *OwnHTLCRequest +} + +func (r ApiOwnHtlcV1Request) OwnHTLCRequest(ownHTLCRequest OwnHTLCRequest) ApiOwnHtlcV1Request { + r.ownHTLCRequest = &ownHTLCRequest + return r +} + +func (r ApiOwnHtlcV1Request) Execute() (interface{}, *http.Response, error) { + return r.ApiService.OwnHtlcV1Execute(r) +} + +/* +OwnHtlcV1 Create an instance to interact with the own HTLC. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiOwnHtlcV1Request +*/ +func (a *DefaultApiService) OwnHtlcV1(ctx context.Context) ApiOwnHtlcV1Request { + return ApiOwnHtlcV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return interface{} +func (a *DefaultApiService) OwnHtlcV1Execute(r ApiOwnHtlcV1Request) (interface{}, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue interface{} + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.OwnHtlcV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/own-htlc" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.ownHTLCRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiWithdrawCounterpartyV1Request struct { + ctx context.Context + ApiService *DefaultApiService + withdrawCounterpartyRequest *WithdrawCounterpartyRequest +} + +func (r ApiWithdrawCounterpartyV1Request) WithdrawCounterpartyRequest(withdrawCounterpartyRequest WithdrawCounterpartyRequest) ApiWithdrawCounterpartyV1Request { + r.withdrawCounterpartyRequest = &withdrawCounterpartyRequest + return r +} + +func (r ApiWithdrawCounterpartyV1Request) Execute() (interface{}, *http.Response, error) { + return r.ApiService.WithdrawCounterpartyV1Execute(r) +} + +/* +WithdrawCounterpartyV1 Withdraw funds of the counterparty HTLC + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiWithdrawCounterpartyV1Request +*/ +func (a *DefaultApiService) WithdrawCounterpartyV1(ctx context.Context) ApiWithdrawCounterpartyV1Request { + return ApiWithdrawCounterpartyV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return interface{} +func (a *DefaultApiService) WithdrawCounterpartyV1Execute(r ApiWithdrawCounterpartyV1Request) (interface{}, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue interface{} + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.WithdrawCounterpartyV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-coordinator-besu/withdraw-counterparty" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.withdrawCounterpartyRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/client.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..ea9ac1e7db0 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - HTLC Coordinator API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/configuration.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..c6a42a4a002 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,231 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "https://www.cactus.stream/{basePath}", + Description: "Public test instance", + Variables: map[string]ServerVariable{ + "basePath": ServerVariable{ + Description: "No description provided", + DefaultValue: "", + }, + }, + }, + { + URL: "http://localhost:4000/{basePath}", + Description: "Local test instance", + Variables: map[string]ServerVariable{ + "basePath": ServerVariable{ + Description: "No description provided", + DefaultValue: "", + }, + }, + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/go.mod b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..23a18c809de --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/go.sum b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_counterparty_htlc_request.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_counterparty_htlc_request.go new file mode 100644 index 00000000000..67fae80c12b --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_counterparty_htlc_request.go @@ -0,0 +1,264 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" +) + +// checks if the CounterpartyHTLCRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CounterpartyHTLCRequest{} + +// CounterpartyHTLCRequest struct for CounterpartyHTLCRequest +type CounterpartyHTLCRequest struct { + HtlcPackage HtlcPackage `json:"htlcPackage"` + // connector Instance Id for the connector plugin + ConnectorInstanceId string `json:"connectorInstanceId"` + // keychainId for the keychain plugin + KeychainId string `json:"keychainId"` + // Id for the HTLC + HtlcId string `json:"htlcId"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + Gas *float32 `json:"gas,omitempty"` +} + +// NewCounterpartyHTLCRequest instantiates a new CounterpartyHTLCRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCounterpartyHTLCRequest(htlcPackage HtlcPackage, connectorInstanceId string, keychainId string, htlcId string, web3SigningCredential Web3SigningCredential) *CounterpartyHTLCRequest { + this := CounterpartyHTLCRequest{} + this.HtlcPackage = htlcPackage + this.ConnectorInstanceId = connectorInstanceId + this.KeychainId = keychainId + this.HtlcId = htlcId + this.Web3SigningCredential = web3SigningCredential + return &this +} + +// NewCounterpartyHTLCRequestWithDefaults instantiates a new CounterpartyHTLCRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCounterpartyHTLCRequestWithDefaults() *CounterpartyHTLCRequest { + this := CounterpartyHTLCRequest{} + return &this +} + +// GetHtlcPackage returns the HtlcPackage field value +func (o *CounterpartyHTLCRequest) GetHtlcPackage() HtlcPackage { + if o == nil { + var ret HtlcPackage + return ret + } + + return o.HtlcPackage +} + +// GetHtlcPackageOk returns a tuple with the HtlcPackage field value +// and a boolean to check if the value has been set. +func (o *CounterpartyHTLCRequest) GetHtlcPackageOk() (*HtlcPackage, bool) { + if o == nil { + return nil, false + } + return &o.HtlcPackage, true +} + +// SetHtlcPackage sets field value +func (o *CounterpartyHTLCRequest) SetHtlcPackage(v HtlcPackage) { + o.HtlcPackage = v +} + +// GetConnectorInstanceId returns the ConnectorInstanceId field value +func (o *CounterpartyHTLCRequest) GetConnectorInstanceId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorInstanceId +} + +// GetConnectorInstanceIdOk returns a tuple with the ConnectorInstanceId field value +// and a boolean to check if the value has been set. +func (o *CounterpartyHTLCRequest) GetConnectorInstanceIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorInstanceId, true +} + +// SetConnectorInstanceId sets field value +func (o *CounterpartyHTLCRequest) SetConnectorInstanceId(v string) { + o.ConnectorInstanceId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *CounterpartyHTLCRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *CounterpartyHTLCRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *CounterpartyHTLCRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetHtlcId returns the HtlcId field value +func (o *CounterpartyHTLCRequest) GetHtlcId() string { + if o == nil { + var ret string + return ret + } + + return o.HtlcId +} + +// GetHtlcIdOk returns a tuple with the HtlcId field value +// and a boolean to check if the value has been set. +func (o *CounterpartyHTLCRequest) GetHtlcIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HtlcId, true +} + +// SetHtlcId sets field value +func (o *CounterpartyHTLCRequest) SetHtlcId(v string) { + o.HtlcId = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *CounterpartyHTLCRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *CounterpartyHTLCRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *CounterpartyHTLCRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *CounterpartyHTLCRequest) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CounterpartyHTLCRequest) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *CounterpartyHTLCRequest) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *CounterpartyHTLCRequest) SetGas(v float32) { + o.Gas = &v +} + +func (o CounterpartyHTLCRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CounterpartyHTLCRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["htlcPackage"] = o.HtlcPackage + toSerialize["connectorInstanceId"] = o.ConnectorInstanceId + toSerialize["keychainId"] = o.KeychainId + toSerialize["htlcId"] = o.HtlcId + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableCounterpartyHTLCRequest struct { + value *CounterpartyHTLCRequest + isSet bool +} + +func (v NullableCounterpartyHTLCRequest) Get() *CounterpartyHTLCRequest { + return v.value +} + +func (v *NullableCounterpartyHTLCRequest) Set(val *CounterpartyHTLCRequest) { + v.value = val + v.isSet = true +} + +func (v NullableCounterpartyHTLCRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableCounterpartyHTLCRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCounterpartyHTLCRequest(val *CounterpartyHTLCRequest) *NullableCounterpartyHTLCRequest { + return &NullableCounterpartyHTLCRequest{value: val, isSet: true} +} + +func (v NullableCounterpartyHTLCRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCounterpartyHTLCRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_htlc_package.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_htlc_package.go new file mode 100644 index 00000000000..adeccb4cda5 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_htlc_package.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" + "fmt" +) + +// HtlcPackage the model 'HtlcPackage' +type HtlcPackage string + +// List of HtlcPackage +const ( + BESU HtlcPackage = "BESU" + BESU_ERC20 HtlcPackage = "BESU_ERC20" +) + +// All allowed values of HtlcPackage enum +var AllowedHtlcPackageEnumValues = []HtlcPackage{ + "BESU", + "BESU_ERC20", +} + +func (v *HtlcPackage) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := HtlcPackage(value) + for _, existing := range AllowedHtlcPackageEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid HtlcPackage", value) +} + +// NewHtlcPackageFromValue returns a pointer to a valid HtlcPackage +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewHtlcPackageFromValue(v string) (*HtlcPackage, error) { + ev := HtlcPackage(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for HtlcPackage: valid values are %v", v, AllowedHtlcPackageEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v HtlcPackage) IsValid() bool { + for _, existing := range AllowedHtlcPackageEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to HtlcPackage value +func (v HtlcPackage) Ptr() *HtlcPackage { + return &v +} + +type NullableHtlcPackage struct { + value *HtlcPackage + isSet bool +} + +func (v NullableHtlcPackage) Get() *HtlcPackage { + return v.value +} + +func (v *NullableHtlcPackage) Set(val *HtlcPackage) { + v.value = val + v.isSet = true +} + +func (v NullableHtlcPackage) IsSet() bool { + return v.isSet +} + +func (v *NullableHtlcPackage) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHtlcPackage(val *HtlcPackage) *NullableHtlcPackage { + return &NullableHtlcPackage{value: val, isSet: true} +} + +func (v NullableHtlcPackage) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHtlcPackage) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_own_htlc_request.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_own_htlc_request.go new file mode 100644 index 00000000000..d38473839dc --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_own_htlc_request.go @@ -0,0 +1,487 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" +) + +// checks if the OwnHTLCRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &OwnHTLCRequest{} + +// OwnHTLCRequest struct for OwnHTLCRequest +type OwnHTLCRequest struct { + HtlcPackage HtlcPackage `json:"htlcPackage"` + // connector Instance Id for the connector plugin + ConnectorInstanceId string `json:"connectorInstanceId"` + // keychainId for the keychain plugin + KeychainId string `json:"keychainId"` + ConstructorArgs []interface{} `json:"constructorArgs"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // Input amount to lock + InputAmount float32 `json:"inputAmount"` + // Output amount to lock + OutputAmount float32 `json:"outputAmount"` + // Timestamp to expire the contract + Expiration float32 `json:"expiration"` + // Hashlock needed to refund the amount + HashLock string `json:"hashLock"` + // The token address + TokenAddress string `json:"tokenAddress"` + // The receiver address + Receiver string `json:"receiver"` + // The output network id + OutputNetwork string `json:"outputNetwork"` + // The output addreess to receive the tokens + OutputAddress string `json:"outputAddress"` + Gas *float32 `json:"gas,omitempty"` +} + +// NewOwnHTLCRequest instantiates a new OwnHTLCRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewOwnHTLCRequest(htlcPackage HtlcPackage, connectorInstanceId string, keychainId string, constructorArgs []interface{}, web3SigningCredential Web3SigningCredential, inputAmount float32, outputAmount float32, expiration float32, hashLock string, tokenAddress string, receiver string, outputNetwork string, outputAddress string) *OwnHTLCRequest { + this := OwnHTLCRequest{} + this.HtlcPackage = htlcPackage + this.ConnectorInstanceId = connectorInstanceId + this.KeychainId = keychainId + this.ConstructorArgs = constructorArgs + this.Web3SigningCredential = web3SigningCredential + this.InputAmount = inputAmount + this.OutputAmount = outputAmount + this.Expiration = expiration + this.HashLock = hashLock + this.TokenAddress = tokenAddress + this.Receiver = receiver + this.OutputNetwork = outputNetwork + this.OutputAddress = outputAddress + return &this +} + +// NewOwnHTLCRequestWithDefaults instantiates a new OwnHTLCRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOwnHTLCRequestWithDefaults() *OwnHTLCRequest { + this := OwnHTLCRequest{} + return &this +} + +// GetHtlcPackage returns the HtlcPackage field value +func (o *OwnHTLCRequest) GetHtlcPackage() HtlcPackage { + if o == nil { + var ret HtlcPackage + return ret + } + + return o.HtlcPackage +} + +// GetHtlcPackageOk returns a tuple with the HtlcPackage field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetHtlcPackageOk() (*HtlcPackage, bool) { + if o == nil { + return nil, false + } + return &o.HtlcPackage, true +} + +// SetHtlcPackage sets field value +func (o *OwnHTLCRequest) SetHtlcPackage(v HtlcPackage) { + o.HtlcPackage = v +} + +// GetConnectorInstanceId returns the ConnectorInstanceId field value +func (o *OwnHTLCRequest) GetConnectorInstanceId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorInstanceId +} + +// GetConnectorInstanceIdOk returns a tuple with the ConnectorInstanceId field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetConnectorInstanceIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorInstanceId, true +} + +// SetConnectorInstanceId sets field value +func (o *OwnHTLCRequest) SetConnectorInstanceId(v string) { + o.ConnectorInstanceId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *OwnHTLCRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *OwnHTLCRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetConstructorArgs returns the ConstructorArgs field value +func (o *OwnHTLCRequest) GetConstructorArgs() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.ConstructorArgs, true +} + +// SetConstructorArgs sets field value +func (o *OwnHTLCRequest) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *OwnHTLCRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *OwnHTLCRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetInputAmount returns the InputAmount field value +func (o *OwnHTLCRequest) GetInputAmount() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.InputAmount +} + +// GetInputAmountOk returns a tuple with the InputAmount field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetInputAmountOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.InputAmount, true +} + +// SetInputAmount sets field value +func (o *OwnHTLCRequest) SetInputAmount(v float32) { + o.InputAmount = v +} + +// GetOutputAmount returns the OutputAmount field value +func (o *OwnHTLCRequest) GetOutputAmount() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.OutputAmount +} + +// GetOutputAmountOk returns a tuple with the OutputAmount field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetOutputAmountOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.OutputAmount, true +} + +// SetOutputAmount sets field value +func (o *OwnHTLCRequest) SetOutputAmount(v float32) { + o.OutputAmount = v +} + +// GetExpiration returns the Expiration field value +func (o *OwnHTLCRequest) GetExpiration() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Expiration +} + +// GetExpirationOk returns a tuple with the Expiration field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetExpirationOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Expiration, true +} + +// SetExpiration sets field value +func (o *OwnHTLCRequest) SetExpiration(v float32) { + o.Expiration = v +} + +// GetHashLock returns the HashLock field value +func (o *OwnHTLCRequest) GetHashLock() string { + if o == nil { + var ret string + return ret + } + + return o.HashLock +} + +// GetHashLockOk returns a tuple with the HashLock field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetHashLockOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashLock, true +} + +// SetHashLock sets field value +func (o *OwnHTLCRequest) SetHashLock(v string) { + o.HashLock = v +} + +// GetTokenAddress returns the TokenAddress field value +func (o *OwnHTLCRequest) GetTokenAddress() string { + if o == nil { + var ret string + return ret + } + + return o.TokenAddress +} + +// GetTokenAddressOk returns a tuple with the TokenAddress field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetTokenAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenAddress, true +} + +// SetTokenAddress sets field value +func (o *OwnHTLCRequest) SetTokenAddress(v string) { + o.TokenAddress = v +} + +// GetReceiver returns the Receiver field value +func (o *OwnHTLCRequest) GetReceiver() string { + if o == nil { + var ret string + return ret + } + + return o.Receiver +} + +// GetReceiverOk returns a tuple with the Receiver field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetReceiverOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Receiver, true +} + +// SetReceiver sets field value +func (o *OwnHTLCRequest) SetReceiver(v string) { + o.Receiver = v +} + +// GetOutputNetwork returns the OutputNetwork field value +func (o *OwnHTLCRequest) GetOutputNetwork() string { + if o == nil { + var ret string + return ret + } + + return o.OutputNetwork +} + +// GetOutputNetworkOk returns a tuple with the OutputNetwork field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetOutputNetworkOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OutputNetwork, true +} + +// SetOutputNetwork sets field value +func (o *OwnHTLCRequest) SetOutputNetwork(v string) { + o.OutputNetwork = v +} + +// GetOutputAddress returns the OutputAddress field value +func (o *OwnHTLCRequest) GetOutputAddress() string { + if o == nil { + var ret string + return ret + } + + return o.OutputAddress +} + +// GetOutputAddressOk returns a tuple with the OutputAddress field value +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetOutputAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OutputAddress, true +} + +// SetOutputAddress sets field value +func (o *OwnHTLCRequest) SetOutputAddress(v string) { + o.OutputAddress = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *OwnHTLCRequest) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OwnHTLCRequest) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *OwnHTLCRequest) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *OwnHTLCRequest) SetGas(v float32) { + o.Gas = &v +} + +func (o OwnHTLCRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o OwnHTLCRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["htlcPackage"] = o.HtlcPackage + toSerialize["connectorInstanceId"] = o.ConnectorInstanceId + toSerialize["keychainId"] = o.KeychainId + toSerialize["constructorArgs"] = o.ConstructorArgs + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["inputAmount"] = o.InputAmount + toSerialize["outputAmount"] = o.OutputAmount + toSerialize["expiration"] = o.Expiration + toSerialize["hashLock"] = o.HashLock + toSerialize["tokenAddress"] = o.TokenAddress + toSerialize["receiver"] = o.Receiver + toSerialize["outputNetwork"] = o.OutputNetwork + toSerialize["outputAddress"] = o.OutputAddress + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableOwnHTLCRequest struct { + value *OwnHTLCRequest + isSet bool +} + +func (v NullableOwnHTLCRequest) Get() *OwnHTLCRequest { + return v.value +} + +func (v *NullableOwnHTLCRequest) Set(val *OwnHTLCRequest) { + v.value = val + v.isSet = true +} + +func (v NullableOwnHTLCRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableOwnHTLCRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOwnHTLCRequest(val *OwnHTLCRequest) *NullableOwnHTLCRequest { + return &NullableOwnHTLCRequest{value: val, isSet: true} +} + +func (v NullableOwnHTLCRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOwnHTLCRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go new file mode 100644 index 00000000000..ca4bf4dcc51 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go @@ -0,0 +1,178 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredential - struct for Web3SigningCredential +type Web3SigningCredential struct { + Web3SigningCredentialCactusKeychainRef *Web3SigningCredentialCactusKeychainRef + Web3SigningCredentialNone *Web3SigningCredentialNone + Web3SigningCredentialPrivateKeyHex *Web3SigningCredentialPrivateKeyHex +} + +// Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialCactusKeychainRef wrapped in Web3SigningCredential +func Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential(v *Web3SigningCredentialCactusKeychainRef) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialCactusKeychainRef: v, + } +} + +// Web3SigningCredentialNoneAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialNone wrapped in Web3SigningCredential +func Web3SigningCredentialNoneAsWeb3SigningCredential(v *Web3SigningCredentialNone) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialNone: v, + } +} + +// Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialPrivateKeyHex wrapped in Web3SigningCredential +func Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential(v *Web3SigningCredentialPrivateKeyHex) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialPrivateKeyHex: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Web3SigningCredential) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Web3SigningCredentialCactusKeychainRef + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialCactusKeychainRef) + if err == nil { + jsonWeb3SigningCredentialCactusKeychainRef, _ := json.Marshal(dst.Web3SigningCredentialCactusKeychainRef) + if string(jsonWeb3SigningCredentialCactusKeychainRef) == "{}" { // empty struct + dst.Web3SigningCredentialCactusKeychainRef = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialCactusKeychainRef = nil + } + + // try to unmarshal data into Web3SigningCredentialNone + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialNone) + if err == nil { + jsonWeb3SigningCredentialNone, _ := json.Marshal(dst.Web3SigningCredentialNone) + if string(jsonWeb3SigningCredentialNone) == "{}" { // empty struct + dst.Web3SigningCredentialNone = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialNone = nil + } + + // try to unmarshal data into Web3SigningCredentialPrivateKeyHex + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialPrivateKeyHex) + if err == nil { + jsonWeb3SigningCredentialPrivateKeyHex, _ := json.Marshal(dst.Web3SigningCredentialPrivateKeyHex) + if string(jsonWeb3SigningCredentialPrivateKeyHex) == "{}" { // empty struct + dst.Web3SigningCredentialPrivateKeyHex = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialPrivateKeyHex = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Web3SigningCredentialCactusKeychainRef = nil + dst.Web3SigningCredentialNone = nil + dst.Web3SigningCredentialPrivateKeyHex = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Web3SigningCredential)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Web3SigningCredential)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Web3SigningCredential) MarshalJSON() ([]byte, error) { + if src.Web3SigningCredentialCactusKeychainRef != nil { + return json.Marshal(&src.Web3SigningCredentialCactusKeychainRef) + } + + if src.Web3SigningCredentialNone != nil { + return json.Marshal(&src.Web3SigningCredentialNone) + } + + if src.Web3SigningCredentialPrivateKeyHex != nil { + return json.Marshal(&src.Web3SigningCredentialPrivateKeyHex) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Web3SigningCredential) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Web3SigningCredentialCactusKeychainRef != nil { + return obj.Web3SigningCredentialCactusKeychainRef + } + + if obj.Web3SigningCredentialNone != nil { + return obj.Web3SigningCredentialNone + } + + if obj.Web3SigningCredentialPrivateKeyHex != nil { + return obj.Web3SigningCredentialPrivateKeyHex + } + + // all schemas are nil + return nil +} + +type NullableWeb3SigningCredential struct { + value *Web3SigningCredential + isSet bool +} + +func (v NullableWeb3SigningCredential) Get() *Web3SigningCredential { + return v.value +} + +func (v *NullableWeb3SigningCredential) Set(val *Web3SigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredential(val *Web3SigningCredential) *NullableWeb3SigningCredential { + return &NullableWeb3SigningCredential{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go new file mode 100644 index 00000000000..4f0c40bc458 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go @@ -0,0 +1,201 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialCactusKeychainRef type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialCactusKeychainRef{} + +// Web3SigningCredentialCactusKeychainRef struct for Web3SigningCredentialCactusKeychainRef +type Web3SigningCredentialCactusKeychainRef struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The key to use when looking up the the keychain entry holding the secret pointed to by the keychainEntryKey parameter. + KeychainEntryKey string `json:"keychainEntryKey"` + // The keychain ID to use when looking up the the keychain plugin instance that will be used to retrieve the secret pointed to by the keychainEntryKey parameter. + KeychainId string `json:"keychainId"` +} + +// NewWeb3SigningCredentialCactusKeychainRef instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialCactusKeychainRef(type_ Web3SigningCredentialType, ethAccount string, keychainEntryKey string, keychainId string) *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + this.Type = type_ + this.EthAccount = ethAccount + this.KeychainEntryKey = keychainEntryKey + this.KeychainId = keychainId + return &this +} + +// NewWeb3SigningCredentialCactusKeychainRefWithDefaults instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialCactusKeychainRefWithDefaults() *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialCactusKeychainRef) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetKeychainEntryKey returns the KeychainEntryKey field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKey() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainEntryKey +} + +// GetKeychainEntryKeyOk returns a tuple with the KeychainEntryKey field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainEntryKey, true +} + +// SetKeychainEntryKey sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainEntryKey(v string) { + o.KeychainEntryKey = v +} + +// GetKeychainId returns the KeychainId field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o Web3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialCactusKeychainRef) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["keychainEntryKey"] = o.KeychainEntryKey + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableWeb3SigningCredentialCactusKeychainRef struct { + value *Web3SigningCredentialCactusKeychainRef + isSet bool +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) Get() *Web3SigningCredentialCactusKeychainRef { + return v.value +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Set(val *Web3SigningCredentialCactusKeychainRef) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialCactusKeychainRef(val *Web3SigningCredentialCactusKeychainRef) *NullableWeb3SigningCredentialCactusKeychainRef { + return &NullableWeb3SigningCredentialCactusKeychainRef{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go new file mode 100644 index 00000000000..36be4c123d1 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialNone type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialNone{} + +// Web3SigningCredentialNone Using this denotes that there is no signing required because the transaction is pre-signed. +type Web3SigningCredentialNone struct { + Type Web3SigningCredentialType `json:"type"` +} + +// NewWeb3SigningCredentialNone instantiates a new Web3SigningCredentialNone object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialNone(type_ Web3SigningCredentialType) *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + this.Type = type_ + return &this +} + +// NewWeb3SigningCredentialNoneWithDefaults instantiates a new Web3SigningCredentialNone object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialNoneWithDefaults() *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialNone) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialNone) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialNone) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +func (o Web3SigningCredentialNone) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialNone) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + return toSerialize, nil +} + +type NullableWeb3SigningCredentialNone struct { + value *Web3SigningCredentialNone + isSet bool +} + +func (v NullableWeb3SigningCredentialNone) Get() *Web3SigningCredentialNone { + return v.value +} + +func (v *NullableWeb3SigningCredentialNone) Set(val *Web3SigningCredentialNone) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialNone) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialNone) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialNone(val *Web3SigningCredentialNone) *NullableWeb3SigningCredentialNone { + return &NullableWeb3SigningCredentialNone{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialNone) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialNone) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go new file mode 100644 index 00000000000..f8b78c4525c --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialPrivateKeyHex type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialPrivateKeyHex{} + +// Web3SigningCredentialPrivateKeyHex struct for Web3SigningCredentialPrivateKeyHex +type Web3SigningCredentialPrivateKeyHex struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The HEX encoded private key of an eth account. + Secret string `json:"secret"` +} + +// NewWeb3SigningCredentialPrivateKeyHex instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialPrivateKeyHex(type_ Web3SigningCredentialType, ethAccount string, secret string) *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + this.Type = type_ + this.EthAccount = ethAccount + this.Secret = secret + return &this +} + +// NewWeb3SigningCredentialPrivateKeyHexWithDefaults instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialPrivateKeyHexWithDefaults() *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialPrivateKeyHex) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetSecret returns the Secret field value +func (o *Web3SigningCredentialPrivateKeyHex) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetSecret(v string) { + o.Secret = v +} + +func (o Web3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialPrivateKeyHex) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["secret"] = o.Secret + return toSerialize, nil +} + +type NullableWeb3SigningCredentialPrivateKeyHex struct { + value *Web3SigningCredentialPrivateKeyHex + isSet bool +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) Get() *Web3SigningCredentialPrivateKeyHex { + return v.value +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Set(val *Web3SigningCredentialPrivateKeyHex) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialPrivateKeyHex(val *Web3SigningCredentialPrivateKeyHex) *NullableWeb3SigningCredentialPrivateKeyHex { + return &NullableWeb3SigningCredentialPrivateKeyHex{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go new file mode 100644 index 00000000000..e8e29b5747a --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredentialType the model 'Web3SigningCredentialType' +type Web3SigningCredentialType string + +// List of Web3SigningCredentialType +const ( + CACTUS_KEYCHAIN_REF Web3SigningCredentialType = "CACTUS_KEYCHAIN_REF" + GETH_KEYCHAIN_PASSWORD Web3SigningCredentialType = "GETH_KEYCHAIN_PASSWORD" + PRIVATE_KEY_HEX Web3SigningCredentialType = "PRIVATE_KEY_HEX" + NONE Web3SigningCredentialType = "NONE" +) + +// All allowed values of Web3SigningCredentialType enum +var AllowedWeb3SigningCredentialTypeEnumValues = []Web3SigningCredentialType{ + "CACTUS_KEYCHAIN_REF", + "GETH_KEYCHAIN_PASSWORD", + "PRIVATE_KEY_HEX", + "NONE", +} + +func (v *Web3SigningCredentialType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Web3SigningCredentialType(value) + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Web3SigningCredentialType", value) +} + +// NewWeb3SigningCredentialTypeFromValue returns a pointer to a valid Web3SigningCredentialType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWeb3SigningCredentialTypeFromValue(v string) (*Web3SigningCredentialType, error) { + ev := Web3SigningCredentialType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Web3SigningCredentialType: valid values are %v", v, AllowedWeb3SigningCredentialTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Web3SigningCredentialType) IsValid() bool { + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Web3SigningCredentialType value +func (v Web3SigningCredentialType) Ptr() *Web3SigningCredentialType { + return &v +} + +type NullableWeb3SigningCredentialType struct { + value *Web3SigningCredentialType + isSet bool +} + +func (v NullableWeb3SigningCredentialType) Get() *Web3SigningCredentialType { + return v.value +} + +func (v *NullableWeb3SigningCredentialType) Set(val *Web3SigningCredentialType) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialType) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialType(val *Web3SigningCredentialType) *NullableWeb3SigningCredentialType { + return &NullableWeb3SigningCredentialType{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_withdraw_counterparty_request.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_withdraw_counterparty_request.go new file mode 100644 index 00000000000..f9d27852862 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/model_withdraw_counterparty_request.go @@ -0,0 +1,329 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" +) + +// checks if the WithdrawCounterpartyRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WithdrawCounterpartyRequest{} + +// WithdrawCounterpartyRequest struct for WithdrawCounterpartyRequest +type WithdrawCounterpartyRequest struct { + HtlcPackage HtlcPackage `json:"htlcPackage"` + // connector Instance Id for the connector plugin + ConnectorInstanceId string `json:"connectorInstanceId"` + // keychainId for the keychain plugin + KeychainId string `json:"keychainId"` + // contractId for the contract + ContractId *string `json:"contractId,omitempty"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // Id for the HTLC + HtlcId string `json:"htlcId"` + // Counterparty HTLC secret + Secret string `json:"secret"` + Gas *float32 `json:"gas,omitempty"` +} + +// NewWithdrawCounterpartyRequest instantiates a new WithdrawCounterpartyRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWithdrawCounterpartyRequest(htlcPackage HtlcPackage, connectorInstanceId string, keychainId string, web3SigningCredential Web3SigningCredential, htlcId string, secret string) *WithdrawCounterpartyRequest { + this := WithdrawCounterpartyRequest{} + this.HtlcPackage = htlcPackage + this.ConnectorInstanceId = connectorInstanceId + this.KeychainId = keychainId + this.Web3SigningCredential = web3SigningCredential + this.HtlcId = htlcId + this.Secret = secret + return &this +} + +// NewWithdrawCounterpartyRequestWithDefaults instantiates a new WithdrawCounterpartyRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWithdrawCounterpartyRequestWithDefaults() *WithdrawCounterpartyRequest { + this := WithdrawCounterpartyRequest{} + return &this +} + +// GetHtlcPackage returns the HtlcPackage field value +func (o *WithdrawCounterpartyRequest) GetHtlcPackage() HtlcPackage { + if o == nil { + var ret HtlcPackage + return ret + } + + return o.HtlcPackage +} + +// GetHtlcPackageOk returns a tuple with the HtlcPackage field value +// and a boolean to check if the value has been set. +func (o *WithdrawCounterpartyRequest) GetHtlcPackageOk() (*HtlcPackage, bool) { + if o == nil { + return nil, false + } + return &o.HtlcPackage, true +} + +// SetHtlcPackage sets field value +func (o *WithdrawCounterpartyRequest) SetHtlcPackage(v HtlcPackage) { + o.HtlcPackage = v +} + +// GetConnectorInstanceId returns the ConnectorInstanceId field value +func (o *WithdrawCounterpartyRequest) GetConnectorInstanceId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorInstanceId +} + +// GetConnectorInstanceIdOk returns a tuple with the ConnectorInstanceId field value +// and a boolean to check if the value has been set. +func (o *WithdrawCounterpartyRequest) GetConnectorInstanceIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorInstanceId, true +} + +// SetConnectorInstanceId sets field value +func (o *WithdrawCounterpartyRequest) SetConnectorInstanceId(v string) { + o.ConnectorInstanceId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *WithdrawCounterpartyRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *WithdrawCounterpartyRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *WithdrawCounterpartyRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetContractId returns the ContractId field value if set, zero value otherwise. +func (o *WithdrawCounterpartyRequest) GetContractId() string { + if o == nil || IsNil(o.ContractId) { + var ret string + return ret + } + return *o.ContractId +} + +// GetContractIdOk returns a tuple with the ContractId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WithdrawCounterpartyRequest) GetContractIdOk() (*string, bool) { + if o == nil || IsNil(o.ContractId) { + return nil, false + } + return o.ContractId, true +} + +// HasContractId returns a boolean if a field has been set. +func (o *WithdrawCounterpartyRequest) HasContractId() bool { + if o != nil && !IsNil(o.ContractId) { + return true + } + + return false +} + +// SetContractId gets a reference to the given string and assigns it to the ContractId field. +func (o *WithdrawCounterpartyRequest) SetContractId(v string) { + o.ContractId = &v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *WithdrawCounterpartyRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *WithdrawCounterpartyRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *WithdrawCounterpartyRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetHtlcId returns the HtlcId field value +func (o *WithdrawCounterpartyRequest) GetHtlcId() string { + if o == nil { + var ret string + return ret + } + + return o.HtlcId +} + +// GetHtlcIdOk returns a tuple with the HtlcId field value +// and a boolean to check if the value has been set. +func (o *WithdrawCounterpartyRequest) GetHtlcIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HtlcId, true +} + +// SetHtlcId sets field value +func (o *WithdrawCounterpartyRequest) SetHtlcId(v string) { + o.HtlcId = v +} + +// GetSecret returns the Secret field value +func (o *WithdrawCounterpartyRequest) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *WithdrawCounterpartyRequest) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *WithdrawCounterpartyRequest) SetSecret(v string) { + o.Secret = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *WithdrawCounterpartyRequest) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WithdrawCounterpartyRequest) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *WithdrawCounterpartyRequest) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *WithdrawCounterpartyRequest) SetGas(v float32) { + o.Gas = &v +} + +func (o WithdrawCounterpartyRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WithdrawCounterpartyRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["htlcPackage"] = o.HtlcPackage + toSerialize["connectorInstanceId"] = o.ConnectorInstanceId + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.ContractId) { + toSerialize["contractId"] = o.ContractId + } + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["htlcId"] = o.HtlcId + toSerialize["secret"] = o.Secret + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableWithdrawCounterpartyRequest struct { + value *WithdrawCounterpartyRequest + isSet bool +} + +func (v NullableWithdrawCounterpartyRequest) Get() *WithdrawCounterpartyRequest { + return v.value +} + +func (v *NullableWithdrawCounterpartyRequest) Set(val *WithdrawCounterpartyRequest) { + v.value = val + v.isSet = true +} + +func (v NullableWithdrawCounterpartyRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableWithdrawCounterpartyRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWithdrawCounterpartyRequest(val *WithdrawCounterpartyRequest) *NullableWithdrawCounterpartyRequest { + return &NullableWithdrawCounterpartyRequest{value: val, isSet: true} +} + +func (v NullableWithdrawCounterpartyRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWithdrawCounterpartyRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/response.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..ee4602e8e6d --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/test/api_default_test.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..99a47e3316c --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,61 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-htlc-coordinator-besu + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-htlc-coordinator-besu_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService CounterpartyHtlcV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.CounterpartyHtlcV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService OwnHtlcV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.OwnHtlcV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService WithdrawCounterpartyV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.WithdrawCounterpartyV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/utils.go b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..c04e4c876e3 --- /dev/null +++ b/extensions/cactus-plugin-htlc-coordinator-besu/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - HTLC Coordinator + +Can exchange assets between networks + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-coordinator-besu + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/extensions/cactus-plugin-object-store-ipfs/package.json b/extensions/cactus-plugin-object-store-ipfs/package.json index a60ad759cbb..d337f009a6c 100644 --- a/extensions/cactus-plugin-object-store-ipfs/package.json +++ b/extensions/cactus-plugin-object-store-ipfs/package.json @@ -48,6 +48,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override=../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..91f5ac392ec --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,17 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_get_object_request_v1.go +model_get_object_response_v1.go +model_has_object_request_v1.go +model_has_object_response_v1.go +model_set_object_request_v1.go +model_set_object_response_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/.travis.yml b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/README.md b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..120b55502fe --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,119 @@ +# Go API client for cactus-plugin-object-store-ipfs + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-object-store-ipfs "github.com/hyperledger/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-object-store-ipfs.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-object-store-ipfs.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-object-store-ipfs.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-object-store-ipfs.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *https://www.cactus.stream* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**GetObjectV1**](docs/DefaultApi.md#getobjectv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/get-object | Retrieves an object from the object store. +*DefaultApi* | [**HasObjectV1**](docs/DefaultApi.md#hasobjectv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/has-object | Checks the presence of an object in the object store. +*DefaultApi* | [**SetObjectV1**](docs/DefaultApi.md#setobjectv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/set-object | Sets an object in the object store under the specified key. + + +## Documentation For Models + + - [GetObjectRequestV1](docs/GetObjectRequestV1.md) + - [GetObjectResponseV1](docs/GetObjectResponseV1.md) + - [HasObjectRequestV1](docs/HasObjectRequestV1.md) + - [HasObjectResponseV1](docs/HasObjectResponseV1.md) + - [SetObjectRequestV1](docs/SetObjectRequestV1.md) + - [SetObjectResponseV1](docs/SetObjectResponseV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/api/openapi.yaml b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..1d832456394 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,229 @@ +openapi: 3.0.3 +info: + description: Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: 'Hyperledger Cactus Plugin - Object Store - IPFS ' + version: v2.0.0-alpha.2 +servers: +- description: Public test instance + url: "https://www.cactus.stream/{basePath}" + variables: + basePath: + default: "" +- description: Local test instance + url: "http://localhost:4000/{basePath}" + variables: + basePath: + default: "" +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/get-object: + post: + operationId: getObjectV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/object_store_get_object_v1_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetObjectResponseV1' + description: OK + summary: Retrieves an object from the object store. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/get-object + /api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/set-object: + post: + operationId: setObjectV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/object_store_set_object_v1_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SetObjectResponseV1' + description: OK + summary: Sets an object in the object store under the specified key. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/set-object + /api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/has-object: + post: + operationId: hasObjectV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/object_store_has_object_v1_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/HasObjectResponseV1' + description: OK + summary: Checks the presence of an object in the object store. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/has-object +components: + requestBodies: + object_store_get_object_v1_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetObjectRequestV1' + description: Request body to obtain an object via its key. + required: true + object_store_set_object_v1_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetObjectRequestV1' + description: Request body to set an object under a key. + required: true + object_store_has_object_v1_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasObjectRequestV1' + description: Request body to check presence of an object under a key. + required: true + responses: + object_store_get_object_v1_response_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetObjectResponseV1' + description: OK + object_store_set_object_v1_response_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetObjectResponseV1' + description: OK + object_store_has_object_v1_response_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasObjectResponseV1' + description: OK + schemas: + GetObjectRequestV1: + example: + key: key + properties: + key: + description: The key for the entry to get from the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetObjectResponseV1: + example: + value: value + key: key + properties: + key: + description: The key that was used to retrieve the value from the object + store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value associated with the requested key in the object store + as a string. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetObjectRequestV1: + example: + value: value + key: key + properties: + key: + description: The key for the entry to set in the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value that will be associated with the key in the object + store. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetObjectResponseV1: + example: + key: key + properties: + key: + description: The key that was used to set the value in the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasObjectRequestV1: + example: + key: key + properties: + key: + description: The key to check for presence in the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasObjectResponseV1: + example: + checkedAt: checkedAt + isPresent: true + key: key + properties: + key: + description: The key that was used to check the presence of the value in + the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + checkedAt: + description: Date and time encoded as JSON when the presence check was performed + by the plugin backend. + nullable: false + type: string + isPresent: + description: The boolean true or false indicating the presence or absence + of an object under 'key'. + nullable: false + type: boolean + required: + - checkedAt + - isPresent + - key + type: object diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/api_default.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..c917cce4073 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,350 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiGetObjectV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getObjectRequestV1 *GetObjectRequestV1 +} + +// Request body to obtain an object via its key. +func (r ApiGetObjectV1Request) GetObjectRequestV1(getObjectRequestV1 GetObjectRequestV1) ApiGetObjectV1Request { + r.getObjectRequestV1 = &getObjectRequestV1 + return r +} + +func (r ApiGetObjectV1Request) Execute() (*GetObjectResponseV1, *http.Response, error) { + return r.ApiService.GetObjectV1Execute(r) +} + +/* +GetObjectV1 Retrieves an object from the object store. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetObjectV1Request +*/ +func (a *DefaultApiService) GetObjectV1(ctx context.Context) ApiGetObjectV1Request { + return ApiGetObjectV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetObjectResponseV1 +func (a *DefaultApiService) GetObjectV1Execute(r ApiGetObjectV1Request) (*GetObjectResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetObjectResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetObjectV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/get-object" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.getObjectRequestV1 == nil { + return localVarReturnValue, nil, reportError("getObjectRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getObjectRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiHasObjectV1Request struct { + ctx context.Context + ApiService *DefaultApiService + hasObjectRequestV1 *HasObjectRequestV1 +} + +// Request body to check presence of an object under a key. +func (r ApiHasObjectV1Request) HasObjectRequestV1(hasObjectRequestV1 HasObjectRequestV1) ApiHasObjectV1Request { + r.hasObjectRequestV1 = &hasObjectRequestV1 + return r +} + +func (r ApiHasObjectV1Request) Execute() (*HasObjectResponseV1, *http.Response, error) { + return r.ApiService.HasObjectV1Execute(r) +} + +/* +HasObjectV1 Checks the presence of an object in the object store. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiHasObjectV1Request +*/ +func (a *DefaultApiService) HasObjectV1(ctx context.Context) ApiHasObjectV1Request { + return ApiHasObjectV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HasObjectResponseV1 +func (a *DefaultApiService) HasObjectV1Execute(r ApiHasObjectV1Request) (*HasObjectResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HasObjectResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.HasObjectV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/has-object" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.hasObjectRequestV1 == nil { + return localVarReturnValue, nil, reportError("hasObjectRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.hasObjectRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSetObjectV1Request struct { + ctx context.Context + ApiService *DefaultApiService + setObjectRequestV1 *SetObjectRequestV1 +} + +// Request body to set an object under a key. +func (r ApiSetObjectV1Request) SetObjectRequestV1(setObjectRequestV1 SetObjectRequestV1) ApiSetObjectV1Request { + r.setObjectRequestV1 = &setObjectRequestV1 + return r +} + +func (r ApiSetObjectV1Request) Execute() (*SetObjectResponseV1, *http.Response, error) { + return r.ApiService.SetObjectV1Execute(r) +} + +/* +SetObjectV1 Sets an object in the object store under the specified key. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSetObjectV1Request +*/ +func (a *DefaultApiService) SetObjectV1(ctx context.Context) ApiSetObjectV1Request { + return ApiSetObjectV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SetObjectResponseV1 +func (a *DefaultApiService) SetObjectV1Execute(r ApiSetObjectV1Request) (*SetObjectResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SetObjectResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SetObjectV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-object-store-ipfs/set-object" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.setObjectRequestV1 == nil { + return localVarReturnValue, nil, reportError("setObjectRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.setObjectRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/client.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..342e6982f14 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Object Store - IPFS API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/configuration.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..7362bc081ce --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,231 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "https://www.cactus.stream/{basePath}", + Description: "Public test instance", + Variables: map[string]ServerVariable{ + "basePath": ServerVariable{ + Description: "No description provided", + DefaultValue: "", + }, + }, + }, + { + URL: "http://localhost:4000/{basePath}", + Description: "Local test instance", + Variables: map[string]ServerVariable{ + "basePath": ServerVariable{ + Description: "No description provided", + DefaultValue: "", + }, + }, + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/go.mod b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..68a273a4196 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/go.sum b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_get_object_request_v1.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_get_object_request_v1.go new file mode 100644 index 00000000000..b1e4f4c2ab9 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_get_object_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "encoding/json" +) + +// checks if the GetObjectRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetObjectRequestV1{} + +// GetObjectRequestV1 struct for GetObjectRequestV1 +type GetObjectRequestV1 struct { + // The key for the entry to get from the object store. + Key string `json:"key"` +} + +// NewGetObjectRequestV1 instantiates a new GetObjectRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetObjectRequestV1(key string) *GetObjectRequestV1 { + this := GetObjectRequestV1{} + this.Key = key + return &this +} + +// NewGetObjectRequestV1WithDefaults instantiates a new GetObjectRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetObjectRequestV1WithDefaults() *GetObjectRequestV1 { + this := GetObjectRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetObjectRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetObjectRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetObjectRequestV1) SetKey(v string) { + o.Key = v +} + +func (o GetObjectRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetObjectRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableGetObjectRequestV1 struct { + value *GetObjectRequestV1 + isSet bool +} + +func (v NullableGetObjectRequestV1) Get() *GetObjectRequestV1 { + return v.value +} + +func (v *NullableGetObjectRequestV1) Set(val *GetObjectRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetObjectRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetObjectRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetObjectRequestV1(val *GetObjectRequestV1) *NullableGetObjectRequestV1 { + return &NullableGetObjectRequestV1{value: val, isSet: true} +} + +func (v NullableGetObjectRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetObjectRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_get_object_response_v1.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_get_object_response_v1.go new file mode 100644 index 00000000000..a120d5be90a --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_get_object_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "encoding/json" +) + +// checks if the GetObjectResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetObjectResponseV1{} + +// GetObjectResponseV1 struct for GetObjectResponseV1 +type GetObjectResponseV1 struct { + // The key that was used to retrieve the value from the object store. + Key string `json:"key"` + // The value associated with the requested key in the object store as a string. + Value string `json:"value"` +} + +// NewGetObjectResponseV1 instantiates a new GetObjectResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetObjectResponseV1(key string, value string) *GetObjectResponseV1 { + this := GetObjectResponseV1{} + this.Key = key + this.Value = value + return &this +} + +// NewGetObjectResponseV1WithDefaults instantiates a new GetObjectResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetObjectResponseV1WithDefaults() *GetObjectResponseV1 { + this := GetObjectResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetObjectResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetObjectResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetObjectResponseV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *GetObjectResponseV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *GetObjectResponseV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *GetObjectResponseV1) SetValue(v string) { + o.Value = v +} + +func (o GetObjectResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetObjectResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableGetObjectResponseV1 struct { + value *GetObjectResponseV1 + isSet bool +} + +func (v NullableGetObjectResponseV1) Get() *GetObjectResponseV1 { + return v.value +} + +func (v *NullableGetObjectResponseV1) Set(val *GetObjectResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetObjectResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetObjectResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetObjectResponseV1(val *GetObjectResponseV1) *NullableGetObjectResponseV1 { + return &NullableGetObjectResponseV1{value: val, isSet: true} +} + +func (v NullableGetObjectResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetObjectResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_has_object_request_v1.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_has_object_request_v1.go new file mode 100644 index 00000000000..c38bbbc1631 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_has_object_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "encoding/json" +) + +// checks if the HasObjectRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasObjectRequestV1{} + +// HasObjectRequestV1 struct for HasObjectRequestV1 +type HasObjectRequestV1 struct { + // The key to check for presence in the object store. + Key string `json:"key"` +} + +// NewHasObjectRequestV1 instantiates a new HasObjectRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasObjectRequestV1(key string) *HasObjectRequestV1 { + this := HasObjectRequestV1{} + this.Key = key + return &this +} + +// NewHasObjectRequestV1WithDefaults instantiates a new HasObjectRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasObjectRequestV1WithDefaults() *HasObjectRequestV1 { + this := HasObjectRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasObjectRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasObjectRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasObjectRequestV1) SetKey(v string) { + o.Key = v +} + +func (o HasObjectRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasObjectRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableHasObjectRequestV1 struct { + value *HasObjectRequestV1 + isSet bool +} + +func (v NullableHasObjectRequestV1) Get() *HasObjectRequestV1 { + return v.value +} + +func (v *NullableHasObjectRequestV1) Set(val *HasObjectRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasObjectRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasObjectRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasObjectRequestV1(val *HasObjectRequestV1) *NullableHasObjectRequestV1 { + return &NullableHasObjectRequestV1{value: val, isSet: true} +} + +func (v NullableHasObjectRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasObjectRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_has_object_response_v1.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_has_object_response_v1.go new file mode 100644 index 00000000000..b879f589b49 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_has_object_response_v1.go @@ -0,0 +1,174 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "encoding/json" +) + +// checks if the HasObjectResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasObjectResponseV1{} + +// HasObjectResponseV1 struct for HasObjectResponseV1 +type HasObjectResponseV1 struct { + // The key that was used to check the presence of the value in the object store. + Key string `json:"key"` + // Date and time encoded as JSON when the presence check was performed by the plugin backend. + CheckedAt string `json:"checkedAt"` + // The boolean true or false indicating the presence or absence of an object under 'key'. + IsPresent bool `json:"isPresent"` +} + +// NewHasObjectResponseV1 instantiates a new HasObjectResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasObjectResponseV1(key string, checkedAt string, isPresent bool) *HasObjectResponseV1 { + this := HasObjectResponseV1{} + this.Key = key + this.CheckedAt = checkedAt + this.IsPresent = isPresent + return &this +} + +// NewHasObjectResponseV1WithDefaults instantiates a new HasObjectResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasObjectResponseV1WithDefaults() *HasObjectResponseV1 { + this := HasObjectResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasObjectResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasObjectResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasObjectResponseV1) SetKey(v string) { + o.Key = v +} + +// GetCheckedAt returns the CheckedAt field value +func (o *HasObjectResponseV1) GetCheckedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CheckedAt +} + +// GetCheckedAtOk returns a tuple with the CheckedAt field value +// and a boolean to check if the value has been set. +func (o *HasObjectResponseV1) GetCheckedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CheckedAt, true +} + +// SetCheckedAt sets field value +func (o *HasObjectResponseV1) SetCheckedAt(v string) { + o.CheckedAt = v +} + +// GetIsPresent returns the IsPresent field value +func (o *HasObjectResponseV1) GetIsPresent() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsPresent +} + +// GetIsPresentOk returns a tuple with the IsPresent field value +// and a boolean to check if the value has been set. +func (o *HasObjectResponseV1) GetIsPresentOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsPresent, true +} + +// SetIsPresent sets field value +func (o *HasObjectResponseV1) SetIsPresent(v bool) { + o.IsPresent = v +} + +func (o HasObjectResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasObjectResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["checkedAt"] = o.CheckedAt + toSerialize["isPresent"] = o.IsPresent + return toSerialize, nil +} + +type NullableHasObjectResponseV1 struct { + value *HasObjectResponseV1 + isSet bool +} + +func (v NullableHasObjectResponseV1) Get() *HasObjectResponseV1 { + return v.value +} + +func (v *NullableHasObjectResponseV1) Set(val *HasObjectResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasObjectResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasObjectResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasObjectResponseV1(val *HasObjectResponseV1) *NullableHasObjectResponseV1 { + return &NullableHasObjectResponseV1{value: val, isSet: true} +} + +func (v NullableHasObjectResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasObjectResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_set_object_request_v1.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_set_object_request_v1.go new file mode 100644 index 00000000000..5ffab6a7e45 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_set_object_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "encoding/json" +) + +// checks if the SetObjectRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetObjectRequestV1{} + +// SetObjectRequestV1 struct for SetObjectRequestV1 +type SetObjectRequestV1 struct { + // The key for the entry to set in the object store. + Key string `json:"key"` + // The value that will be associated with the key in the object store. + Value string `json:"value"` +} + +// NewSetObjectRequestV1 instantiates a new SetObjectRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetObjectRequestV1(key string, value string) *SetObjectRequestV1 { + this := SetObjectRequestV1{} + this.Key = key + this.Value = value + return &this +} + +// NewSetObjectRequestV1WithDefaults instantiates a new SetObjectRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetObjectRequestV1WithDefaults() *SetObjectRequestV1 { + this := SetObjectRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetObjectRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetObjectRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetObjectRequestV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *SetObjectRequestV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *SetObjectRequestV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *SetObjectRequestV1) SetValue(v string) { + o.Value = v +} + +func (o SetObjectRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetObjectRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableSetObjectRequestV1 struct { + value *SetObjectRequestV1 + isSet bool +} + +func (v NullableSetObjectRequestV1) Get() *SetObjectRequestV1 { + return v.value +} + +func (v *NullableSetObjectRequestV1) Set(val *SetObjectRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetObjectRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetObjectRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetObjectRequestV1(val *SetObjectRequestV1) *NullableSetObjectRequestV1 { + return &NullableSetObjectRequestV1{value: val, isSet: true} +} + +func (v NullableSetObjectRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetObjectRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_set_object_response_v1.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_set_object_response_v1.go new file mode 100644 index 00000000000..f1a8fe1796b --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/model_set_object_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "encoding/json" +) + +// checks if the SetObjectResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetObjectResponseV1{} + +// SetObjectResponseV1 struct for SetObjectResponseV1 +type SetObjectResponseV1 struct { + // The key that was used to set the value in the object store. + Key string `json:"key"` +} + +// NewSetObjectResponseV1 instantiates a new SetObjectResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetObjectResponseV1(key string) *SetObjectResponseV1 { + this := SetObjectResponseV1{} + this.Key = key + return &this +} + +// NewSetObjectResponseV1WithDefaults instantiates a new SetObjectResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetObjectResponseV1WithDefaults() *SetObjectResponseV1 { + this := SetObjectResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetObjectResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetObjectResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetObjectResponseV1) SetKey(v string) { + o.Key = v +} + +func (o SetObjectResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetObjectResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableSetObjectResponseV1 struct { + value *SetObjectResponseV1 + isSet bool +} + +func (v NullableSetObjectResponseV1) Get() *SetObjectResponseV1 { + return v.value +} + +func (v *NullableSetObjectResponseV1) Set(val *SetObjectResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetObjectResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetObjectResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetObjectResponseV1(val *SetObjectResponseV1) *NullableSetObjectResponseV1 { + return &NullableSetObjectResponseV1{value: val, isSet: true} +} + +func (v NullableSetObjectResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetObjectResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/response.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..1c67751d5db --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/test/api_default_test.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..20e954c471f --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,61 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-object-store-ipfs + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-object-store-ipfs_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService GetObjectV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetObjectV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService HasObjectV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.HasObjectV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SetObjectV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SetObjectV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/utils.go b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..3a41e356d85 --- /dev/null +++ b/extensions/cactus-plugin-object-store-ipfs/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Object Store - IPFS + +Contains/describes the Hyperledger Cactus Object Store IPFS plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-object-store-ipfs + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/openapi-generator-ignore b/openapi-generator-ignore index a10faf6d12f..2a545dd9ed9 100644 --- a/openapi-generator-ignore +++ b/openapi-generator-ignore @@ -3,4 +3,5 @@ **/.gitignore **/generated/openapi/kotlin-client/docs/** **/generated/openapi/kotlin-client/gradle/** +**/generated/openapi/go-client/docs/** **/generated/**/.openapi-generator-ignore \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000000..e0bf6417e12 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,183077 @@ +{ + "name": "@hyperledger/cactus", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@hyperledger/cactus", + "license": "Apache-2.0", + "dependencies": { + "replace": "^1.2.2" + }, + "devDependencies": { + "@bufbuild/buf": "1.30.0", + "@bufbuild/protobuf": "1.8.0", + "@bufbuild/protoc-gen-es": "1.8.0", + "@commitlint/cli": "17.7.1", + "@commitlint/config-conventional": "17.7.0", + "@connectrpc/connect": "1.4.0", + "@connectrpc/protoc-gen-connect-es": "1.4.0", + "@lerna-lite/cli": "3.1.0", + "@lerna-lite/exec": "3.1.0", + "@lerna-lite/list": "3.1.0", + "@lerna-lite/publish": "3.1.0", + "@lerna-lite/run": "3.1.0", + "@lerna-lite/version": "3.1.0", + "@openapitools/openapi-generator-cli": "2.7.0", + "@types/adm-zip": "0.5.0", + "@types/benchmark": "2.1.5", + "@types/fs-extra": "9.0.13", + "@types/jest": "29.5.3", + "@types/node": "18.11.9", + "@types/node-fetch": "2.6.4", + "@types/tape": "4.13.4", + "@types/tape-promise": "4.0.1", + "@types/uuid": "9.0.8", + "@types/yargs": "17.0.24", + "@typescript-eslint/eslint-plugin": "7.1.0", + "@typescript-eslint/parser": "7.1.0", + "adm-zip": "0.5.10", + "benchmark": "2.1.4", + "buffer": "6.0.3", + "cpy-cli": "4.2.0", + "cross-env": "7.0.3", + "crypto-browserify": "3.12.0", + "cspell": "5.21.2", + "del": "7.1.0", + "del-cli": "4.0.1", + "depcheck": "1.4.7", + "es-main": "1.2.0", + "eslint": "8.57.0", + "eslint-config-prettier": "9.1.0", + "eslint-config-standard": "17.1.0", + "eslint-plugin-import": "2.29.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-prettier": "5.1.3", + "eslint-plugin-promise": "6.1.1", + "eslint-plugin-standard": "5.0.0", + "fast-safe-stringify": "2.1.1", + "fs-extra": "10.1.0", + "globby": "12.2.0", + "google-protobuf": "3.21.2", + "grpc_tools_node_protoc_ts": "5.3.3", + "grpc-tools": "1.12.4", + "husky": "7.0.4", + "inquirer": "8.2.6", + "jest": "29.6.2", + "jest-extended": "4.0.1", + "json5": "2.2.3", + "license-report": "6.4.0", + "lint-staged": "11.2.6", + "make-dir-cli": "3.1.0", + "node-polyfill-webpack-plugin": "1.1.4", + "npm-run-all": "4.1.5", + "npm-watch": "0.11.0", + "openapi-types": "12.1.3", + "prettier": "3.2.5", + "protoc-gen-ts": "0.8.7", + "run-time-error": "1.4.0", + "run-time-error-cjs": "1.4.0", + "secp256k1": "4.0.3", + "semver-parser": "4.1.4", + "shebang-loader": "0.0.1", + "simple-git": "3.19.1", + "sort-package-json": "1.57.0", + "source-map-loader": "4.0.1", + "stream-browserify": "3.0.0", + "tap": "16.3.8", + "tape": "5.6.6", + "tape-promise": "4.0.0", + "ts-jest": "29.1.1", + "ts-loader": "9.4.4", + "ts-node": "10.9.1", + "typescript": "5.3.3", + "web3": "4.1.1", + "web3-core": "4.1.1", + "web3-eth": "4.1.1", + "web3-utils": "4.3.0", + "webpack": "5.88.2", + "webpack-cli": "4.10.0", + "wget-improved": "3.4.0", + "yargs": "17.7.2" + }, + "workspaces": { + "packages": [ + "packages/cactus-*", + "examples/cactus-*", + "extensions/cactus-*", + "packages/cacti-*", + "examples/cacti-*", + "extensions/cacti-*", + "weaver/common/protos-js", + "weaver/sdks/fabric/interoperation-node-sdk", + "weaver/sdks/besu/node", + "weaver/core/drivers/fabric-driver", + "weaver/core/identity-management/iin-agent", + "weaver/samples/fabric/fabric-cli", + "weaver/samples/besu/besu-cli", + "weaver/samples/besu/simpleasset", + "weaver/samples/besu/simplestate" + ] + } + }, + "examples/cactus-example-carbon-accounting-backend": { + "name": "@hyperledger/cactus-example-carbon-accounting-backend", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@openzeppelin/contracts": "4.9.6", + "@openzeppelin/contracts-upgradeable": "4.9.6", + "async-exit-hook": "2.0.1", + "fabric-network": "2.2.20", + "fs-extra": "10.1.0", + "openapi-types": "12.1.3", + "typescript-optional": "2.0.1", + "uuid": "9.0.1", + "web3-core": "1.6.1", + "web3-utils": "1.6.1" + }, + "devDependencies": { + "@types/express": "4.17.21", + "@types/fs-extra": "9.0.13", + "@types/json-stable-stringify": "1.0.34", + "@types/qs": "6.9.14", + "@types/uuid": "9.0.8", + "express-jwt": "8.4.1", + "hardhat": "2.17.2", + "http-cache-semantics": "4.1.1", + "http-status-codes": "2.1.4", + "jose": "4.15.5", + "json-stable-stringify": "1.0.2", + "qs": "6.7.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@chainsafe/as-sha256": { + "version": "0.3.1", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@chainsafe/persistent-merkle-tree": { + "version": "0.5.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@chainsafe/as-sha256": "^0.3.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@chainsafe/ssz": { + "version": "0.10.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@chainsafe/as-sha256": "^0.3.1", + "@chainsafe/persistent-merkle-tree": "^0.5.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/basex": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/contracts": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/hdnode": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/json-wallets": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/pbkdf2": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/sha2": "^5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/providers": { + "version": "5.7.2", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/random": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/sha2": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "hash.js": "1.1.7" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/solidity": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/units": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/wallet": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/json-wallets": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@ethersproject/wordlists": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@metamask/eth-sig-util": { + "version": "4.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "ethereumjs-abi": "^0.6.8", + "ethereumjs-util": "^6.2.1", + "ethjs-util": "^0.1.6", + "tweetnacl": "^1.0.3", + "tweetnacl-util": "^0.15.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@noble/hashes": { + "version": "1.2.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-block": { + "version": "5.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-trie": "6.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "ethereum-cryptography": "0.1.3", + "ethers": "^5.7.1" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-blockchain": { + "version": "7.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-block": "5.0.2", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-ethash": "3.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-trie": "6.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "abstract-level": "^1.0.3", + "debug": "^4.3.3", + "ethereum-cryptography": "0.1.3", + "level": "^8.0.0", + "lru-cache": "^5.1.1", + "memory-level": "^1.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-blockchain/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-blockchain/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-blockchain/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-blockchain/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-common": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@nomicfoundation/ethereumjs-util": "9.0.2", + "crc-32": "^1.2.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-ethash": { + "version": "3.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-block": "5.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "abstract-level": "^1.0.3", + "bigint-crypto-utils": "^3.0.23", + "ethereum-cryptography": "0.1.3" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-evm": { + "version": "2.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@ethersproject/providers": "^5.7.1", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "debug": "^4.3.3", + "ethereum-cryptography": "0.1.3", + "mcl-wasm": "^0.7.1", + "rustbn.js": "~0.2.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-evm/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-evm/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-rlp": { + "version": "5.0.2", + "dev": true, + "license": "MPL-2.0", + "bin": { + "rlp": "bin/rlp" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-statemanager": { + "version": "2.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "debug": "^4.3.3", + "ethereum-cryptography": "0.1.3", + "ethers": "^5.7.1", + "js-sdsl": "^4.1.4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-statemanager/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-statemanager/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-trie": { + "version": "6.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "@types/readable-stream": "^2.3.13", + "ethereum-cryptography": "0.1.3", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-tx": { + "version": "5.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@chainsafe/ssz": "^0.9.2", + "@ethersproject/providers": "^5.7.2", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "ethereum-cryptography": "0.1.3" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-tx/node_modules/@chainsafe/persistent-merkle-tree": { + "version": "0.4.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@chainsafe/as-sha256": "^0.3.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-tx/node_modules/@chainsafe/ssz": { + "version": "0.9.4", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@chainsafe/as-sha256": "^0.3.1", + "@chainsafe/persistent-merkle-tree": "^0.4.2", + "case": "^1.6.3" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-util": { + "version": "9.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@chainsafe/ssz": "^0.10.0", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "ethereum-cryptography": "0.1.3" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-vm": { + "version": "7.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-block": "5.0.2", + "@nomicfoundation/ethereumjs-blockchain": "7.0.2", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-evm": "2.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-statemanager": "2.0.2", + "@nomicfoundation/ethereumjs-trie": "6.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "debug": "^4.3.3", + "ethereum-cryptography": "0.1.3", + "mcl-wasm": "^0.7.1", + "rustbn.js": "~0.2.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-vm/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/ethereumjs-vm/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/solidity-analyzer": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + }, + "optionalDependencies": { + "@nomicfoundation/solidity-analyzer-darwin-arm64": "0.1.1", + "@nomicfoundation/solidity-analyzer-darwin-x64": "0.1.1", + "@nomicfoundation/solidity-analyzer-freebsd-x64": "0.1.1", + "@nomicfoundation/solidity-analyzer-linux-arm64-gnu": "0.1.1", + "@nomicfoundation/solidity-analyzer-linux-arm64-musl": "0.1.1", + "@nomicfoundation/solidity-analyzer-linux-x64-gnu": "0.1.1", + "@nomicfoundation/solidity-analyzer-linux-x64-musl": "0.1.1", + "@nomicfoundation/solidity-analyzer-win32-arm64-msvc": "0.1.1", + "@nomicfoundation/solidity-analyzer-win32-ia32-msvc": "0.1.1", + "@nomicfoundation/solidity-analyzer-win32-x64-msvc": "0.1.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@nomicfoundation/solidity-analyzer-linux-x64-gnu": { + "version": "0.1.1", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@openzeppelin/contracts-upgradeable": { + "version": "4.9.6", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@scure/bip32": { + "version": "1.1.5", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "dependencies": { + "@noble/hashes": "~1.2.0", + "@noble/secp256k1": "~1.7.0", + "@scure/base": "~1.1.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@scure/bip39": { + "version": "1.1.1", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "dependencies": { + "@noble/hashes": "~1.2.0", + "@scure/base": "~1.1.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@sentry/core": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/hub": "5.30.0", + "@sentry/minimal": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@sentry/hub": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@sentry/minimal": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/hub": "5.30.0", + "@sentry/types": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@sentry/node": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/core": "5.30.0", + "@sentry/hub": "5.30.0", + "@sentry/tracing": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "cookie": "^0.4.1", + "https-proxy-agent": "^5.0.0", + "lru_map": "^0.3.3", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@sentry/tracing": { + "version": "5.30.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@sentry/hub": "5.30.0", + "@sentry/minimal": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@sentry/types": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@sentry/utils": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/types": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/json-stable-stringify": { + "version": "1.0.34", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/jsonwebtoken": { + "version": "9.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/qs": { + "version": "6.9.14", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/readable-stream": { + "version": "2.3.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "safe-buffer": "~5.1.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/abstract-level": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "catering": "^2.1.0", + "is-buffer": "^2.0.5", + "level-supports": "^4.0.0", + "level-transcoder": "^1.0.1", + "module-error": "^1.0.1", + "queue-microtask": "^1.2.3" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/adm-zip": { + "version": "0.4.16", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.3.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/aes-js": { + "version": "3.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/async-exit-hook": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/bech32": { + "version": "1.1.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/bigint-crypto-utils": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/browser-level": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-level": "^1.0.2", + "catering": "^2.1.1", + "module-error": "^1.0.2", + "run-parallel-limit": "^1.1.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/browser-stdout": { + "version": "1.3.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/busboy": { + "version": "1.6.0", + "dev": true, + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/case": { + "version": "1.6.3", + "dev": true, + "license": "(MIT OR GPL-3.0-or-later)", + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/catering": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ci-info": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/classic-level": { + "version": "1.3.0", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "abstract-level": "^1.0.2", + "catering": "^2.1.0", + "module-error": "^1.0.1", + "napi-macros": "^2.2.2", + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/command-exists": { + "version": "1.2.9", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/commander": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/decamelize": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/diff": { + "version": "5.0.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ethereumjs-abi": { + "version": "0.6.8", + "dev": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.8", + "ethereumjs-util": "^6.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ethereumjs-util/node_modules/@types/bn.js": { + "version": "4.11.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ethers": { + "version": "5.7.2", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ethjs-util": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/express-jwt": { + "version": "8.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^9", + "express-unless": "^2.1.3", + "jsonwebtoken": "^9.0.0" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/express-unless": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/fabric-common/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/find-up": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/flat": { + "version": "5.0.2", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/fp-ts": { + "version": "1.19.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/functional-red-black-tree": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat": { + "version": "2.17.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "^5.1.2", + "@metamask/eth-sig-util": "^4.0.0", + "@nomicfoundation/ethereumjs-block": "5.0.2", + "@nomicfoundation/ethereumjs-blockchain": "7.0.2", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-evm": "2.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-statemanager": "2.0.2", + "@nomicfoundation/ethereumjs-trie": "6.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "@nomicfoundation/ethereumjs-vm": "7.0.2", + "@nomicfoundation/solidity-analyzer": "^0.1.0", + "@sentry/node": "^5.18.1", + "@types/bn.js": "^5.1.0", + "@types/lru-cache": "^5.1.0", + "adm-zip": "^0.4.16", + "aggregate-error": "^3.0.0", + "ansi-escapes": "^4.3.0", + "chalk": "^2.4.2", + "chokidar": "^3.4.0", + "ci-info": "^2.0.0", + "debug": "^4.1.1", + "enquirer": "^2.3.0", + "env-paths": "^2.2.0", + "ethereum-cryptography": "^1.0.3", + "ethereumjs-abi": "^0.6.8", + "find-up": "^2.1.0", + "fp-ts": "1.19.3", + "fs-extra": "^7.0.1", + "glob": "7.2.0", + "immutable": "^4.0.0-rc.12", + "io-ts": "1.10.4", + "keccak": "^3.0.2", + "lodash": "^4.17.11", + "mnemonist": "^0.38.0", + "mocha": "^10.0.0", + "p-map": "^4.0.0", + "raw-body": "^2.4.1", + "resolve": "1.17.0", + "semver": "^6.3.0", + "solc": "0.7.3", + "source-map-support": "^0.5.13", + "stacktrace-parser": "^0.1.10", + "tsort": "0.0.1", + "undici": "^5.14.0", + "uuid": "^8.3.2", + "ws": "^7.4.6" + }, + "bin": { + "hardhat": "internal/cli/bootstrap.js" + }, + "peerDependencies": { + "ts-node": "*", + "typescript": "*" + }, + "peerDependenciesMeta": { + "ts-node": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/ethereum-cryptography": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.2.0", + "@noble/secp256k1": "1.7.1", + "@scure/bip32": "1.1.5", + "@scure/bip39": "1.1.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/fs-extra": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/jsonfile": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/keccak": { + "version": "3.0.3", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/universalify": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/hardhat/node_modules/ws": { + "version": "7.5.7", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/he": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/http-errors/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/http-status-codes": { + "version": "2.1.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/immutable": { + "version": "4.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/io-ts": { + "version": "1.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "fp-ts": "^1.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/io-ts/node_modules/fp-ts": { + "version": "1.19.5", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/is-buffer": { + "version": "2.0.5", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/jose": { + "version": "4.15.5", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/js-sdsl": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/json-stable-stringify": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonify": "^0.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/jsonify": { + "version": "0.0.1", + "dev": true, + "license": "Public Domain", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/jsonwebtoken": { + "version": "9.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/klaw": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.9" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/level": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "browser-level": "^1.0.1", + "classic-level": "^1.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/level" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/level-supports": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/level-transcoder": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "module-error": "^1.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/locate-path": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/lodash.includes": { + "version": "4.3.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/lodash.isboolean": { + "version": "3.0.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/lodash.isinteger": { + "version": "4.0.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/lodash.isnumber": { + "version": "3.0.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/lodash.isstring": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/lodash.once": { + "version": "4.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/lru_map": { + "version": "0.3.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mcl-wasm": { + "version": "0.7.9", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=8.9.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/memory-level": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-level": "^1.0.0", + "functional-red-black-tree": "^1.0.1", + "module-error": "^1.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mnemonist": { + "version": "0.38.5", + "dev": true, + "license": "MIT", + "dependencies": { + "obliterator": "^2.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha": { + "version": "10.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": ">= 14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/find-up": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/locate-path": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/minimatch": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/p-limit": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/p-locate": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/path-exists": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/mocha/node_modules/yargs": { + "version": "16.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/module-error": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/nanoid": { + "version": "3.3.3", + "dev": true, + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/napi-macros": { + "version": "2.2.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/obliterator": { + "version": "2.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/p-limit": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/p-locate": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/p-try": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/path-exists": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/qs": { + "version": "6.7.3", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/raw-body": { + "version": "2.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/resolve": { + "version": "1.17.0", + "dev": true, + "license": "MIT", + "dependencies": { + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/run-parallel-limit": { + "version": "1.1.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/rustbn.js": { + "version": "0.2.0", + "dev": true, + "license": "(MIT OR Apache-2.0)" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/serialize-javascript": { + "version": "6.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/solc": { + "version": "0.7.3", + "dev": true, + "license": "MIT", + "dependencies": { + "command-exists": "^1.2.8", + "commander": "3.0.2", + "follow-redirects": "^1.12.1", + "fs-extra": "^0.30.0", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "require-from-string": "^2.0.0", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "bin": { + "solcjs": "solcjs" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/solc/node_modules/fs-extra": { + "version": "0.30.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/solc/node_modules/jsonfile": { + "version": "2.4.0", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/solc/node_modules/rimraf": { + "version": "2.7.1", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/stacktrace-parser": { + "version": "0.1.10", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.7.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/stacktrace-parser/node_modules/type-fest": { + "version": "0.7.1", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/streamsearch": { + "version": "1.1.0", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/tslib": { + "version": "1.14.1", + "dev": true, + "license": "0BSD" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/tsort": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/tweetnacl": { + "version": "1.0.3", + "dev": true, + "license": "Unlicense" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/tweetnacl-util": { + "version": "0.15.1", + "dev": true, + "license": "Unlicense" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/undici": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "dependencies": { + "busboy": "^1.6.0" + }, + "engines": { + "node": ">=12.18" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-utils/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/web3-utils/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/workerpool": { + "version": "6.2.1", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/ws": { + "version": "7.4.6", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/yargs-unparser": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-backend/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin": { + "name": "@hyperledger/cactus-example-carbon-accounting-business-logic-plugin", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-consortium-manual": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0-alpha.2", + "async-exit-hook": "2.0.1", + "axios": "1.6.0", + "express": "4.19.2", + "openapi-types": "12.1.3", + "typescript-optional": "2.0.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@types/express": "4.17.21", + "@types/ssh2": "0.5.47", + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/ssh2": { + "version": "0.5.47", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/ssh2-streams": "*" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/@types/ssh2-streams": { + "version": "0.1.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/async-exit-hook": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-carbon-accounting-business-logic-plugin/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend": { + "name": "@hyperledger/cactus-example-carbon-accounting-frontend", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@angular/common": "16.2.4", + "@angular/core": "16.2.4", + "@angular/forms": "16.2.4", + "@angular/platform-browser": "16.2.4", + "@angular/platform-browser-dynamic": "16.2.4", + "@angular/router": "16.2.4", + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-consortium-manual": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@ionic-native/core": "5.36.0", + "@ionic-native/splash-screen": "5.36.0", + "@ionic-native/status-bar": "5.36.0", + "@ionic/angular": "7.3.3", + "browserify-fs": "1.0.0", + "net-browserify": "0.2.4", + "rxjs": "7.8.1", + "tls-browserify": "0.2.2", + "tslib": "2.6.2", + "zone.js": "0.13.1" + }, + "devDependencies": { + "@angular-builders/custom-webpack": "16.0.1", + "@angular-devkit/build-angular": "16.2.1", + "@angular/cli": "16.2.1", + "@angular/compiler": "16.2.4", + "@angular/compiler-cli": "16.2.4", + "@angular/language-service": "16.2.4", + "@ionic/angular-toolkit": "10.0.0", + "browserify-fs": "1.0.0", + "https-browserify": "1.0.0", + "net-browserify": "0.2.4", + "os-browserify": "0.3.0", + "path-browserify": "1.0.1", + "tls-browserify": "0.2.2" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ampproject/remapping": { + "version": "2.2.1", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ampproject/remapping/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-builders/custom-webpack": { + "version": "16.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": ">=0.1600.0 < 0.1700.0", + "@angular-devkit/build-angular": "^16.0.0", + "@angular-devkit/core": "^16.0.0", + "lodash": "^4.17.15", + "ts-node": "^10.0.0", + "tsconfig-paths": "^4.1.0", + "webpack-merge": "^5.7.3" + }, + "engines": { + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/compiler-cli": "^16.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/architect": { + "version": "0.1602.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "16.2.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/build-angular": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "2.2.1", + "@angular-devkit/architect": "0.1602.1", + "@angular-devkit/build-webpack": "0.1602.1", + "@angular-devkit/core": "16.2.1", + "@babel/core": "7.22.9", + "@babel/generator": "7.22.9", + "@babel/helper-annotate-as-pure": "7.22.5", + "@babel/helper-split-export-declaration": "7.22.6", + "@babel/plugin-proposal-async-generator-functions": "7.20.7", + "@babel/plugin-transform-async-to-generator": "7.22.5", + "@babel/plugin-transform-runtime": "7.22.9", + "@babel/preset-env": "7.22.9", + "@babel/runtime": "7.22.6", + "@babel/template": "7.22.5", + "@discoveryjs/json-ext": "0.5.7", + "@ngtools/webpack": "16.2.1", + "@vitejs/plugin-basic-ssl": "1.0.1", + "ansi-colors": "4.1.3", + "autoprefixer": "10.4.14", + "babel-loader": "9.1.3", + "babel-plugin-istanbul": "6.1.1", + "browserslist": "^4.21.5", + "chokidar": "3.5.3", + "copy-webpack-plugin": "11.0.0", + "critters": "0.0.20", + "css-loader": "6.8.1", + "esbuild-wasm": "0.18.17", + "fast-glob": "3.3.1", + "guess-parser": "0.4.22", + "https-proxy-agent": "5.0.1", + "inquirer": "8.2.4", + "jsonc-parser": "3.2.0", + "karma-source-map-support": "1.4.0", + "less": "4.1.3", + "less-loader": "11.1.0", + "license-webpack-plugin": "4.0.2", + "loader-utils": "3.2.1", + "magic-string": "0.30.1", + "mini-css-extract-plugin": "2.7.6", + "mrmime": "1.0.1", + "open": "8.4.2", + "ora": "5.4.1", + "parse5-html-rewriting-stream": "7.0.0", + "picomatch": "2.3.1", + "piscina": "4.0.0", + "postcss": "8.4.27", + "postcss-loader": "7.3.3", + "resolve-url-loader": "5.0.0", + "rxjs": "7.8.1", + "sass": "1.64.1", + "sass-loader": "13.3.2", + "semver": "7.5.4", + "source-map-loader": "4.0.1", + "source-map-support": "0.5.21", + "terser": "5.19.2", + "text-table": "0.2.0", + "tree-kill": "1.2.2", + "tslib": "2.6.1", + "vite": "4.4.7", + "webpack": "5.88.2", + "webpack-dev-middleware": "6.1.1", + "webpack-dev-server": "4.15.1", + "webpack-merge": "5.9.0", + "webpack-subresource-integrity": "5.1.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "optionalDependencies": { + "esbuild": "0.18.17" + }, + "peerDependencies": { + "@angular/compiler-cli": "^16.0.0", + "@angular/localize": "^16.0.0", + "@angular/platform-server": "^16.0.0", + "@angular/service-worker": "^16.0.0", + "jest": "^29.5.0", + "jest-environment-jsdom": "^29.5.0", + "karma": "^6.3.0", + "ng-packagr": "^16.0.0", + "protractor": "^7.0.0", + "tailwindcss": "^2.0.0 || ^3.0.0", + "typescript": ">=4.9.3 <5.2" + }, + "peerDependenciesMeta": { + "@angular/localize": { + "optional": true + }, + "@angular/platform-server": { + "optional": true + }, + "@angular/service-worker": { + "optional": true + }, + "jest": { + "optional": true + }, + "jest-environment-jsdom": { + "optional": true + }, + "karma": { + "optional": true + }, + "ng-packagr": { + "optional": true + }, + "protractor": { + "optional": true + }, + "tailwindcss": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/build-angular/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/build-angular/node_modules/fast-glob": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/build-angular/node_modules/https-proxy-agent": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/build-angular/node_modules/loader-utils": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12.13.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/build-angular/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/build-angular/node_modules/tslib": { + "version": "2.6.1", + "dev": true, + "license": "0BSD" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/build-angular/node_modules/webpack-merge": { + "version": "5.9.0", + "dev": true, + "license": "MIT", + "dependencies": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/build-webpack": { + "version": "0.1602.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": "0.1602.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "webpack": "^5.30.0", + "webpack-dev-server": "^4.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/core": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "8.12.0", + "ajv-formats": "2.1.1", + "jsonc-parser": "3.2.0", + "picomatch": "2.3.1", + "rxjs": "7.8.1", + "source-map": "0.7.4" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "chokidar": "^3.5.2" + }, + "peerDependenciesMeta": { + "chokidar": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/core/node_modules/source-map": { + "version": "0.7.4", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular-devkit/schematics": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "16.2.1", + "jsonc-parser": "3.2.0", + "magic-string": "0.30.1", + "ora": "5.4.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/cli": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": "0.1602.1", + "@angular-devkit/core": "16.2.1", + "@angular-devkit/schematics": "16.2.1", + "@schematics/angular": "16.2.1", + "@yarnpkg/lockfile": "1.1.0", + "ansi-colors": "4.1.3", + "ini": "4.1.1", + "inquirer": "8.2.4", + "jsonc-parser": "3.2.0", + "npm-package-arg": "10.1.0", + "npm-pick-manifest": "8.0.1", + "open": "8.4.2", + "ora": "5.4.1", + "pacote": "15.2.0", + "resolve": "1.22.2", + "semver": "7.5.4", + "symbol-observable": "4.0.0", + "yargs": "17.7.2" + }, + "bin": { + "ng": "bin/ng.js" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/common": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/core": "16.2.4", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/core": "16.2.4" + }, + "peerDependenciesMeta": { + "@angular/core": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler-cli": { + "version": "16.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "7.22.5", + "@jridgewell/sourcemap-codec": "^1.4.14", + "chokidar": "^3.0.0", + "convert-source-map": "^1.5.1", + "reflect-metadata": "^0.1.2", + "semver": "^7.0.0", + "tslib": "^2.3.0", + "yargs": "^17.2.1" + }, + "bin": { + "ng-xi18n": "bundles/src/bin/ng_xi18n.js", + "ngc": "bundles/src/bin/ngc.js", + "ngcc": "bundles/ngcc/index.js" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/compiler": "16.2.4", + "typescript": ">=4.9.3 <5.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/core": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helpers": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/helpers": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/helpers/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/helpers/node_modules/@babel/template": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/helpers/node_modules/@babel/types": { + "version": "7.22.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler-cli/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler-cli/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/compiler-cli/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/core": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "rxjs": "^6.5.3 || ^7.4.0", + "zone.js": "~0.13.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/forms": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/common": "16.2.4", + "@angular/core": "16.2.4", + "@angular/platform-browser": "16.2.4", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/language-service": { + "version": "16.2.4", + "dev": true, + "license": "MIT", + "engines": { + "node": "^16.14.0 || >=18.10.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/platform-browser": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/animations": "16.2.4", + "@angular/common": "16.2.4", + "@angular/core": "16.2.4" + }, + "peerDependenciesMeta": { + "@angular/animations": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/platform-browser-dynamic": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/common": "16.2.4", + "@angular/compiler": "16.2.4", + "@angular/core": "16.2.4", + "@angular/platform-browser": "16.2.4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@angular/router": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/common": "16.2.4", + "@angular/core": "16.2.4", + "@angular/platform-browser": "16.2.4", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@assemblyscript/loader": { + "version": "0.10.1", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/compat-data": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/core": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.9", + "@babel/helper-module-transforms": "^7.22.9", + "@babel/helpers": "^7.22.6", + "@babel/parser": "^7.22.7", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.8", + "@babel/types": "^7.22.5", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.2", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/core/node_modules/@babel/helper-module-transforms": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/core/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/core/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/generator": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.5", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-compilation-targets/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "regexpu-core": "^5.3.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-plugin-utils": "^7.22.5", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.5", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-module-imports": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-module-transforms": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-optimise-call-expression": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-plugin-utils": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-wrap-function": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-replace-supers": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-validator-option": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helper-wrap-function": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-function-name": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/helpers": { + "version": "7.22.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.6", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-proposal-async-generator-functions": { + "version": "7.20.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-remap-async-to-generator": "^7.18.9", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.21.0-placeholder-for-preset-env.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-proposal-unicode-property-regex": { + "version": "7.16.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-syntax-unicode-sets-regex": { + "version": "7.18.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-async-generator-functions": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.9", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.22.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-wrap-function": "^7.22.17" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/helper-wrap-function": { + "version": "7.22.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-function-name": "^7.22.5", + "@babel/template": "^7.22.15", + "@babel/types": "^7.22.17" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/template": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/types": { + "version": "7.22.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/types/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-class-properties": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-class-static-block": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-classes": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-split-export-declaration": "^7.22.6", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-validator-option": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-classes/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-classes/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/template": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-destructuring": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-dynamic-import": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-export-namespace-from": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-for-of": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-function-name": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-json-strings": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-json-strings": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-literals": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-logical-assignment-operators": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-module-transforms": "^7.22.9", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-modules-systemjs/node_modules/@babel/helper-module-transforms": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-new-target": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-nullish-coalescing-operator": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-numeric-separator": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-object-rest-spread": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/@babel/helper-validator-option": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-object-super": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-optional-catch-binding": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-parameters": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-private-methods": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-private-property-in-object": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-property-literals": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-regenerator": { + "version": "7.22.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "regenerator-transform": "^0.15.2" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-runtime": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "babel-plugin-polyfill-corejs2": "^0.4.4", + "babel-plugin-polyfill-corejs3": "^0.8.2", + "babel-plugin-polyfill-regenerator": "^0.5.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-spread": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-template-literals": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.22.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-unicode-property-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/plugin-transform-unicode-sets-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/preset-env": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.9", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-option": "^7.22.5", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.5", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.5", + "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-import-assertions": "^7.22.5", + "@babel/plugin-syntax-import-attributes": "^7.22.5", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.22.5", + "@babel/plugin-transform-async-generator-functions": "^7.22.7", + "@babel/plugin-transform-async-to-generator": "^7.22.5", + "@babel/plugin-transform-block-scoped-functions": "^7.22.5", + "@babel/plugin-transform-block-scoping": "^7.22.5", + "@babel/plugin-transform-class-properties": "^7.22.5", + "@babel/plugin-transform-class-static-block": "^7.22.5", + "@babel/plugin-transform-classes": "^7.22.6", + "@babel/plugin-transform-computed-properties": "^7.22.5", + "@babel/plugin-transform-destructuring": "^7.22.5", + "@babel/plugin-transform-dotall-regex": "^7.22.5", + "@babel/plugin-transform-duplicate-keys": "^7.22.5", + "@babel/plugin-transform-dynamic-import": "^7.22.5", + "@babel/plugin-transform-exponentiation-operator": "^7.22.5", + "@babel/plugin-transform-export-namespace-from": "^7.22.5", + "@babel/plugin-transform-for-of": "^7.22.5", + "@babel/plugin-transform-function-name": "^7.22.5", + "@babel/plugin-transform-json-strings": "^7.22.5", + "@babel/plugin-transform-literals": "^7.22.5", + "@babel/plugin-transform-logical-assignment-operators": "^7.22.5", + "@babel/plugin-transform-member-expression-literals": "^7.22.5", + "@babel/plugin-transform-modules-amd": "^7.22.5", + "@babel/plugin-transform-modules-commonjs": "^7.22.5", + "@babel/plugin-transform-modules-systemjs": "^7.22.5", + "@babel/plugin-transform-modules-umd": "^7.22.5", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", + "@babel/plugin-transform-new-target": "^7.22.5", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.5", + "@babel/plugin-transform-numeric-separator": "^7.22.5", + "@babel/plugin-transform-object-rest-spread": "^7.22.5", + "@babel/plugin-transform-object-super": "^7.22.5", + "@babel/plugin-transform-optional-catch-binding": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.6", + "@babel/plugin-transform-parameters": "^7.22.5", + "@babel/plugin-transform-private-methods": "^7.22.5", + "@babel/plugin-transform-private-property-in-object": "^7.22.5", + "@babel/plugin-transform-property-literals": "^7.22.5", + "@babel/plugin-transform-regenerator": "^7.22.5", + "@babel/plugin-transform-reserved-words": "^7.22.5", + "@babel/plugin-transform-shorthand-properties": "^7.22.5", + "@babel/plugin-transform-spread": "^7.22.5", + "@babel/plugin-transform-sticky-regex": "^7.22.5", + "@babel/plugin-transform-template-literals": "^7.22.5", + "@babel/plugin-transform-typeof-symbol": "^7.22.5", + "@babel/plugin-transform-unicode-escapes": "^7.22.5", + "@babel/plugin-transform-unicode-property-regex": "^7.22.5", + "@babel/plugin-transform-unicode-regex": "^7.22.5", + "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.22.5", + "babel-plugin-polyfill-corejs2": "^0.4.4", + "babel-plugin-polyfill-corejs3": "^0.8.2", + "babel-plugin-polyfill-regenerator": "^0.5.1", + "core-js-compat": "^3.31.0", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/preset-modules": { + "version": "0.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/regjsgen": { + "version": "0.8.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/runtime": { + "version": "7.22.6", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.13.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@babel/template": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@esbuild/linux-x64": { + "version": "0.18.17", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ionic-native/core": { + "version": "5.36.0", + "license": "MIT", + "dependencies": { + "@types/cordova": "latest" + }, + "peerDependencies": { + "rxjs": "^5.5.0 || ^6.5.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ionic-native/splash-screen": { + "version": "5.36.0", + "license": "MIT", + "dependencies": { + "@types/cordova": "latest" + }, + "peerDependencies": { + "@ionic-native/core": "^5.1.0", + "rxjs": "^5.5.0 || ^6.5.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ionic-native/status-bar": { + "version": "5.36.0", + "license": "MIT", + "dependencies": { + "@types/cordova": "latest" + }, + "peerDependencies": { + "@ionic-native/core": "^5.1.0", + "rxjs": "^5.5.0 || ^6.5.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ionic/angular": { + "version": "7.3.3", + "license": "MIT", + "dependencies": { + "@ionic/core": "7.3.3", + "ionicons": "^7.0.0", + "jsonc-parser": "^3.0.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/core": ">=14.0.0", + "@angular/forms": ">=14.0.0", + "@angular/router": ">=14.0.0", + "rxjs": ">=7.5.0", + "zone.js": ">=0.11.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ionic/angular-toolkit": { + "version": "10.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "^16.0.0", + "@angular-devkit/schematics": "^16.0.0", + "@schematics/angular": "^16.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ionic/angular/node_modules/ionicons": { + "version": "7.1.2", + "license": "MIT", + "dependencies": { + "@stencil/core": "^2.18.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ionic/core": { + "version": "7.3.3", + "license": "MIT", + "dependencies": { + "@stencil/core": "^4.1.0", + "ionicons": "7.1.0", + "tslib": "^2.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ionic/core/node_modules/@stencil/core": { + "version": "4.2.0", + "license": "MIT", + "bin": { + "stencil": "bin/stencil" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.10.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@leichtgewicht/ip-codec": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@ngtools/webpack": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "@angular/compiler-cli": "^16.0.0", + "typescript": ">=4.9.3 <5.2", + "webpack": "^5.54.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@npmcli/git": { + "version": "4.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/promise-spawn": "^6.0.0", + "lru-cache": "^7.4.4", + "npm-pick-manifest": "^8.0.0", + "proc-log": "^3.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@npmcli/promise-spawn": { + "version": "6.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@npmcli/run-script": { + "version": "6.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/promise-spawn": "^6.0.0", + "node-gyp": "^9.0.0", + "read-package-json-fast": "^3.0.0", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@schematics/angular": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "16.2.1", + "@angular-devkit/schematics": "16.2.1", + "jsonc-parser": "3.2.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@sigstore/bundle": { + "version": "1.1.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@sigstore/sign": { + "version": "1.0.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "make-fetch-happen": "^11.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@sigstore/tuf": { + "version": "1.0.3", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.0", + "tuf-js": "^1.1.7" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@stencil/core": { + "version": "2.22.3", + "license": "MIT", + "bin": { + "stencil": "bin/stencil" + }, + "engines": { + "node": ">=12.10.0", + "npm": ">=6.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@tufjs/canonical-json": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@tufjs/models": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/canonical-json": "1.0.0", + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/bonjour": { + "version": "3.5.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/connect-history-api-fallback": { + "version": "1.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express-serve-static-core": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/cordova": { + "version": "0.0.34", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/express": { + "version": "4.17.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/express-serve-static-core": { + "version": "4.17.28", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/http-errors": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/http-proxy": { + "version": "1.17.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/retry": { + "version": "0.12.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/serve-index": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/sockjs": { + "version": "0.3.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@types/ws": { + "version": "8.5.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@vitejs/plugin-basic-ssl": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.6.0" + }, + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@wessberg/ts-evaluator": { + "version": "0.0.27", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "jsdom": "^16.4.0", + "object-path": "^0.11.5", + "tslib": "^2.0.3" + }, + "engines": { + "node": ">=10.1.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/wessberg/ts-evaluator?sponsor=1" + }, + "peerDependencies": { + "typescript": ">=3.2.x || >= 4.x" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "dev": true, + "license": "BSD-2-Clause" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/abstract-leveldown": { + "version": "0.12.4", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~3.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/acorn-globals": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/acorn-globals/node_modules/acorn": { + "version": "7.4.1", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/acorn-walk": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/adjust-sourcemap-loader": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "loader-utils": "^2.0.0", + "regex-parser": "^2.2.11" + }, + "engines": { + "node": ">=8.9" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ajv-formats": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ajv-keywords": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ansi-colors": { + "version": "4.1.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ansi-html-community": { + "version": "0.0.8", + "dev": true, + "engines": [ + "node >= 0.8.0" + ], + "license": "Apache-2.0", + "bin": { + "ansi-html": "bin/ansi-html" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/autoprefixer": { + "version": "10.4.14", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/babel-loader": { + "version": "9.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "find-cache-dir": "^4.0.0", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0", + "webpack": ">=5" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.4.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.6", + "@babel/helper-define-polyfill-provider": "^0.4.2", + "semver": "^6.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.4.2", + "core-js-compat": "^3.31.0" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.4.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/batch": { + "version": "0.6.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/big.js": { + "version": "5.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/bonjour-service": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "array-flatten": "^2.1.2", + "dns-equal": "^1.0.0", + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.5" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/bonjour-service/node_modules/array-flatten": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/boolbase": { + "version": "1.0.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/browser-process-hrtime": { + "version": "1.0.0", + "dev": true, + "license": "BSD-2-Clause" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/browserify-fs": { + "version": "1.0.0", + "dev": true, + "dependencies": { + "level-filesystem": "^1.0.1", + "level-js": "^2.1.3", + "levelup": "^0.18.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/browserslist": { + "version": "4.21.9", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001503", + "electron-to-chromium": "^1.4.431", + "node-releases": "^2.0.12", + "update-browserslist-db": "^1.0.11" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cacache": { + "version": "17.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^9.3.1", + "lru-cache": "^7.7.1", + "minipass": "^4.0.0", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cacache/node_modules/glob": { + "version": "9.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cacache/node_modules/minimatch": { + "version": "8.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cacache/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/caniuse-lite": { + "version": "1.0.30001532", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/common-path-prefix": { + "version": "3.0.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/compressible": { + "version": "2.0.18", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/compression": { + "version": "1.7.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/compression/node_modules/bytes": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/compression/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/concat-stream": { + "version": "1.6.2", + "dev": true, + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/concat-stream/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/connect-history-api-fallback": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/content-type": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cookie": { + "version": "0.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/copy-anything": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-what": "^3.14.1" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/copy-webpack-plugin": { + "version": "11.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-glob": "^3.2.11", + "glob-parent": "^6.0.1", + "globby": "^13.1.1", + "normalize-path": "^3.0.0", + "schema-utils": "^4.0.0", + "serialize-javascript": "^6.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/core-js-compat": { + "version": "3.32.1", + "dev": true, + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/core-js-compat/node_modules/browserslist": { + "version": "4.21.10", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001517", + "electron-to-chromium": "^1.4.477", + "node-releases": "^2.0.13", + "update-browserslist-db": "^1.0.11" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/core-js-compat/node_modules/electron-to-chromium": { + "version": "1.4.513", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/core-js-compat/node_modules/node-releases": { + "version": "2.0.13", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cosmiconfig": { + "version": "8.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/critters": { + "version": "0.0.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "chalk": "^4.1.0", + "css-select": "^5.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.2", + "htmlparser2": "^8.0.2", + "postcss": "^8.4.23", + "pretty-bytes": "^5.3.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/css-loader": { + "version": "6.8.1", + "dev": true, + "license": "MIT", + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.21", + "postcss-modules-extract-imports": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.3", + "postcss-modules-scope": "^3.0.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.3.8" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/css-select": { + "version": "5.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/css-what": { + "version": "6.1.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cssom": { + "version": "0.4.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cssstyle": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cssom": "~0.3.6" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/cssstyle/node_modules/cssom": { + "version": "0.3.8", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/data-urls": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/decimal.js": { + "version": "10.4.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/default-gateway": { + "version": "6.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/deferred-leveldown": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~0.12.1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/define-lazy-prop": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/detect-node": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/dns-equal": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/dns-packet": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@leichtgewicht/ip-codec": "^2.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/dom-serializer": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/domelementtype": { + "version": "2.3.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/domexception": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "webidl-conversions": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/domexception/node_modules/webidl-conversions": { + "version": "5.0.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/domhandler": { + "version": "5.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/domutils": { + "version": "3.0.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/electron-to-chromium": { + "version": "1.4.447", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/emojis-list": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/entities": { + "version": "4.4.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/errno": { + "version": "0.1.8", + "dev": true, + "license": "MIT", + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/esbuild": { + "version": "0.18.17", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.18.17", + "@esbuild/android-arm64": "0.18.17", + "@esbuild/android-x64": "0.18.17", + "@esbuild/darwin-arm64": "0.18.17", + "@esbuild/darwin-x64": "0.18.17", + "@esbuild/freebsd-arm64": "0.18.17", + "@esbuild/freebsd-x64": "0.18.17", + "@esbuild/linux-arm": "0.18.17", + "@esbuild/linux-arm64": "0.18.17", + "@esbuild/linux-ia32": "0.18.17", + "@esbuild/linux-loong64": "0.18.17", + "@esbuild/linux-mips64el": "0.18.17", + "@esbuild/linux-ppc64": "0.18.17", + "@esbuild/linux-riscv64": "0.18.17", + "@esbuild/linux-s390x": "0.18.17", + "@esbuild/linux-x64": "0.18.17", + "@esbuild/netbsd-x64": "0.18.17", + "@esbuild/openbsd-x64": "0.18.17", + "@esbuild/sunos-x64": "0.18.17", + "@esbuild/win32-arm64": "0.18.17", + "@esbuild/win32-ia32": "0.18.17", + "@esbuild/win32-x64": "0.18.17" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/esbuild-wasm": { + "version": "0.18.17", + "dev": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/escodegen": { + "version": "2.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/eventemitter-asyncresource": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/eventemitter3": { + "version": "4.0.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/express": { + "version": "4.18.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/express-ws": { + "version": "0.2.6", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "url-join": "0.0.1", + "ws": "~0.4.31" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/express/node_modules/raw-body": { + "version": "2.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/faye-websocket": { + "version": "0.11.4", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "websocket-driver": ">=0.5.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/find-cache-dir": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "common-path-prefix": "^3.0.0", + "pkg-dir": "^7.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/foreach": { + "version": "2.0.6", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/form-data": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/fraction.js": { + "version": "4.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/fs-monkey": { + "version": "1.0.4", + "dev": true, + "license": "Unlicense" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/fwd-stream": { + "version": "1.0.4", + "dev": true, + "dependencies": { + "readable-stream": "~1.0.26-4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/fwd-stream/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/globals": { + "version": "11.12.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/globby": { + "version": "13.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.11", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/guess-parser": { + "version": "0.4.22", + "dev": true, + "license": "MIT", + "dependencies": { + "@wessberg/ts-evaluator": "0.0.27" + }, + "peerDependencies": { + "typescript": ">=3.7.5" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/handle-thing": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/hdr-histogram-js": { + "version": "2.0.3", + "dev": true, + "license": "BSD", + "dependencies": { + "@assemblyscript/loader": "^0.10.1", + "base64-js": "^1.2.0", + "pako": "^1.0.3" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/hdr-histogram-percentiles-obj": { + "version": "3.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/hosted-git-info": { + "version": "6.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/hpack.js": { + "version": "2.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/hpack.js/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/hpack.js/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/hpack.js/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/hpack.js/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/html-encoding-sniffer": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-encoding": "^1.0.5" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/html-entities": { + "version": "2.3.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/htmlparser2": { + "version": "8.0.2", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/http-deceiver": { + "version": "1.2.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/http-parser-js": { + "version": "0.5.5", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/http-proxy": { + "version": "1.18.1", + "dev": true, + "license": "MIT", + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/http-proxy-middleware": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/http-proxy-middleware/node_modules/micromatch": { + "version": "4.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/icss-utils": { + "version": "5.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/idb-wrapper": { + "version": "1.7.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/image-size": { + "version": "0.5.5", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "image-size": "bin/image-size.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/immutable": { + "version": "4.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/indexof": { + "version": "0.0.1", + "dev": true + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ini": { + "version": "4.1.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/inquirer": { + "version": "8.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ionicons": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "@stencil/core": "^2.18.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/is": { + "version": "0.2.7", + "dev": true, + "engines": { + "node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/is-docker": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/is-object": { + "version": "0.1.2", + "dev": true + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/is-plain-obj": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/is-what": { + "version": "3.14.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/is-wsl": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/isbuffer": { + "version": "0.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/jiti": { + "version": "1.20.0", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/jsdom": { + "version": "16.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abab": "^2.0.5", + "acorn": "^8.2.4", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.3.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.1", + "domexception": "^2.0.1", + "escodegen": "^2.0.0", + "form-data": "^3.0.0", + "html-encoding-sniffer": "^2.0.1", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.5.0", + "ws": "^7.4.6", + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/jsdom/node_modules/@tootallnate/once": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/jsdom/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/jsdom/node_modules/http-proxy-agent": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/jsdom/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/jsdom/node_modules/parse5": { + "version": "6.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/jsdom/node_modules/ws": { + "version": "7.5.7", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/jsonc-parser": { + "version": "3.2.0", + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/karma-source-map-support": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "source-map-support": "^0.5.5" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/klona": { + "version": "2.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/launch-editor": { + "version": "2.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "picocolors": "^1.0.0", + "shell-quote": "^1.7.3" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/less": { + "version": "4.1.3", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "copy-anything": "^2.0.1", + "parse-node-version": "^1.0.1", + "tslib": "^2.3.0" + }, + "bin": { + "lessc": "bin/lessc" + }, + "engines": { + "node": ">=6" + }, + "optionalDependencies": { + "errno": "^0.1.1", + "graceful-fs": "^4.1.2", + "image-size": "~0.5.0", + "make-dir": "^2.1.0", + "mime": "^1.4.1", + "needle": "^3.1.0", + "source-map": "~0.6.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/less-loader": { + "version": "11.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "klona": "^2.0.4" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "less": "^3.5.0 || ^4.0.0", + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-blobs": { + "version": "0.1.7", + "dev": true, + "dependencies": { + "level-peek": "1.0.6", + "once": "^1.3.0", + "readable-stream": "^1.0.26-4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-blobs/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-filesystem": { + "version": "1.2.0", + "dev": true, + "dependencies": { + "concat-stream": "^1.4.4", + "errno": "^0.1.1", + "fwd-stream": "^1.0.4", + "level-blobs": "^0.1.7", + "level-peek": "^1.0.6", + "level-sublevel": "^5.2.0", + "octal": "^1.0.0", + "once": "^1.3.0", + "xtend": "^2.2.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-filesystem/node_modules/xtend": { + "version": "2.2.0", + "dev": true, + "engines": { + "node": ">=0.4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-fix-range": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-hooks": { + "version": "4.5.0", + "dev": true, + "dependencies": { + "string-range": "~1.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-js": { + "version": "2.2.4", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "abstract-leveldown": "~0.12.0", + "idb-wrapper": "^1.5.0", + "isbuffer": "~0.0.0", + "ltgt": "^2.1.2", + "typedarray-to-buffer": "~1.0.0", + "xtend": "~2.1.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-js/node_modules/object-keys": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-js/node_modules/xtend": { + "version": "2.1.2", + "dev": true, + "dependencies": { + "object-keys": "~0.4.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-peek": { + "version": "1.0.6", + "dev": true, + "license": "MIT", + "dependencies": { + "level-fix-range": "~1.0.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-sublevel": { + "version": "5.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "level-fix-range": "2.0", + "level-hooks": ">=4.4.0 <5", + "string-range": "~1.2.1", + "xtend": "~2.0.4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-sublevel/node_modules/clone": { + "version": "0.1.19", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-sublevel/node_modules/level-fix-range": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "clone": "~0.1.9" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/level-sublevel/node_modules/xtend": { + "version": "2.0.6", + "dev": true, + "dependencies": { + "is-object": "~0.1.2", + "object-keys": "~0.2.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/levelup": { + "version": "0.18.6", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "~0.8.1", + "deferred-leveldown": "~0.2.0", + "errno": "~0.1.1", + "prr": "~0.0.0", + "readable-stream": "~1.0.26", + "semver": "~2.3.1", + "xtend": "~3.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/levelup/node_modules/bl": { + "version": "0.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~1.0.26" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/levelup/node_modules/prr": { + "version": "0.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/levelup/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/license-webpack-plugin": { + "version": "4.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "webpack-sources": "^3.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-sources": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/loader-utils": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/lodash.debounce": { + "version": "4.0.8", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/lru-cache": { + "version": "7.18.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/magic-string": { + "version": "0.30.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/magic-string/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/make-dir": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/make-fetch-happen": { + "version": "11.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^4.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/make-fetch-happen/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/memfs": { + "version": "3.6.0", + "dev": true, + "license": "Unlicense", + "dependencies": { + "fs-monkey": "^1.0.4" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/mini-css-extract-plugin": { + "version": "2.7.6", + "dev": true, + "license": "MIT", + "dependencies": { + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/mrmime": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/multicast-dns": { + "version": "7.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" + }, + "bin": { + "multicast-dns": "cli.js" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/nan": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/needle": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "^3.2.6", + "iconv-lite": "^0.6.3", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 4.4.x" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/needle/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/needle/node_modules/iconv-lite": { + "version": "0.6.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/net-browserify": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "body-parser": "^1.10.0", + "express": "^4.10.6", + "express-ws": "^0.2.1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/nice-napi": { + "version": "1.0.2", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "!win32" + ], + "dependencies": { + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/node-addon-api": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/node-forge": { + "version": "1.3.1", + "dev": true, + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/node-releases": { + "version": "2.0.12", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/normalize-package-data": { + "version": "5.0.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^6.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/normalize-range": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/npm-package-arg": { + "version": "10.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/npm-packlist": { + "version": "7.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "ignore-walk": "^6.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/npm-pick-manifest": { + "version": "8.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^10.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/npm-registry-fetch": { + "version": "14.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "make-fetch-happen": "^11.0.0", + "minipass": "^4.0.0", + "minipass-fetch": "^3.0.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.1.2", + "npm-package-arg": "^10.0.0", + "proc-log": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/npm-registry-fetch/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/nth-check": { + "version": "2.0.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/nwsapi": { + "version": "2.2.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/object-keys": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "foreach": "~2.0.1", + "indexof": "~0.0.1", + "is": "~0.2.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/object-path": { + "version": "0.11.8", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.12.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/obuf": { + "version": "1.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/octal": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/on-headers": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/open": { + "version": "8.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/options": { + "version": "0.0.6", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/p-retry": { + "version": "4.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/retry": "0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/p-retry/node_modules/retry": { + "version": "0.13.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pacote": { + "version": "15.2.0", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^4.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/run-script": "^6.0.0", + "cacache": "^17.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^5.0.0", + "npm-package-arg": "^10.0.0", + "npm-packlist": "^7.0.0", + "npm-pick-manifest": "^8.0.0", + "npm-registry-fetch": "^14.0.0", + "proc-log": "^3.0.0", + "promise-retry": "^2.0.1", + "read-package-json": "^6.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^1.3.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "lib/bin.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pacote/node_modules/minipass": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/parse-node-version": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/parse5": { + "version": "7.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^4.4.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/parse5-html-rewriting-stream": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^4.3.0", + "parse5": "^7.0.0", + "parse5-sax-parser": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/parse5-sax-parser": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pify": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/piscina": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "eventemitter-asyncresource": "^1.0.0", + "hdr-histogram-js": "^2.0.1", + "hdr-histogram-percentiles-obj": "^3.0.0" + }, + "optionalDependencies": { + "nice-napi": "^1.0.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pkg-dir": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^6.3.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pkg-dir/node_modules/find-up": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pkg-dir/node_modules/locate-path": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^6.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pkg-dir/node_modules/p-limit": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^1.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pkg-dir/node_modules/p-locate": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pkg-dir/node_modules/path-exists": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/postcss-loader": { + "version": "7.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "cosmiconfig": "^8.2.0", + "jiti": "^1.18.2", + "semver": "^7.3.8" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "postcss": "^7.0.0 || ^8.0.1", + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/postcss-modules-extract-imports": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/postcss-modules-local-by-default": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/postcss-modules-scope": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/postcss-modules-values": { + "version": "4.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "icss-utils": "^5.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/postcss-value-parser": { + "version": "4.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/pretty-bytes": { + "version": "5.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/process-nextick-args": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/prr": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/psl": { + "version": "1.8.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/querystringify": { + "version": "2.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/read-package-json": { + "version": "6.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^9.3.0", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^5.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/read-package-json/node_modules/glob": { + "version": "9.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/read-package-json/node_modules/minimatch": { + "version": "8.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/read-package-json/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/regenerate": { + "version": "1.4.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/regenerate-unicode-properties": { + "version": "10.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/regenerator-runtime": { + "version": "0.13.11", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/regenerator-transform": { + "version": "0.15.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.8.4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/regex-parser": { + "version": "2.2.11", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/regexpu-core": { + "version": "5.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/regjsgen": "^0.8.0", + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.1.0", + "regjsparser": "^0.9.1", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/regjsparser": { + "version": "0.9.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/requires-port": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/resolve": { + "version": "1.22.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/resolve-url-loader": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "adjust-sourcemap-loader": "^4.0.0", + "convert-source-map": "^1.7.0", + "loader-utils": "^2.0.0", + "postcss": "^8.2.14", + "source-map": "0.6.1" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/rollup": { + "version": "3.29.0", + "dev": true, + "license": "MIT", + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=14.18.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/sass": { + "version": "1.64.1", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/sass-loader": { + "version": "13.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "neo-async": "^2.6.2" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "fibers": ">= 3.1.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", + "sass": "^1.3.0", + "sass-embedded": "*", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "fibers": { + "optional": true + }, + "node-sass": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/sax": { + "version": "1.2.4", + "dev": true, + "license": "ISC", + "optional": true + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/saxes": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/schema-utils": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.8.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/schema-utils/node_modules/@types/json-schema": { + "version": "7.0.11", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/select-hose": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/selfsigned": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "node-forge": "^1" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/serve-index": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/serve-index/node_modules/depd": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/serve-index/node_modules/http-errors": { + "version": "1.6.3", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/serve-index/node_modules/inherits": { + "version": "2.0.3", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/serve-index/node_modules/setprototypeof": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/serve-index/node_modules/statuses": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/shell-quote": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/sigstore": { + "version": "1.9.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "@sigstore/sign": "^1.0.0", + "@sigstore/tuf": "^1.0.3", + "make-fetch-happen": "^11.0.1" + }, + "bin": { + "sigstore": "bin/sigstore.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/slash": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/sockjs": { + "version": "0.3.24", + "dev": true, + "license": "MIT", + "dependencies": { + "faye-websocket": "^0.11.3", + "uuid": "^8.3.2", + "websocket-driver": "^0.7.4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/spdy": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "handle-thing": "^2.0.0", + "http-deceiver": "^1.2.7", + "select-hose": "^2.0.0", + "spdy-transport": "^3.0.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/spdy-transport": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "detect-node": "^2.0.4", + "hpack.js": "^2.1.6", + "obuf": "^1.1.2", + "readable-stream": "^3.0.6", + "wbuf": "^1.7.3" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/spdy-transport/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/spdy-transport/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/spdy/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/spdy/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/string-range": { + "version": "1.2.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/symbol-observable": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/symbol-tree": { + "version": "3.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/terser": { + "version": "5.19.2", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/thunky": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tinycolor": { + "version": "0.0.1", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tls-browserify": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "node-forge": "^0.7.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tough-cookie": { + "version": "4.1.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tr46": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tsconfig-paths": { + "version": "4.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tuf-js": { + "version": "1.1.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/models": "1.0.4", + "debug": "^4.3.4", + "make-fetch-happen": "^11.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tuf-js/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tuf-js/node_modules/make-fetch-happen": { + "version": "11.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tuf-js/node_modules/minipass": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/tuf-js/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/typed-assert": { + "version": "1.0.9", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/typedarray": { + "version": "0.0.6", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/typedarray-to-buffer": { + "version": "1.0.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/unicode-match-property-value-ecmascript": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/universalify": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/update-browserslist-db": { + "version": "1.0.11", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/url-join": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/url-parse": { + "version": "1.5.10", + "dev": true, + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/vite": { + "version": "4.4.7", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.18.10", + "postcss": "^8.4.26", + "rollup": "^3.25.2" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + }, + "peerDependencies": { + "@types/node": ">= 14", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/vite/node_modules/@esbuild/linux-x64": { + "version": "0.18.20", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/vite/node_modules/esbuild": { + "version": "0.18.20", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.18.20", + "@esbuild/android-arm64": "0.18.20", + "@esbuild/android-x64": "0.18.20", + "@esbuild/darwin-arm64": "0.18.20", + "@esbuild/darwin-x64": "0.18.20", + "@esbuild/freebsd-arm64": "0.18.20", + "@esbuild/freebsd-x64": "0.18.20", + "@esbuild/linux-arm": "0.18.20", + "@esbuild/linux-arm64": "0.18.20", + "@esbuild/linux-ia32": "0.18.20", + "@esbuild/linux-loong64": "0.18.20", + "@esbuild/linux-mips64el": "0.18.20", + "@esbuild/linux-ppc64": "0.18.20", + "@esbuild/linux-riscv64": "0.18.20", + "@esbuild/linux-s390x": "0.18.20", + "@esbuild/linux-x64": "0.18.20", + "@esbuild/netbsd-x64": "0.18.20", + "@esbuild/openbsd-x64": "0.18.20", + "@esbuild/sunos-x64": "0.18.20", + "@esbuild/win32-arm64": "0.18.20", + "@esbuild/win32-ia32": "0.18.20", + "@esbuild/win32-x64": "0.18.20" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/w3c-hr-time": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "browser-process-hrtime": "^1.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/w3c-xmlserializer": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/wbuf": { + "version": "1.7.3", + "dev": true, + "license": "MIT", + "dependencies": { + "minimalistic-assert": "^1.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/webidl-conversions": { + "version": "6.1.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=10.4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/webpack-dev-middleware": { + "version": "6.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^3.4.12", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/webpack-dev-server": { + "version": "4.15.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/bonjour": "^3.5.9", + "@types/connect-history-api-fallback": "^1.3.5", + "@types/express": "^4.17.13", + "@types/serve-index": "^1.9.1", + "@types/serve-static": "^1.13.10", + "@types/sockjs": "^0.3.33", + "@types/ws": "^8.5.5", + "ansi-html-community": "^0.0.8", + "bonjour-service": "^1.0.11", + "chokidar": "^3.5.3", + "colorette": "^2.0.10", + "compression": "^1.7.4", + "connect-history-api-fallback": "^2.0.0", + "default-gateway": "^6.0.3", + "express": "^4.17.3", + "graceful-fs": "^4.2.6", + "html-entities": "^2.3.2", + "http-proxy-middleware": "^2.0.3", + "ipaddr.js": "^2.0.1", + "launch-editor": "^2.6.0", + "open": "^8.0.9", + "p-retry": "^4.5.0", + "rimraf": "^3.0.2", + "schema-utils": "^4.0.0", + "selfsigned": "^2.1.1", + "serve-index": "^1.9.1", + "sockjs": "^0.3.24", + "spdy": "^4.0.2", + "webpack-dev-middleware": "^5.3.1", + "ws": "^8.13.0" + }, + "bin": { + "webpack-dev-server": "bin/webpack-dev-server.js" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.37.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-cli": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/webpack-dev-server/node_modules/@types/mime": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/webpack-dev-server/node_modules/@types/serve-static": { + "version": "1.15.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-errors": "*", + "@types/mime": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/webpack-dev-server/node_modules/ipaddr.js": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/webpack-dev-server/node_modules/webpack-dev-middleware": { + "version": "5.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^3.4.3", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/webpack-dev-server/node_modules/ws": { + "version": "8.14.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/webpack-subresource-integrity": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "typed-assert": "^1.0.8" + }, + "engines": { + "node": ">= 12" + }, + "peerDependencies": { + "html-webpack-plugin": ">= 5.0.0-beta.1 < 6", + "webpack": "^5.12.0" + }, + "peerDependenciesMeta": { + "html-webpack-plugin": { + "optional": true + } + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/websocket-driver": { + "version": "0.7.4", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/websocket-extensions": { + "version": "0.1.4", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/whatwg-encoding": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "0.4.24" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/whatwg-mimetype": { + "version": "2.3.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/whatwg-url": { + "version": "8.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/which": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ws": { + "version": "0.4.32", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "commander": "~2.1.0", + "nan": "~1.0.0", + "options": ">=0.0.5", + "tinycolor": "0.x" + }, + "bin": { + "wscat": "bin/wscat" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/ws/node_modules/commander": { + "version": "2.1.0", + "dev": true, + "engines": { + "node": ">= 0.6.x" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/xml-name-validator": { + "version": "3.0.0", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/xmlchars": { + "version": "2.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/xtend": { + "version": "3.0.0", + "dev": true, + "engines": { + "node": ">=0.4" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/yocto-queue": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-carbon-accounting-frontend/node_modules/zone.js": { + "version": "0.13.1", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend": { + "name": "@hyperledger/cactus-example-cbdc-bridging-backend", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-xdai": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-object-store-ipfs": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-satp-hermes": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@openzeppelin/contracts": "4.9.6", + "@openzeppelin/contracts-upgradeable": "4.9.6", + "async-exit-hook": "2.0.1", + "axios": "1.6.0", + "crypto-js": "4.2.0", + "dotenv": "16.0.1", + "fabric-network": "2.2.20", + "fs-extra": "10.1.0", + "knex": "2.5.1", + "kubo-rpc-client": "3.0.1", + "nyc": "13.1.0", + "openapi-types": "12.1.3", + "sqlite3": "5.1.5", + "typescript-optional": "2.0.1", + "uuid": "9.0.1", + "web3-core": "1.10.1", + "web3-utils": "1.10.1" + }, + "devDependencies": { + "@types/crypto-js": "4.1.1", + "@types/cucumber": "4.0.4", + "@types/express": "4.17.21", + "@types/express-jwt": "6.0.2", + "@types/fs-extra": "9.0.13", + "@types/node": "18.11.9", + "@types/uuid": "9.0.8", + "cucumber": "5.0.3", + "hardhat": "2.17.2", + "http-status-codes": "2.1.4", + "jose": "4.15.5", + "remix-tests": "0.1.34", + "ts-node": "7.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@babel/generator": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.10", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@babel/generator/node_modules/@babel/types": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@chainsafe/as-sha256": { + "version": "0.3.1", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@chainsafe/is-ip": { + "version": "2.0.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@chainsafe/netmask": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@chainsafe/persistent-merkle-tree": { + "version": "0.5.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@chainsafe/as-sha256": "^0.3.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@chainsafe/ssz": { + "version": "0.10.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@chainsafe/as-sha256": "^0.3.1", + "@chainsafe/persistent-merkle-tree": "^0.5.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@colors/colors": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethereumjs/common": { + "version": "2.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethereumjs/common/node_modules/bn.js": { + "version": "5.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethereumjs/common/node_modules/ethereumjs-util": { + "version": "7.1.4", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethereumjs/tx": { + "version": "3.3.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "ethereumjs-util": "^7.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "dev": true, + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethereumjs/util": { + "version": "8.1.0", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "ethereum-cryptography": "^2.0.0", + "micro-ftch": "^0.3.1" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethereumjs/util/node_modules/ethereum-cryptography": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "@noble/curves": "1.1.0", + "@noble/hashes": "1.3.1", + "@scure/bip32": "1.3.1", + "@scure/bip39": "1.2.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/basex": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/contracts": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/hdnode": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/json-wallets": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/pbkdf2": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/sha2": "^5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/providers": { + "version": "5.7.2", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/random": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/sha2": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "hash.js": "1.1.7" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/solidity": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/units": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/wallet": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/json-wallets": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ethersproject/wordlists": { + "version": "5.7.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@fastify/busboy": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@gar/promisify": { + "version": "1.1.3", + "license": "MIT", + "optional": true + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ipld/dag-cbor": { + "version": "9.0.6", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ipld/dag-cbor/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ipld/dag-json": { + "version": "10.1.5", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ipld/dag-json/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ipld/dag-pb": { + "version": "4.0.6", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@ipld/dag-pb/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/crypto": { + "version": "1.0.17", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-keys": "^1.0.2", + "@libp2p/interfaces": "^3.2.0", + "@noble/ed25519": "^1.6.0", + "@noble/secp256k1": "^1.5.4", + "multiformats": "^11.0.0", + "node-forge": "^1.1.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface": { + "version": "0.1.3", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@multiformats/multiaddr": "^12.1.5", + "abortable-iterator": "^5.0.1", + "it-pushable": "^3.2.0", + "it-stream-types": "^2.0.1", + "multiformats": "^12.0.1", + "p-defer": "^4.0.0", + "race-signal": "^1.0.0", + "uint8arraylist": "^2.4.3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-connection": { + "version": "4.0.0", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^1.0.4", + "uint8arraylist": "^2.1.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-connection/node_modules/it-stream-types": { + "version": "1.0.5", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-connection/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-keychain": { + "version": "2.0.5", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-keys": { + "version": "1.0.8", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-peer-id": { + "version": "2.0.2", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-peer-info": { + "version": "1.0.10", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-peer-info/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-peer-info/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface-pubsub": { + "version": "3.0.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-connection": "^4.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "it-pushable": "^3.0.0", + "uint8arraylist": "^2.1.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interface/node_modules/p-defer": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/interfaces": { + "version": "3.3.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/logger": { + "version": "2.1.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.2", + "@multiformats/multiaddr": "^12.1.3", + "debug": "^4.3.4", + "interface-datastore": "^8.2.0", + "multiformats": "^11.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/logger/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/logger/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@metamask/eth-sig-util": { + "version": "4.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "ethereumjs-abi": "^0.6.8", + "ethereumjs-util": "^6.2.1", + "ethjs-util": "^0.1.6", + "tweetnacl": "^1.0.3", + "tweetnacl-util": "^0.15.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@metamask/eth-sig-util/node_modules/tweetnacl": { + "version": "1.0.3", + "dev": true, + "license": "Unlicense" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@multiformats/multiaddr": { + "version": "11.6.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "dns-over-http-resolver": "^2.1.0", + "err-code": "^3.0.1", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@multiformats/multiaddr-to-uri": { + "version": "9.0.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@multiformats/multiaddr-to-uri/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@multiformats/multiaddr-to-uri/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@multiformats/multiaddr/node_modules/varint": { + "version": "6.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@noble/ed25519": { + "version": "1.7.3", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-block": { + "version": "5.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-trie": "6.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "ethereum-cryptography": "0.1.3", + "ethers": "^5.7.1" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-blockchain": { + "version": "7.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-block": "5.0.2", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-ethash": "3.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-trie": "6.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "abstract-level": "^1.0.3", + "debug": "^4.3.3", + "ethereum-cryptography": "0.1.3", + "level": "^8.0.0", + "lru-cache": "^5.1.1", + "memory-level": "^1.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-blockchain/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-blockchain/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-blockchain/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-blockchain/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-common": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@nomicfoundation/ethereumjs-util": "9.0.2", + "crc-32": "^1.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-ethash": { + "version": "3.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-block": "5.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "abstract-level": "^1.0.3", + "bigint-crypto-utils": "^3.0.23", + "ethereum-cryptography": "0.1.3" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-evm": { + "version": "2.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@ethersproject/providers": "^5.7.1", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "debug": "^4.3.3", + "ethereum-cryptography": "0.1.3", + "mcl-wasm": "^0.7.1", + "rustbn.js": "~0.2.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-evm/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-evm/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-rlp": { + "version": "5.0.2", + "dev": true, + "license": "MPL-2.0", + "bin": { + "rlp": "bin/rlp" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-statemanager": { + "version": "2.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "debug": "^4.3.3", + "ethereum-cryptography": "0.1.3", + "ethers": "^5.7.1", + "js-sdsl": "^4.1.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-statemanager/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-statemanager/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-trie": { + "version": "6.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "@types/readable-stream": "^2.3.13", + "ethereum-cryptography": "0.1.3", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-tx": { + "version": "5.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@chainsafe/ssz": "^0.9.2", + "@ethersproject/providers": "^5.7.2", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "ethereum-cryptography": "0.1.3" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-tx/node_modules/@chainsafe/persistent-merkle-tree": { + "version": "0.4.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@chainsafe/as-sha256": "^0.3.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-tx/node_modules/@chainsafe/ssz": { + "version": "0.9.4", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@chainsafe/as-sha256": "^0.3.1", + "@chainsafe/persistent-merkle-tree": "^0.4.2", + "case": "^1.6.3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-util": { + "version": "9.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@chainsafe/ssz": "^0.10.0", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "ethereum-cryptography": "0.1.3" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-vm": { + "version": "7.0.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@nomicfoundation/ethereumjs-block": "5.0.2", + "@nomicfoundation/ethereumjs-blockchain": "7.0.2", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-evm": "2.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-statemanager": "2.0.2", + "@nomicfoundation/ethereumjs-trie": "6.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "debug": "^4.3.3", + "ethereum-cryptography": "0.1.3", + "mcl-wasm": "^0.7.1", + "rustbn.js": "~0.2.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-vm/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/ethereumjs-vm/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/solidity-analyzer": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + }, + "optionalDependencies": { + "@nomicfoundation/solidity-analyzer-darwin-arm64": "0.1.1", + "@nomicfoundation/solidity-analyzer-darwin-x64": "0.1.1", + "@nomicfoundation/solidity-analyzer-freebsd-x64": "0.1.1", + "@nomicfoundation/solidity-analyzer-linux-arm64-gnu": "0.1.1", + "@nomicfoundation/solidity-analyzer-linux-arm64-musl": "0.1.1", + "@nomicfoundation/solidity-analyzer-linux-x64-gnu": "0.1.1", + "@nomicfoundation/solidity-analyzer-linux-x64-musl": "0.1.1", + "@nomicfoundation/solidity-analyzer-win32-arm64-msvc": "0.1.1", + "@nomicfoundation/solidity-analyzer-win32-ia32-msvc": "0.1.1", + "@nomicfoundation/solidity-analyzer-win32-x64-msvc": "0.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@nomicfoundation/solidity-analyzer-linux-x64-gnu": { + "version": "0.1.1", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@npmcli/move-file": { + "version": "1.1.2", + "license": "MIT", + "optional": true, + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@npmcli/move-file/node_modules/mkdirp": { + "version": "1.0.4", + "license": "MIT", + "optional": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@openzeppelin/contracts-upgradeable": { + "version": "4.9.6", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@sentry/core": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/hub": "5.30.0", + "@sentry/minimal": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@sentry/hub": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@sentry/minimal": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/hub": "5.30.0", + "@sentry/types": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@sentry/node": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/core": "5.30.0", + "@sentry/hub": "5.30.0", + "@sentry/tracing": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "cookie": "^0.4.1", + "https-proxy-agent": "^5.0.0", + "lru_map": "^0.3.3", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@sentry/tracing": { + "version": "5.30.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@sentry/hub": "5.30.0", + "@sentry/minimal": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@sentry/types": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@sentry/utils": { + "version": "5.30.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sentry/types": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@sindresorhus/is": { + "version": "4.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/bn.js": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/cacheable-request": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-cache-semantics": "*", + "@types/keyv": "^3.1.4", + "@types/node": "*", + "@types/responselike": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/crypto-js": { + "version": "4.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/cucumber": { + "version": "4.0.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/express-jwt": { + "version": "6.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*", + "@types/express-unless": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/express-unless": { + "version": "0.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/http-cache-semantics": { + "version": "4.0.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/readable-stream": { + "version": "2.3.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "safe-buffer": "~5.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/secp256k1": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/abortable-iterator": { + "version": "5.0.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/abortable-iterator/node_modules/get-iterator": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/abortcontroller-polyfill": { + "version": "1.7.5", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/abstract-level": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "catering": "^2.1.0", + "is-buffer": "^2.0.5", + "level-supports": "^4.0.0", + "level-transcoder": "^1.0.1", + "module-error": "^1.0.1", + "queue-microtask": "^1.2.3" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/abstract-leveldown": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/acorn": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/acorn-jsx": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^3.0.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/adm-zip": { + "version": "0.4.16", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.3.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/aes-js": { + "version": "3.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ajv": { + "version": "4.11.8", + "dev": true, + "license": "MIT", + "dependencies": { + "co": "^4.6.0", + "json-stable-stringify": "^1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ajv-keywords": { + "version": "1.5.1", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": ">=4.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ansi-gray": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-wrap": "0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ansi-regex": { + "version": "2.1.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ansi-wrap": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/any-promise": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/any-signal": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/append-transform": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "default-require-extensions": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/are-we-there-yet": { + "version": "3.0.0", + "license": "ISC", + "optional": true, + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/array.prototype.find": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/array.prototype.reduce": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-array-method-boxes-properly": "^1.0.0", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/asn1": { + "version": "0.2.6", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/assert-plus": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/assertion-error-formatter": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "diff": "^3.0.0", + "pad-right": "^0.2.2", + "repeat-string": "^1.6.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/async": { + "version": "2.6.4", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.17.14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/async-eventemitter": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^2.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/async-exit-hook": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/async-limiter": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/aws-sign2": { + "version": "0.7.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/aws4": { + "version": "1.11.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/babel-code-frame": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/babel-code-frame/node_modules/ansi-styles": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/babel-code-frame/node_modules/chalk": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/babel-code-frame/node_modules/js-tokens": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/babel-code-frame/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/babel-code-frame/node_modules/supports-color": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/babel-runtime": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/base-x": { + "version": "3.0.9", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/bech32": { + "version": "1.1.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/becke-ch--regex--s0-0-v1--base--pl--lib": { + "version": "1.4.0", + "dev": true, + "license": "SEE LICENSE IN LICENSE" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/bigint-crypto-utils": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/blakejs": { + "version": "1.1.1", + "dev": true, + "license": "CC0-1.0" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/blob-to-it": { + "version": "2.0.4", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "browser-readablestream-to-it": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/bluebird": { + "version": "3.7.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/browser-level": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-level": "^1.0.2", + "catering": "^2.1.1", + "module-error": "^1.0.2", + "run-parallel-limit": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/browser-readablestream-to-it": { + "version": "2.0.4", + "license": "Apache-2.0 OR MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/browser-stdout": { + "version": "1.3.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/bs58": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/bs58check": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/builtin-modules": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cacheable-lookup": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cacheable-request": { + "version": "7.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cacheable-request/node_modules/get-stream": { + "version": "5.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/caching-transform": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "make-dir": "^1.0.0", + "md5-hex": "^2.0.0", + "package-hash": "^2.0.0", + "write-file-atomic": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/caller-path": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/callsites": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/camel-case": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/case": { + "version": "1.6.3", + "dev": true, + "license": "(MIT OR GPL-3.0-or-later)", + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/caseless": { + "version": "0.12.0", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/catering": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cborg": { + "version": "4.0.3", + "license": "Apache-2.0", + "bin": { + "cborg": "lib/bin.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/change-case": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "camel-case": "^3.0.0", + "constant-case": "^2.0.0", + "dot-case": "^2.1.0", + "header-case": "^1.0.0", + "is-lower-case": "^1.1.0", + "is-upper-case": "^1.1.0", + "lower-case": "^1.1.1", + "lower-case-first": "^1.0.0", + "no-case": "^2.3.2", + "param-case": "^2.1.0", + "pascal-case": "^2.0.0", + "path-case": "^2.1.0", + "sentence-case": "^2.1.0", + "snake-case": "^2.1.0", + "swap-case": "^1.1.0", + "title-case": "^2.1.0", + "upper-case": "^1.1.1", + "upper-case-first": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/checkpoint-store": { + "version": "1.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "functional-red-black-tree": "^1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ci-info": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cids": { + "version": "0.7.5", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cids/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/circular-json": { + "version": "0.3.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/class-is": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/classic-level": { + "version": "1.3.0", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "abstract-level": "^1.0.2", + "catering": "^2.1.0", + "module-error": "^1.0.1", + "napi-macros": "^2.2.2", + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cli-cursor": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cli-table3": { + "version": "0.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4.1.0", + "string-width": "^2.1.1" + }, + "engines": { + "node": ">=6" + }, + "optionalDependencies": { + "colors": "^1.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cli-table3/node_modules/ansi-regex": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cli-table3/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cli-table3/node_modules/string-width": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cli-table3/node_modules/strip-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cli-width": { + "version": "2.2.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/code-point-at": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/color": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/color-string": { + "version": "1.9.0", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/colorette": { + "version": "2.0.19", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/colors": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/colorspace": { + "version": "1.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/command-exists": { + "version": "1.2.9", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/concat-stream": { + "version": "1.6.2", + "dev": true, + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/constant-case": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "snake-case": "^2.1.0", + "upper-case": "^1.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/contains-path": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/content-hash": { + "version": "2.5.2", + "dev": true, + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "dev": true, + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/content-type": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/core-js": { + "version": "2.6.12", + "dev": true, + "hasInstallScript": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/core-js-pure": { + "version": "3.32.0", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cross-spawn": { + "version": "6.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/crypto-js": { + "version": "4.2.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cucumber": { + "version": "5.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error-formatter": "^2.0.1", + "babel-runtime": "^6.11.6", + "bluebird": "^3.4.1", + "cli-table3": "^0.5.1", + "colors": "^1.1.2", + "commander": "^2.9.0", + "cross-spawn": "^6.0.5", + "cucumber-expressions": "^6.0.0", + "cucumber-tag-expressions": "^1.1.1", + "duration": "^0.2.1", + "escape-string-regexp": "^1.0.5", + "figures": "2.0.0", + "gherkin": "^5.0.0", + "glob": "^7.1.3", + "indent-string": "^3.1.0", + "is-generator": "^1.0.2", + "is-stream": "^1.1.0", + "knuth-shuffle-seeded": "^1.0.6", + "lodash": "^4.17.10", + "mz": "^2.4.0", + "progress": "^2.0.0", + "resolve": "^1.3.3", + "serialize-error": "^2.1.0", + "stack-chain": "^2.0.0", + "stacktrace-js": "^2.0.0", + "string-argv": "0.1.1", + "title-case": "^2.1.1", + "util-arity": "^1.0.2", + "verror": "^1.9.0" + }, + "bin": { + "cucumber-js": "bin/cucumber-js" + }, + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cucumber-expressions": { + "version": "6.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "becke-ch--regex--s0-0-v1--base--pl--lib": "^1.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cucumber-tag-expressions": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/d/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/dag-jose": { + "version": "4.0.0", + "license": "(Apache-2.0 OR MIT)", + "dependencies": { + "@ipld/dag-cbor": "^9.0.0", + "multiformats": "^11.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/dashdash": { + "version": "1.14.1", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/debug-log": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/decode-uri-component": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/default-require-extensions": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/deferred-leveldown/node_modules/abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/deglob": { + "version": "2.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "find-root": "^1.0.0", + "glob": "^7.0.5", + "ignore": "^3.0.9", + "pkg-config": "^1.1.0", + "run-parallel": "^1.1.2", + "uniq": "^1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/diff": { + "version": "3.5.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/dns-over-http-resolver": { + "version": "2.1.2", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "debug": "^4.3.1", + "native-fetch": "^4.0.2", + "receptacle": "^1.3.2", + "undici": "^5.12.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/dns-over-http-resolver/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/dns-over-http-resolver/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/doctrine": { + "version": "1.5.0", + "dev": true, + "dependencies": { + "esutils": "^2.0.2", + "isarray": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/dom-walk": { + "version": "0.1.2", + "dev": true + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/dot-case": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/dotenv": { + "version": "16.0.1", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/duration": { + "version": "0.2.2", + "dev": true, + "license": "ISC", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.46" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ecc-jsbn": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/electron-fetch": { + "version": "1.7.4", + "license": "MIT", + "dependencies": { + "encoding": "^0.1.13" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/enabled": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/encoding-down": { + "version": "5.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "^5.0.0", + "inherits": "^2.0.3", + "level-codec": "^9.0.0", + "level-errors": "^2.0.0", + "xtend": "^4.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/encoding-down/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/encoding-down/node_modules/level-codec": { + "version": "9.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/err-code": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/errno": { + "version": "0.1.8", + "dev": true, + "license": "MIT", + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/error-stack-parser": { + "version": "2.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "stackframe": "^1.3.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/es5-ext": { + "version": "0.10.62", + "hasInstallScript": true, + "license": "ISC", + "dependencies": { + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "next-tick": "^1.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/es5-ext/node_modules/next-tick": { + "version": "1.1.0", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/es6-map": { + "version": "0.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-set": "~0.1.5", + "es6-symbol": "~3.1.1", + "event-emitter": "~0.3.5" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/es6-promise": { + "version": "4.2.8", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/es6-set": { + "version": "0.1.6", + "dev": true, + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "es6-iterator": "~2.0.3", + "es6-symbol": "^3.1.3", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/es6-set/node_modules/type": { + "version": "2.7.2", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/es6-weak-map": { + "version": "2.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.46", + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/escope": { + "version": "3.6.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "es6-map": "^0.1.3", + "es6-weak-map": "^2.0.1", + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint": { + "version": "3.19.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-code-frame": "^6.16.0", + "chalk": "^1.1.3", + "concat-stream": "^1.5.2", + "debug": "^2.1.1", + "doctrine": "^2.0.0", + "escope": "^3.6.0", + "espree": "^3.4.0", + "esquery": "^1.0.0", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "file-entry-cache": "^2.0.0", + "glob": "^7.0.3", + "globals": "^9.14.0", + "ignore": "^3.2.0", + "imurmurhash": "^0.1.4", + "inquirer": "^0.12.0", + "is-my-json-valid": "^2.10.0", + "is-resolvable": "^1.0.0", + "js-yaml": "^3.5.1", + "json-stable-stringify": "^1.0.0", + "levn": "^0.3.0", + "lodash": "^4.0.0", + "mkdirp": "^0.5.0", + "natural-compare": "^1.4.0", + "optionator": "^0.8.2", + "path-is-inside": "^1.0.1", + "pluralize": "^1.2.1", + "progress": "^1.1.8", + "require-uncached": "^1.0.2", + "shelljs": "^0.7.5", + "strip-bom": "^3.0.0", + "strip-json-comments": "~2.0.1", + "table": "^3.7.8", + "text-table": "~0.2.0", + "user-home": "^2.0.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint-config-standard": { + "version": "10.2.1", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": ">=3.19.0", + "eslint-plugin-import": ">=2.2.0", + "eslint-plugin-node": ">=4.2.2", + "eslint-plugin-promise": ">=3.5.0", + "eslint-plugin-standard": ">=3.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint-config-standard-jsx": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": ">=3.19.0", + "eslint-plugin-react": ">=6.10.3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint-import-resolver-node": { + "version": "0.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^2.2.0", + "object-assign": "^4.0.1", + "resolve": "^1.1.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint-plugin-import": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "builtin-modules": "^1.1.1", + "contains-path": "^0.1.0", + "debug": "^2.2.0", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "^0.2.0", + "eslint-module-utils": "^2.0.0", + "has": "^1.0.1", + "lodash.cond": "^4.3.0", + "minimatch": "^3.0.3", + "pkg-up": "^1.0.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "2.x - 3.x" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint-plugin-node": { + "version": "4.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "ignore": "^3.0.11", + "minimatch": "^3.0.2", + "object-assign": "^4.0.1", + "resolve": "^1.1.7", + "semver": "5.3.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": ">=3.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint-plugin-promise": { + "version": "3.5.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint-plugin-react": { + "version": "6.10.3", + "dev": true, + "license": "MIT", + "dependencies": { + "array.prototype.find": "^2.0.1", + "doctrine": "^1.2.2", + "has": "^1.0.1", + "jsx-ast-utils": "^1.3.4", + "object.assign": "^4.0.4" + }, + "engines": { + "node": ">=0.10" + }, + "peerDependencies": { + "eslint": "^2.0.0 || ^3.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint-plugin-standard": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": ">=3.19.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/ansi-styles": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/argparse": { + "version": "1.0.10", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/chalk": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/doctrine": { + "version": "2.1.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/glob": { + "version": "7.2.3", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/globals": { + "version": "9.18.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/js-yaml": { + "version": "3.14.1", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/progress": { + "version": "1.1.8", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/strip-json-comments": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eslint/node_modules/supports-color": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/esm": { + "version": "3.2.25", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/espree": { + "version": "3.5.4", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^5.5.0", + "acorn-jsx": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/espree/node_modules/acorn": { + "version": "5.7.4", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/estraverse": { + "version": "4.3.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "dev": true, + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eth-lib": { + "version": "0.1.29", + "dev": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethashjs": { + "version": "0.0.8", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.1.2", + "buffer-xor": "^2.0.1", + "ethereumjs-util": "^7.0.2", + "miller-rabin": "^4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethashjs/node_modules/bn.js": { + "version": "5.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethashjs/node_modules/buffer-xor": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethashjs/node_modules/ethereumjs-util": { + "version": "7.1.5", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-abi": { + "version": "0.6.8", + "dev": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.8", + "ethereumjs-util": "^6.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-account": { + "version": "3.0.0", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-util": "^6.0.0", + "rlp": "^2.2.1", + "safe-buffer": "^5.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-block": { + "version": "2.2.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.0.1", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.1", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-block/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-blockchain": { + "version": "4.0.4", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.6.1", + "ethashjs": "~0.0.7", + "ethereumjs-block": "~2.2.2", + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.1.0", + "flow-stoplight": "^1.0.0", + "level-mem": "^3.0.1", + "lru-cache": "^5.1.1", + "rlp": "^2.2.2", + "semaphore": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-blockchain/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-blockchain/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-common": { + "version": "1.5.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-util/node_modules/@types/bn.js": { + "version": "4.11.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethereumjs-vm": { + "version": "4.1.3", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "core-js-pure": "^3.0.1", + "ethereumjs-account": "^3.0.0", + "ethereumjs-block": "^2.2.2", + "ethereumjs-blockchain": "^4.0.3", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.2", + "ethereumjs-util": "^6.2.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.3.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1", + "util.promisify": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethers": { + "version": "5.7.2", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ethjs-util": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/event-emitter": { + "version": "0.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/execa": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/execa/node_modules/cross-spawn": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/execa/node_modules/lru-cache": { + "version": "4.1.5", + "license": "ISC", + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/execa/node_modules/yallist": { + "version": "2.1.2", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/exit-hook": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/express": { + "version": "4.18.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/express-ws": { + "version": "4.0.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "ws": "^5.2.0" + }, + "engines": { + "node": ">=4.5.0" + }, + "peerDependencies": { + "express": "^4.0.0 || ^5.0.0-alpha.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/express-ws/node_modules/ws": { + "version": "5.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/express/node_modules/cookie": { + "version": "0.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/extend": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/extsprintf": { + "version": "1.4.1", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fabric-common/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fabric-common/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fabric-common/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fabric-common/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fake-merkle-patricia-tree": { + "version": "1.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "checkpoint-store": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fast-fifo": { + "version": "1.1.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fecha": { + "version": "4.2.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/figures": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/file-entry-cache": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^1.2.1", + "object-assign": "^4.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/find-cache-dir": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^2.0.0", + "pkg-dir": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/find-cache-dir/node_modules/make-dir": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/find-cache-dir/node_modules/pify": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/find-root": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/find-up": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/flat": { + "version": "5.0.2", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/flat-cache": { + "version": "1.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "circular-json": "^0.3.1", + "graceful-fs": "^4.1.2", + "rimraf": "~2.6.2", + "write": "^0.2.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/flat-cache/node_modules/rimraf": { + "version": "2.6.3", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/flow-stoplight": { + "version": "1.0.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fn.name": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/foreground-child": { + "version": "1.5.6", + "license": "ISC", + "dependencies": { + "cross-spawn": "^4", + "signal-exit": "^3.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/foreground-child/node_modules/cross-spawn": { + "version": "4.0.2", + "license": "MIT", + "dependencies": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/foreground-child/node_modules/lru-cache": { + "version": "4.1.5", + "license": "ISC", + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/foreground-child/node_modules/yallist": { + "version": "2.1.2", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/forever-agent": { + "version": "0.6.1", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/form-data-encoder": { + "version": "1.7.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fp-ts": { + "version": "1.19.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/fs-minipass": { + "version": "2.1.0", + "license": "ISC", + "optional": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/functional-red-black-tree": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/gauge": { + "version": "4.0.4", + "license": "ISC", + "optional": true, + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/generate-function": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-property": "^1.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/generate-object-property": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-property": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/get-iterator": { + "version": "1.0.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/getopts": { + "version": "2.3.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/getpass": { + "version": "0.1.7", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/gherkin": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "bin": { + "gherkin-javascript": "bin/gherkin" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/global": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/got": { + "version": "12.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^4.6.0", + "@szmarczak/http-timer": "^5.0.1", + "@types/cacheable-request": "^6.0.2", + "@types/responselike": "^1.0.0", + "cacheable-lookup": "^6.0.4", + "cacheable-request": "^7.0.2", + "decompress-response": "^6.0.0", + "form-data-encoder": "1.7.1", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/got/node_modules/decompress-response": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/got/node_modules/get-stream": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/got/node_modules/lowercase-keys": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/got/node_modules/mimic-response": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/har-schema": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/har-validator": { + "version": "5.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/har-validator/node_modules/ajv": { + "version": "6.12.6", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat": { + "version": "2.17.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "^5.1.2", + "@metamask/eth-sig-util": "^4.0.0", + "@nomicfoundation/ethereumjs-block": "5.0.2", + "@nomicfoundation/ethereumjs-blockchain": "7.0.2", + "@nomicfoundation/ethereumjs-common": "4.0.2", + "@nomicfoundation/ethereumjs-evm": "2.0.2", + "@nomicfoundation/ethereumjs-rlp": "5.0.2", + "@nomicfoundation/ethereumjs-statemanager": "2.0.2", + "@nomicfoundation/ethereumjs-trie": "6.0.2", + "@nomicfoundation/ethereumjs-tx": "5.0.2", + "@nomicfoundation/ethereumjs-util": "9.0.2", + "@nomicfoundation/ethereumjs-vm": "7.0.2", + "@nomicfoundation/solidity-analyzer": "^0.1.0", + "@sentry/node": "^5.18.1", + "@types/bn.js": "^5.1.0", + "@types/lru-cache": "^5.1.0", + "adm-zip": "^0.4.16", + "aggregate-error": "^3.0.0", + "ansi-escapes": "^4.3.0", + "chalk": "^2.4.2", + "chokidar": "^3.4.0", + "ci-info": "^2.0.0", + "debug": "^4.1.1", + "enquirer": "^2.3.0", + "env-paths": "^2.2.0", + "ethereum-cryptography": "^1.0.3", + "ethereumjs-abi": "^0.6.8", + "find-up": "^2.1.0", + "fp-ts": "1.19.3", + "fs-extra": "^7.0.1", + "glob": "7.2.0", + "immutable": "^4.0.0-rc.12", + "io-ts": "1.10.4", + "keccak": "^3.0.2", + "lodash": "^4.17.11", + "mnemonist": "^0.38.0", + "mocha": "^10.0.0", + "p-map": "^4.0.0", + "raw-body": "^2.4.1", + "resolve": "1.17.0", + "semver": "^6.3.0", + "solc": "0.7.3", + "source-map-support": "^0.5.13", + "stacktrace-parser": "^0.1.10", + "tsort": "0.0.1", + "undici": "^5.14.0", + "uuid": "^8.3.2", + "ws": "^7.4.6" + }, + "bin": { + "hardhat": "internal/cli/bootstrap.js" + }, + "peerDependencies": { + "ts-node": "*", + "typescript": "*" + }, + "peerDependenciesMeta": { + "ts-node": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/@noble/hashes": { + "version": "1.2.0", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/@scure/bip32": { + "version": "1.1.5", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "dependencies": { + "@noble/hashes": "~1.2.0", + "@noble/secp256k1": "~1.7.0", + "@scure/base": "~1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/@scure/bip39": { + "version": "1.1.1", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "dependencies": { + "@noble/hashes": "~1.2.0", + "@scure/base": "~1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/commander": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/ethereum-cryptography": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.2.0", + "@noble/secp256k1": "1.7.1", + "@scure/bip32": "1.1.5", + "@scure/bip39": "1.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/find-up": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/fs-extra": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/keccak": { + "version": "3.0.3", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/locate-path": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/p-limit": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/p-locate": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/p-try": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/resolve": { + "version": "1.17.0", + "dev": true, + "license": "MIT", + "dependencies": { + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/rimraf": { + "version": "2.7.1", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/solc": { + "version": "0.7.3", + "dev": true, + "license": "MIT", + "dependencies": { + "command-exists": "^1.2.8", + "commander": "3.0.2", + "follow-redirects": "^1.12.1", + "fs-extra": "^0.30.0", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "require-from-string": "^2.0.0", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "bin": { + "solcjs": "solcjs" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/solc/node_modules/fs-extra": { + "version": "0.30.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/solc/node_modules/jsonfile": { + "version": "2.4.0", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/universalify": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hardhat/node_modules/ws": { + "version": "7.5.7", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/has-ansi": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/he": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/header-case": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/hosted-git-info": { + "version": "2.8.9", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/http-signature": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/http-status-codes": { + "version": "2.1.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ignore": { + "version": "3.3.10", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/immediate": { + "version": "3.3.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/immutable": { + "version": "4.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/indent-string": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/infer-owner": { + "version": "1.0.4", + "license": "ISC", + "optional": true + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/inquirer": { + "version": "0.12.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^1.1.0", + "ansi-regex": "^2.0.0", + "chalk": "^1.0.0", + "cli-cursor": "^1.0.1", + "cli-width": "^2.0.0", + "figures": "^1.3.5", + "lodash": "^4.3.0", + "readline2": "^1.0.1", + "run-async": "^0.1.0", + "rx-lite": "^3.1.2", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.0", + "through": "^2.3.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/inquirer/node_modules/ansi-escapes": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/inquirer/node_modules/ansi-styles": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/inquirer/node_modules/chalk": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/inquirer/node_modules/figures": { + "version": "1.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5", + "object-assign": "^4.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/inquirer/node_modules/string-width": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/inquirer/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/inquirer/node_modules/supports-color": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/interface-datastore": { + "version": "8.2.5", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "interface-store": "^5.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/interface-store": { + "version": "5.1.4", + "license": "Apache-2.0 OR MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/invert-kv": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/io-ts": { + "version": "1.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "fp-ts": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/io-ts/node_modules/fp-ts": { + "version": "1.19.5", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-core-types": { + "version": "0.14.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@ipld/dag-pb": "^4.0.0", + "@libp2p/interface-keychain": "^2.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-info": "^1.0.2", + "@libp2p/interface-pubsub": "^3.0.0", + "@multiformats/multiaddr": "^11.1.5", + "@types/node": "^18.0.0", + "interface-datastore": "^7.0.0", + "ipfs-unixfs": "^9.0.0", + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-core-types/node_modules/@types/node": { + "version": "18.18.5", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-core-types/node_modules/interface-datastore": { + "version": "7.0.4", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "interface-store": "^3.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-core-types/node_modules/interface-store": { + "version": "3.0.4", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-core-utils": { + "version": "0.18.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/logger": "^2.0.5", + "@multiformats/multiaddr": "^11.1.5", + "@multiformats/multiaddr-to-uri": "^9.0.1", + "any-signal": "^3.0.0", + "blob-to-it": "^2.0.0", + "browser-readablestream-to-it": "^2.0.0", + "err-code": "^3.0.1", + "ipfs-core-types": "^0.14.1", + "ipfs-unixfs": "^9.0.0", + "ipfs-utils": "^9.0.13", + "it-all": "^2.0.0", + "it-map": "^2.0.0", + "it-peekable": "^2.0.0", + "it-to-stream": "^1.0.0", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "nanoid": "^4.0.0", + "parse-duration": "^1.0.0", + "timeout-abort-controller": "^3.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-core-utils/node_modules/it-all": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-unixfs": { + "version": "9.0.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "err-code": "^3.0.1", + "protobufjs": "^7.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-utils": { + "version": "9.0.14", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "any-signal": "^3.0.0", + "browser-readablestream-to-it": "^1.0.0", + "buffer": "^6.0.1", + "electron-fetch": "^1.7.2", + "err-code": "^3.0.1", + "is-electron": "^2.2.0", + "iso-url": "^1.1.5", + "it-all": "^1.0.4", + "it-glob": "^1.0.1", + "it-to-stream": "^1.0.0", + "merge-options": "^3.0.4", + "nanoid": "^3.1.20", + "native-fetch": "^3.0.0", + "node-fetch": "^2.6.8", + "react-native-fetch-api": "^3.0.0", + "stream-to-it": "^0.2.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-utils/node_modules/browser-readablestream-to-it": { + "version": "1.0.3", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-utils/node_modules/nanoid": { + "version": "3.3.1", + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ipfs-utils/node_modules/native-fetch": { + "version": "3.0.0", + "license": "MIT", + "peerDependencies": { + "node-fetch": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-buffer": { + "version": "2.0.5", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-electron": { + "version": "2.2.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-function": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-generator": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-lower-case": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-my-ip-valid": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-my-json-valid": { + "version": "2.20.6", + "dev": true, + "license": "MIT", + "dependencies": { + "generate-function": "^2.0.0", + "generate-object-property": "^1.1.0", + "is-my-ip-valid": "^1.0.0", + "jsonpointer": "^5.0.0", + "xtend": "^4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-object": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-property": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-resolvable": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-retry-allowed": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/is-upper-case": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "upper-case": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/iso-url": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-coverage": { + "version": "2.0.5", + "license": "BSD-3-Clause", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-hook": { + "version": "2.0.7", + "license": "BSD-3-Clause", + "dependencies": { + "append-transform": "^1.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-instrument": { + "version": "3.3.0", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/generator": "^7.4.0", + "@babel/parser": "^7.4.3", + "@babel/template": "^7.4.0", + "@babel/traverse": "^7.4.3", + "@babel/types": "^7.4.0", + "istanbul-lib-coverage": "^2.0.5", + "semver": "^6.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-instrument/node_modules/@babel/types": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-report": { + "version": "2.0.8", + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^2.0.5", + "make-dir": "^2.1.0", + "supports-color": "^6.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-report/node_modules/make-dir": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-report/node_modules/pify": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "6.1.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-source-maps": { + "version": "2.0.1", + "license": "BSD-3-Clause", + "dependencies": { + "debug": "^3.1.0", + "istanbul-lib-coverage": "^2.0.1", + "make-dir": "^1.3.0", + "rimraf": "^2.6.2", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-source-maps/node_modules/debug": { + "version": "3.2.7", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-lib-source-maps/node_modules/rimraf": { + "version": "2.7.1", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/istanbul-reports": { + "version": "2.2.7", + "license": "BSD-3-Clause", + "dependencies": { + "html-escaper": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/isurl": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-all": { + "version": "1.0.6", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-first": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-glob": { + "version": "1.0.2", + "license": "ISC", + "dependencies": { + "@types/minimatch": "^3.0.4", + "minimatch": "^3.0.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-last": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-map": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-peekable": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-pushable": { + "version": "3.2.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "p-defer": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-pushable/node_modules/p-defer": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-stream-types": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/it-to-stream": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "fast-fifo": "^1.0.0", + "get-iterator": "^1.0.2", + "p-defer": "^3.0.0", + "p-fifo": "^1.0.0", + "readable-stream": "^3.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jose": { + "version": "4.15.5", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/js-sdsl": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsbn": { + "version": "0.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/json-schema": { + "version": "0.4.0", + "dev": true, + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/json-schema-traverse": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/json-stable-stringify": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonify": "^0.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsonfile": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsonify": { + "version": "0.0.1", + "dev": true, + "license": "Public Domain", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsonpointer": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsprim": { + "version": "1.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsprim/node_modules/core-util-is": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsprim/node_modules/extsprintf": { + "version": "1.3.0", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsprim/node_modules/verror": { + "version": "1.10.0", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsprim/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/jsx-ast-utils": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/keccak": { + "version": "3.0.2", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/keyv": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/klaw": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.9" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/knex": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "colorette": "2.0.19", + "commander": "^10.0.0", + "debug": "4.3.4", + "escalade": "^3.1.1", + "esm": "^3.2.25", + "get-package-type": "^0.1.0", + "getopts": "2.3.0", + "interpret": "^2.2.0", + "lodash": "^4.17.21", + "pg-connection-string": "2.6.1", + "rechoir": "^0.8.0", + "resolve-from": "^5.0.0", + "tarn": "^3.0.2", + "tildify": "2.0.0" + }, + "bin": { + "knex": "bin/cli.js" + }, + "engines": { + "node": ">=12" + }, + "peerDependenciesMeta": { + "better-sqlite3": { + "optional": true + }, + "mysql": { + "optional": true + }, + "mysql2": { + "optional": true + }, + "pg": { + "optional": true + }, + "pg-native": { + "optional": true + }, + "sqlite3": { + "optional": true + }, + "tedious": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/knex/node_modules/commander": { + "version": "10.0.1", + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/knex/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/knex/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/knex/node_modules/resolve-from": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/knuth-shuffle-seeded": { + "version": "1.0.6", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "seed-random": "~2.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/kubo-rpc-client": { + "version": "3.0.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-json": "^10.0.0", + "@ipld/dag-pb": "^4.0.0", + "@libp2p/crypto": "^1.0.11", + "@libp2p/logger": "^2.0.5", + "@libp2p/peer-id": "^2.0.0", + "@multiformats/multiaddr": "^11.1.5", + "any-signal": "^3.0.1", + "dag-jose": "^4.0.0", + "err-code": "^3.0.1", + "ipfs-core-utils": "^0.18.0", + "ipfs-utils": "^9.0.7", + "it-first": "^2.0.0", + "it-last": "^2.0.0", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "parse-duration": "^1.0.2", + "stream-to-it": "^0.2.4", + "uint8arrays": "^4.0.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/kubo-rpc-client/node_modules/parse-duration": { + "version": "1.1.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/kuler": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/lcid": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "invert-kv": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "browser-level": "^1.0.1", + "classic-level": "^1.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/level" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-codec": { + "version": "7.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-errors": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "errno": "~0.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-iterator-stream/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-iterator-stream/node_modules/level-errors": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "errno": "~0.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-iterator-stream/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-mem": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "level-packager": "~4.0.0", + "memdown": "~3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-mem/node_modules/immediate": { + "version": "3.2.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-mem/node_modules/memdown": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~5.0.0", + "functional-red-black-tree": "~1.0.1", + "immediate": "~3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-mem/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-packager": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "encoding-down": "~5.0.0", + "levelup": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-packager/node_modules/deferred-leveldown": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~5.0.0", + "inherits": "^2.0.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-packager/node_modules/level-iterator-stream": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-packager/node_modules/levelup": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "deferred-leveldown": "~4.0.0", + "level-errors": "~2.0.0", + "level-iterator-stream": "~3.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-packager/node_modules/readable-stream": { + "version": "2.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-packager/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-packager/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-supports": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-transcoder": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "module-error": "^1.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-ws": { + "version": "0.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-ws/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-ws/node_modules/object-keys": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-ws/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/level-ws/node_modules/xtend": { + "version": "2.1.2", + "dev": true, + "dependencies": { + "object-keys": "~0.4.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/levelup": { + "version": "1.3.9", + "dev": true, + "license": "MIT", + "dependencies": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/levelup/node_modules/level-errors": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "errno": "~0.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/levn": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/load-json-file": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/locate-path": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/lodash.cond": { + "version": "4.5.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/logform": { + "version": "2.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/lower-case": { + "version": "1.1.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/lower-case-first": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/lowercase-keys": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/lru_map": { + "version": "0.3.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/make-dir": { + "version": "1.3.0", + "license": "MIT", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mcl-wasm": { + "version": "0.7.9", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=8.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/md5-hex": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "md5-o-matic": "^0.1.1" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/md5-o-matic": { + "version": "0.1.1" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mem": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/memdown": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/memdown/node_modules/abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/memdown/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/memory-level": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-level": "^1.0.0", + "functional-red-black-tree": "^1.0.1", + "module-error": "^1.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merge": { + "version": "1.2.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merge-options": { + "version": "3.0.4", + "license": "MIT", + "dependencies": { + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merge-source-map": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "source-map": "^0.6.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merkle-patricia-tree/node_modules/async": { + "version": "1.5.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merkle-patricia-tree/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merkle-patricia-tree/node_modules/readable-stream": { + "version": "2.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merkle-patricia-tree/node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merkle-patricia-tree/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/merkle-patricia-tree/node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/micro-ftch": { + "version": "0.3.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mimic-fn": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/min-document": { + "version": "2.19.0", + "dev": true, + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mkdirp-promise": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mkdirp-promise/node_modules/mkdirp": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mnemonist": { + "version": "0.38.5", + "dev": true, + "license": "MIT", + "dependencies": { + "obliterator": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha": { + "version": "10.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": ">= 14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/diff": { + "version": "5.0.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/find-up": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/locate-path": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/minimatch": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/nanoid": { + "version": "3.3.3", + "dev": true, + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/p-limit": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/p-locate": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/path-exists": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mocha/node_modules/yargs": { + "version": "16.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mock-fs": { + "version": "4.14.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/module-error": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/multibase": { + "version": "0.6.1", + "dev": true, + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/multibase/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/multicodec": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/multicodec/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/multiformats": { + "version": "11.0.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/multihashes": { + "version": "0.4.21", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/multihashes/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mute-stream": { + "version": "0.0.5", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/mz": { + "version": "2.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nanoid": { + "version": "4.0.2", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^14 || ^16 || >=18" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/napi-macros": { + "version": "2.2.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/native-fetch": { + "version": "4.0.2", + "license": "MIT", + "peerDependencies": { + "undici": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nconf/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/no-case": { + "version": "2.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/node-fetch": { + "version": "2.7.0", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/node-forge": { + "version": "1.3.1", + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nopt": { + "version": "5.0.0", + "license": "ISC", + "optional": true, + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/normalize-package-data": { + "version": "2.5.0", + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/normalize-url": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/npm-run-path": { + "version": "2.0.2", + "license": "MIT", + "dependencies": { + "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/npmlog": { + "version": "6.0.2", + "license": "ISC", + "optional": true, + "dependencies": { + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/number-is-nan": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc": { + "version": "13.1.0", + "bundleDependencies": [ + "archy", + "arrify", + "caching-transform", + "convert-source-map", + "debug-log", + "find-cache-dir", + "find-up", + "foreground-child", + "glob", + "istanbul-lib-coverage", + "istanbul-lib-hook", + "istanbul-lib-report", + "istanbul-lib-source-maps", + "istanbul-reports", + "make-dir", + "merge-source-map", + "resolve-from", + "rimraf", + "signal-exit", + "spawn-wrap", + "test-exclude", + "uuid", + "yargs", + "yargs-parser" + ], + "license": "ISC", + "dependencies": { + "archy": "^1.0.0", + "arrify": "^1.0.1", + "caching-transform": "^2.0.0", + "convert-source-map": "^1.6.0", + "debug-log": "^1.0.1", + "find-cache-dir": "^2.0.0", + "find-up": "^3.0.0", + "foreground-child": "^1.5.6", + "glob": "^7.1.3", + "istanbul-lib-coverage": "^2.0.1", + "istanbul-lib-hook": "^2.0.1", + "istanbul-lib-instrument": "^3.0.0", + "istanbul-lib-report": "^2.0.2", + "istanbul-lib-source-maps": "^2.0.1", + "istanbul-reports": "^2.0.1", + "make-dir": "^1.3.0", + "merge-source-map": "^1.1.0", + "resolve-from": "^4.0.0", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.2", + "spawn-wrap": "^1.4.2", + "test-exclude": "^5.0.0", + "uuid": "^3.3.2", + "yargs": "11.1.0", + "yargs-parser": "^9.0.2" + }, + "bin": { + "nyc": "bin/nyc.js" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/cliui": { + "version": "4.1.0", + "extraneous": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", + "wrap-ansi": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/get-caller-file": { + "version": "1.0.3", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/locate-path": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/p-limit": { + "version": "1.3.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/p-locate": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/p-try": { + "version": "1.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/require-main-filename": { + "version": "1.0.1", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/rimraf": { + "version": "2.7.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/string-width": { + "version": "2.1.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/string-width/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/strip-ansi": { + "version": "4.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/strip-ansi/node_modules/ansi-regex": { + "version": "3.0.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/uuid": { + "version": "3.4.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/wrap-ansi": { + "version": "2.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/wrap-ansi/node_modules/string-width": { + "version": "1.0.2", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "3.0.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/y18n": { + "version": "3.2.2", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/yargs": { + "version": "11.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "cliui": "^4.0.0", + "decamelize": "^1.1.1", + "find-up": "^2.1.0", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^9.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/nyc/node_modules/yargs/node_modules/find-up": { + "version": "2.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/oauth-sign": { + "version": "0.9.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/object.getownpropertydescriptors": { + "version": "2.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "array.prototype.reduce": "^1.0.5", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.21.2", + "safe-array-concat": "^1.0.0" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/obliterator": { + "version": "2.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/one-time": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/onetime": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/optionator": { + "version": "0.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/os-homedir": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/os-locale": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/p-defer": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/p-fifo": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "fast-fifo": "^1.0.0", + "p-defer": "^3.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/p-limit": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/p-locate": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/p-timeout": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/package-hash": { + "version": "2.0.0", + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.11", + "lodash.flattendeep": "^4.4.0", + "md5-hex": "^2.0.0", + "release-zalgo": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pad-right": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "repeat-string": "^1.5.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/param-case": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/parse-duration": { + "version": "1.0.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/parse-headers": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/parse-json": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pascal-case": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "camel-case": "^3.0.0", + "upper-case-first": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/path-case": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/path-exists": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/path-is-inside": { + "version": "1.0.2", + "dev": true, + "license": "(WTFPL OR MIT)" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/path-key": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/path-type": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/performance-now": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pg-connection-string": { + "version": "2.6.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pinkie": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pinkie-promise": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-conf": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^2.0.0", + "load-json-file": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-conf/node_modules/find-up": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-conf/node_modules/locate-path": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-conf/node_modules/p-limit": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-conf/node_modules/p-locate": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-conf/node_modules/p-try": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-config": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "debug-log": "^1.0.0", + "find-root": "^1.0.0", + "xtend": "^4.0.1" + }, + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-dir": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "find-up": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-up": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-up/node_modules/find-up": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pkg-up/node_modules/path-exists": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pluralize": { + "version": "1.2.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/prelude-ls": { + "version": "1.1.2", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/prepend-http": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/process-nextick-args": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/progress": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/protons-runtime": { + "version": "5.2.0", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/prr": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/pseudomap": { + "version": "1.0.2", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/psl": { + "version": "1.8.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/query-string": { + "version": "5.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/querystringify": { + "version": "2.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/race-signal": { + "version": "1.0.1", + "license": "Apache-2.0 OR MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/raw-body": { + "version": "2.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/react-native-fetch-api": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-defer": "^3.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/read-pkg": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/read-pkg-up": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "find-up": "^3.0.0", + "read-pkg": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/readline2": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "mute-stream": "0.0.5" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/receptacle": { + "version": "1.3.2", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/rechoir": { + "version": "0.8.0", + "license": "MIT", + "dependencies": { + "resolve": "^1.20.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/regenerator-runtime": { + "version": "0.11.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-lib": { + "version": "0.4.30", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^2.1.2", + "ethereumjs-block": "^2.2.2", + "ethereumjs-tx": "^2.1.2", + "ethereumjs-util": "^6.2.0", + "ethereumjs-vm": "4.1.3", + "ethers": "^4.0.40", + "events": "^3.0.0", + "solc": "^0.6.0", + "web3": "^1.2.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-lib/node_modules/ethers": { + "version": "4.0.49", + "dev": true, + "license": "MIT", + "dependencies": { + "aes-js": "3.0.0", + "bn.js": "^4.11.9", + "elliptic": "6.5.4", + "hash.js": "1.1.3", + "js-sha3": "0.5.7", + "scrypt-js": "2.0.4", + "setimmediate": "1.0.4", + "uuid": "2.0.1", + "xmlhttprequest": "1.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-lib/node_modules/hash.js": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-lib/node_modules/js-sha3": { + "version": "0.5.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-lib/node_modules/scrypt-js": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-lib/node_modules/setimmediate": { + "version": "1.0.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-lib/node_modules/uuid": { + "version": "2.0.1", + "dev": true + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-simulator": { + "version": "0.1.9-beta.6", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-gray": "^0.1.1", + "async": "^3.1.0", + "body-parser": "^1.18.2", + "color-support": "^1.1.3", + "commander": "^2.19.0", + "cors": "^2.8.5", + "ethereumjs-block": "^2.2.2", + "ethereumjs-util": "^6.2.0", + "express": "^4.16.3", + "express-ws": "^4.0.0", + "merge": "^1.2.0", + "remix-lib": "0.4.30", + "standard": "^10.0.3", + "time-stamp": "^2.0.0", + "web3": "^1.2.4" + }, + "bin": { + "ethsim": "bin/ethsim", + "remix-simulator": "bin/ethsim" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-simulator/node_modules/async": { + "version": "3.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-solidity": { + "version": "0.3.31", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-scope": "^5.0.0", + "remix-lib": "0.4.30", + "solc": "^0.6.0", + "webworkify": "^1.2.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/remix-tests": { + "version": "0.1.34", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^2.6.0", + "change-case": "^3.0.1", + "colors": "^1.1.2", + "commander": "^2.13.0", + "remix-lib": "0.4.30", + "remix-simulator": "0.1.9-beta.6", + "remix-solidity": "0.3.31", + "signale": "^1.4.0", + "web3": "^1.2.4", + "winston": "^3.0.0" + }, + "bin": { + "remix-tests": "bin/remix-tests" + }, + "peerDependencies": { + "yo-yoify": "^4.3.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/request": { + "version": "2.88.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/require-uncached": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "caller-path": "^0.1.0", + "resolve-from": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/require-uncached/node_modules/resolve-from": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/requires-port": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/resolve-from": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/responselike": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "lowercase-keys": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/restore-cursor": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "exit-hook": "^1.0.0", + "onetime": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/retimer": { + "version": "3.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/rlp": { + "version": "2.2.7", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/run-async": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "once": "^1.3.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/run-parallel-limit": { + "version": "1.1.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/rustbn.js": { + "version": "0.2.0", + "dev": true, + "license": "(MIT OR Apache-2.0)" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/rx-lite": { + "version": "3.1.2", + "dev": true + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/safe-stable-stringify": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/scrypt-js": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/seed-random": { + "version": "2.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/semaphore": { + "version": "1.1.0", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sentence-case": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case-first": "^1.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/serialize-error": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/serialize-javascript": { + "version": "6.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/servify": { + "version": "0.1.12", + "dev": true, + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/shelljs": { + "version": "0.7.8", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "iojs": "*", + "node": ">=0.11.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/shelljs/node_modules/interpret": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/shelljs/node_modules/rechoir": { + "version": "0.6.2", + "dev": true, + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/signale": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^2.3.2", + "figures": "^2.0.0", + "pkg-conf": "^2.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/signale/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/signale/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/signale/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/simple-concat": { + "version": "1.0.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/simple-get": { + "version": "2.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/simple-swizzle": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/slice-ansi": { + "version": "0.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/snake-case": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/solc": { + "version": "0.6.12", + "dev": true, + "license": "MIT", + "dependencies": { + "command-exists": "^1.2.8", + "commander": "3.0.2", + "fs-extra": "^0.30.0", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "require-from-string": "^2.0.0", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "bin": { + "solcjs": "solcjs" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/solc/node_modules/commander": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/solc/node_modules/fs-extra": { + "version": "0.30.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/solc/node_modules/jsonfile": { + "version": "2.4.0", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/solc/node_modules/rimraf": { + "version": "2.7.1", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/spawn-wrap": { + "version": "1.4.3", + "license": "ISC", + "dependencies": { + "foreground-child": "^1.5.6", + "mkdirp": "^0.5.0", + "os-homedir": "^1.0.1", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.2", + "which": "^1.3.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/spawn-wrap/node_modules/rimraf": { + "version": "2.7.1", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3": { + "version": "5.1.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@mapbox/node-pre-gyp": "^1.0.0", + "node-addon-api": "^4.2.0", + "tar": "^6.1.11" + }, + "optionalDependencies": { + "node-gyp": "8.x" + }, + "peerDependencies": { + "node-gyp": "8.x" + }, + "peerDependenciesMeta": { + "node-gyp": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/@npmcli/fs": { + "version": "1.1.1", + "license": "ISC", + "optional": true, + "dependencies": { + "@gar/promisify": "^1.0.1", + "semver": "^7.3.5" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/@tootallnate/once": { + "version": "1.1.2", + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/cacache": { + "version": "15.3.0", + "license": "ISC", + "optional": true, + "dependencies": { + "@npmcli/fs": "^1.0.0", + "@npmcli/move-file": "^1.0.1", + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "glob": "^7.1.4", + "infer-owner": "^1.0.4", + "lru-cache": "^6.0.0", + "minipass": "^3.1.1", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.2", + "mkdirp": "^1.0.3", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.0.2", + "unique-filename": "^1.1.1" + }, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/http-proxy-agent": { + "version": "4.0.1", + "license": "MIT", + "optional": true, + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/minipass-fetch": { + "version": "1.4.1", + "license": "MIT", + "optional": true, + "dependencies": { + "minipass": "^3.1.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "optionalDependencies": { + "encoding": "^0.1.12" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/mkdirp": { + "version": "1.0.4", + "license": "MIT", + "optional": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/ms": { + "version": "2.1.2", + "license": "MIT", + "optional": true + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/node-addon-api": { + "version": "4.3.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/node-gyp": { + "version": "8.4.1", + "license": "MIT", + "optional": true, + "dependencies": { + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^9.1.0", + "nopt": "^5.0.0", + "npmlog": "^6.0.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": ">= 10.12.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/node-gyp/node_modules/make-fetch-happen": { + "version": "9.1.0", + "license": "ISC", + "optional": true, + "dependencies": { + "agentkeepalive": "^4.1.3", + "cacache": "^15.2.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.2", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^6.0.0", + "ssri": "^8.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/socks-proxy-agent": { + "version": "6.1.1", + "license": "MIT", + "optional": true, + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.1", + "socks": "^2.6.1" + }, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/ssri": { + "version": "8.0.1", + "license": "ISC", + "optional": true, + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/unique-filename": { + "version": "1.1.1", + "license": "ISC", + "optional": true, + "dependencies": { + "unique-slug": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/unique-slug": { + "version": "2.0.2", + "license": "ISC", + "optional": true, + "dependencies": { + "imurmurhash": "^0.1.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sqlite3/node_modules/which": { + "version": "2.0.2", + "license": "ISC", + "optional": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/sshpk": { + "version": "1.17.0", + "dev": true, + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stack-chain": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stack-generator": { + "version": "2.0.10", + "dev": true, + "license": "MIT", + "dependencies": { + "stackframe": "^1.3.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stackframe": { + "version": "1.3.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stacktrace-gps": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "source-map": "0.5.6", + "stackframe": "^1.3.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stacktrace-gps/node_modules/source-map": { + "version": "0.5.6", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stacktrace-js": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "error-stack-parser": "^2.0.6", + "stack-generator": "^2.0.5", + "stacktrace-gps": "^3.0.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stacktrace-parser": { + "version": "0.1.10", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.7.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stacktrace-parser/node_modules/type-fest": { + "version": "0.7.1", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/standard": { + "version": "10.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint": "~3.19.0", + "eslint-config-standard": "10.2.1", + "eslint-config-standard-jsx": "4.0.2", + "eslint-plugin-import": "~2.2.0", + "eslint-plugin-node": "~4.2.2", + "eslint-plugin-promise": "~3.5.0", + "eslint-plugin-react": "~6.10.0", + "eslint-plugin-standard": "~3.0.1", + "standard-engine": "~7.0.0" + }, + "bin": { + "standard": "bin/cmd.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/standard-engine": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "deglob": "^2.1.0", + "get-stdin": "^5.0.1", + "minimist": "^1.1.0", + "pkg-conf": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/stream-to-it": { + "version": "0.2.4", + "license": "MIT", + "dependencies": { + "get-iterator": "^1.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/strict-uri-encode": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/string-argv": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6.19" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/strip-eof": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swap-case": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.1", + "upper-case": "^1.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js": { + "version": "0.1.40", + "dev": true, + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/is-plain-obj": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/lowercase-keys": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "dev": true, + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "dev": true, + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/table": { + "version": "3.8.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ajv": "^4.7.0", + "ajv-keywords": "^1.0.0", + "chalk": "^1.1.1", + "lodash": "^4.0.0", + "slice-ansi": "0.0.4", + "string-width": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/table/node_modules/ansi-styles": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/table/node_modules/chalk": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/table/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/table/node_modules/string-width": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/table/node_modules/string-width/node_modules/ansi-regex": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/table/node_modules/string-width/node_modules/strip-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/table/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/table/node_modules/supports-color": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/tarn": { + "version": "3.0.2", + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/test-exclude": { + "version": "5.2.3", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3", + "minimatch": "^3.0.4", + "read-pkg-up": "^4.0.0", + "require-main-filename": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/text-hex": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/thenify": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/thenify-all": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/tildify": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/time-stamp": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/timed-out": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/timeout-abort-controller": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "retimer": "^3.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/title-case": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.0.3" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/tough-cookie": { + "version": "4.1.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/triple-beam": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ts-node": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "arrify": "^1.0.0", + "buffer-from": "^1.1.0", + "diff": "^3.1.0", + "make-error": "^1.1.1", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "source-map-support": "^0.5.6", + "yn": "^2.0.0" + }, + "bin": { + "ts-node": "dist/bin.js" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ts-node/node_modules/yn": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/tslib": { + "version": "1.14.1", + "dev": true, + "license": "0BSD" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/tsort": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/tunnel-agent": { + "version": "0.6.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/tweetnacl": { + "version": "0.14.5", + "dev": true, + "license": "Unlicense" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/tweetnacl-util": { + "version": "0.15.1", + "dev": true, + "license": "Unlicense" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/type-check": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/typedarray": { + "version": "0.0.6", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/uint8-varint": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/uint8arraylist": { + "version": "2.4.3", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/uint8arrays": { + "version": "4.0.6", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^12.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ultron": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/undici": { + "version": "5.26.3", + "license": "MIT", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/uniq": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/upper-case": { + "version": "1.1.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/upper-case-first": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "upper-case": "^1.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/url-parse": { + "version": "1.5.10", + "dev": true, + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/url-parse-lax": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/url-set-query": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/url-to-options": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/user-home": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "os-homedir": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/util-arity": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/util.promisify": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "object.getownpropertydescriptors": "^2.1.6", + "safe-array-concat": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/varint": { + "version": "5.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/verror": { + "version": "1.10.1", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/verror/node_modules/core-util-is": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3": { + "version": "1.10.1", + "dev": true, + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.10.1", + "web3-core": "1.10.1", + "web3-eth": "1.10.1", + "web3-eth-personal": "1.10.1", + "web3-net": "1.10.1", + "web3-shh": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-bzz": { + "version": "1.10.1", + "dev": true, + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "12.1.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-core": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.10.1", + "web3-core-method": "1.10.1", + "web3-core-requestmanager": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-core-helpers": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-core-method": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.6.2", + "web3-core-helpers": "1.10.1", + "web3-core-promievent": "1.10.1", + "web3-core-subscriptions": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-core-promievent": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-core-requestmanager": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.5", + "web3-core-helpers": "1.10.1", + "web3-providers-http": "1.10.1", + "web3-providers-ipc": "1.10.1", + "web3-providers-ws": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-core-subscriptions": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth": { + "version": "1.10.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.1", + "web3-core-helpers": "1.10.1", + "web3-core-method": "1.10.1", + "web3-core-subscriptions": "1.10.1", + "web3-eth-abi": "1.10.1", + "web3-eth-accounts": "1.10.1", + "web3-eth-contract": "1.10.1", + "web3-eth-ens": "1.10.1", + "web3-eth-iban": "1.10.1", + "web3-eth-personal": "1.10.1", + "web3-net": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-abi": { + "version": "1.10.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "^5.6.3", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-accounts": { + "version": "1.10.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "2.5.0", + "@ethereumjs/tx": "3.3.2", + "@ethereumjs/util": "^8.1.0", + "eth-lib": "0.2.8", + "scrypt-js": "^3.0.1", + "uuid": "^9.0.0", + "web3-core": "1.10.1", + "web3-core-helpers": "1.10.1", + "web3-core-method": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "dev": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-contract": { + "version": "1.10.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "web3-core": "1.10.1", + "web3-core-helpers": "1.10.1", + "web3-core-method": "1.10.1", + "web3-core-promievent": "1.10.1", + "web3-core-subscriptions": "1.10.1", + "web3-eth-abi": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "5.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-ens": { + "version": "1.10.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.10.1", + "web3-core-helpers": "1.10.1", + "web3-core-promievent": "1.10.1", + "web3-eth-abi": "1.10.1", + "web3-eth-contract": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-iban": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-iban/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-personal": { + "version": "1.10.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.10.1", + "web3-core-helpers": "1.10.1", + "web3-core-method": "1.10.1", + "web3-net": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-net": { + "version": "1.10.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.1", + "web3-core-method": "1.10.1", + "web3-utils": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-providers-http": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "abortcontroller-polyfill": "^1.7.3", + "cross-fetch": "^3.1.4", + "es6-promise": "^4.2.8", + "web3-core-helpers": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-providers-ipc": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-providers-ws": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-shh": { + "version": "1.10.1", + "dev": true, + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.1", + "web3-core-method": "1.10.1", + "web3-core-subscriptions": "1.10.1", + "web3-net": "1.10.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-utils": { + "version": "1.10.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/util": "^8.1.0", + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereum-cryptography": "^2.1.2", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-utils/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/web3-utils/node_modules/ethereum-cryptography": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "@noble/curves": "1.1.0", + "@noble/hashes": "1.3.1", + "@scure/bip32": "1.3.1", + "@scure/bip39": "1.2.1" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/webworkify": { + "version": "1.5.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/which": { + "version": "1.3.1", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/winston": { + "version": "3.10.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/winston-transport": { + "version": "4.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/winston/node_modules/async": { + "version": "3.2.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/winston/node_modules/is-stream": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/word-wrap": { + "version": "1.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/workerpool": { + "version": "6.2.1", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/write": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "mkdirp": "^0.5.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/write-file-atomic": { + "version": "2.4.3", + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/ws": { + "version": "7.4.6", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/xhr": { + "version": "2.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/xhr-request": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/xhr-request-promise": { + "version": "0.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/xmlhttprequest": { + "version": "1.8.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/yargs-unparser": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/yargs-unparser/node_modules/decamelize": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-backend/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend": { + "name": "@hyperledger/cacti-example-cbdc-bridging-frontend", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@emotion/react": "^11.11.1", + "@emotion/styled": "^11.11.0", + "@mui/icons-material": "^5.14.19", + "@mui/material": "^5.14.19", + "@testing-library/jest-dom": "^5.17.0", + "@testing-library/react": "^13.4.0", + "@testing-library/user-event": "^13.5.0", + "@types/jest": "^27.5.2", + "@types/node": "18.11.9", + "@types/react": "^18.2.39", + "@types/react-dom": "^18.2.17", + "axios": "1.6.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-scripts": "5.0.1", + "typescript": "5.3.3", + "uuid": "9.0.1", + "web-vitals": "^2.1.4" + }, + "devDependencies": { + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@adobe/css-tools": { + "version": "4.2.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@ampproject/remapping": { + "version": "2.2.1", + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@ampproject/remapping/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/compat-data": { + "version": "7.22.9", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/core": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.10", + "@babel/generator": "^7.22.10", + "@babel/helper-compilation-targets": "^7.22.10", + "@babel/helper-module-transforms": "^7.22.9", + "@babel/helpers": "^7.22.11", + "@babel/parser": "^7.22.11", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.11", + "@babel/types": "^7.22.11", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/core/node_modules/@babel/helper-module-transforms": { + "version": "7.22.9", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/core/node_modules/@babel/types": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/core/node_modules/@babel/types/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/core/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/core/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/eslint-parser": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", + "eslint-visitor-keys": "^2.1.0", + "semver": "^6.3.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || >=14.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.11.0", + "eslint": "^7.5.0 || ^8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys": { + "version": "2.1.0", + "license": "Apache-2.0", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/generator": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.23.0", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/generator/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/generator/node_modules/@babel/types": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.5", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "regexpu-core": "^5.3.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.4.3", + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-plugin-utils": "^7.22.5", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-module-imports": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-module-transforms": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-optimise-call-expression": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-plugin-utils": { + "version": "7.22.5", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.22.20", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-wrap-function": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-replace-supers": { + "version": "7.22.9", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-validator-option": { + "version": "7.22.5", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-wrap-function": { + "version": "7.22.20", + "license": "MIT", + "dependencies": { + "@babel/helper-function-name": "^7.22.5", + "@babel/template": "^7.22.15", + "@babel/types": "^7.22.19" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-wrap-function/node_modules/@babel/types": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helper-wrap-function/node_modules/@babel/types/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helpers": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.11", + "@babel/types": "^7.22.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helpers/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/helpers/node_modules/@babel/types": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-class-properties": { + "version": "7.18.6", + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-class-properties/node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.15", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-class-properties/node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-class-properties/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-class-properties/node_modules/@babel/types": { + "version": "7.22.17", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-decorators": { + "version": "7.23.2", + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.20", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/plugin-syntax-decorators": "^7.22.10" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-decorators/node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.15", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-decorators/node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-decorators/node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/types": { + "version": "7.22.17", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-decorators/node_modules/@babel/helper-replace-supers": { + "version": "7.22.20", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-member-expression-to-functions": "^7.22.15", + "@babel/helper-optimise-call-expression": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-decorators/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.18.6", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-numeric-separator": { + "version": "7.18.6", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-optional-chaining": { + "version": "7.21.0", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-private-methods": { + "version": "7.18.6", + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-private-methods/node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.15", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-private-methods/node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-private-methods/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-private-methods/node_modules/@babel/types": { + "version": "7.22.17", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.21.0-placeholder-for-preset-env.2", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-decorators": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-flow": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-jsx": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-typescript": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-syntax-unicode-sets-regex": { + "version": "7.18.6", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-async-generator-functions": { + "version": "7.23.2", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.20", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-class-properties": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-class-static-block": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-classes": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-split-export-declaration": "^7.22.6", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-validator-option": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/template": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-destructuring": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-dynamic-import": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-export-namespace-from": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-flow-strip-types": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-flow": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-for-of": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-function-name": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-json-strings": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-json-strings": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-literals": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-logical-assignment-operators": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-module-transforms": "^7.22.9", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-modules-systemjs/node_modules/@babel/helper-module-transforms": { + "version": "7.22.9", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-new-target": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-nullish-coalescing-operator": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-numeric-separator": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-object-rest-spread": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/@babel/helper-validator-option": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-object-super": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-optional-catch-binding": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-parameters": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-private-methods": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-private-property-in-object": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-property-literals": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-react-display-name": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-react-jsx": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-jsx": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-react-jsx-development": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/plugin-transform-react-jsx": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-react-pure-annotations": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-regenerator": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "regenerator-transform": "^0.15.2" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-runtime": { + "version": "7.23.2", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5", + "babel-plugin-polyfill-corejs2": "^0.4.6", + "babel-plugin-polyfill-corejs3": "^0.8.5", + "babel-plugin-polyfill-regenerator": "^0.5.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-runtime/node_modules/@babel/helper-module-imports": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-runtime/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-runtime/node_modules/@babel/types": { + "version": "7.22.17", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-runtime/node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.5.3", + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.4.3" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-spread": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-template-literals": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-typescript": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-typescript": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-unicode-property-regex": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/plugin-transform-unicode-sets-regex": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-env": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.10", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-option": "^7.22.5", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.5", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.5", + "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-import-assertions": "^7.22.5", + "@babel/plugin-syntax-import-attributes": "^7.22.5", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.22.5", + "@babel/plugin-transform-async-generator-functions": "^7.22.10", + "@babel/plugin-transform-async-to-generator": "^7.22.5", + "@babel/plugin-transform-block-scoped-functions": "^7.22.5", + "@babel/plugin-transform-block-scoping": "^7.22.10", + "@babel/plugin-transform-class-properties": "^7.22.5", + "@babel/plugin-transform-class-static-block": "^7.22.5", + "@babel/plugin-transform-classes": "^7.22.6", + "@babel/plugin-transform-computed-properties": "^7.22.5", + "@babel/plugin-transform-destructuring": "^7.22.10", + "@babel/plugin-transform-dotall-regex": "^7.22.5", + "@babel/plugin-transform-duplicate-keys": "^7.22.5", + "@babel/plugin-transform-dynamic-import": "^7.22.5", + "@babel/plugin-transform-exponentiation-operator": "^7.22.5", + "@babel/plugin-transform-export-namespace-from": "^7.22.5", + "@babel/plugin-transform-for-of": "^7.22.5", + "@babel/plugin-transform-function-name": "^7.22.5", + "@babel/plugin-transform-json-strings": "^7.22.5", + "@babel/plugin-transform-literals": "^7.22.5", + "@babel/plugin-transform-logical-assignment-operators": "^7.22.5", + "@babel/plugin-transform-member-expression-literals": "^7.22.5", + "@babel/plugin-transform-modules-amd": "^7.22.5", + "@babel/plugin-transform-modules-commonjs": "^7.22.5", + "@babel/plugin-transform-modules-systemjs": "^7.22.5", + "@babel/plugin-transform-modules-umd": "^7.22.5", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", + "@babel/plugin-transform-new-target": "^7.22.5", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.5", + "@babel/plugin-transform-numeric-separator": "^7.22.5", + "@babel/plugin-transform-object-rest-spread": "^7.22.5", + "@babel/plugin-transform-object-super": "^7.22.5", + "@babel/plugin-transform-optional-catch-binding": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.10", + "@babel/plugin-transform-parameters": "^7.22.5", + "@babel/plugin-transform-private-methods": "^7.22.5", + "@babel/plugin-transform-private-property-in-object": "^7.22.5", + "@babel/plugin-transform-property-literals": "^7.22.5", + "@babel/plugin-transform-regenerator": "^7.22.10", + "@babel/plugin-transform-reserved-words": "^7.22.5", + "@babel/plugin-transform-shorthand-properties": "^7.22.5", + "@babel/plugin-transform-spread": "^7.22.5", + "@babel/plugin-transform-sticky-regex": "^7.22.5", + "@babel/plugin-transform-template-literals": "^7.22.5", + "@babel/plugin-transform-typeof-symbol": "^7.22.5", + "@babel/plugin-transform-unicode-escapes": "^7.22.10", + "@babel/plugin-transform-unicode-property-regex": "^7.22.5", + "@babel/plugin-transform-unicode-regex": "^7.22.5", + "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", + "@babel/preset-modules": "0.1.6-no-external-plugins", + "@babel/types": "^7.22.10", + "babel-plugin-polyfill-corejs2": "^0.4.5", + "babel-plugin-polyfill-corejs3": "^0.8.3", + "babel-plugin-polyfill-regenerator": "^0.5.2", + "core-js-compat": "^3.31.0", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-env/node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-env/node_modules/@babel/types": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-modules": { + "version": "0.1.6-no-external-plugins", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-react": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-option": "^7.22.5", + "@babel/plugin-transform-react-display-name": "^7.22.5", + "@babel/plugin-transform-react-jsx": "^7.22.5", + "@babel/plugin-transform-react-jsx-development": "^7.22.5", + "@babel/plugin-transform-react-pure-annotations": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-typescript": { + "version": "7.22.11", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-option": "^7.22.5", + "@babel/plugin-syntax-jsx": "^7.22.5", + "@babel/plugin-transform-modules-commonjs": "^7.22.11", + "@babel/plugin-transform-typescript": "^7.22.11" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-typescript/node_modules/@babel/helper-module-imports": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-typescript/node_modules/@babel/helper-module-transforms": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-typescript/node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-typescript/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-typescript/node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.23.0", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/preset-typescript/node_modules/@babel/types": { + "version": "7.22.17", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/regjsgen": { + "version": "0.8.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/runtime": { + "version": "7.23.2", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@babel/runtime/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/normalize.css": { + "version": "12.0.0", + "license": "CC0-1.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-cascade-layers": { + "version": "1.1.1", + "license": "CC0-1.0", + "dependencies": { + "@csstools/selector-specificity": "^2.0.2", + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-color-function": { + "version": "1.1.1", + "license": "CC0-1.0", + "dependencies": { + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-font-format-keywords": { + "version": "1.0.1", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-hwb-function": { + "version": "1.0.2", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-ic-unit": { + "version": "1.0.1", + "license": "CC0-1.0", + "dependencies": { + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-is-pseudo-class": { + "version": "2.0.7", + "license": "CC0-1.0", + "dependencies": { + "@csstools/selector-specificity": "^2.0.0", + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-nested-calc": { + "version": "1.0.0", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-normalize-display-values": { + "version": "1.0.1", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-oklab-function": { + "version": "1.1.1", + "license": "CC0-1.0", + "dependencies": { + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-progressive-custom-properties": { + "version": "1.3.0", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-stepped-value-functions": { + "version": "1.0.1", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-text-decoration-shorthand": { + "version": "1.0.0", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-trigonometric-functions": { + "version": "1.0.2", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/postcss-unset-value": { + "version": "1.0.2", + "license": "CC0-1.0", + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@csstools/selector-specificity": { + "version": "2.2.0", + "license": "CC0-1.0", + "engines": { + "node": "^14 || ^16 || >=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss-selector-parser": "^6.0.10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/babel-plugin": { + "version": "11.11.0", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/runtime": "^7.18.3", + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/serialize": "^1.1.2", + "babel-plugin-macros": "^3.1.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "4.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/babel-plugin/node_modules/convert-source-map": { + "version": "1.9.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/babel-plugin/node_modules/source-map": { + "version": "0.5.7", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/cache": { + "version": "11.11.0", + "license": "MIT", + "dependencies": { + "@emotion/memoize": "^0.8.1", + "@emotion/sheet": "^1.2.2", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "stylis": "4.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/hash": { + "version": "0.9.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/is-prop-valid": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "@emotion/memoize": "^0.8.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/memoize": { + "version": "0.8.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/react": { + "version": "11.11.1", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/cache": "^11.11.0", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "hoist-non-react-statics": "^3.3.1" + }, + "peerDependencies": { + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/serialize": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/unitless": "^0.8.1", + "@emotion/utils": "^1.2.1", + "csstype": "^3.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/sheet": { + "version": "1.2.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/styled": { + "version": "11.11.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/is-prop-valid": "^1.2.1", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0-rc.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/unitless": { + "version": "0.8.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/use-insertion-effect-with-fallbacks": { + "version": "1.0.1", + "license": "MIT", + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/utils": { + "version": "1.2.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@emotion/weak-memoize": { + "version": "0.3.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@floating-ui/core": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@floating-ui/dom": { + "version": "1.5.1", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.4.1", + "@floating-ui/utils": "^0.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@floating-ui/react-dom": { + "version": "2.0.4", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.5.1" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@floating-ui/utils": { + "version": "0.1.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/console": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/core": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/console": "^27.5.1", + "@jest/reporters": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.8.1", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-changed-files": "^27.5.1", + "jest-config": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-resolve-dependencies": "^27.5.1", + "jest-runner": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "jest-watcher": "^27.5.1", + "micromatch": "^4.0.4", + "rimraf": "^3.0.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/environment": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/fake-timers": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "@sinonjs/fake-timers": "^8.0.1", + "@types/node": "*", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/globals": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/types": "^27.5.1", + "expect": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/reporters": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.2", + "graceful-fs": "^4.2.9", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^5.1.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.1.3", + "jest-haste-map": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "slash": "^3.0.0", + "source-map": "^0.6.0", + "string-length": "^4.0.1", + "terminal-link": "^2.0.0", + "v8-to-istanbul": "^8.1.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/reporters/node_modules/glob": { + "version": "7.2.3", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/source-map": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9", + "source-map": "^0.6.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/test-result": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/console": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/test-sequencer": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/test-result": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-runtime": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.1.0", + "@jest/types": "^27.5.1", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-util": "^27.5.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/core": { + "version": "7.23.2", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.0", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.0", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.0", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.2", + "@babel/types": "^7.23.0", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/core/node_modules/@babel/types": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/core/node_modules/@babel/types/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/core/node_modules/convert-source-map": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helper-module-imports": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helper-module-imports/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helper-module-imports/node_modules/@babel/types": { + "version": "7.22.17", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helper-module-transforms": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helper-validator-option": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helpers": { + "version": "7.23.2", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.2", + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helpers/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/@babel/helpers/node_modules/@babel/types": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/convert-source-map": { + "version": "1.9.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/transform/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/types": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^16.0.0", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@jest/types/node_modules/@types/yargs": { + "version": "16.0.6", + "license": "MIT", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@leichtgewicht/ip-codec": { + "version": "2.0.4", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/base": { + "version": "5.0.0-beta.25", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.4", + "@floating-ui/react-dom": "^2.0.4", + "@mui/types": "^7.2.10", + "@mui/utils": "^5.14.19", + "@popperjs/core": "^2.11.8", + "clsx": "^2.0.0", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/base/node_modules/@babel/runtime": { + "version": "7.23.5", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/base/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/core-downloads-tracker": { + "version": "5.14.19", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/icons-material": { + "version": "5.14.19", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@mui/material": "^5.0.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/icons-material/node_modules/@babel/runtime": { + "version": "7.23.5", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/icons-material/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/material": { + "version": "5.14.19", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.4", + "@mui/base": "5.0.0-beta.25", + "@mui/core-downloads-tracker": "^5.14.19", + "@mui/system": "^5.14.19", + "@mui/types": "^7.2.10", + "@mui/utils": "^5.14.19", + "@types/react-transition-group": "^4.4.9", + "clsx": "^2.0.0", + "csstype": "^3.1.2", + "prop-types": "^15.8.1", + "react-is": "^18.2.0", + "react-transition-group": "^4.4.5" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/material/node_modules/@babel/runtime": { + "version": "7.23.5", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/material/node_modules/csstype": { + "version": "3.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/material/node_modules/react-is": { + "version": "18.2.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/material/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/private-theming": { + "version": "5.14.19", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.4", + "@mui/utils": "^5.14.19", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/private-theming/node_modules/@babel/runtime": { + "version": "7.23.5", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/private-theming/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/styled-engine": { + "version": "5.14.19", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.4", + "@emotion/cache": "^11.11.0", + "csstype": "^3.1.2", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/styled-engine/node_modules/@babel/runtime": { + "version": "7.23.5", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/styled-engine/node_modules/csstype": { + "version": "3.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/styled-engine/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/system": { + "version": "5.14.19", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.4", + "@mui/private-theming": "^5.14.19", + "@mui/styled-engine": "^5.14.19", + "@mui/types": "^7.2.10", + "@mui/utils": "^5.14.19", + "clsx": "^2.0.0", + "csstype": "^3.1.2", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/system/node_modules/@babel/runtime": { + "version": "7.23.5", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/system/node_modules/csstype": { + "version": "3.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/system/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/types": { + "version": "7.2.10", + "license": "MIT", + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/utils": { + "version": "5.14.19", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.4", + "@types/prop-types": "^15.7.11", + "prop-types": "^15.8.1", + "react-is": "^18.2.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/utils/node_modules/@babel/runtime": { + "version": "7.23.5", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/utils/node_modules/@types/prop-types": { + "version": "15.7.11", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/utils/node_modules/react-is": { + "version": "18.2.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@mui/utils/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@nicolo-ribaudo/eslint-scope-5-internals": { + "version": "5.1.1-v1", + "license": "MIT", + "dependencies": { + "eslint-scope": "5.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin": { + "version": "0.5.11", + "license": "MIT", + "dependencies": { + "ansi-html-community": "^0.0.8", + "common-path-prefix": "^3.0.0", + "core-js-pure": "^3.23.3", + "error-stack-parser": "^2.0.6", + "find-up": "^5.0.0", + "html-entities": "^2.1.0", + "loader-utils": "^2.0.4", + "schema-utils": "^3.0.0", + "source-map": "^0.7.3" + }, + "engines": { + "node": ">= 10.13" + }, + "peerDependencies": { + "@types/webpack": "4.x || 5.x", + "react-refresh": ">=0.10.0 <1.0.0", + "sockjs-client": "^1.4.0", + "type-fest": ">=0.17.0 <5.0.0", + "webpack": ">=4.43.0 <6.0.0", + "webpack-dev-server": "3.x || 4.x", + "webpack-hot-middleware": "2.x", + "webpack-plugin-serve": "0.x || 1.x" + }, + "peerDependenciesMeta": { + "@types/webpack": { + "optional": true + }, + "sockjs-client": { + "optional": true + }, + "type-fest": { + "optional": true + }, + "webpack-dev-server": { + "optional": true + }, + "webpack-hot-middleware": { + "optional": true + }, + "webpack-plugin-serve": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/ajv-keywords": { + "version": "3.5.2", + "license": "MIT", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/schema-utils": { + "version": "3.3.0", + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/source-map": { + "version": "0.7.4", + "license": "BSD-3-Clause", + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@popperjs/core": { + "version": "2.11.8", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@rollup/plugin-babel": { + "version": "5.3.1", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.10.4", + "@rollup/pluginutils": "^3.1.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0", + "@types/babel__core": "^7.1.9", + "rollup": "^1.20.0||^2.0.0" + }, + "peerDependenciesMeta": { + "@types/babel__core": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@rollup/plugin-node-resolve": { + "version": "11.2.1", + "license": "MIT", + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "builtin-modules": "^3.1.0", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@rollup/plugin-replace": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "magic-string": "^0.25.7" + }, + "peerDependencies": { + "rollup": "^1.20.0 || ^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@rollup/pluginutils/node_modules/@types/estree": { + "version": "0.0.39", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@rushstack/eslint-patch": { + "version": "1.3.3", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@sinonjs/commons": { + "version": "1.8.3", + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@sinonjs/fake-timers": { + "version": "8.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@surma/rollup-plugin-off-main-thread": { + "version": "2.2.3", + "license": "Apache-2.0", + "dependencies": { + "ejs": "^3.1.6", + "json5": "^2.2.0", + "magic-string": "^0.25.0", + "string.prototype.matchall": "^4.0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/babel-plugin-add-jsx-attribute": { + "version": "5.4.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/babel-plugin-remove-jsx-attribute": { + "version": "5.4.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression": { + "version": "5.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/babel-plugin-replace-jsx-attribute-value": { + "version": "5.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/babel-plugin-svg-dynamic-title": { + "version": "5.4.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/babel-plugin-svg-em-dimensions": { + "version": "5.4.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/babel-plugin-transform-react-native-svg": { + "version": "5.4.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/babel-plugin-transform-svg-component": { + "version": "5.5.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/babel-preset": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "@svgr/babel-plugin-add-jsx-attribute": "^5.4.0", + "@svgr/babel-plugin-remove-jsx-attribute": "^5.4.0", + "@svgr/babel-plugin-remove-jsx-empty-expression": "^5.0.1", + "@svgr/babel-plugin-replace-jsx-attribute-value": "^5.0.1", + "@svgr/babel-plugin-svg-dynamic-title": "^5.4.0", + "@svgr/babel-plugin-svg-em-dimensions": "^5.4.0", + "@svgr/babel-plugin-transform-react-native-svg": "^5.4.0", + "@svgr/babel-plugin-transform-svg-component": "^5.5.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/core": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "@svgr/plugin-jsx": "^5.5.0", + "camelcase": "^6.2.0", + "cosmiconfig": "^7.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/hast-util-to-babel-ast": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.12.6" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/hast-util-to-babel-ast/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/hast-util-to-babel-ast/node_modules/@babel/types": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/plugin-jsx": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.12.3", + "@svgr/babel-preset": "^5.5.0", + "@svgr/hast-util-to-babel-ast": "^5.5.0", + "svg-parser": "^2.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/plugin-svgo": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "cosmiconfig": "^7.0.0", + "deepmerge": "^4.2.2", + "svgo": "^1.2.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/webpack": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.12.3", + "@babel/plugin-transform-react-constant-elements": "^7.12.1", + "@babel/preset-env": "^7.12.1", + "@babel/preset-react": "^7.12.5", + "@svgr/core": "^5.5.0", + "@svgr/plugin-jsx": "^5.5.0", + "@svgr/plugin-svgo": "^5.5.0", + "loader-utils": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/gregberge" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@svgr/webpack/node_modules/@babel/plugin-transform-react-constant-elements": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@testing-library/dom": { + "version": "8.20.1", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.10.4", + "@babel/runtime": "^7.12.5", + "@types/aria-query": "^5.0.1", + "aria-query": "5.1.3", + "chalk": "^4.1.0", + "dom-accessibility-api": "^0.5.9", + "lz-string": "^1.5.0", + "pretty-format": "^27.0.2" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@testing-library/dom/node_modules/aria-query": { + "version": "5.1.3", + "license": "Apache-2.0", + "dependencies": { + "deep-equal": "^2.0.5" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@testing-library/jest-dom": { + "version": "5.17.0", + "license": "MIT", + "dependencies": { + "@adobe/css-tools": "^4.0.1", + "@babel/runtime": "^7.9.2", + "@types/testing-library__jest-dom": "^5.9.1", + "aria-query": "^5.0.0", + "chalk": "^3.0.0", + "css.escape": "^1.5.1", + "dom-accessibility-api": "^0.5.6", + "lodash": "^4.17.15", + "redent": "^3.0.0" + }, + "engines": { + "node": ">=8", + "npm": ">=6", + "yarn": ">=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@testing-library/jest-dom/node_modules/chalk": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@testing-library/react": { + "version": "13.4.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.5", + "@testing-library/dom": "^8.5.0", + "@types/react-dom": "^18.0.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@testing-library/user-event": { + "version": "13.5.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.5" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "peerDependencies": { + "@testing-library/dom": ">=7.21.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@tootallnate/once": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@trysound/sax": { + "version": "0.2.0", + "license": "ISC", + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/aria-query": { + "version": "5.0.4", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/body-parser": { + "version": "1.19.2", + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/bonjour": { + "version": "3.5.10", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/connect": { + "version": "3.4.35", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/connect-history-api-fallback": { + "version": "1.3.5", + "license": "MIT", + "dependencies": { + "@types/express-serve-static-core": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/eslint": { + "version": "8.44.2", + "license": "MIT", + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/express": { + "version": "4.17.17", + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/express-serve-static-core": { + "version": "4.17.28", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/graceful-fs": { + "version": "4.1.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/html-minifier-terser": { + "version": "6.1.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/http-errors": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/http-proxy": { + "version": "1.17.9", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/jest": { + "version": "27.5.2", + "license": "MIT", + "dependencies": { + "jest-matcher-utils": "^27.0.0", + "pretty-format": "^27.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/mime": { + "version": "1.3.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/prettier": { + "version": "2.7.3", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/q": { + "version": "1.5.5", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/qs": { + "version": "6.9.7", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/range-parser": { + "version": "1.2.4", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/react": { + "version": "18.2.39", + "license": "MIT", + "dependencies": { + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/react-dom": { + "version": "18.2.17", + "license": "MIT", + "dependencies": { + "@types/react": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/react-transition-group": { + "version": "4.4.9", + "license": "MIT", + "dependencies": { + "@types/react": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/resolve": { + "version": "1.17.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/retry": { + "version": "0.12.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/serve-index": { + "version": "1.9.1", + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/serve-static": { + "version": "1.13.10", + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/sockjs": { + "version": "0.3.33", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom": { + "version": "5.14.9", + "license": "MIT", + "dependencies": { + "@types/jest": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/@jest/types": { + "version": "29.6.1", + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/@types/jest": { + "version": "29.5.10", + "license": "MIT", + "dependencies": { + "expect": "^29.0.0", + "pretty-format": "^29.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/ansi-styles": { + "version": "5.2.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/expect": { + "version": "29.6.2", + "license": "MIT", + "dependencies": { + "@jest/expect-utils": "^29.6.2", + "@types/node": "*", + "jest-get-type": "^29.4.3", + "jest-matcher-utils": "^29.6.2", + "jest-message-util": "^29.6.2", + "jest-util": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/jest-diff": { + "version": "29.6.2", + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.4.3", + "jest-get-type": "^29.4.3", + "pretty-format": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/jest-get-type": { + "version": "29.4.3", + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/jest-matcher-utils": { + "version": "29.6.2", + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^29.6.2", + "jest-get-type": "^29.4.3", + "pretty-format": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/jest-message-util": { + "version": "29.6.2", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.6.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.6.2", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/jest-util": { + "version": "29.6.2", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/testing-library__jest-dom/node_modules/pretty-format": { + "version": "29.6.2", + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/trusted-types": { + "version": "2.0.3", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@types/ws": { + "version": "8.5.5", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.62.0", + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/eslint-plugin/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/eslint-plugin/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/experimental-utils": { + "version": "5.62.0", + "license": "MIT", + "dependencies": { + "@typescript-eslint/utils": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/parser": { + "version": "5.62.0", + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/type-utils": { + "version": "5.62.0", + "license": "MIT", + "dependencies": { + "@typescript-eslint/typescript-estree": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/type-utils/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/type-utils/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/types": { + "version": "5.62.0", + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/typescript-estree/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/typescript-estree/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/utils": { + "version": "5.62.0", + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "eslint-scope": "^5.1.1", + "semver": "^7.3.7" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/utils/node_modules/@types/json-schema": { + "version": "7.0.11", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/accepts": { + "version": "1.3.7", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/acorn-globals": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/acorn-globals/node_modules/acorn": { + "version": "7.4.1", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/acorn-walk": { + "version": "7.2.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/address": { + "version": "1.2.2", + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/adjust-sourcemap-loader": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "loader-utils": "^2.0.0", + "regex-parser": "^2.2.11" + }, + "engines": { + "node": ">=8.9" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/ajv-formats": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/ajv-keywords": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/ansi-html-community": { + "version": "0.0.8", + "engines": [ + "node >= 0.8.0" + ], + "license": "Apache-2.0", + "bin": { + "ansi-html": "bin/ansi-html" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/any-promise": { + "version": "1.3.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/arg": { + "version": "5.0.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/argparse": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/aria-query": { + "version": "5.3.0", + "license": "Apache-2.0", + "dependencies": { + "dequal": "^2.0.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/array-flatten": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/array.prototype.reduce": { + "version": "1.0.6", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-array-method-boxes-properly": "^1.0.0", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/array.prototype.tosorted": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0", + "get-intrinsic": "^1.1.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/asap": { + "version": "2.0.6", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/ast-types-flow": { + "version": "0.0.7", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/async": { + "version": "3.2.3", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/asynciterator.prototype": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/at-least-node": { + "version": "1.0.0", + "license": "ISC", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/autoprefixer": { + "version": "10.4.15", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.10", + "caniuse-lite": "^1.0.30001520", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/axe-core": { + "version": "4.7.2", + "license": "MPL-2.0", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/axobject-query": { + "version": "3.2.1", + "license": "Apache-2.0", + "dependencies": { + "dequal": "^2.0.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-jest": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^27.5.1", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-loader": { + "version": "8.3.0", + "license": "MIT", + "dependencies": { + "find-cache-dir": "^3.3.1", + "loader-utils": "^2.0.0", + "make-dir": "^3.1.0", + "schema-utils": "^2.6.5" + }, + "engines": { + "node": ">= 8.9" + }, + "peerDependencies": { + "@babel/core": "^7.0.0", + "webpack": ">=2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-loader/node_modules/@types/json-schema": { + "version": "7.0.13", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-loader/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-loader/node_modules/ajv-keywords": { + "version": "3.5.2", + "license": "MIT", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-loader/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-loader/node_modules/schema-utils": { + "version": "2.7.1", + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 8.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-plugin-jest-hoist": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.0.0", + "@types/babel__traverse": "^7.0.6" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-plugin-jest-hoist/node_modules/@types/babel__core": { + "version": "7.20.2", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-plugin-macros": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.5", + "cosmiconfig": "^7.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-plugin-named-asset-import": { + "version": "0.3.8", + "license": "MIT", + "peerDependencies": { + "@babel/core": "^7.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.4.6", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.6", + "@babel/helper-define-polyfill-provider": "^0.4.3", + "semver": "^6.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.8.5", + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.4.3", + "core-js-compat": "^3.32.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-plugin-polyfill-corejs3/node_modules/core-js-compat": { + "version": "3.33.0", + "license": "MIT", + "dependencies": { + "browserslist": "^4.22.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.5.2", + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.4.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-plugin-transform-react-remove-prop-types": { + "version": "0.4.24", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-preset-current-node-syntax": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-preset-jest": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "babel-plugin-jest-hoist": "^27.5.1", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/babel-preset-react-app": { + "version": "10.0.1", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.16.0", + "@babel/plugin-proposal-class-properties": "^7.16.0", + "@babel/plugin-proposal-decorators": "^7.16.4", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0", + "@babel/plugin-proposal-numeric-separator": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.16.0", + "@babel/plugin-proposal-private-methods": "^7.16.0", + "@babel/plugin-transform-flow-strip-types": "^7.16.0", + "@babel/plugin-transform-react-display-name": "^7.16.0", + "@babel/plugin-transform-runtime": "^7.16.4", + "@babel/preset-env": "^7.16.4", + "@babel/preset-react": "^7.16.0", + "@babel/preset-typescript": "^7.16.0", + "@babel/runtime": "^7.16.3", + "babel-plugin-macros": "^3.1.0", + "babel-plugin-transform-react-remove-prop-types": "^0.4.24" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/batch": { + "version": "0.6.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/bfj": { + "version": "7.0.2", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.5", + "check-types": "^11.1.1", + "hoopy": "^0.1.4", + "tryer": "^1.0.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/big.js": { + "version": "5.2.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/body-parser": { + "version": "1.20.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/bonjour-service": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "array-flatten": "^2.1.2", + "dns-equal": "^1.0.0", + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.5" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/boolbase": { + "version": "1.0.0", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/browser-process-hrtime": { + "version": "1.0.0", + "license": "BSD-2-Clause" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/browserslist": { + "version": "4.22.1", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001541", + "electron-to-chromium": "^1.4.535", + "node-releases": "^2.0.13", + "update-browserslist-db": "^1.0.13" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/browserslist/node_modules/caniuse-lite": { + "version": "1.0.30001549", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/browserslist/node_modules/electron-to-chromium": { + "version": "1.4.556", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/camel-case": { + "version": "4.1.2", + "license": "MIT", + "dependencies": { + "pascal-case": "^3.1.2", + "tslib": "^2.0.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/camelcase-css": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/caniuse-api": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "browserslist": "^4.0.0", + "caniuse-lite": "^1.0.0", + "lodash.memoize": "^4.1.2", + "lodash.uniq": "^4.5.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/caniuse-lite": { + "version": "1.0.30001524", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/case-sensitive-paths-webpack-plugin": { + "version": "2.4.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/check-types": { + "version": "11.2.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/clean-css": { + "version": "5.3.2", + "license": "MIT", + "dependencies": { + "source-map": "~0.6.0" + }, + "engines": { + "node": ">= 10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/clsx": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/coa": { + "version": "2.0.2", + "license": "MIT", + "dependencies": { + "@types/q": "^1.5.1", + "chalk": "^2.4.1", + "q": "^1.1.2" + }, + "engines": { + "node": ">= 4.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/coa/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/coa/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/coa/node_modules/escape-string-regexp": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/coa/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/coa/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/colord": { + "version": "2.9.3", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/common-path-prefix": { + "version": "3.0.0", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/common-tags": { + "version": "1.8.2", + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/compressible": { + "version": "2.0.18", + "license": "MIT", + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/compression": { + "version": "1.7.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/compression/node_modules/bytes": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/compression/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/confusing-browser-globals": { + "version": "1.0.11", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/connect-history-api-fallback": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/cookie": { + "version": "0.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/core-js": { + "version": "3.32.1", + "hasInstallScript": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/core-js-compat": { + "version": "3.32.1", + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/core-js-pure": { + "version": "3.32.1", + "hasInstallScript": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-blank-pseudo": { + "version": "3.0.3", + "license": "CC0-1.0", + "dependencies": { + "postcss-selector-parser": "^6.0.9" + }, + "bin": { + "css-blank-pseudo": "dist/cli.cjs" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-blank-pseudo/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-declaration-sorter": { + "version": "6.4.1", + "license": "ISC", + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.0.9" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-has-pseudo": { + "version": "3.0.4", + "license": "CC0-1.0", + "dependencies": { + "postcss-selector-parser": "^6.0.9" + }, + "bin": { + "css-has-pseudo": "dist/cli.cjs" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-has-pseudo/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-loader": { + "version": "6.8.1", + "license": "MIT", + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.21", + "postcss-modules-extract-imports": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.3", + "postcss-modules-scope": "^3.0.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.3.8" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-minimizer-webpack-plugin": { + "version": "3.4.1", + "license": "MIT", + "dependencies": { + "cssnano": "^5.0.6", + "jest-worker": "^27.0.2", + "postcss": "^8.3.5", + "schema-utils": "^4.0.0", + "serialize-javascript": "^6.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@parcel/css": { + "optional": true + }, + "clean-css": { + "optional": true + }, + "csso": { + "optional": true + }, + "esbuild": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-prefers-color-scheme": { + "version": "6.0.3", + "license": "CC0-1.0", + "bin": { + "css-prefers-color-scheme": "dist/cli.cjs" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-select": { + "version": "4.3.0", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.0.1", + "domhandler": "^4.3.1", + "domutils": "^2.8.0", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-select-base-adapter": { + "version": "0.1.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-select/node_modules/css-what": { + "version": "6.1.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-select/node_modules/domhandler": { + "version": "4.3.1", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-select/node_modules/nth-check": { + "version": "2.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-tree": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "mdn-data": "2.0.14", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-tree/node_modules/mdn-data": { + "version": "2.0.14", + "license": "CC0-1.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css-what": { + "version": "3.4.2", + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/css.escape": { + "version": "1.5.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/cssdb": { + "version": "7.7.1", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + } + ], + "license": "CC0-1.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/cssnano": { + "version": "5.1.15", + "license": "MIT", + "dependencies": { + "cssnano-preset-default": "^5.2.14", + "lilconfig": "^2.0.3", + "yaml": "^1.10.2" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/cssnano" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/cssnano-preset-default": { + "version": "5.2.14", + "license": "MIT", + "dependencies": { + "css-declaration-sorter": "^6.3.1", + "cssnano-utils": "^3.1.0", + "postcss-calc": "^8.2.3", + "postcss-colormin": "^5.3.1", + "postcss-convert-values": "^5.1.3", + "postcss-discard-comments": "^5.1.2", + "postcss-discard-duplicates": "^5.1.0", + "postcss-discard-empty": "^5.1.1", + "postcss-discard-overridden": "^5.1.0", + "postcss-merge-longhand": "^5.1.7", + "postcss-merge-rules": "^5.1.4", + "postcss-minify-font-values": "^5.1.0", + "postcss-minify-gradients": "^5.1.1", + "postcss-minify-params": "^5.1.4", + "postcss-minify-selectors": "^5.2.1", + "postcss-normalize-charset": "^5.1.0", + "postcss-normalize-display-values": "^5.1.0", + "postcss-normalize-positions": "^5.1.1", + "postcss-normalize-repeat-style": "^5.1.1", + "postcss-normalize-string": "^5.1.0", + "postcss-normalize-timing-functions": "^5.1.0", + "postcss-normalize-unicode": "^5.1.1", + "postcss-normalize-url": "^5.1.0", + "postcss-normalize-whitespace": "^5.1.1", + "postcss-ordered-values": "^5.1.3", + "postcss-reduce-initial": "^5.1.2", + "postcss-reduce-transforms": "^5.1.0", + "postcss-svgo": "^5.1.0", + "postcss-unique-selectors": "^5.1.1" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/cssnano-utils": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/csso": { + "version": "4.2.0", + "license": "MIT", + "dependencies": { + "css-tree": "^1.1.2" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/cssom": { + "version": "0.4.4", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/cssstyle": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "cssom": "~0.3.6" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/cssstyle/node_modules/cssom": { + "version": "0.3.8", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/damerau-levenshtein": { + "version": "1.0.8", + "license": "BSD-2-Clause" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/data-urls": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/decimal.js": { + "version": "10.4.3", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dedent": { + "version": "0.7.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/deep-equal": { + "version": "2.2.3", + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.5", + "es-get-iterator": "^1.1.3", + "get-intrinsic": "^1.2.2", + "is-arguments": "^1.1.1", + "is-array-buffer": "^3.0.2", + "is-date-object": "^1.0.5", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "isarray": "^2.0.5", + "object-is": "^1.1.5", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.1", + "side-channel": "^1.0.4", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/deep-equal/node_modules/call-bind": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/deep-equal/node_modules/call-bind/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/deep-equal/node_modules/get-intrinsic": { + "version": "1.2.2", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/deep-equal/node_modules/get-intrinsic/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/deep-equal/node_modules/regexp.prototype.flags": { + "version": "1.5.1", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "set-function-name": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/deep-equal/node_modules/which-typed-array": { + "version": "1.1.13", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.4", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/default-gateway": { + "version": "6.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/define-lazy-prop": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dequal": { + "version": "2.0.3", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/detect-node": { + "version": "2.1.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/detect-port-alt": { + "version": "1.1.6", + "license": "MIT", + "dependencies": { + "address": "^1.0.1", + "debug": "^2.6.0" + }, + "bin": { + "detect": "bin/detect-port", + "detect-port": "bin/detect-port" + }, + "engines": { + "node": ">= 4.2.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/didyoumean": { + "version": "1.2.2", + "license": "Apache-2.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dlv": { + "version": "1.1.3", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dns-equal": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dns-packet": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "@leichtgewicht/ip-codec": "^2.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dom-accessibility-api": { + "version": "0.5.16", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dom-converter": { + "version": "0.2.0", + "license": "MIT", + "dependencies": { + "utila": "~0.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dom-helpers": { + "version": "5.2.1", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dom-serializer": { + "version": "0.2.2", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.0.1", + "entities": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/domelementtype": { + "version": "2.2.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/domexception": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "webidl-conversions": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/domexception/node_modules/webidl-conversions": { + "version": "5.0.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/domhandler": { + "version": "4.3.0", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/domutils": { + "version": "2.8.0", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/domutils/node_modules/dom-serializer": { + "version": "1.3.2", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dot-case": { + "version": "3.0.4", + "license": "MIT", + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dotenv": { + "version": "10.0.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/dotenv-expand": { + "version": "5.1.0", + "license": "BSD-2-Clause" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/ejs": { + "version": "3.1.9", + "license": "Apache-2.0", + "dependencies": { + "jake": "^10.8.5" + }, + "bin": { + "ejs": "bin/cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/emittery": { + "version": "0.8.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/emojis-list": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/entities": { + "version": "2.2.0", + "license": "BSD-2-Clause", + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/error-stack-parser": { + "version": "2.1.4", + "license": "MIT", + "dependencies": { + "stackframe": "^1.3.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/es-iterator-helpers": { + "version": "1.0.15", + "license": "MIT", + "dependencies": { + "asynciterator.prototype": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.1", + "es-set-tostringtag": "^2.0.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.2.1", + "globalthis": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "iterator.prototype": "^1.1.2", + "safe-array-concat": "^1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/es-iterator-helpers/node_modules/define-properties": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/es-iterator-helpers/node_modules/safe-array-concat": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/escodegen": { + "version": "2.1.0", + "license": "BSD-2-Clause", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-config-react-app": { + "version": "7.0.1", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.16.0", + "@babel/eslint-parser": "^7.16.3", + "@rushstack/eslint-patch": "^1.1.0", + "@typescript-eslint/eslint-plugin": "^5.5.0", + "@typescript-eslint/parser": "^5.5.0", + "babel-preset-react-app": "^10.0.1", + "confusing-browser-globals": "^1.0.11", + "eslint-plugin-flowtype": "^8.0.3", + "eslint-plugin-import": "^2.25.3", + "eslint-plugin-jest": "^25.3.0", + "eslint-plugin-jsx-a11y": "^6.5.1", + "eslint-plugin-react": "^7.27.1", + "eslint-plugin-react-hooks": "^4.3.0", + "eslint-plugin-testing-library": "^5.0.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "eslint": "^8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-plugin-flowtype": { + "version": "8.0.3", + "license": "BSD-3-Clause", + "dependencies": { + "lodash": "^4.17.21", + "string-natural-compare": "^3.0.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@babel/plugin-syntax-flow": "^7.14.5", + "@babel/plugin-transform-react-jsx": "^7.14.9", + "eslint": "^8.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-plugin-jest": { + "version": "25.7.0", + "license": "MIT", + "dependencies": { + "@typescript-eslint/experimental-utils": "^5.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + }, + "peerDependencies": { + "@typescript-eslint/eslint-plugin": "^4.0.0 || ^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "@typescript-eslint/eslint-plugin": { + "optional": true + }, + "jest": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-plugin-jsx-a11y": { + "version": "6.7.1", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.20.7", + "aria-query": "^5.1.3", + "array-includes": "^3.1.6", + "array.prototype.flatmap": "^1.3.1", + "ast-types-flow": "^0.0.7", + "axe-core": "^4.6.2", + "axobject-query": "^3.1.1", + "damerau-levenshtein": "^1.0.8", + "emoji-regex": "^9.2.2", + "has": "^1.0.3", + "jsx-ast-utils": "^3.3.3", + "language-tags": "=1.0.5", + "minimatch": "^3.1.2", + "object.entries": "^1.1.6", + "object.fromentries": "^2.0.6", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=4.0" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-plugin-react": { + "version": "7.33.2", + "license": "MIT", + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flatmap": "^1.3.1", + "array.prototype.tosorted": "^1.1.1", + "doctrine": "^2.1.0", + "es-iterator-helpers": "^1.0.12", + "estraverse": "^5.3.0", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.1.2", + "object.entries": "^1.1.6", + "object.fromentries": "^2.0.6", + "object.hasown": "^1.1.2", + "object.values": "^1.1.6", + "prop-types": "^15.8.1", + "resolve": "^2.0.0-next.4", + "semver": "^6.3.1", + "string.prototype.matchall": "^4.0.8" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-plugin-react-hooks": { + "version": "4.6.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-plugin-react/node_modules/resolve": { + "version": "2.0.0-next.4", + "license": "MIT", + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-plugin-testing-library": { + "version": "5.11.1", + "license": "MIT", + "dependencies": { + "@typescript-eslint/utils": "^5.58.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0", + "npm": ">=6" + }, + "peerDependencies": { + "eslint": "^7.5.0 || ^8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-webpack-plugin": { + "version": "3.2.0", + "license": "MIT", + "dependencies": { + "@types/eslint": "^7.29.0 || ^8.4.1", + "jest-worker": "^28.0.2", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0", + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-webpack-plugin/node_modules/jest-worker": { + "version": "28.1.3", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-webpack-plugin/node_modules/micromatch": { + "version": "4.0.5", + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eslint-webpack-plugin/node_modules/supports-color": { + "version": "8.1.1", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/estree-walker": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/eventemitter3": { + "version": "4.0.7", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/expect": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/express": { + "version": "4.18.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/express/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/express/node_modules/negotiator": { + "version": "0.6.3", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fast-glob": { + "version": "3.3.1", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/faye-websocket": { + "version": "0.11.4", + "license": "Apache-2.0", + "dependencies": { + "websocket-driver": ">=0.5.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/file-loader": { + "version": "6.2.0", + "license": "MIT", + "dependencies": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/file-loader/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/file-loader/node_modules/ajv-keywords": { + "version": "3.5.2", + "license": "MIT", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/file-loader/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/file-loader/node_modules/schema-utils": { + "version": "3.3.0", + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/filelist": { + "version": "1.0.4", + "license": "Apache-2.0", + "dependencies": { + "minimatch": "^5.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/filelist/node_modules/minimatch": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/filesize": { + "version": "8.0.7", + "license": "BSD-3-Clause", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/find-root": { + "version": "1.1.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fork-ts-checker-webpack-plugin": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.8.3", + "@types/json-schema": "^7.0.5", + "chalk": "^4.1.0", + "chokidar": "^3.4.2", + "cosmiconfig": "^6.0.0", + "deepmerge": "^4.2.2", + "fs-extra": "^9.0.0", + "glob": "^7.1.6", + "memfs": "^3.1.2", + "minimatch": "^3.0.4", + "schema-utils": "2.7.0", + "semver": "^7.3.2", + "tapable": "^1.0.0" + }, + "engines": { + "node": ">=10", + "yarn": ">=1.0.0" + }, + "peerDependencies": { + "eslint": ">= 6", + "typescript": ">= 2.7", + "vue-template-compiler": "*", + "webpack": ">= 4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + }, + "vue-template-compiler": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fork-ts-checker-webpack-plugin/node_modules/@types/json-schema": { + "version": "7.0.13", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fork-ts-checker-webpack-plugin/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fork-ts-checker-webpack-plugin/node_modules/ajv-keywords": { + "version": "3.5.2", + "license": "MIT", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fork-ts-checker-webpack-plugin/node_modules/cosmiconfig": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.7.2" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fork-ts-checker-webpack-plugin/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fork-ts-checker-webpack-plugin/node_modules/schema-utils": { + "version": "2.7.0", + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.4", + "ajv": "^6.12.2", + "ajv-keywords": "^3.4.1" + }, + "engines": { + "node": ">= 8.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fork-ts-checker-webpack-plugin/node_modules/tapable": { + "version": "1.1.3", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fraction.js": { + "version": "4.2.0", + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fs-extra": { + "version": "9.1.0", + "license": "MIT", + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/fs-monkey": { + "version": "1.0.4", + "license": "Unlicense" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/global-modules": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "global-prefix": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/global-prefix": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "ini": "^1.3.5", + "kind-of": "^6.0.2", + "which": "^1.3.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/global-prefix/node_modules/which": { + "version": "1.3.1", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/globals": { + "version": "11.12.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/globby": { + "version": "11.1.0", + "license": "MIT", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/gzip-size": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "duplexer": "^0.1.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/handle-thing": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/harmony-reflect": { + "version": "1.6.2", + "license": "(Apache-2.0 OR MPL-1.1)" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/he": { + "version": "1.2.0", + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "license": "BSD-3-Clause", + "dependencies": { + "react-is": "^16.7.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/hoist-non-react-statics/node_modules/react-is": { + "version": "16.13.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/hoopy": { + "version": "0.1.4", + "license": "MIT", + "engines": { + "node": ">= 6.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/hpack.js": { + "version": "2.1.6", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/html-encoding-sniffer": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "whatwg-encoding": "^1.0.5" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/html-entities": { + "version": "2.4.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/mdevils" + }, + { + "type": "patreon", + "url": "https://patreon.com/mdevils" + } + ], + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/html-minifier-terser": { + "version": "6.1.0", + "license": "MIT", + "dependencies": { + "camel-case": "^4.1.2", + "clean-css": "^5.2.2", + "commander": "^8.3.0", + "he": "^1.2.0", + "param-case": "^3.0.4", + "relateurl": "^0.2.7", + "terser": "^5.10.0" + }, + "bin": { + "html-minifier-terser": "cli.js" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/html-minifier-terser/node_modules/commander": { + "version": "8.3.0", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/html-webpack-plugin": { + "version": "5.5.3", + "license": "MIT", + "dependencies": { + "@types/html-minifier-terser": "^6.0.0", + "html-minifier-terser": "^6.0.2", + "lodash": "^4.17.21", + "pretty-error": "^4.0.0", + "tapable": "^2.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/html-webpack-plugin" + }, + "peerDependencies": { + "webpack": "^5.20.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/htmlparser2": { + "version": "6.1.0", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.0.0", + "domutils": "^2.5.2", + "entities": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/http-deceiver": { + "version": "1.2.7", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/http-parser-js": { + "version": "0.5.5", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/http-proxy": { + "version": "1.18.1", + "license": "MIT", + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/http-proxy-agent": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/http-proxy-agent/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/http-proxy-agent/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/http-proxy-middleware": { + "version": "2.0.6", + "license": "MIT", + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/http-proxy-middleware/node_modules/micromatch": { + "version": "4.0.5", + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/icss-utils": { + "version": "5.1.0", + "license": "ISC", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/idb": { + "version": "7.1.1", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/identity-obj-proxy": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "harmony-reflect": "^1.4.6" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/immer": { + "version": "9.0.21", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/is-async-function": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/is-docker": { + "version": "2.2.1", + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/is-finalizationregistry": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/is-module": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/is-plain-obj": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/is-root": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/is-wsl": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/iterator.prototype": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "define-properties": "^1.2.1", + "get-intrinsic": "^1.2.1", + "has-symbols": "^1.0.3", + "reflect.getprototypeof": "^1.0.4", + "set-function-name": "^2.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/iterator.prototype/node_modules/define-properties": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jake": { + "version": "10.8.7", + "license": "Apache-2.0", + "dependencies": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.4", + "minimatch": "^3.1.2" + }, + "bin": { + "jake": "bin/cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/core": "^27.5.1", + "import-local": "^3.0.2", + "jest-cli": "^27.5.1" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-changed-files": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "execa": "^5.0.0", + "throat": "^6.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-circus": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^0.7.0", + "expect": "^27.5.1", + "is-generator-fn": "^2.0.0", + "jest-each": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3", + "throat": "^6.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-cli": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/core": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "import-local": "^3.0.2", + "jest-config": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "prompts": "^2.0.1", + "yargs": "^16.2.0" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-config": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.8.0", + "@jest/test-sequencer": "^27.5.1", + "@jest/types": "^27.5.1", + "babel-jest": "^27.5.1", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.9", + "jest-circus": "^27.5.1", + "jest-environment-jsdom": "^27.5.1", + "jest-environment-node": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-jasmine2": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-runner": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "ts-node": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-diff": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^27.5.1", + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-diff/node_modules/diff-sequences": { + "version": "27.5.1", + "license": "MIT", + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-docblock": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-each": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "jest-get-type": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-environment-jsdom": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1", + "jsdom": "^16.6.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-environment-node": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-get-type": { + "version": "27.5.1", + "license": "MIT", + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-haste-map": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "@types/graceful-fs": "^4.1.2", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^27.5.1", + "jest-serializer": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "micromatch": "^4.0.4", + "walker": "^1.0.7" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-jasmine2": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/source-map": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "expect": "^27.5.1", + "is-generator-fn": "^2.0.0", + "jest-each": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1", + "throat": "^6.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-leak-detector": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-matcher-utils": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-message-util": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^27.5.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-mock": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "@types/node": "*" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-regex-util": { + "version": "27.5.1", + "license": "MIT", + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-resolve": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "resolve": "^1.20.0", + "resolve.exports": "^1.1.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-resolve-dependencies": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-snapshot": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-runner": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/console": "^27.5.1", + "@jest/environment": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.8.1", + "graceful-fs": "^4.2.9", + "jest-docblock": "^27.5.1", + "jest-environment-jsdom": "^27.5.1", + "jest-environment-node": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-leak-detector": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "source-map-support": "^0.5.6", + "throat": "^6.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-runtime": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/globals": "^27.5.1", + "@jest/source-map": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "execa": "^5.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-runtime/node_modules/strip-bom": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-serializer": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "graceful-fs": "^4.2.9" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-snapshot": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.7.2", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.0.0", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^27.5.1", + "semver": "^7.3.2" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-snapshot/node_modules/@types/babel__traverse": { + "version": "7.20.1", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.20.7" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-util": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-validate": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/types": "^27.5.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^27.5.1", + "leven": "^3.1.0", + "pretty-format": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.3.1", + "chalk": "^4.0.0", + "jest-regex-util": "^28.0.0", + "jest-watcher": "^28.0.0", + "slash": "^4.0.0", + "string-length": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "jest": "^27.0.0 || ^28.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/@jest/console": { + "version": "28.1.3", + "license": "MIT", + "dependencies": { + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^28.1.3", + "jest-util": "^28.1.3", + "slash": "^3.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/@jest/console/node_modules/slash": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/@jest/schemas": { + "version": "28.1.3", + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.24.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/@jest/test-result": { + "version": "28.1.3", + "license": "MIT", + "dependencies": { + "@jest/console": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/@jest/types": { + "version": "28.1.3", + "license": "MIT", + "dependencies": { + "@jest/schemas": "^28.1.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/@sinclair/typebox": { + "version": "0.24.51", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/ansi-styles": { + "version": "5.2.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/emittery": { + "version": "0.10.2", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/jest-message-util": { + "version": "28.1.3", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^28.1.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^28.1.3", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/jest-message-util/node_modules/slash": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/jest-regex-util": { + "version": "28.0.2", + "license": "MIT", + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/jest-util": { + "version": "28.1.3", + "license": "MIT", + "dependencies": { + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/jest-watcher": { + "version": "28.1.3", + "license": "MIT", + "dependencies": { + "@jest/test-result": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.10.2", + "jest-util": "^28.1.3", + "string-length": "^4.0.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/jest-watcher/node_modules/string-length": { + "version": "4.0.2", + "license": "MIT", + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/jest-watcher/node_modules/strip-ansi": { + "version": "6.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/pretty-format": { + "version": "28.1.3", + "license": "MIT", + "dependencies": { + "@jest/schemas": "^28.1.3", + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/slash": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/string-length": { + "version": "5.0.1", + "license": "MIT", + "dependencies": { + "char-regex": "^2.0.0", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/string-length/node_modules/char-regex": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/strip-ansi": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watch-typeahead/node_modules/strip-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jest-watcher": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "jest-util": "^27.5.1", + "string-length": "^4.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jiti": { + "version": "1.20.0", + "license": "MIT", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/js-yaml": { + "version": "3.14.1", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jsdom": { + "version": "16.7.0", + "license": "MIT", + "dependencies": { + "abab": "^2.0.5", + "acorn": "^8.2.4", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.3.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.1", + "domexception": "^2.0.1", + "escodegen": "^2.0.0", + "form-data": "^3.0.0", + "html-encoding-sniffer": "^2.0.1", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.5.0", + "ws": "^7.4.6", + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jsdom/node_modules/form-data": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jsonpointer": { + "version": "5.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/jsx-ast-utils": { + "version": "3.3.5", + "license": "MIT", + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + }, + "engines": { + "node": ">=4.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/klona": { + "version": "2.0.6", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/language-subtag-registry": { + "version": "0.3.22", + "license": "CC0-1.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/language-tags": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "language-subtag-registry": "~0.3.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/launch-editor": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "picocolors": "^1.0.0", + "shell-quote": "^1.7.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/lilconfig": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/loader-utils": { + "version": "2.0.4", + "license": "MIT", + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/lodash.debounce": { + "version": "4.0.8", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/lodash.sortby": { + "version": "4.7.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/lru-cache": { + "version": "5.1.1", + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/lz-string": { + "version": "1.5.0", + "license": "MIT", + "bin": { + "lz-string": "bin/bin.js" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/magic-string": { + "version": "0.25.9", + "license": "MIT", + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/mdn-data": { + "version": "2.0.4", + "license": "CC0-1.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/memfs": { + "version": "3.5.3", + "license": "Unlicense", + "dependencies": { + "fs-monkey": "^1.0.4" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/mini-css-extract-plugin": { + "version": "2.7.6", + "license": "MIT", + "dependencies": { + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/multicast-dns": { + "version": "7.2.5", + "license": "MIT", + "dependencies": { + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" + }, + "bin": { + "multicast-dns": "cli.js" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/mz": { + "version": "2.7.0", + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/natural-compare-lite": { + "version": "1.4.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/negotiator": { + "version": "0.6.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/node-forge": { + "version": "1.3.1", + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/node-releases": { + "version": "2.0.13", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/normalize-range": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/normalize-url": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/nth-check": { + "version": "1.0.2", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "~1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/nwsapi": { + "version": "2.2.7", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/object-hash": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/object.entries": { + "version": "1.1.7", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/object.getownpropertydescriptors": { + "version": "2.1.7", + "license": "MIT", + "dependencies": { + "array.prototype.reduce": "^1.0.6", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "safe-array-concat": "^1.0.0" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/object.hasown": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/obuf": { + "version": "1.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/on-headers": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/open": { + "version": "8.4.2", + "license": "MIT", + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/p-limit": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/p-retry": { + "version": "4.6.2", + "license": "MIT", + "dependencies": { + "@types/retry": "0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/param-case": { + "version": "3.0.4", + "license": "MIT", + "dependencies": { + "dot-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/parse5": { + "version": "6.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pascal-case": { + "version": "3.1.2", + "license": "MIT", + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pify": { + "version": "2.3.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pirates": { + "version": "4.0.6", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pkg-up": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "find-up": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pkg-up/node_modules/find-up": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pkg-up/node_modules/locate-path": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pkg-up/node_modules/p-locate": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pkg-up/node_modules/path-exists": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-attribute-case-insensitive": { + "version": "5.0.2", + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-browser-comments": { + "version": "4.0.0", + "license": "CC0-1.0", + "engines": { + "node": ">=8" + }, + "peerDependencies": { + "browserslist": ">=4", + "postcss": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-calc": { + "version": "8.2.4", + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.0.9", + "postcss-value-parser": "^4.2.0" + }, + "peerDependencies": { + "postcss": "^8.2.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-calc/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-clamp": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": ">=7.6.0" + }, + "peerDependencies": { + "postcss": "^8.4.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-color-functional-notation": { + "version": "4.2.4", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-color-hex-alpha": { + "version": "8.0.4", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-color-rebeccapurple": { + "version": "7.1.1", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-colormin": { + "version": "5.3.1", + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.4", + "caniuse-api": "^3.0.0", + "colord": "^2.9.1", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-convert-values": { + "version": "5.1.3", + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.4", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-custom-media": { + "version": "8.0.2", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-custom-properties": { + "version": "12.1.11", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-custom-selectors": { + "version": "6.0.3", + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-dir-pseudo-class": { + "version": "6.0.5", + "license": "CC0-1.0", + "dependencies": { + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-discard-comments": { + "version": "5.1.2", + "license": "MIT", + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-discard-duplicates": { + "version": "5.1.0", + "license": "MIT", + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-discard-empty": { + "version": "5.1.1", + "license": "MIT", + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-discard-overridden": { + "version": "5.1.0", + "license": "MIT", + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-double-position-gradients": { + "version": "3.1.2", + "license": "CC0-1.0", + "dependencies": { + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-env-function": { + "version": "4.0.6", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-flexbugs-fixes": { + "version": "5.0.2", + "license": "MIT", + "peerDependencies": { + "postcss": "^8.1.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-focus-visible": { + "version": "6.0.4", + "license": "CC0-1.0", + "dependencies": { + "postcss-selector-parser": "^6.0.9" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-focus-visible/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-focus-within": { + "version": "5.0.4", + "license": "CC0-1.0", + "dependencies": { + "postcss-selector-parser": "^6.0.9" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-focus-within/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-font-variant": { + "version": "5.0.0", + "license": "MIT", + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-gap-properties": { + "version": "3.0.5", + "license": "CC0-1.0", + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-image-set-function": { + "version": "4.0.7", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-import": { + "version": "15.1.0", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-initial": { + "version": "4.0.1", + "license": "MIT", + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-js": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-lab-function": { + "version": "4.2.1", + "license": "CC0-1.0", + "dependencies": { + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-load-config": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "lilconfig": "^2.0.5", + "yaml": "^2.1.1" + }, + "engines": { + "node": ">= 14" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-load-config/node_modules/yaml": { + "version": "2.3.3", + "license": "ISC", + "engines": { + "node": ">= 14" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-loader": { + "version": "6.2.1", + "license": "MIT", + "dependencies": { + "cosmiconfig": "^7.0.0", + "klona": "^2.0.5", + "semver": "^7.3.5" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "postcss": "^7.0.0 || ^8.0.1", + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-logical": { + "version": "5.0.4", + "license": "CC0-1.0", + "engines": { + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-media-minmax": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-merge-longhand": { + "version": "5.1.7", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0", + "stylehacks": "^5.1.1" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-merge-rules": { + "version": "5.1.4", + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.4", + "caniuse-api": "^3.0.0", + "cssnano-utils": "^3.1.0", + "postcss-selector-parser": "^6.0.5" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-merge-rules/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-minify-font-values": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-minify-gradients": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "colord": "^2.9.1", + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-minify-params": { + "version": "5.1.4", + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.4", + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-minify-selectors": { + "version": "5.2.1", + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.0.5" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-minify-selectors/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-modules-extract-imports": { + "version": "3.0.0", + "license": "ISC", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-modules-local-by-default": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-modules-scope": { + "version": "3.0.0", + "license": "ISC", + "dependencies": { + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-modules-values": { + "version": "4.0.0", + "license": "ISC", + "dependencies": { + "icss-utils": "^5.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-nested": { + "version": "6.0.1", + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.0.11" + }, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-nested/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-nesting": { + "version": "10.2.0", + "license": "CC0-1.0", + "dependencies": { + "@csstools/selector-specificity": "^2.0.0", + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize": { + "version": "10.0.1", + "license": "CC0-1.0", + "dependencies": { + "@csstools/normalize.css": "*", + "postcss-browser-comments": "^4", + "sanitize.css": "*" + }, + "engines": { + "node": ">= 12" + }, + "peerDependencies": { + "browserslist": ">= 4", + "postcss": ">= 8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize-charset": { + "version": "5.1.0", + "license": "MIT", + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize-display-values": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize-positions": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize-repeat-style": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize-string": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize-timing-functions": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize-unicode": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.4", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize-url": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "normalize-url": "^6.0.1", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-normalize-whitespace": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-opacity-percentage": { + "version": "1.1.3", + "funding": [ + { + "type": "kofi", + "url": "https://ko-fi.com/mrcgrtz" + }, + { + "type": "liberapay", + "url": "https://liberapay.com/mrcgrtz" + } + ], + "license": "MIT", + "engines": { + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-ordered-values": { + "version": "5.1.3", + "license": "MIT", + "dependencies": { + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-overflow-shorthand": { + "version": "3.0.4", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-page-break": { + "version": "3.0.4", + "license": "MIT", + "peerDependencies": { + "postcss": "^8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-place": { + "version": "7.0.5", + "license": "CC0-1.0", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-preset-env": { + "version": "7.8.3", + "license": "CC0-1.0", + "dependencies": { + "@csstools/postcss-cascade-layers": "^1.1.1", + "@csstools/postcss-color-function": "^1.1.1", + "@csstools/postcss-font-format-keywords": "^1.0.1", + "@csstools/postcss-hwb-function": "^1.0.2", + "@csstools/postcss-ic-unit": "^1.0.1", + "@csstools/postcss-is-pseudo-class": "^2.0.7", + "@csstools/postcss-nested-calc": "^1.0.0", + "@csstools/postcss-normalize-display-values": "^1.0.1", + "@csstools/postcss-oklab-function": "^1.1.1", + "@csstools/postcss-progressive-custom-properties": "^1.3.0", + "@csstools/postcss-stepped-value-functions": "^1.0.1", + "@csstools/postcss-text-decoration-shorthand": "^1.0.0", + "@csstools/postcss-trigonometric-functions": "^1.0.2", + "@csstools/postcss-unset-value": "^1.0.2", + "autoprefixer": "^10.4.13", + "browserslist": "^4.21.4", + "css-blank-pseudo": "^3.0.3", + "css-has-pseudo": "^3.0.4", + "css-prefers-color-scheme": "^6.0.3", + "cssdb": "^7.1.0", + "postcss-attribute-case-insensitive": "^5.0.2", + "postcss-clamp": "^4.1.0", + "postcss-color-functional-notation": "^4.2.4", + "postcss-color-hex-alpha": "^8.0.4", + "postcss-color-rebeccapurple": "^7.1.1", + "postcss-custom-media": "^8.0.2", + "postcss-custom-properties": "^12.1.10", + "postcss-custom-selectors": "^6.0.3", + "postcss-dir-pseudo-class": "^6.0.5", + "postcss-double-position-gradients": "^3.1.2", + "postcss-env-function": "^4.0.6", + "postcss-focus-visible": "^6.0.4", + "postcss-focus-within": "^5.0.4", + "postcss-font-variant": "^5.0.0", + "postcss-gap-properties": "^3.0.5", + "postcss-image-set-function": "^4.0.7", + "postcss-initial": "^4.0.1", + "postcss-lab-function": "^4.2.1", + "postcss-logical": "^5.0.4", + "postcss-media-minmax": "^5.0.0", + "postcss-nesting": "^10.2.0", + "postcss-opacity-percentage": "^1.1.2", + "postcss-overflow-shorthand": "^3.0.4", + "postcss-page-break": "^3.0.4", + "postcss-place": "^7.0.5", + "postcss-pseudo-class-any-link": "^7.1.6", + "postcss-replace-overflow-wrap": "^4.0.0", + "postcss-selector-not": "^6.0.1", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-pseudo-class-any-link": { + "version": "7.1.6", + "license": "CC0-1.0", + "dependencies": { + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-reduce-initial": { + "version": "5.1.2", + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.4", + "caniuse-api": "^3.0.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-reduce-transforms": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-replace-overflow-wrap": { + "version": "4.0.0", + "license": "MIT", + "peerDependencies": { + "postcss": "^8.0.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-selector-not": { + "version": "6.0.1", + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-svgo": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0", + "svgo": "^2.7.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-svgo/node_modules/commander": { + "version": "7.2.0", + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-svgo/node_modules/svgo": { + "version": "2.8.0", + "license": "MIT", + "dependencies": { + "@trysound/sax": "0.2.0", + "commander": "^7.2.0", + "css-select": "^4.1.3", + "css-tree": "^1.1.3", + "csso": "^4.2.0", + "picocolors": "^1.0.0", + "stable": "^0.1.8" + }, + "bin": { + "svgo": "bin/svgo" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-unique-selectors": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.0.5" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-unique-selectors/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/postcss-value-parser": { + "version": "4.2.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pretty-bytes": { + "version": "5.6.0", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pretty-error": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "lodash": "^4.17.20", + "renderkid": "^3.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pretty-format": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/pretty-format/node_modules/react-is": { + "version": "17.0.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/process-nextick-args": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/promise": { + "version": "8.3.0", + "license": "MIT", + "dependencies": { + "asap": "~2.0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/prop-types": { + "version": "15.8.1", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/q": { + "version": "1.5.1", + "license": "MIT", + "engines": { + "node": ">=0.6.0", + "teleport": ">=0.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/raf": { + "version": "3.4.1", + "license": "MIT", + "dependencies": { + "performance-now": "^2.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/raw-body": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react": { + "version": "18.2.0", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react-app-polyfill": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "core-js": "^3.19.2", + "object-assign": "^4.1.1", + "promise": "^8.1.0", + "raf": "^3.4.1", + "regenerator-runtime": "^0.13.9", + "whatwg-fetch": "^3.6.2" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react-dev-utils": { + "version": "12.0.1", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.16.0", + "address": "^1.1.2", + "browserslist": "^4.18.1", + "chalk": "^4.1.2", + "cross-spawn": "^7.0.3", + "detect-port-alt": "^1.1.6", + "escape-string-regexp": "^4.0.0", + "filesize": "^8.0.6", + "find-up": "^5.0.0", + "fork-ts-checker-webpack-plugin": "^6.5.0", + "global-modules": "^2.0.0", + "globby": "^11.0.4", + "gzip-size": "^6.0.0", + "immer": "^9.0.7", + "is-root": "^2.1.0", + "loader-utils": "^3.2.0", + "open": "^8.4.0", + "pkg-up": "^3.1.0", + "prompts": "^2.4.2", + "react-error-overlay": "^6.0.11", + "recursive-readdir": "^2.2.2", + "shell-quote": "^1.7.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react-dev-utils/node_modules/loader-utils": { + "version": "3.2.1", + "license": "MIT", + "engines": { + "node": ">= 12.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react-dom": { + "version": "18.2.0", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + }, + "peerDependencies": { + "react": "^18.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react-error-overlay": { + "version": "6.0.11", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react-refresh": { + "version": "0.11.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react-scripts": { + "version": "5.0.1", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.16.0", + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", + "@svgr/webpack": "^5.5.0", + "babel-jest": "^27.4.2", + "babel-loader": "^8.2.3", + "babel-plugin-named-asset-import": "^0.3.8", + "babel-preset-react-app": "^10.0.1", + "bfj": "^7.0.2", + "browserslist": "^4.18.1", + "camelcase": "^6.2.1", + "case-sensitive-paths-webpack-plugin": "^2.4.0", + "css-loader": "^6.5.1", + "css-minimizer-webpack-plugin": "^3.2.0", + "dotenv": "^10.0.0", + "dotenv-expand": "^5.1.0", + "eslint": "^8.3.0", + "eslint-config-react-app": "^7.0.1", + "eslint-webpack-plugin": "^3.1.1", + "file-loader": "^6.2.0", + "fs-extra": "^10.0.0", + "html-webpack-plugin": "^5.5.0", + "identity-obj-proxy": "^3.0.0", + "jest": "^27.4.3", + "jest-resolve": "^27.4.2", + "jest-watch-typeahead": "^1.0.0", + "mini-css-extract-plugin": "^2.4.5", + "postcss": "^8.4.4", + "postcss-flexbugs-fixes": "^5.0.2", + "postcss-loader": "^6.2.1", + "postcss-normalize": "^10.0.1", + "postcss-preset-env": "^7.0.1", + "prompts": "^2.4.2", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-refresh": "^0.11.0", + "resolve": "^1.20.0", + "resolve-url-loader": "^4.0.0", + "sass-loader": "^12.3.0", + "semver": "^7.3.5", + "source-map-loader": "^3.0.0", + "style-loader": "^3.3.1", + "tailwindcss": "^3.0.2", + "terser-webpack-plugin": "^5.2.5", + "webpack": "^5.64.4", + "webpack-dev-server": "^4.6.0", + "webpack-manifest-plugin": "^4.0.2", + "workbox-webpack-plugin": "^6.4.1" + }, + "bin": { + "react-scripts": "bin/react-scripts.js" + }, + "engines": { + "node": ">=14.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + }, + "peerDependencies": { + "react": ">= 16", + "typescript": "^3.2.1 || ^4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react-scripts/node_modules/fs-extra": { + "version": "10.0.1", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/react-transition-group": { + "version": "4.4.5", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/read-cache": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "pify": "^2.3.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/readable-stream": { + "version": "2.3.7", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/readable-stream/node_modules/isarray": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/recursive-readdir": { + "version": "2.2.3", + "license": "MIT", + "dependencies": { + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/reflect.getprototypeof": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "globalthis": "^1.0.3", + "which-builtin-type": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/regenerate": { + "version": "1.4.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/regenerate-unicode-properties": { + "version": "10.1.0", + "license": "MIT", + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/regenerator-runtime": { + "version": "0.13.11", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/regenerator-transform": { + "version": "0.15.2", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.8.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/regex-parser": { + "version": "2.2.11", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/regexpu-core": { + "version": "5.3.2", + "license": "MIT", + "dependencies": { + "@babel/regjsgen": "^0.8.0", + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.1.0", + "regjsparser": "^0.9.1", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/regjsparser": { + "version": "0.9.1", + "license": "BSD-2-Clause", + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "bin": { + "jsesc": "bin/jsesc" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/relateurl": { + "version": "0.2.7", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/renderkid": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "css-select": "^4.1.3", + "dom-converter": "^0.2.0", + "htmlparser2": "^6.1.0", + "lodash": "^4.17.21", + "strip-ansi": "^6.0.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/resolve-url-loader": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "adjust-sourcemap-loader": "^4.0.0", + "convert-source-map": "^1.7.0", + "loader-utils": "^2.0.0", + "postcss": "^7.0.35", + "source-map": "0.6.1" + }, + "engines": { + "node": ">=8.9" + }, + "peerDependencies": { + "rework": "1.0.1", + "rework-visit": "1.0.0" + }, + "peerDependenciesMeta": { + "rework": { + "optional": true + }, + "rework-visit": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/resolve.exports": { + "version": "1.1.1", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/retry": { + "version": "0.13.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/rollup": { + "version": "2.79.1", + "license": "MIT", + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/rollup-plugin-terser": { + "version": "7.0.2", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.10.4", + "jest-worker": "^26.2.1", + "serialize-javascript": "^4.0.0", + "terser": "^5.0.0" + }, + "peerDependencies": { + "rollup": "^2.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/rollup-plugin-terser/node_modules/jest-worker": { + "version": "26.6.2", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/rollup-plugin-terser/node_modules/serialize-javascript": { + "version": "4.0.0", + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/sanitize.css": { + "version": "13.0.0", + "license": "CC0-1.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/sass-loader": { + "version": "12.6.0", + "license": "MIT", + "dependencies": { + "klona": "^2.0.4", + "neo-async": "^2.6.2" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "fibers": ">= 3.1.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0", + "sass": "^1.3.0", + "sass-embedded": "*", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "fibers": { + "optional": true + }, + "node-sass": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/sax": { + "version": "1.2.4", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/saxes": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/scheduler": { + "version": "0.23.0", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/schema-utils": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.8.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/schema-utils/node_modules/@types/json-schema": { + "version": "7.0.11", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/select-hose": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/selfsigned": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "node-forge": "^1" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/serve-index": { + "version": "1.9.1", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/serve-index/node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/serve-index/node_modules/http-errors": { + "version": "1.6.3", + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/serve-index/node_modules/inherits": { + "version": "2.0.3", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/serve-index/node_modules/setprototypeof": { + "version": "1.1.0", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/serve-index/node_modules/statuses": { + "version": "1.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/shell-quote": { + "version": "1.8.1", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/sockjs": { + "version": "0.3.24", + "license": "MIT", + "dependencies": { + "faye-websocket": "^0.11.3", + "uuid": "^8.3.2", + "websocket-driver": "^0.7.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/sockjs/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/source-list-map": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/source-map-loader": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "abab": "^2.0.5", + "iconv-lite": "^0.6.3", + "source-map-js": "^1.0.1" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/source-map-loader/node_modules/iconv-lite": { + "version": "0.6.3", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/sourcemap-codec": { + "version": "1.4.8", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/spdy": { + "version": "4.0.2", + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "handle-thing": "^2.0.0", + "http-deceiver": "^1.2.7", + "select-hose": "^2.0.0", + "spdy-transport": "^3.0.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/spdy-transport": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "detect-node": "^2.0.4", + "hpack.js": "^2.1.6", + "obuf": "^1.1.2", + "readable-stream": "^3.0.6", + "wbuf": "^1.7.3" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/spdy-transport/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/spdy-transport/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/spdy-transport/node_modules/readable-stream": { + "version": "3.6.0", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/spdy-transport/node_modules/string_decoder": { + "version": "1.3.0", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/spdy/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/spdy/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/stable": { + "version": "0.1.8", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/stackframe": { + "version": "1.3.4", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/string_decoder": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/string-natural-compare": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/string.prototype.matchall": { + "version": "4.0.10", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "regexp.prototype.flags": "^1.5.0", + "set-function-name": "^2.0.0", + "side-channel": "^1.0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/strip-comments": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/style-loader": { + "version": "3.3.3", + "license": "MIT", + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/stylehacks": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.4", + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/stylis": { + "version": "4.2.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/sucrase": { + "version": "3.34.0", + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/sucrase/node_modules/commander": { + "version": "4.1.1", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/sucrase/node_modules/glob": { + "version": "7.1.6", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/supports-color": { + "version": "7.2.0", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/supports-hyperlinks": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svg-parser": { + "version": "2.0.4", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo": { + "version": "1.3.2", + "license": "MIT", + "dependencies": { + "chalk": "^2.4.1", + "coa": "^2.0.2", + "css-select": "^2.0.0", + "css-select-base-adapter": "^0.1.1", + "css-tree": "1.0.0-alpha.37", + "csso": "^4.0.2", + "js-yaml": "^3.13.1", + "mkdirp": "~0.5.1", + "object.values": "^1.1.0", + "sax": "~1.2.4", + "stable": "^0.1.8", + "unquote": "~1.1.1", + "util.promisify": "~1.0.0" + }, + "bin": { + "svgo": "bin/svgo" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo/node_modules/css-select": { + "version": "2.1.0", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^3.2.1", + "domutils": "^1.7.0", + "nth-check": "^1.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo/node_modules/css-tree": { + "version": "1.0.0-alpha.37", + "license": "MIT", + "dependencies": { + "mdn-data": "2.0.4", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo/node_modules/domelementtype": { + "version": "1.3.1", + "license": "BSD-2-Clause" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo/node_modules/domutils": { + "version": "1.7.0", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo/node_modules/escape-string-regexp": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/svgo/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/symbol-tree": { + "version": "3.2.4", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tailwindcss": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.2.12", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.18.2", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tailwindcss/node_modules/micromatch": { + "version": "4.0.5", + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tailwindcss/node_modules/postcss-selector-parser": { + "version": "6.0.13", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/temp-dir": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tempy": { + "version": "0.6.0", + "license": "MIT", + "dependencies": { + "is-stream": "^2.0.0", + "temp-dir": "^2.0.0", + "type-fest": "^0.16.0", + "unique-string": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tempy/node_modules/type-fest": { + "version": "0.16.0", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/terminal-link": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "supports-hyperlinks": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/terser": { + "version": "5.22.0", + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/thenify": { + "version": "3.3.1", + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/thenify-all": { + "version": "1.6.0", + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/throat": { + "version": "6.0.2", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/thunky": { + "version": "1.1.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tr46": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tryer": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/ts-interface-checker": { + "version": "0.1.13", + "license": "Apache-2.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tsutils": { + "version": "3.21.0", + "license": "MIT", + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "license": "0BSD" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/unicode-match-property-value-ecmascript": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/unquote": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/upath": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=4", + "yarn": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/update-browserslist-db": { + "version": "1.0.13", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/util.promisify": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.2", + "has-symbols": "^1.0.1", + "object.getownpropertydescriptors": "^2.1.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/utila": { + "version": "0.4.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/v8-to-istanbul": { + "version": "8.1.1", + "license": "ISC", + "dependencies": { + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/v8-to-istanbul/node_modules/source-map": { + "version": "0.7.4", + "license": "BSD-3-Clause", + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/w3c-hr-time": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "browser-process-hrtime": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/w3c-xmlserializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/wbuf": { + "version": "1.7.3", + "license": "MIT", + "dependencies": { + "minimalistic-assert": "^1.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/web-vitals": { + "version": "2.1.4", + "license": "Apache-2.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/webidl-conversions": { + "version": "6.1.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=10.4" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/webpack-dev-middleware": { + "version": "5.3.4", + "license": "MIT", + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^3.4.3", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/webpack-dev-server": { + "version": "4.15.1", + "license": "MIT", + "dependencies": { + "@types/bonjour": "^3.5.9", + "@types/connect-history-api-fallback": "^1.3.5", + "@types/express": "^4.17.13", + "@types/serve-index": "^1.9.1", + "@types/serve-static": "^1.13.10", + "@types/sockjs": "^0.3.33", + "@types/ws": "^8.5.5", + "ansi-html-community": "^0.0.8", + "bonjour-service": "^1.0.11", + "chokidar": "^3.5.3", + "colorette": "^2.0.10", + "compression": "^1.7.4", + "connect-history-api-fallback": "^2.0.0", + "default-gateway": "^6.0.3", + "express": "^4.17.3", + "graceful-fs": "^4.2.6", + "html-entities": "^2.3.2", + "http-proxy-middleware": "^2.0.3", + "ipaddr.js": "^2.0.1", + "launch-editor": "^2.6.0", + "open": "^8.0.9", + "p-retry": "^4.5.0", + "rimraf": "^3.0.2", + "schema-utils": "^4.0.0", + "selfsigned": "^2.1.1", + "serve-index": "^1.9.1", + "sockjs": "^0.3.24", + "spdy": "^4.0.2", + "webpack-dev-middleware": "^5.3.1", + "ws": "^8.13.0" + }, + "bin": { + "webpack-dev-server": "bin/webpack-dev-server.js" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.37.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-cli": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/webpack-dev-server/node_modules/@types/mime": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/webpack-dev-server/node_modules/@types/serve-static": { + "version": "1.15.2", + "license": "MIT", + "dependencies": { + "@types/http-errors": "*", + "@types/mime": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/webpack-dev-server/node_modules/ipaddr.js": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/webpack-dev-server/node_modules/ws": { + "version": "8.14.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/webpack-manifest-plugin": { + "version": "4.1.1", + "license": "MIT", + "dependencies": { + "tapable": "^2.0.0", + "webpack-sources": "^2.2.0" + }, + "engines": { + "node": ">=12.22.0" + }, + "peerDependencies": { + "webpack": "^4.44.2 || ^5.47.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/webpack-manifest-plugin/node_modules/webpack-sources": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "source-list-map": "^2.0.1", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/websocket-driver": { + "version": "0.7.4", + "license": "Apache-2.0", + "dependencies": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/websocket-extensions": { + "version": "0.1.4", + "license": "Apache-2.0", + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/whatwg-encoding": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "iconv-lite": "0.4.24" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/whatwg-fetch": { + "version": "3.6.19", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/whatwg-mimetype": { + "version": "2.3.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/whatwg-url": { + "version": "8.7.0", + "license": "MIT", + "dependencies": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/which-builtin-type": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "function.prototype.name": "^1.1.5", + "has-tostringtag": "^1.0.0", + "is-async-function": "^2.0.0", + "is-date-object": "^1.0.5", + "is-finalizationregistry": "^1.0.2", + "is-generator-function": "^1.0.10", + "is-regex": "^1.1.4", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.9" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-background-sync": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "idb": "^7.0.1", + "workbox-core": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-broadcast-update": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-core": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-build": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "@apideck/better-ajv-errors": "^0.3.1", + "@babel/core": "^7.11.1", + "@babel/preset-env": "^7.11.0", + "@babel/runtime": "^7.11.2", + "@rollup/plugin-babel": "^5.2.0", + "@rollup/plugin-node-resolve": "^11.2.1", + "@rollup/plugin-replace": "^2.4.1", + "@surma/rollup-plugin-off-main-thread": "^2.2.3", + "ajv": "^8.6.0", + "common-tags": "^1.8.0", + "fast-json-stable-stringify": "^2.1.0", + "fs-extra": "^9.0.1", + "glob": "^7.1.6", + "lodash": "^4.17.20", + "pretty-bytes": "^5.3.0", + "rollup": "^2.43.1", + "rollup-plugin-terser": "^7.0.0", + "source-map": "^0.8.0-beta.0", + "stringify-object": "^3.3.0", + "strip-comments": "^2.0.1", + "tempy": "^0.6.0", + "upath": "^1.2.0", + "workbox-background-sync": "6.6.0", + "workbox-broadcast-update": "6.6.0", + "workbox-cacheable-response": "6.6.0", + "workbox-core": "6.6.0", + "workbox-expiration": "6.6.0", + "workbox-google-analytics": "6.6.0", + "workbox-navigation-preload": "6.6.0", + "workbox-precaching": "6.6.0", + "workbox-range-requests": "6.6.0", + "workbox-recipes": "6.6.0", + "workbox-routing": "6.6.0", + "workbox-strategies": "6.6.0", + "workbox-streams": "6.6.0", + "workbox-sw": "6.6.0", + "workbox-window": "6.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-build/node_modules/@apideck/better-ajv-errors": { + "version": "0.3.6", + "license": "MIT", + "dependencies": { + "json-schema": "^0.4.0", + "jsonpointer": "^5.0.0", + "leven": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "ajv": ">=8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-build/node_modules/source-map": { + "version": "0.8.0-beta.0", + "license": "BSD-3-Clause", + "dependencies": { + "whatwg-url": "^7.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-build/node_modules/tr46": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-build/node_modules/webidl-conversions": { + "version": "4.0.2", + "license": "BSD-2-Clause" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-build/node_modules/whatwg-url": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-cacheable-response": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-core": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-core": { + "version": "6.6.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-expiration": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "idb": "^7.0.1", + "workbox-core": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-google-analytics": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-background-sync": "6.6.0", + "workbox-core": "6.6.0", + "workbox-routing": "6.6.0", + "workbox-strategies": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-navigation-preload": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-core": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-precaching": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-core": "6.6.0", + "workbox-routing": "6.6.0", + "workbox-strategies": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-range-requests": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-core": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-recipes": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-cacheable-response": "6.6.0", + "workbox-core": "6.6.0", + "workbox-expiration": "6.6.0", + "workbox-precaching": "6.6.0", + "workbox-routing": "6.6.0", + "workbox-strategies": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-routing": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-core": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-strategies": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-core": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-streams": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "workbox-core": "6.6.0", + "workbox-routing": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-sw": { + "version": "6.6.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-webpack-plugin": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "fast-json-stable-stringify": "^2.1.0", + "pretty-bytes": "^5.4.1", + "upath": "^1.2.0", + "webpack-sources": "^1.4.3", + "workbox-build": "6.6.0" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "webpack": "^4.4.0 || ^5.9.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-webpack-plugin/node_modules/webpack-sources": { + "version": "1.4.3", + "license": "MIT", + "dependencies": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/workbox-window": { + "version": "6.6.0", + "license": "MIT", + "dependencies": { + "@types/trusted-types": "^2.0.2", + "workbox-core": "6.6.0" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/ws": { + "version": "7.5.7", + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/xml-name-validator": { + "version": "3.0.0", + "license": "Apache-2.0" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/xmlchars": { + "version": "2.2.0", + "license": "MIT" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "examples/cactus-example-cbdc-bridging-frontend/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-discounted-asset-trade": { + "name": "@hyperledger/cactus-example-discounted-asset-trade", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-aries": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-ethereum": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@types/node": "18.11.9", + "axios": "1.6.0", + "body-parser": "1.20.2", + "cookie-parser": "1.4.6", + "debug": "3.1.0", + "elliptic": "6.5.4", + "escape-html": "1.0.3", + "ethereumjs-common": "1.5.2", + "ethereumjs-tx": "2.1.2", + "express": "4.19.2", + "fabric-ca-client": "2.2.20", + "fabric-network": "2.2.20", + "http-errors": "1.6.3", + "indy-sdk": "1.16.0-dev-1655", + "jsonwebtoken": "9.0.0", + "jsrsasign": "11.0.0", + "log4js": "6.4.0", + "morgan": "1.9.1", + "run-time-error-cjs": "1.4.0", + "shelljs": "0.8.5", + "socket.io": "4.5.4", + "ts-node": "8.9.1", + "uuid": "9.0.1", + "xmlhttprequest": "1.8.0" + }, + "devDependencies": { + "@types/elliptic": "6.4.14", + "@types/escape-html": "1.0.1", + "@types/express": "4.17.21", + "@types/jsonwebtoken": "9.0.2", + "@types/jsrsasign": "10.5.8", + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-discounted-asset-trade-client": { + "name": "@hyperledger/cactus-example-discounted-asset-trade-client", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/anoncreds-nodejs": "0.2.0", + "@hyperledger/aries-askar-nodejs": "0.2.0", + "@hyperledger/indy-vdr-nodejs": "0.2.0", + "axios": "1.6.0", + "inquirer": "8.2.6", + "loglevel": "1.8.1" + }, + "bin": { + "run-discounted-asset-trade-client": "dist/lib/main/typescript/scripts/run-discounted-asset-trade-client.js", + "setup-credentials": "dist/lib/main/typescript/scripts/setup-credentials.js" + }, + "devDependencies": { + "@aries-framework/anoncreds": "0.5.0-alpha.71", + "@aries-framework/anoncreds-rs": "0.5.0-alpha.71", + "@aries-framework/askar": "0.5.0-alpha.71", + "@aries-framework/core": "0.5.0-alpha.71", + "@aries-framework/indy-sdk": "0.5.0-alpha.71", + "@aries-framework/indy-vdr": "0.5.0-alpha.71", + "@aries-framework/node": "0.5.0-alpha.71", + "@types/inquirer": "8.2.6" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@2060.io/ffi-napi": { + "version": "4.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@2060.io/ref-napi": "^3.0.6", + "debug": "^4.1.1", + "get-uv-event-loop-napi-h": "^1.0.5", + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.1", + "ref-struct-di": "^1.1.0" + }, + "engines": { + "node": ">=18" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@2060.io/ffi-napi/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@2060.io/ffi-napi/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@2060.io/ref-napi": { + "version": "3.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.1", + "get-symbol-from-current-process-h": "^1.0.2", + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.1" + }, + "engines": { + "node": ">= 18.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@2060.io/ref-napi/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@2060.io/ref-napi/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@aries-framework/anoncreds": { + "version": "0.5.0-alpha.71+4c08179b", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/core": "0.5.0-alpha.71+4c08179b", + "bn.js": "^5.2.1", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "reflect-metadata": "^0.1.13" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@aries-framework/anoncreds-rs": { + "version": "0.5.0-alpha.71+4c08179b", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/anoncreds": "0.5.0-alpha.71+4c08179b", + "@aries-framework/core": "0.5.0-alpha.71+4c08179b", + "class-transformer": "^0.5.1", + "class-validator": "0.14.0", + "rxjs": "^7.2.0", + "tsyringe": "^4.8.0" + }, + "peerDependencies": { + "@hyperledger/anoncreds-shared": "^0.2.0-dev.4" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@aries-framework/askar": { + "version": "0.5.0-alpha.71+4c08179b", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/core": "0.5.0-alpha.71+4c08179b", + "bn.js": "^5.2.1", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "rxjs": "^7.2.0", + "tsyringe": "^4.8.0" + }, + "peerDependencies": { + "@hyperledger/aries-askar-shared": "^0.2.0-dev.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@aries-framework/core": { + "version": "0.5.0-alpha.71+4c08179b", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@digitalcredentials/jsonld": "^5.2.1", + "@digitalcredentials/jsonld-signatures": "^9.3.1", + "@digitalcredentials/vc": "^1.1.2", + "@multiformats/base-x": "^4.0.1", + "@stablelib/ed25519": "^1.0.2", + "@stablelib/random": "^1.0.1", + "@stablelib/sha256": "^1.0.1", + "@types/ws": "^8.5.4", + "abort-controller": "^3.0.0", + "big-integer": "^1.6.51", + "borc": "^3.0.0", + "buffer": "^6.0.3", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "did-resolver": "^4.1.0", + "lru_map": "^0.4.1", + "luxon": "^3.3.0", + "make-error": "^1.3.6", + "object-inspect": "^1.10.3", + "query-string": "^7.0.1", + "reflect-metadata": "^0.1.13", + "rxjs": "^7.2.0", + "tsyringe": "^4.8.0", + "uuid": "^9.0.0", + "varint": "^6.0.0", + "web-did-resolver": "^2.0.21" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@aries-framework/indy-sdk": { + "version": "0.5.0-alpha.71+4c08179b", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/anoncreds": "0.5.0-alpha.71+4c08179b", + "@aries-framework/core": "0.5.0-alpha.71+4c08179b", + "@stablelib/ed25519": "^1.0.3", + "@types/indy-sdk": "1.16.27", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "rxjs": "^7.2.0", + "tsyringe": "^4.8.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@aries-framework/indy-vdr": { + "version": "0.5.0-alpha.71+4c08179b", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/anoncreds": "0.5.0-alpha.71+4c08179b", + "@aries-framework/core": "0.5.0-alpha.71+4c08179b" + }, + "peerDependencies": { + "@hyperledger/indy-vdr-shared": "^0.2.0-dev.5" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@aries-framework/node": { + "version": "0.5.0-alpha.71+4c08179b", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "^4.0.8", + "@2060.io/ref-napi": "^3.0.6", + "@aries-framework/core": "0.5.0-alpha.71+4c08179b", + "@types/express": "^4.17.15", + "express": "^4.17.1", + "ws": "^8.13.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@digitalbazaar/security-context": { + "version": "1.0.1", + "dev": true, + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@digitalcredentials/http-client": { + "version": "1.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ky": "^0.25.1", + "ky-universal": "^0.8.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@digitalcredentials/jsonld": { + "version": "5.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@digitalcredentials/http-client": "^1.0.0", + "@digitalcredentials/rdf-canonize": "^1.0.0", + "canonicalize": "^1.0.1", + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@digitalcredentials/jsonld-signatures": { + "version": "9.3.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@digitalbazaar/security-context": "^1.0.0", + "@digitalcredentials/jsonld": "^6.0.0", + "fast-text-encoding": "^1.0.3", + "isomorphic-webcrypto": "^2.3.8", + "serialize-error": "^8.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@digitalcredentials/jsonld-signatures/node_modules/@digitalcredentials/jsonld": { + "version": "6.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@digitalcredentials/http-client": "^1.0.0", + "@digitalcredentials/rdf-canonize": "^1.0.0", + "canonicalize": "^1.0.1", + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@digitalcredentials/rdf-canonize": { + "version": "1.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "fast-text-encoding": "^1.0.3", + "isomorphic-webcrypto": "^2.3.8" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@digitalcredentials/vc": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@digitalcredentials/jsonld": "^5.2.1", + "@digitalcredentials/jsonld-signatures": "^9.3.1", + "credentials-context": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@hyperledger/anoncreds-nodejs": { + "version": "0.2.0", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "4.0.8", + "@2060.io/ref-napi": "3.0.6", + "@hyperledger/anoncreds-shared": "0.2.0", + "@mapbox/node-pre-gyp": "^1.0.11", + "ref-array-di": "1.2.2", + "ref-struct-di": "1.1.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@hyperledger/anoncreds-shared": { + "version": "0.2.0", + "license": "Apache-2.0" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@hyperledger/aries-askar-nodejs": { + "version": "0.2.0", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "4.0.8", + "@2060.io/ref-napi": "3.0.6", + "@hyperledger/aries-askar-shared": "0.2.0", + "@mapbox/node-pre-gyp": "^1.0.10", + "node-cache": "^5.1.2", + "ref-array-di": "^1.2.2", + "ref-struct-di": "^1.1.1" + }, + "engines": { + "node": ">= 18" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@hyperledger/aries-askar-shared": { + "version": "0.2.0", + "license": "Apache-2.0", + "dependencies": { + "buffer": "^6.0.3" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@hyperledger/indy-vdr-nodejs": { + "version": "0.2.0", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "4.0.8", + "@2060.io/ref-napi": "3.0.6", + "@hyperledger/indy-vdr-shared": "0.2.0", + "@mapbox/node-pre-gyp": "^1.0.10", + "ref-array-di": "^1.2.2", + "ref-struct-di": "^1.1.1" + }, + "engines": { + "node": ">= 18" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@hyperledger/indy-vdr-shared": { + "version": "0.2.0", + "license": "Apache-2.0" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@multiformats/base-x": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@peculiar/asn1-schema": { + "version": "2.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "asn1js": "^3.0.5", + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@peculiar/json-schema": { + "version": "1.1.12", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@peculiar/webcrypto": { + "version": "1.4.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/json-schema": "^1.1.12", + "pvtsutils": "^1.3.2", + "tslib": "^2.5.0", + "webcrypto-core": "^1.7.7" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@sovpro/delimited-stream": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@stablelib/binary": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/int": "^1.0.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@stablelib/ed25519": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/random": "^1.0.2", + "@stablelib/sha512": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@stablelib/hash": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@stablelib/int": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@stablelib/random": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@stablelib/sha256": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/hash": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@stablelib/sha512": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/hash": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@stablelib/wipe": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/express": { + "version": "4.17.20", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/indy-sdk": { + "version": "1.16.27", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/inquirer": { + "version": "8.2.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/through": "*", + "rxjs": "^7.2.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/validator": { + "version": "13.11.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@types/ws": { + "version": "8.5.8", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@unimodules/core": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "expo-modules-core": "~0.4.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/@unimodules/react-native-adapter": { + "version": "6.5.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "expo-modules-autolinking": "^0.3.2", + "expo-modules-core": "~0.4.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/array-index": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "debug": "^2.2.0", + "es6-symbol": "^3.0.2" + }, + "engines": { + "node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/asmcrypto.js": { + "version": "0.22.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/asn1js": { + "version": "3.0.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "pvtsutils": "^1.3.2", + "pvutils": "^1.1.3", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/at-least-node": { + "version": "1.0.0", + "dev": true, + "license": "ISC", + "optional": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/b64-lite": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "base-64": "^0.1.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/b64u-lite": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "b64-lite": "^1.4.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/base-64": { + "version": "0.1.0", + "dev": true + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/big-integer": { + "version": "1.6.51", + "dev": true, + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/bignumber.js": { + "version": "9.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/bn.js": { + "version": "5.2.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/body-parser": { + "version": "1.20.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/borc": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.0", + "buffer": "^6.0.3", + "commander": "^2.15.0", + "ieee754": "^1.1.13", + "iso-url": "^1.1.5", + "json-text-sequence": "~0.3.0", + "readable-stream": "^3.6.0" + }, + "bin": { + "cbor2comment": "bin/cbor2comment.js", + "cbor2diag": "bin/cbor2diag.js", + "cbor2json": "bin/cbor2json.js", + "json2cbor": "bin/json2cbor.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/borc/node_modules/commander": { + "version": "2.20.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/canonicalize": { + "version": "1.0.8", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/class-transformer": { + "version": "0.5.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/class-validator": { + "version": "0.14.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/validator": "^13.7.10", + "libphonenumber-js": "^1.10.14", + "validator": "^13.7.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/clone": { + "version": "2.1.2", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/commander": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/compare-versions": { + "version": "3.6.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/content-type": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/cookie": { + "version": "0.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/credentials-context": { + "version": "2.0.0", + "dev": true, + "license": "SEE LICENSE IN LICENSE.md" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/cross-fetch": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/cross-fetch/node_modules/node-fetch": { + "version": "2.6.12", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/data-uri-to-buffer": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/decode-uri-component": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/did-resolver": { + "version": "4.1.0", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/expo-modules-autolinking": { + "version": "0.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "chalk": "^4.1.0", + "commander": "^7.2.0", + "fast-glob": "^3.2.5", + "find-up": "~5.0.0", + "fs-extra": "^9.1.0" + }, + "bin": { + "expo-modules-autolinking": "bin/expo-modules-autolinking.js" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/expo-modules-core": { + "version": "0.4.10", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "compare-versions": "^3.4.0", + "invariant": "^2.2.4" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/expo-random": { + "version": "13.5.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.0" + }, + "peerDependencies": { + "expo": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/express": { + "version": "4.18.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/fast-glob": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/fast-text-encoding": { + "version": "1.0.6", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/fetch-blob": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "^10.17.0 || >=12.3.0" + }, + "peerDependenciesMeta": { + "domexception": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/filter-obj": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/fs-extra": { + "version": "9.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/get-symbol-from-current-process-h": { + "version": "1.0.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/get-uv-event-loop-napi-h": { + "version": "1.0.6", + "license": "MIT", + "dependencies": { + "get-symbol-from-current-process-h": "^1.0.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/invariant": { + "version": "2.2.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/iso-url": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/isomorphic-webcrypto": { + "version": "2.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/webcrypto": "^1.0.22", + "asmcrypto.js": "^0.22.0", + "b64-lite": "^1.3.1", + "b64u-lite": "^1.0.1", + "msrcrypto": "^1.5.6", + "str2buf": "^1.3.0", + "webcrypto-shim": "^0.1.4" + }, + "optionalDependencies": { + "@unimodules/core": "*", + "@unimodules/react-native-adapter": "*", + "expo-random": "*", + "react-native-securerandom": "^0.1.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/json-text-sequence": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@sovpro/delimited-stream": "^1.1.0" + }, + "engines": { + "node": ">=10.18.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ky": { + "version": "0.25.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky?sponsor=1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ky-universal": { + "version": "0.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abort-controller": "^3.0.0", + "node-fetch": "3.0.0-beta.9" + }, + "engines": { + "node": ">=10.17" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky-universal?sponsor=1" + }, + "peerDependencies": { + "ky": ">=0.17.0", + "web-streams-polyfill": ">=2.0.0" + }, + "peerDependenciesMeta": { + "web-streams-polyfill": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/libphonenumber-js": { + "version": "1.10.49", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/loglevel": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/loglevel" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/lru_map": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/luxon": { + "version": "3.4.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/msrcrypto": { + "version": "1.5.8", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/node-addon-api": { + "version": "3.2.1", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/node-cache": { + "version": "5.1.2", + "license": "MIT", + "dependencies": { + "clone": "2.x" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/node-fetch": { + "version": "3.0.0-beta.9", + "dev": true, + "license": "MIT", + "dependencies": { + "data-uri-to-buffer": "^3.0.1", + "fetch-blob": "^2.1.1" + }, + "engines": { + "node": "^10.17 || >=12.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/node-gyp-build": { + "version": "4.6.1", + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/object-inspect": { + "version": "1.13.1", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/pvtsutils": { + "version": "1.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.6.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/pvutils": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/query-string": { + "version": "7.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.2", + "filter-obj": "^1.1.0", + "split-on-first": "^1.0.0", + "strict-uri-encode": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/raw-body": { + "version": "2.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/react-native-securerandom": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "*" + }, + "peerDependencies": { + "react-native": "*" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ref-array-di": { + "version": "1.2.2", + "license": "MIT", + "dependencies": { + "array-index": "^1.0.0", + "debug": "^3.1.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ref-array-di/node_modules/debug": { + "version": "3.2.7", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ref-struct-di": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "debug": "^3.1.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ref-struct-di/node_modules/debug": { + "version": "3.2.7", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/serialize-error": { + "version": "8.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/split-on-first": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/str2buf": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/strict-uri-encode": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/tsyringe": { + "version": "4.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^1.9.3" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/tsyringe/node_modules/tslib": { + "version": "1.14.1", + "dev": true, + "license": "0BSD" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/type-fest": { + "version": "0.20.2", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/validator": { + "version": "13.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/varint": { + "version": "6.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/web-did-resolver": { + "version": "2.0.27", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "cross-fetch": "^4.0.0", + "did-resolver": "^4.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/webcrypto-core": { + "version": "1.7.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/json-schema": "^1.1.12", + "asn1js": "^3.0.1", + "pvtsutils": "^1.3.2", + "tslib": "^2.4.0" + } + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/webcrypto-shim": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade-client/node_modules/ws": { + "version": "8.14.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@gar/promisify": { + "version": "1.1.3", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@npmcli/move-file": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/bn.js": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/elliptic": { + "version": "6.4.14", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/bn.js": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/escape-html": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/jsonwebtoken": { + "version": "9.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/jsrsasign": { + "version": "10.5.8", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/accepts": { + "version": "1.3.7", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/are-we-there-yet": { + "version": "3.0.0", + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/basic-auth": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.1.2" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/basic-auth/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/bindings": { + "version": "1.5.0", + "license": "MIT", + "dependencies": { + "file-uri-to-path": "1.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/body-parser/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/cookie": { + "version": "0.4.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/cookie-parser": { + "version": "1.4.6", + "license": "MIT", + "dependencies": { + "cookie": "0.4.1", + "cookie-signature": "1.0.6" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/date-format": { + "version": "4.0.3", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/debug": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ethereumjs-common": { + "version": "1.5.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ethereumjs-util/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/express/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/express/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/express/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/express/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/fabric-ca-client": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "jsrsasign": "^10.5.25", + "url": "^0.11.0", + "winston": "^2.4.5" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/file-uri-to-path": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/fs-minipass": { + "version": "2.1.0", + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/gauge": { + "version": "4.0.4", + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/http-errors": { + "version": "1.6.3", + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/http-errors/node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/http-errors/node_modules/inherits": { + "version": "2.0.3", + "license": "ISC" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/http-errors/node_modules/setprototypeof": { + "version": "1.1.0", + "license": "ISC" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/http-errors/node_modules/statuses": { + "version": "1.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk": { + "version": "1.16.0-dev-1655", + "license": "Apache-2.0", + "dependencies": { + "bindings": "^1.3.1", + "nan": "^2.11.1", + "node-gyp": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/@npmcli/fs": { + "version": "1.1.1", + "license": "ISC", + "dependencies": { + "@gar/promisify": "^1.0.1", + "semver": "^7.3.5" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/@tootallnate/once": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/cacache": { + "version": "15.3.0", + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^1.0.0", + "@npmcli/move-file": "^1.0.1", + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "glob": "^7.1.4", + "infer-owner": "^1.0.4", + "lru-cache": "^6.0.0", + "minipass": "^3.1.1", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.2", + "mkdirp": "^1.0.3", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.0.2", + "unique-filename": "^1.1.1" + }, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/http-proxy-agent": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/minipass-fetch": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "minipass": "^3.1.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "optionalDependencies": { + "encoding": "^0.1.12" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/nan": { + "version": "2.18.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/node-gyp": { + "version": "8.4.1", + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^9.1.0", + "nopt": "^5.0.0", + "npmlog": "^6.0.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": ">= 10.12.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/node-gyp/node_modules/make-fetch-happen": { + "version": "9.1.0", + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.1.3", + "cacache": "^15.2.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.2", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^6.0.0", + "ssri": "^8.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/node-gyp/node_modules/nopt": { + "version": "5.0.0", + "license": "ISC", + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/socks-proxy-agent": { + "version": "6.1.1", + "license": "MIT", + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.1", + "socks": "^2.6.1" + }, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/ssri": { + "version": "8.0.1", + "license": "ISC", + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/unique-filename": { + "version": "1.1.1", + "license": "ISC", + "dependencies": { + "unique-slug": "^2.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/indy-sdk/node_modules/unique-slug": { + "version": "2.0.2", + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/infer-owner": { + "version": "1.0.4", + "license": "ISC" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/interpret": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/jsonwebtoken": { + "version": "9.0.2", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/log4js": { + "version": "6.4.0", + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.3.3", + "flatted": "^3.2.4", + "rfdc": "^1.3.0", + "streamroller": "^3.0.2" + }, + "engines": { + "node": ">=8.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/log4js/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/log4js/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/morgan": { + "version": "1.9.1", + "license": "MIT", + "dependencies": { + "basic-auth": "~2.0.0", + "debug": "2.6.9", + "depd": "~1.1.2", + "on-finished": "~2.3.0", + "on-headers": "~1.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/morgan/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/morgan/node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/morgan/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/morgan/node_modules/on-finished": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "examples/cactus-example-discounted-asset-trade/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/npmlog": { + "version": "6.0.2", + "license": "ISC", + "dependencies": { + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/on-headers": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/raw-body/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/rechoir": { + "version": "0.6.2", + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/send/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/send/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/shelljs": { + "version": "0.8.5", + "license": "BSD-3-Clause", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/streamroller": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.1.1", + "fs-extra": "^10.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/streamroller/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/streamroller/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ts-node": { + "version": "8.9.1", + "license": "MIT", + "dependencies": { + "arg": "^4.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "source-map-support": "^0.5.17", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "engines": { + "node": ">=6.0.0" + }, + "peerDependencies": { + "typescript": ">=2.7" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ts-node/node_modules/yn": { + "version": "3.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-discounted-asset-trade/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/xmlhttprequest": { + "version": "1.8.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-discounted-asset-trade/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-electricity-trade": { + "name": "@hyperledger/cactus-example-electricity-trade", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-ethereum": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-sawtooth": "2.0.0-alpha.2", + "@types/node": "18.11.9", + "body-parser": "1.20.2", + "cookie-parser": "1.4.6", + "debug": "3.1.0", + "escape-html": "1.0.3", + "ethereumjs-common": "1.5.2", + "ethereumjs-tx": "2.1.2", + "express": "4.19.2", + "fabric-ca-client": "2.2.20", + "fabric-network": "2.2.20", + "http-errors": "1.6.3", + "js-yaml": "3.14.1", + "jsonwebtoken": "9.0.0", + "log4js": "6.4.0", + "morgan": "1.9.1", + "shelljs": "0.8.5", + "socket.io": "4.5.4", + "ts-node": "8.9.1", + "uuid": "9.0.1", + "web3": "1.8.1", + "xmlhttprequest": "1.8.0" + }, + "devDependencies": { + "@types/escape-html": "1.0.1", + "@types/express": "4.17.21", + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@ethereumjs/common": { + "version": "2.5.0", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.1" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@ethereumjs/tx": { + "version": "3.3.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "ethereumjs-util": "^7.1.2" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-electricity-trade/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-electricity-trade/node_modules/@sindresorhus/is": { + "version": "4.6.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@types/cacheable-request": { + "version": "6.0.3", + "license": "MIT", + "dependencies": { + "@types/http-cache-semantics": "*", + "@types/keyv": "^3.1.4", + "@types/node": "*", + "@types/responselike": "^1.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/@types/escape-html": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@types/http-cache-semantics": { + "version": "4.0.3", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/abortcontroller-polyfill": { + "version": "1.7.5", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "examples/cactus-example-electricity-trade/node_modules/argparse": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "examples/cactus-example-electricity-trade/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "examples/cactus-example-electricity-trade/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "examples/cactus-example-electricity-trade/node_modules/basic-auth": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.1.2" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/basic-auth/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "examples/cactus-example-electricity-trade/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "examples/cactus-example-electricity-trade/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-electricity-trade/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/body-parser/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "examples/cactus-example-electricity-trade/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "examples/cactus-example-electricity-trade/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "examples/cactus-example-electricity-trade/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-electricity-trade/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/cacheable-lookup": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10.6.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/cacheable-request": { + "version": "7.0.4", + "license": "MIT", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "examples/cactus-example-electricity-trade/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "examples/cactus-example-electricity-trade/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "examples/cactus-example-electricity-trade/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/cookie": { + "version": "0.4.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/cookie-parser": { + "version": "1.4.6", + "license": "MIT", + "dependencies": { + "cookie": "0.4.1", + "cookie-signature": "1.0.6" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "examples/cactus-example-electricity-trade/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/date-format": { + "version": "4.0.3", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/debug": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-electricity-trade/node_modules/dom-walk": { + "version": "0.1.2" + }, + "examples/cactus-example-electricity-trade/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-electricity-trade/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "examples/cactus-example-electricity-trade/node_modules/es6-promise": { + "version": "4.2.8", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "examples/cactus-example-electricity-trade/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "examples/cactus-example-electricity-trade/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "examples/cactus-example-electricity-trade/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ethereumjs-common": { + "version": "1.5.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ethereumjs-tx/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ethereumjs-tx/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-electricity-trade/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/express/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/express/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/express/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/express/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "examples/cactus-example-electricity-trade/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "examples/cactus-example-electricity-trade/node_modules/fabric-ca-client": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "jsrsasign": "^10.5.25", + "url": "^0.11.0", + "winston": "^2.4.5" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/fabric-common/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-electricity-trade/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/form-data-encoder": { + "version": "1.7.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/get-stream": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-electricity-trade/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/got": { + "version": "12.1.0", + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^4.6.0", + "@szmarczak/http-timer": "^5.0.1", + "@types/cacheable-request": "^6.0.2", + "@types/responselike": "^1.0.0", + "cacheable-lookup": "^6.0.4", + "cacheable-request": "^7.0.2", + "decompress-response": "^6.0.0", + "form-data-encoder": "1.7.1", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "examples/cactus-example-electricity-trade/node_modules/got/node_modules/decompress-response": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-electricity-trade/node_modules/got/node_modules/get-stream": { + "version": "6.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-electricity-trade/node_modules/got/node_modules/lowercase-keys": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-electricity-trade/node_modules/got/node_modules/mimic-response": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-electricity-trade/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/http-errors": { + "version": "1.6.3", + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/http-errors/node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/http-errors/node_modules/inherits": { + "version": "2.0.3", + "license": "ISC" + }, + "examples/cactus-example-electricity-trade/node_modules/http-errors/node_modules/setprototypeof": { + "version": "1.1.0", + "license": "ISC" + }, + "examples/cactus-example-electricity-trade/node_modules/http-errors/node_modules/statuses": { + "version": "1.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "examples/cactus-example-electricity-trade/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "examples/cactus-example-electricity-trade/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/interpret": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-electricity-trade/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-electricity-trade/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/js-yaml": { + "version": "3.14.1", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "examples/cactus-example-electricity-trade/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "examples/cactus-example-electricity-trade/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/jsonwebtoken": { + "version": "9.0.2", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "examples/cactus-example-electricity-trade/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/keyv": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "examples/cactus-example-electricity-trade/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/log4js": { + "version": "6.4.0", + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.3.3", + "flatted": "^3.2.4", + "rfdc": "^1.3.0", + "streamroller": "^3.0.2" + }, + "engines": { + "node": ">=8.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/log4js/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-electricity-trade/node_modules/log4js/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "examples/cactus-example-electricity-trade/node_modules/lowercase-keys": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/morgan": { + "version": "1.9.1", + "license": "MIT", + "dependencies": { + "basic-auth": "~2.0.0", + "debug": "2.6.9", + "depd": "~1.1.2", + "on-finished": "~2.3.0", + "on-headers": "~1.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/morgan/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/morgan/node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/morgan/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/morgan/node_modules/on-finished": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "examples/cactus-example-electricity-trade/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-electricity-trade/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-electricity-trade/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/normalize-url": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-electricity-trade/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-electricity-trade/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/on-headers": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "examples/cactus-example-electricity-trade/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-electricity-trade/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/rechoir": { + "version": "0.6.2", + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "examples/cactus-example-electricity-trade/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "examples/cactus-example-electricity-trade/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/responselike": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "lowercase-keys": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-electricity-trade/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "examples/cactus-example-electricity-trade/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/send/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/send/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-electricity-trade/node_modules/shelljs": { + "version": "0.8.5", + "license": "BSD-3-Clause", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-electricity-trade/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-electricity-trade/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/streamroller": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.1.1", + "fs-extra": "^10.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/streamroller/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-electricity-trade/node_modules/streamroller/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "examples/cactus-example-electricity-trade/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ts-node": { + "version": "8.9.1", + "license": "MIT", + "dependencies": { + "arg": "^4.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "source-map-support": "^0.5.17", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "engines": { + "node": ">=6.0.0" + }, + "peerDependencies": { + "typescript": ">=2.7" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ts-node/node_modules/yn": { + "version": "3.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "examples/cactus-example-electricity-trade/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "examples/cactus-example-electricity-trade/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-electricity-trade/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-electricity-trade/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-electricity-trade/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-electricity-trade/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/web3": { + "version": "1.8.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.8.1", + "web3-core": "1.8.1", + "web3-eth": "1.8.1", + "web3-eth-personal": "1.8.1", + "web3-net": "1.8.1", + "web3-shh": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-bzz": { + "version": "1.8.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "12.1.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/web3-core": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-core-requestmanager": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-core-helpers": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-core-method": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.6.2", + "web3-core-helpers": "1.8.1", + "web3-core-promievent": "1.8.1", + "web3-core-subscriptions": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-core-promievent": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-core-requestmanager": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.8.1", + "web3-providers-http": "1.8.1", + "web3-providers-ipc": "1.8.1", + "web3-providers-ws": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-core-subscriptions": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-core-subscriptions": "1.8.1", + "web3-eth-abi": "1.8.1", + "web3-eth-accounts": "1.8.1", + "web3-eth-contract": "1.8.1", + "web3-eth-ens": "1.8.1", + "web3-eth-iban": "1.8.1", + "web3-eth-personal": "1.8.1", + "web3-net": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth-abi": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "^5.6.3", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth-accounts": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "2.5.0", + "@ethereumjs/tx": "3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "^9.0.0", + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth-contract": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-core-promievent": "1.8.1", + "web3-core-subscriptions": "1.8.1", + "web3-eth-abi": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth-ens": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-promievent": "1.8.1", + "web3-eth-abi": "1.8.1", + "web3-eth-contract": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth-iban": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth-iban/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth-personal": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-net": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/web3-net": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.8.1", + "web3-core-method": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-providers-http": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "abortcontroller-polyfill": "^1.7.3", + "cross-fetch": "^3.1.4", + "es6-promise": "^4.2.8", + "web3-core-helpers": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-providers-ipc": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-providers-ws": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.8.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-shh": { + "version": "1.8.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.8.1", + "web3-core-method": "1.8.1", + "web3-core-subscriptions": "1.8.1", + "web3-net": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-utils": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/web3-utils/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/websocket/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/websocket/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-electricity-trade/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-electricity-trade/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "examples/cactus-example-electricity-trade/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/xmlhttprequest": { + "version": "1.8.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-electricity-trade/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-electricity-trade/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "examples/cactus-example-electricity-trade/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-backend": { + "name": "@hyperledger/cactus-example-supply-chain-backend", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-example-supply-chain-business-logic-plugin": "2.0.0-alpha.2", + "@hyperledger/cactus-example-supply-chain-frontend": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-consortium-manual": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-quorum": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "async-exit-hook": "2.0.1", + "axios": "1.6.0", + "dotenv": "16.0.0", + "express": "4.19.2", + "express-jwt": "8.4.1", + "fabric-network": "2.2.20", + "jose": "4.15.5", + "openapi-types": "12.1.3", + "solc": "0.8.6", + "typescript-optional": "2.0.1", + "uuid": "9.0.1", + "web3-core": "1.6.1" + }, + "devDependencies": { + "@types/express": "4.17.21", + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/jsonwebtoken": { + "version": "9.0.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/async-exit-hook": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "examples/cactus-example-supply-chain-backend/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/command-exists": { + "version": "1.2.9", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/commander": { + "version": "3.0.2", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/dotenv": { + "version": "16.0.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/express-jwt": { + "version": "8.4.1", + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^9", + "express-unless": "^2.1.3", + "jsonwebtoken": "^9.0.0" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/express-unless": { + "version": "2.1.3", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "examples/cactus-example-supply-chain-backend/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/fabric-common/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/fs-extra": { + "version": "0.30.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/fs-extra/node_modules/rimraf": { + "version": "2.7.1", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "examples/cactus-example-supply-chain-backend/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/jose": { + "version": "4.15.5", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/jsonfile": { + "version": "2.4.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/jsonwebtoken": { + "version": "9.0.2", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/klaw": { + "version": "1.3.1", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.9" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "examples/cactus-example-supply-chain-backend/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "examples/cactus-example-supply-chain-backend/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-supply-chain-backend/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/solc": { + "version": "0.8.6", + "license": "MIT", + "dependencies": { + "command-exists": "^1.2.8", + "commander": "3.0.2", + "follow-redirects": "^1.12.1", + "fs-extra": "^0.30.0", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "require-from-string": "^2.0.0", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "bin": { + "solcjs": "solcjs" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-supply-chain-backend/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-backend/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "examples/cactus-example-supply-chain-backend/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin": { + "name": "@hyperledger/cactus-example-supply-chain-business-logic-plugin", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-consortium-manual": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-quorum": "2.0.0-alpha.2", + "async-exit-hook": "2.0.1", + "axios": "1.6.0", + "express": "4.19.2", + "openapi-types": "12.1.3", + "run-time-error-cjs": "1.4.0", + "typescript-optional": "2.0.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@types/express": "4.17.21", + "@types/ssh2": "0.5.47", + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/ssh2": { + "version": "0.5.47", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/ssh2-streams": "*" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/@types/ssh2-streams": { + "version": "0.1.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/async-exit-hook": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-supply-chain-business-logic-plugin/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend": { + "name": "@hyperledger/cactus-example-supply-chain-frontend", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@angular/common": "16.2.4", + "@angular/core": "16.2.4", + "@angular/forms": "16.2.4", + "@angular/platform-browser": "16.2.4", + "@angular/platform-browser-dynamic": "16.2.4", + "@angular/router": "16.2.4", + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-example-supply-chain-business-logic-plugin": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-consortium-manual": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-quorum": "2.0.0-alpha.2", + "@ionic-native/core": "5.36.0", + "@ionic-native/splash-screen": "5.36.0", + "@ionic-native/status-bar": "5.36.0", + "@ionic/angular": "7.3.3", + "net-browserify": "0.2.4", + "run-time-error": "1.4.0", + "rxjs": "7.8.1", + "tls-browserify": "0.2.2", + "tslib": "2.6.2", + "uuid": "9.0.1", + "zone.js": "0.13.1" + }, + "devDependencies": { + "@angular-builders/custom-webpack": "16.0.1", + "@angular-devkit/build-angular": "16.2.1", + "@angular/cli": "16.2.1", + "@angular/compiler": "16.2.4", + "@angular/compiler-cli": "16.2.4", + "@angular/language-service": "16.2.4", + "@ionic/angular-toolkit": "10.0.0", + "@types/uuid": "9.0.8", + "browserify-fs": "1.0.0", + "https-browserify": "1.0.0", + "net-browserify": "0.2.4", + "os-browserify": "0.3.0", + "path-browserify": "1.0.1", + "tls-browserify": "0.2.2" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ampproject/remapping": { + "version": "2.2.1", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ampproject/remapping/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-builders/custom-webpack": { + "version": "16.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": ">=0.1600.0 < 0.1700.0", + "@angular-devkit/build-angular": "^16.0.0", + "@angular-devkit/core": "^16.0.0", + "lodash": "^4.17.15", + "ts-node": "^10.0.0", + "tsconfig-paths": "^4.1.0", + "webpack-merge": "^5.7.3" + }, + "engines": { + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/compiler-cli": "^16.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/architect": { + "version": "0.1602.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "16.2.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/build-angular": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "2.2.1", + "@angular-devkit/architect": "0.1602.1", + "@angular-devkit/build-webpack": "0.1602.1", + "@angular-devkit/core": "16.2.1", + "@babel/core": "7.22.9", + "@babel/generator": "7.22.9", + "@babel/helper-annotate-as-pure": "7.22.5", + "@babel/helper-split-export-declaration": "7.22.6", + "@babel/plugin-proposal-async-generator-functions": "7.20.7", + "@babel/plugin-transform-async-to-generator": "7.22.5", + "@babel/plugin-transform-runtime": "7.22.9", + "@babel/preset-env": "7.22.9", + "@babel/runtime": "7.22.6", + "@babel/template": "7.22.5", + "@discoveryjs/json-ext": "0.5.7", + "@ngtools/webpack": "16.2.1", + "@vitejs/plugin-basic-ssl": "1.0.1", + "ansi-colors": "4.1.3", + "autoprefixer": "10.4.14", + "babel-loader": "9.1.3", + "babel-plugin-istanbul": "6.1.1", + "browserslist": "^4.21.5", + "chokidar": "3.5.3", + "copy-webpack-plugin": "11.0.0", + "critters": "0.0.20", + "css-loader": "6.8.1", + "esbuild-wasm": "0.18.17", + "fast-glob": "3.3.1", + "guess-parser": "0.4.22", + "https-proxy-agent": "5.0.1", + "inquirer": "8.2.4", + "jsonc-parser": "3.2.0", + "karma-source-map-support": "1.4.0", + "less": "4.1.3", + "less-loader": "11.1.0", + "license-webpack-plugin": "4.0.2", + "loader-utils": "3.2.1", + "magic-string": "0.30.1", + "mini-css-extract-plugin": "2.7.6", + "mrmime": "1.0.1", + "open": "8.4.2", + "ora": "5.4.1", + "parse5-html-rewriting-stream": "7.0.0", + "picomatch": "2.3.1", + "piscina": "4.0.0", + "postcss": "8.4.27", + "postcss-loader": "7.3.3", + "resolve-url-loader": "5.0.0", + "rxjs": "7.8.1", + "sass": "1.64.1", + "sass-loader": "13.3.2", + "semver": "7.5.4", + "source-map-loader": "4.0.1", + "source-map-support": "0.5.21", + "terser": "5.19.2", + "text-table": "0.2.0", + "tree-kill": "1.2.2", + "tslib": "2.6.1", + "vite": "4.4.7", + "webpack": "5.88.2", + "webpack-dev-middleware": "6.1.1", + "webpack-dev-server": "4.15.1", + "webpack-merge": "5.9.0", + "webpack-subresource-integrity": "5.1.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "optionalDependencies": { + "esbuild": "0.18.17" + }, + "peerDependencies": { + "@angular/compiler-cli": "^16.0.0", + "@angular/localize": "^16.0.0", + "@angular/platform-server": "^16.0.0", + "@angular/service-worker": "^16.0.0", + "jest": "^29.5.0", + "jest-environment-jsdom": "^29.5.0", + "karma": "^6.3.0", + "ng-packagr": "^16.0.0", + "protractor": "^7.0.0", + "tailwindcss": "^2.0.0 || ^3.0.0", + "typescript": ">=4.9.3 <5.2" + }, + "peerDependenciesMeta": { + "@angular/localize": { + "optional": true + }, + "@angular/platform-server": { + "optional": true + }, + "@angular/service-worker": { + "optional": true + }, + "jest": { + "optional": true + }, + "jest-environment-jsdom": { + "optional": true + }, + "karma": { + "optional": true + }, + "ng-packagr": { + "optional": true + }, + "protractor": { + "optional": true + }, + "tailwindcss": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/build-angular/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/build-angular/node_modules/fast-glob": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/build-angular/node_modules/https-proxy-agent": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/build-angular/node_modules/loader-utils": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12.13.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/build-angular/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/build-angular/node_modules/tslib": { + "version": "2.6.1", + "dev": true, + "license": "0BSD" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/build-angular/node_modules/webpack-merge": { + "version": "5.9.0", + "dev": true, + "license": "MIT", + "dependencies": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/build-webpack": { + "version": "0.1602.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": "0.1602.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "webpack": "^5.30.0", + "webpack-dev-server": "^4.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/core": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "8.12.0", + "ajv-formats": "2.1.1", + "jsonc-parser": "3.2.0", + "picomatch": "2.3.1", + "rxjs": "7.8.1", + "source-map": "0.7.4" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "chokidar": "^3.5.2" + }, + "peerDependenciesMeta": { + "chokidar": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/core/node_modules/source-map": { + "version": "0.7.4", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular-devkit/schematics": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "16.2.1", + "jsonc-parser": "3.2.0", + "magic-string": "0.30.1", + "ora": "5.4.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/cli": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": "0.1602.1", + "@angular-devkit/core": "16.2.1", + "@angular-devkit/schematics": "16.2.1", + "@schematics/angular": "16.2.1", + "@yarnpkg/lockfile": "1.1.0", + "ansi-colors": "4.1.3", + "ini": "4.1.1", + "inquirer": "8.2.4", + "jsonc-parser": "3.2.0", + "npm-package-arg": "10.1.0", + "npm-pick-manifest": "8.0.1", + "open": "8.4.2", + "ora": "5.4.1", + "pacote": "15.2.0", + "resolve": "1.22.2", + "semver": "7.5.4", + "symbol-observable": "4.0.0", + "yargs": "17.7.2" + }, + "bin": { + "ng": "bin/ng.js" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/common": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/core": "16.2.4", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/core": "16.2.4" + }, + "peerDependenciesMeta": { + "@angular/core": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler-cli": { + "version": "16.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "7.22.5", + "@jridgewell/sourcemap-codec": "^1.4.14", + "chokidar": "^3.0.0", + "convert-source-map": "^1.5.1", + "reflect-metadata": "^0.1.2", + "semver": "^7.0.0", + "tslib": "^2.3.0", + "yargs": "^17.2.1" + }, + "bin": { + "ng-xi18n": "bundles/src/bin/ng_xi18n.js", + "ngc": "bundles/src/bin/ngc.js", + "ngcc": "bundles/ngcc/index.js" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/compiler": "16.2.4", + "typescript": ">=4.9.3 <5.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/core": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helpers": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/helpers": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/helpers/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/helpers/node_modules/@babel/template": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler-cli/node_modules/@babel/helpers/node_modules/@babel/types": { + "version": "7.22.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler-cli/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler-cli/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/compiler-cli/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/core": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "rxjs": "^6.5.3 || ^7.4.0", + "zone.js": "~0.13.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/forms": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/common": "16.2.4", + "@angular/core": "16.2.4", + "@angular/platform-browser": "16.2.4", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/language-service": { + "version": "16.2.4", + "dev": true, + "license": "MIT", + "engines": { + "node": "^16.14.0 || >=18.10.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/platform-browser": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/animations": "16.2.4", + "@angular/common": "16.2.4", + "@angular/core": "16.2.4" + }, + "peerDependenciesMeta": { + "@angular/animations": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/platform-browser-dynamic": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/common": "16.2.4", + "@angular/compiler": "16.2.4", + "@angular/core": "16.2.4", + "@angular/platform-browser": "16.2.4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@angular/router": { + "version": "16.2.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/common": "16.2.4", + "@angular/core": "16.2.4", + "@angular/platform-browser": "16.2.4", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@assemblyscript/loader": { + "version": "0.10.1", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/compat-data": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/core": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.9", + "@babel/helper-module-transforms": "^7.22.9", + "@babel/helpers": "^7.22.6", + "@babel/parser": "^7.22.7", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.8", + "@babel/types": "^7.22.5", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.2", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/core/node_modules/@babel/helper-module-transforms": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/core/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/core/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/generator": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.5", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-compilation-targets/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "regexpu-core": "^5.3.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-plugin-utils": "^7.22.5", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.5", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-define-polyfill-provider/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-module-imports": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-module-transforms": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-optimise-call-expression": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-plugin-utils": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-wrap-function": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-replace-supers": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-validator-option": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helper-wrap-function": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-function-name": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/helpers": { + "version": "7.22.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.6", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-proposal-async-generator-functions": { + "version": "7.20.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-remap-async-to-generator": "^7.18.9", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.21.0-placeholder-for-preset-env.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-proposal-unicode-property-regex": { + "version": "7.16.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-syntax-unicode-sets-regex": { + "version": "7.18.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-async-generator-functions": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.9", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.22.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-wrap-function": "^7.22.17" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/helper-wrap-function": { + "version": "7.22.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-function-name": "^7.22.5", + "@babel/template": "^7.22.15", + "@babel/types": "^7.22.17" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/template": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/types": { + "version": "7.22.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/types/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-class-properties": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-class-static-block": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-classes": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-split-export-declaration": "^7.22.6", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-validator-option": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-classes/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-classes/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/template": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-destructuring": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-dynamic-import": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-export-namespace-from": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-for-of": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-function-name": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-json-strings": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-json-strings": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-literals": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-logical-assignment-operators": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-module-transforms": "^7.22.9", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-modules-systemjs/node_modules/@babel/helper-module-transforms": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-new-target": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-nullish-coalescing-operator": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-numeric-separator": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-object-rest-spread": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/@babel/helper-compilation-targets": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/@babel/helper-validator-option": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-object-rest-spread/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-object-super": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-optional-catch-binding": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-parameters": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-private-methods": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-private-property-in-object": { + "version": "7.22.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-property-literals": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-regenerator": { + "version": "7.22.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "regenerator-transform": "^0.15.2" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-runtime": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "babel-plugin-polyfill-corejs2": "^0.4.4", + "babel-plugin-polyfill-corejs3": "^0.8.2", + "babel-plugin-polyfill-regenerator": "^0.5.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-spread": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-template-literals": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.22.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-unicode-property-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/plugin-transform-unicode-sets-regex": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/preset-env": { + "version": "7.22.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.9", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-option": "^7.22.5", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.5", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.5", + "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-import-assertions": "^7.22.5", + "@babel/plugin-syntax-import-attributes": "^7.22.5", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.22.5", + "@babel/plugin-transform-async-generator-functions": "^7.22.7", + "@babel/plugin-transform-async-to-generator": "^7.22.5", + "@babel/plugin-transform-block-scoped-functions": "^7.22.5", + "@babel/plugin-transform-block-scoping": "^7.22.5", + "@babel/plugin-transform-class-properties": "^7.22.5", + "@babel/plugin-transform-class-static-block": "^7.22.5", + "@babel/plugin-transform-classes": "^7.22.6", + "@babel/plugin-transform-computed-properties": "^7.22.5", + "@babel/plugin-transform-destructuring": "^7.22.5", + "@babel/plugin-transform-dotall-regex": "^7.22.5", + "@babel/plugin-transform-duplicate-keys": "^7.22.5", + "@babel/plugin-transform-dynamic-import": "^7.22.5", + "@babel/plugin-transform-exponentiation-operator": "^7.22.5", + "@babel/plugin-transform-export-namespace-from": "^7.22.5", + "@babel/plugin-transform-for-of": "^7.22.5", + "@babel/plugin-transform-function-name": "^7.22.5", + "@babel/plugin-transform-json-strings": "^7.22.5", + "@babel/plugin-transform-literals": "^7.22.5", + "@babel/plugin-transform-logical-assignment-operators": "^7.22.5", + "@babel/plugin-transform-member-expression-literals": "^7.22.5", + "@babel/plugin-transform-modules-amd": "^7.22.5", + "@babel/plugin-transform-modules-commonjs": "^7.22.5", + "@babel/plugin-transform-modules-systemjs": "^7.22.5", + "@babel/plugin-transform-modules-umd": "^7.22.5", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", + "@babel/plugin-transform-new-target": "^7.22.5", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.5", + "@babel/plugin-transform-numeric-separator": "^7.22.5", + "@babel/plugin-transform-object-rest-spread": "^7.22.5", + "@babel/plugin-transform-object-super": "^7.22.5", + "@babel/plugin-transform-optional-catch-binding": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.6", + "@babel/plugin-transform-parameters": "^7.22.5", + "@babel/plugin-transform-private-methods": "^7.22.5", + "@babel/plugin-transform-private-property-in-object": "^7.22.5", + "@babel/plugin-transform-property-literals": "^7.22.5", + "@babel/plugin-transform-regenerator": "^7.22.5", + "@babel/plugin-transform-reserved-words": "^7.22.5", + "@babel/plugin-transform-shorthand-properties": "^7.22.5", + "@babel/plugin-transform-spread": "^7.22.5", + "@babel/plugin-transform-sticky-regex": "^7.22.5", + "@babel/plugin-transform-template-literals": "^7.22.5", + "@babel/plugin-transform-typeof-symbol": "^7.22.5", + "@babel/plugin-transform-unicode-escapes": "^7.22.5", + "@babel/plugin-transform-unicode-property-regex": "^7.22.5", + "@babel/plugin-transform-unicode-regex": "^7.22.5", + "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.22.5", + "babel-plugin-polyfill-corejs2": "^0.4.4", + "babel-plugin-polyfill-corejs3": "^0.8.2", + "babel-plugin-polyfill-regenerator": "^0.5.1", + "core-js-compat": "^3.31.0", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/preset-modules": { + "version": "0.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/regjsgen": { + "version": "0.8.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/runtime": { + "version": "7.22.6", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.13.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@babel/template": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@esbuild/linux-x64": { + "version": "0.18.17", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ionic-native/core": { + "version": "5.36.0", + "license": "MIT", + "dependencies": { + "@types/cordova": "latest" + }, + "peerDependencies": { + "rxjs": "^5.5.0 || ^6.5.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ionic-native/splash-screen": { + "version": "5.36.0", + "license": "MIT", + "dependencies": { + "@types/cordova": "latest" + }, + "peerDependencies": { + "@ionic-native/core": "^5.1.0", + "rxjs": "^5.5.0 || ^6.5.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ionic-native/status-bar": { + "version": "5.36.0", + "license": "MIT", + "dependencies": { + "@types/cordova": "latest" + }, + "peerDependencies": { + "@ionic-native/core": "^5.1.0", + "rxjs": "^5.5.0 || ^6.5.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ionic/angular": { + "version": "7.3.3", + "license": "MIT", + "dependencies": { + "@ionic/core": "7.3.3", + "ionicons": "^7.0.0", + "jsonc-parser": "^3.0.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/core": ">=14.0.0", + "@angular/forms": ">=14.0.0", + "@angular/router": ">=14.0.0", + "rxjs": ">=7.5.0", + "zone.js": ">=0.11.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ionic/angular-toolkit": { + "version": "10.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "^16.0.0", + "@angular-devkit/schematics": "^16.0.0", + "@schematics/angular": "^16.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ionic/angular/node_modules/ionicons": { + "version": "7.1.2", + "license": "MIT", + "dependencies": { + "@stencil/core": "^2.18.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ionic/core": { + "version": "7.3.3", + "license": "MIT", + "dependencies": { + "@stencil/core": "^4.1.0", + "ionicons": "7.1.0", + "tslib": "^2.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ionic/core/node_modules/@stencil/core": { + "version": "4.2.0", + "license": "MIT", + "bin": { + "stencil": "bin/stencil" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.10.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@leichtgewicht/ip-codec": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@ngtools/webpack": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "@angular/compiler-cli": "^16.0.0", + "typescript": ">=4.9.3 <5.2", + "webpack": "^5.54.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@npmcli/git": { + "version": "4.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/promise-spawn": "^6.0.0", + "lru-cache": "^7.4.4", + "npm-pick-manifest": "^8.0.0", + "proc-log": "^3.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@npmcli/promise-spawn": { + "version": "6.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@npmcli/run-script": { + "version": "6.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/promise-spawn": "^6.0.0", + "node-gyp": "^9.0.0", + "read-package-json-fast": "^3.0.0", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@schematics/angular": { + "version": "16.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "16.2.1", + "@angular-devkit/schematics": "16.2.1", + "jsonc-parser": "3.2.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@sigstore/bundle": { + "version": "1.1.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@sigstore/sign": { + "version": "1.0.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "make-fetch-happen": "^11.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@sigstore/tuf": { + "version": "1.0.3", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.0", + "tuf-js": "^1.1.7" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@stencil/core": { + "version": "2.22.3", + "license": "MIT", + "bin": { + "stencil": "bin/stencil" + }, + "engines": { + "node": ">=12.10.0", + "npm": ">=6.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@tufjs/canonical-json": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@tufjs/models": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/canonical-json": "1.0.0", + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/bonjour": { + "version": "3.5.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/connect-history-api-fallback": { + "version": "1.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express-serve-static-core": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/cordova": { + "version": "0.0.34", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/express": { + "version": "4.17.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/express-serve-static-core": { + "version": "4.17.28", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/http-errors": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/http-proxy": { + "version": "1.17.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/retry": { + "version": "0.12.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/serve-index": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/sockjs": { + "version": "0.3.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@types/ws": { + "version": "8.5.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@vitejs/plugin-basic-ssl": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.6.0" + }, + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@wessberg/ts-evaluator": { + "version": "0.0.27", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "jsdom": "^16.4.0", + "object-path": "^0.11.5", + "tslib": "^2.0.3" + }, + "engines": { + "node": ">=10.1.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/wessberg/ts-evaluator?sponsor=1" + }, + "peerDependencies": { + "typescript": ">=3.2.x || >= 4.x" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "dev": true, + "license": "BSD-2-Clause" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/abstract-leveldown": { + "version": "0.12.4", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~3.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/acorn-globals": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/acorn-globals/node_modules/acorn": { + "version": "7.4.1", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/acorn-walk": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/adjust-sourcemap-loader": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "loader-utils": "^2.0.0", + "regex-parser": "^2.2.11" + }, + "engines": { + "node": ">=8.9" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ajv-formats": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ajv-keywords": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ansi-colors": { + "version": "4.1.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ansi-html-community": { + "version": "0.0.8", + "dev": true, + "engines": [ + "node >= 0.8.0" + ], + "license": "Apache-2.0", + "bin": { + "ansi-html": "bin/ansi-html" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/autoprefixer": { + "version": "10.4.14", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/babel-loader": { + "version": "9.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "find-cache-dir": "^4.0.0", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0", + "webpack": ">=5" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.4.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.22.6", + "@babel/helper-define-polyfill-provider": "^0.4.2", + "semver": "^6.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.4.2", + "core-js-compat": "^3.31.0" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.4.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/batch": { + "version": "0.6.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/big.js": { + "version": "5.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/bonjour-service": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "array-flatten": "^2.1.2", + "dns-equal": "^1.0.0", + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.5" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/bonjour-service/node_modules/array-flatten": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/boolbase": { + "version": "1.0.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/browser-process-hrtime": { + "version": "1.0.0", + "dev": true, + "license": "BSD-2-Clause" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/browserify-fs": { + "version": "1.0.0", + "dev": true, + "dependencies": { + "level-filesystem": "^1.0.1", + "level-js": "^2.1.3", + "levelup": "^0.18.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/browserslist": { + "version": "4.21.9", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001503", + "electron-to-chromium": "^1.4.431", + "node-releases": "^2.0.12", + "update-browserslist-db": "^1.0.11" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cacache": { + "version": "17.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^9.3.1", + "lru-cache": "^7.7.1", + "minipass": "^4.0.0", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cacache/node_modules/glob": { + "version": "9.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cacache/node_modules/minimatch": { + "version": "8.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cacache/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/caniuse-lite": { + "version": "1.0.30001532", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/common-path-prefix": { + "version": "3.0.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/compressible": { + "version": "2.0.18", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/compression": { + "version": "1.7.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/compression/node_modules/bytes": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/compression/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/concat-stream": { + "version": "1.6.2", + "dev": true, + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/concat-stream/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/connect-history-api-fallback": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/content-type": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cookie": { + "version": "0.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/copy-anything": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-what": "^3.14.1" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/copy-webpack-plugin": { + "version": "11.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-glob": "^3.2.11", + "glob-parent": "^6.0.1", + "globby": "^13.1.1", + "normalize-path": "^3.0.0", + "schema-utils": "^4.0.0", + "serialize-javascript": "^6.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/core-js-compat": { + "version": "3.32.1", + "dev": true, + "license": "MIT", + "dependencies": { + "browserslist": "^4.21.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/core-js-compat/node_modules/browserslist": { + "version": "4.21.10", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001517", + "electron-to-chromium": "^1.4.477", + "node-releases": "^2.0.13", + "update-browserslist-db": "^1.0.11" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/core-js-compat/node_modules/electron-to-chromium": { + "version": "1.4.513", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/core-js-compat/node_modules/node-releases": { + "version": "2.0.13", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cosmiconfig": { + "version": "8.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/critters": { + "version": "0.0.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "chalk": "^4.1.0", + "css-select": "^5.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.2", + "htmlparser2": "^8.0.2", + "postcss": "^8.4.23", + "pretty-bytes": "^5.3.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/css-loader": { + "version": "6.8.1", + "dev": true, + "license": "MIT", + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.21", + "postcss-modules-extract-imports": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.3", + "postcss-modules-scope": "^3.0.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.3.8" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/css-select": { + "version": "5.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/css-what": { + "version": "6.1.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cssom": { + "version": "0.4.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cssstyle": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cssom": "~0.3.6" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/cssstyle/node_modules/cssom": { + "version": "0.3.8", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/data-urls": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/decimal.js": { + "version": "10.4.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/default-gateway": { + "version": "6.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/deferred-leveldown": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~0.12.1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/define-lazy-prop": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/detect-node": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/dns-equal": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/dns-packet": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@leichtgewicht/ip-codec": "^2.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/dom-serializer": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/domelementtype": { + "version": "2.3.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/domexception": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "webidl-conversions": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/domexception/node_modules/webidl-conversions": { + "version": "5.0.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/domhandler": { + "version": "5.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/domutils": { + "version": "3.0.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/electron-to-chromium": { + "version": "1.4.447", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/emojis-list": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/entities": { + "version": "4.4.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/errno": { + "version": "0.1.8", + "dev": true, + "license": "MIT", + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/esbuild": { + "version": "0.18.17", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.18.17", + "@esbuild/android-arm64": "0.18.17", + "@esbuild/android-x64": "0.18.17", + "@esbuild/darwin-arm64": "0.18.17", + "@esbuild/darwin-x64": "0.18.17", + "@esbuild/freebsd-arm64": "0.18.17", + "@esbuild/freebsd-x64": "0.18.17", + "@esbuild/linux-arm": "0.18.17", + "@esbuild/linux-arm64": "0.18.17", + "@esbuild/linux-ia32": "0.18.17", + "@esbuild/linux-loong64": "0.18.17", + "@esbuild/linux-mips64el": "0.18.17", + "@esbuild/linux-ppc64": "0.18.17", + "@esbuild/linux-riscv64": "0.18.17", + "@esbuild/linux-s390x": "0.18.17", + "@esbuild/linux-x64": "0.18.17", + "@esbuild/netbsd-x64": "0.18.17", + "@esbuild/openbsd-x64": "0.18.17", + "@esbuild/sunos-x64": "0.18.17", + "@esbuild/win32-arm64": "0.18.17", + "@esbuild/win32-ia32": "0.18.17", + "@esbuild/win32-x64": "0.18.17" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/esbuild-wasm": { + "version": "0.18.17", + "dev": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/escodegen": { + "version": "2.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/eventemitter-asyncresource": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/eventemitter3": { + "version": "4.0.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/express": { + "version": "4.18.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/express-ws": { + "version": "0.2.6", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "url-join": "0.0.1", + "ws": "~0.4.31" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/express/node_modules/raw-body": { + "version": "2.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/faye-websocket": { + "version": "0.11.4", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "websocket-driver": ">=0.5.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/find-cache-dir": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "common-path-prefix": "^3.0.0", + "pkg-dir": "^7.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/foreach": { + "version": "2.0.6", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/form-data": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/fraction.js": { + "version": "4.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/fs-monkey": { + "version": "1.0.4", + "dev": true, + "license": "Unlicense" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/fwd-stream": { + "version": "1.0.4", + "dev": true, + "dependencies": { + "readable-stream": "~1.0.26-4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/fwd-stream/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/globals": { + "version": "11.12.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/globby": { + "version": "13.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.11", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/guess-parser": { + "version": "0.4.22", + "dev": true, + "license": "MIT", + "dependencies": { + "@wessberg/ts-evaluator": "0.0.27" + }, + "peerDependencies": { + "typescript": ">=3.7.5" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/handle-thing": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/hdr-histogram-js": { + "version": "2.0.3", + "dev": true, + "license": "BSD", + "dependencies": { + "@assemblyscript/loader": "^0.10.1", + "base64-js": "^1.2.0", + "pako": "^1.0.3" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/hdr-histogram-percentiles-obj": { + "version": "3.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/hosted-git-info": { + "version": "6.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/hpack.js": { + "version": "2.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/hpack.js/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/hpack.js/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/hpack.js/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/hpack.js/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/html-encoding-sniffer": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-encoding": "^1.0.5" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/html-entities": { + "version": "2.3.3", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/htmlparser2": { + "version": "8.0.2", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/http-deceiver": { + "version": "1.2.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/http-parser-js": { + "version": "0.5.5", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/http-proxy": { + "version": "1.18.1", + "dev": true, + "license": "MIT", + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/http-proxy-middleware": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/http-proxy-middleware/node_modules/micromatch": { + "version": "4.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/icss-utils": { + "version": "5.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/idb-wrapper": { + "version": "1.7.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/image-size": { + "version": "0.5.5", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "image-size": "bin/image-size.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/immutable": { + "version": "4.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/indexof": { + "version": "0.0.1", + "dev": true + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ini": { + "version": "4.1.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/inquirer": { + "version": "8.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ionicons": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "@stencil/core": "^2.18.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/is": { + "version": "0.2.7", + "dev": true, + "engines": { + "node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/is-docker": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/is-object": { + "version": "0.1.2", + "dev": true + }, + "examples/cactus-example-supply-chain-frontend/node_modules/is-plain-obj": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/is-what": { + "version": "3.14.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/is-wsl": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/isbuffer": { + "version": "0.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/jiti": { + "version": "1.20.0", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/jsdom": { + "version": "16.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abab": "^2.0.5", + "acorn": "^8.2.4", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.3.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.1", + "domexception": "^2.0.1", + "escodegen": "^2.0.0", + "form-data": "^3.0.0", + "html-encoding-sniffer": "^2.0.1", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.5.0", + "ws": "^7.4.6", + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/jsdom/node_modules/@tootallnate/once": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/jsdom/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/jsdom/node_modules/http-proxy-agent": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/jsdom/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/jsdom/node_modules/parse5": { + "version": "6.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/jsdom/node_modules/ws": { + "version": "7.5.7", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/jsonc-parser": { + "version": "3.2.0", + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/karma-source-map-support": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "source-map-support": "^0.5.5" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/klona": { + "version": "2.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/launch-editor": { + "version": "2.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "picocolors": "^1.0.0", + "shell-quote": "^1.7.3" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/less": { + "version": "4.1.3", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "copy-anything": "^2.0.1", + "parse-node-version": "^1.0.1", + "tslib": "^2.3.0" + }, + "bin": { + "lessc": "bin/lessc" + }, + "engines": { + "node": ">=6" + }, + "optionalDependencies": { + "errno": "^0.1.1", + "graceful-fs": "^4.1.2", + "image-size": "~0.5.0", + "make-dir": "^2.1.0", + "mime": "^1.4.1", + "needle": "^3.1.0", + "source-map": "~0.6.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/less-loader": { + "version": "11.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "klona": "^2.0.4" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "less": "^3.5.0 || ^4.0.0", + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-blobs": { + "version": "0.1.7", + "dev": true, + "dependencies": { + "level-peek": "1.0.6", + "once": "^1.3.0", + "readable-stream": "^1.0.26-4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-blobs/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-filesystem": { + "version": "1.2.0", + "dev": true, + "dependencies": { + "concat-stream": "^1.4.4", + "errno": "^0.1.1", + "fwd-stream": "^1.0.4", + "level-blobs": "^0.1.7", + "level-peek": "^1.0.6", + "level-sublevel": "^5.2.0", + "octal": "^1.0.0", + "once": "^1.3.0", + "xtend": "^2.2.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-filesystem/node_modules/xtend": { + "version": "2.2.0", + "dev": true, + "engines": { + "node": ">=0.4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-fix-range": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-hooks": { + "version": "4.5.0", + "dev": true, + "dependencies": { + "string-range": "~1.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-js": { + "version": "2.2.4", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "abstract-leveldown": "~0.12.0", + "idb-wrapper": "^1.5.0", + "isbuffer": "~0.0.0", + "ltgt": "^2.1.2", + "typedarray-to-buffer": "~1.0.0", + "xtend": "~2.1.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-js/node_modules/object-keys": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-js/node_modules/xtend": { + "version": "2.1.2", + "dev": true, + "dependencies": { + "object-keys": "~0.4.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-peek": { + "version": "1.0.6", + "dev": true, + "license": "MIT", + "dependencies": { + "level-fix-range": "~1.0.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-sublevel": { + "version": "5.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "level-fix-range": "2.0", + "level-hooks": ">=4.4.0 <5", + "string-range": "~1.2.1", + "xtend": "~2.0.4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-sublevel/node_modules/clone": { + "version": "0.1.19", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-sublevel/node_modules/level-fix-range": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "clone": "~0.1.9" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/level-sublevel/node_modules/xtend": { + "version": "2.0.6", + "dev": true, + "dependencies": { + "is-object": "~0.1.2", + "object-keys": "~0.2.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/levelup": { + "version": "0.18.6", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "~0.8.1", + "deferred-leveldown": "~0.2.0", + "errno": "~0.1.1", + "prr": "~0.0.0", + "readable-stream": "~1.0.26", + "semver": "~2.3.1", + "xtend": "~3.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/levelup/node_modules/bl": { + "version": "0.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~1.0.26" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/levelup/node_modules/prr": { + "version": "0.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/levelup/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/license-webpack-plugin": { + "version": "4.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "webpack-sources": "^3.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-sources": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/loader-utils": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/lodash.debounce": { + "version": "4.0.8", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/lru-cache": { + "version": "7.18.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/magic-string": { + "version": "0.30.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/magic-string/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/make-dir": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/make-fetch-happen": { + "version": "11.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^4.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/make-fetch-happen/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/memfs": { + "version": "3.6.0", + "dev": true, + "license": "Unlicense", + "dependencies": { + "fs-monkey": "^1.0.4" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/mini-css-extract-plugin": { + "version": "2.7.6", + "dev": true, + "license": "MIT", + "dependencies": { + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/mrmime": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/multicast-dns": { + "version": "7.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" + }, + "bin": { + "multicast-dns": "cli.js" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/nan": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/needle": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "^3.2.6", + "iconv-lite": "^0.6.3", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 4.4.x" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/needle/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/needle/node_modules/iconv-lite": { + "version": "0.6.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/net-browserify": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "body-parser": "^1.10.0", + "express": "^4.10.6", + "express-ws": "^0.2.1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/nice-napi": { + "version": "1.0.2", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "!win32" + ], + "dependencies": { + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/node-addon-api": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "examples/cactus-example-supply-chain-frontend/node_modules/node-forge": { + "version": "1.3.1", + "dev": true, + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/node-releases": { + "version": "2.0.12", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/normalize-package-data": { + "version": "5.0.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^6.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/normalize-range": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/npm-package-arg": { + "version": "10.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/npm-packlist": { + "version": "7.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "ignore-walk": "^6.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/npm-pick-manifest": { + "version": "8.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^10.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/npm-registry-fetch": { + "version": "14.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "make-fetch-happen": "^11.0.0", + "minipass": "^4.0.0", + "minipass-fetch": "^3.0.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.1.2", + "npm-package-arg": "^10.0.0", + "proc-log": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/npm-registry-fetch/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/nth-check": { + "version": "2.0.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/nwsapi": { + "version": "2.2.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/object-keys": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "foreach": "~2.0.1", + "indexof": "~0.0.1", + "is": "~0.2.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/object-path": { + "version": "0.11.8", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.12.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/obuf": { + "version": "1.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/octal": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/on-headers": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/open": { + "version": "8.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/options": { + "version": "0.0.6", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/p-retry": { + "version": "4.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/retry": "0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/p-retry/node_modules/retry": { + "version": "0.13.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pacote": { + "version": "15.2.0", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^4.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/run-script": "^6.0.0", + "cacache": "^17.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^5.0.0", + "npm-package-arg": "^10.0.0", + "npm-packlist": "^7.0.0", + "npm-pick-manifest": "^8.0.0", + "npm-registry-fetch": "^14.0.0", + "proc-log": "^3.0.0", + "promise-retry": "^2.0.1", + "read-package-json": "^6.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^1.3.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "lib/bin.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pacote/node_modules/minipass": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/parse-node-version": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/parse5": { + "version": "7.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^4.4.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/parse5-html-rewriting-stream": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^4.3.0", + "parse5": "^7.0.0", + "parse5-sax-parser": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/parse5-sax-parser": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pify": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/piscina": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "eventemitter-asyncresource": "^1.0.0", + "hdr-histogram-js": "^2.0.1", + "hdr-histogram-percentiles-obj": "^3.0.0" + }, + "optionalDependencies": { + "nice-napi": "^1.0.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pkg-dir": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^6.3.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pkg-dir/node_modules/find-up": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pkg-dir/node_modules/locate-path": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^6.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pkg-dir/node_modules/p-limit": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^1.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pkg-dir/node_modules/p-locate": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pkg-dir/node_modules/path-exists": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/postcss-loader": { + "version": "7.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "cosmiconfig": "^8.2.0", + "jiti": "^1.18.2", + "semver": "^7.3.8" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "postcss": "^7.0.0 || ^8.0.1", + "webpack": "^5.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/postcss-modules-extract-imports": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/postcss-modules-local-by-default": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/postcss-modules-scope": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/postcss-modules-values": { + "version": "4.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "icss-utils": "^5.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/postcss-value-parser": { + "version": "4.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/pretty-bytes": { + "version": "5.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/process-nextick-args": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/prr": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/psl": { + "version": "1.8.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/querystringify": { + "version": "2.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/read-package-json": { + "version": "6.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^9.3.0", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^5.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/read-package-json/node_modules/glob": { + "version": "9.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/read-package-json/node_modules/minimatch": { + "version": "8.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/read-package-json/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/regenerate": { + "version": "1.4.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/regenerate-unicode-properties": { + "version": "10.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/regenerator-runtime": { + "version": "0.13.11", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/regenerator-transform": { + "version": "0.15.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.8.4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/regex-parser": { + "version": "2.2.11", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/regexpu-core": { + "version": "5.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/regjsgen": "^0.8.0", + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.1.0", + "regjsparser": "^0.9.1", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/regjsparser": { + "version": "0.9.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/requires-port": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/resolve": { + "version": "1.22.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/resolve-url-loader": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "adjust-sourcemap-loader": "^4.0.0", + "convert-source-map": "^1.7.0", + "loader-utils": "^2.0.0", + "postcss": "^8.2.14", + "source-map": "0.6.1" + }, + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/rollup": { + "version": "3.29.0", + "dev": true, + "license": "MIT", + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=14.18.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/sass": { + "version": "1.64.1", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/sass-loader": { + "version": "13.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "neo-async": "^2.6.2" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "fibers": ">= 3.1.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", + "sass": "^1.3.0", + "sass-embedded": "*", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "fibers": { + "optional": true + }, + "node-sass": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/sax": { + "version": "1.2.4", + "dev": true, + "license": "ISC", + "optional": true + }, + "examples/cactus-example-supply-chain-frontend/node_modules/saxes": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/schema-utils": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.8.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/schema-utils/node_modules/@types/json-schema": { + "version": "7.0.11", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/select-hose": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/selfsigned": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "node-forge": "^1" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/serve-index": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/serve-index/node_modules/depd": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/serve-index/node_modules/http-errors": { + "version": "1.6.3", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/serve-index/node_modules/inherits": { + "version": "2.0.3", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/serve-index/node_modules/setprototypeof": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/serve-index/node_modules/statuses": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/shell-quote": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/sigstore": { + "version": "1.9.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "@sigstore/sign": "^1.0.0", + "@sigstore/tuf": "^1.0.3", + "make-fetch-happen": "^11.0.1" + }, + "bin": { + "sigstore": "bin/sigstore.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/slash": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/sockjs": { + "version": "0.3.24", + "dev": true, + "license": "MIT", + "dependencies": { + "faye-websocket": "^0.11.3", + "uuid": "^8.3.2", + "websocket-driver": "^0.7.4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/sockjs/node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/spdy": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "handle-thing": "^2.0.0", + "http-deceiver": "^1.2.7", + "select-hose": "^2.0.0", + "spdy-transport": "^3.0.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/spdy-transport": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "detect-node": "^2.0.4", + "hpack.js": "^2.1.6", + "obuf": "^1.1.2", + "readable-stream": "^3.0.6", + "wbuf": "^1.7.3" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/spdy-transport/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/spdy-transport/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/spdy/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/spdy/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/string-range": { + "version": "1.2.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/symbol-observable": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/symbol-tree": { + "version": "3.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/terser": { + "version": "5.19.2", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/thunky": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tinycolor": { + "version": "0.0.1", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tls-browserify": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "node-forge": "^0.7.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tough-cookie": { + "version": "4.1.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tr46": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tsconfig-paths": { + "version": "4.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tuf-js": { + "version": "1.1.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/models": "1.0.4", + "debug": "^4.3.4", + "make-fetch-happen": "^11.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tuf-js/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tuf-js/node_modules/make-fetch-happen": { + "version": "11.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tuf-js/node_modules/minipass": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/tuf-js/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/typed-assert": { + "version": "1.0.9", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/typedarray": { + "version": "0.0.6", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/typedarray-to-buffer": { + "version": "1.0.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/unicode-match-property-value-ecmascript": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/universalify": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/update-browserslist-db": { + "version": "1.0.11", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/url-join": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/url-parse": { + "version": "1.5.10", + "dev": true, + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/vite": { + "version": "4.4.7", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.18.10", + "postcss": "^8.4.26", + "rollup": "^3.25.2" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + }, + "peerDependencies": { + "@types/node": ">= 14", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/vite/node_modules/@esbuild/linux-x64": { + "version": "0.18.20", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/vite/node_modules/esbuild": { + "version": "0.18.20", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.18.20", + "@esbuild/android-arm64": "0.18.20", + "@esbuild/android-x64": "0.18.20", + "@esbuild/darwin-arm64": "0.18.20", + "@esbuild/darwin-x64": "0.18.20", + "@esbuild/freebsd-arm64": "0.18.20", + "@esbuild/freebsd-x64": "0.18.20", + "@esbuild/linux-arm": "0.18.20", + "@esbuild/linux-arm64": "0.18.20", + "@esbuild/linux-ia32": "0.18.20", + "@esbuild/linux-loong64": "0.18.20", + "@esbuild/linux-mips64el": "0.18.20", + "@esbuild/linux-ppc64": "0.18.20", + "@esbuild/linux-riscv64": "0.18.20", + "@esbuild/linux-s390x": "0.18.20", + "@esbuild/linux-x64": "0.18.20", + "@esbuild/netbsd-x64": "0.18.20", + "@esbuild/openbsd-x64": "0.18.20", + "@esbuild/sunos-x64": "0.18.20", + "@esbuild/win32-arm64": "0.18.20", + "@esbuild/win32-ia32": "0.18.20", + "@esbuild/win32-x64": "0.18.20" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/w3c-hr-time": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "browser-process-hrtime": "^1.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/w3c-xmlserializer": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/wbuf": { + "version": "1.7.3", + "dev": true, + "license": "MIT", + "dependencies": { + "minimalistic-assert": "^1.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/webidl-conversions": { + "version": "6.1.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=10.4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/webpack-dev-middleware": { + "version": "6.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^3.4.12", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/webpack-dev-server": { + "version": "4.15.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/bonjour": "^3.5.9", + "@types/connect-history-api-fallback": "^1.3.5", + "@types/express": "^4.17.13", + "@types/serve-index": "^1.9.1", + "@types/serve-static": "^1.13.10", + "@types/sockjs": "^0.3.33", + "@types/ws": "^8.5.5", + "ansi-html-community": "^0.0.8", + "bonjour-service": "^1.0.11", + "chokidar": "^3.5.3", + "colorette": "^2.0.10", + "compression": "^1.7.4", + "connect-history-api-fallback": "^2.0.0", + "default-gateway": "^6.0.3", + "express": "^4.17.3", + "graceful-fs": "^4.2.6", + "html-entities": "^2.3.2", + "http-proxy-middleware": "^2.0.3", + "ipaddr.js": "^2.0.1", + "launch-editor": "^2.6.0", + "open": "^8.0.9", + "p-retry": "^4.5.0", + "rimraf": "^3.0.2", + "schema-utils": "^4.0.0", + "selfsigned": "^2.1.1", + "serve-index": "^1.9.1", + "sockjs": "^0.3.24", + "spdy": "^4.0.2", + "webpack-dev-middleware": "^5.3.1", + "ws": "^8.13.0" + }, + "bin": { + "webpack-dev-server": "bin/webpack-dev-server.js" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.37.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-cli": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/webpack-dev-server/node_modules/@types/mime": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/webpack-dev-server/node_modules/@types/serve-static": { + "version": "1.15.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-errors": "*", + "@types/mime": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/webpack-dev-server/node_modules/ipaddr.js": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/webpack-dev-server/node_modules/webpack-dev-middleware": { + "version": "5.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^3.4.3", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/webpack-dev-server/node_modules/ws": { + "version": "8.14.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/webpack-subresource-integrity": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "typed-assert": "^1.0.8" + }, + "engines": { + "node": ">= 12" + }, + "peerDependencies": { + "html-webpack-plugin": ">= 5.0.0-beta.1 < 6", + "webpack": "^5.12.0" + }, + "peerDependenciesMeta": { + "html-webpack-plugin": { + "optional": true + } + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/websocket-driver": { + "version": "0.7.4", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/websocket-extensions": { + "version": "0.1.4", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=0.8.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/whatwg-encoding": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "0.4.24" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/whatwg-mimetype": { + "version": "2.3.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/whatwg-url": { + "version": "8.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/which": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ws": { + "version": "0.4.32", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "commander": "~2.1.0", + "nan": "~1.0.0", + "options": ">=0.0.5", + "tinycolor": "0.x" + }, + "bin": { + "wscat": "bin/wscat" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/ws/node_modules/commander": { + "version": "2.1.0", + "dev": true, + "engines": { + "node": ">= 0.6.x" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/xml-name-validator": { + "version": "3.0.0", + "dev": true, + "license": "Apache-2.0" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/xmlchars": { + "version": "2.2.0", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-supply-chain-frontend/node_modules/xtend": { + "version": "3.0.0", + "dev": true, + "engines": { + "node": ">=0.4" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/yocto-queue": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-example-supply-chain-frontend/node_modules/zone.js": { + "version": "0.13.1", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + } + }, + "examples/cactus-example-tcs-huawei": { + "name": "@hyperledger/cactus-example-tcs-huawei", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-verifier-client": "2.0.0-alpha.2", + "@types/node": "18.11.9", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "cookie-parser": "1.4.6", + "debug": "2.6.9", + "escape-html": "1.0.3", + "ethereumjs-common": "1.5.2", + "ethereumjs-tx": "2.1.2", + "express": "4.19.2", + "fabric-ca-client": "2.2.20", + "fabric-network": "2.2.20", + "http-errors": "1.6.3", + "js-yaml": "3.14.1", + "jsonwebtoken": "8.5.1", + "log4js": "6.4.0", + "morgan": "1.9.1", + "shelljs": "0.8.5", + "socket.io": "4.5.4", + "ts-node": "8.9.1", + "uuid": "9.0.1", + "web3": "1.7.0", + "xmlhttprequest": "1.8.0" + }, + "devDependencies": { + "@types/body-parser": "1.19.3", + "@types/cookie-parser": "1.4.2", + "@types/escape-html": "1.0.1", + "@types/express": "4.17.21" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-tcs-huawei/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-example-tcs-huawei/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/body-parser": { + "version": "1.19.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/cookie-parser": { + "version": "1.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/escape-html": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/argparse": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/basic-auth": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.1.2" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/basic-auth/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "examples/cactus-example-tcs-huawei/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/body-parser/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "examples/cactus-example-tcs-huawei/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/cookie": { + "version": "0.4.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/cookie-parser": { + "version": "1.4.6", + "license": "MIT", + "dependencies": { + "cookie": "0.4.1", + "cookie-signature": "1.0.6" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/date-format": { + "version": "4.0.3", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/dom-walk": { + "version": "0.1.2" + }, + "examples/cactus-example-tcs-huawei/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-tcs-huawei/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ethereumjs-common": { + "version": "1.5.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ethereumjs-tx/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ethereumjs-tx/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/express/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/express/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "examples/cactus-example-tcs-huawei/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/fabric-ca-client": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "jsrsasign": "^10.5.25", + "url": "^0.11.0", + "winston": "^2.4.5" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/fabric-common/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/http-errors": { + "version": "1.6.3", + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/http-errors/node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/http-errors/node_modules/inherits": { + "version": "2.0.3", + "license": "ISC" + }, + "examples/cactus-example-tcs-huawei/node_modules/http-errors/node_modules/setprototypeof": { + "version": "1.1.0", + "license": "ISC" + }, + "examples/cactus-example-tcs-huawei/node_modules/http-errors/node_modules/statuses": { + "version": "1.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "examples/cactus-example-tcs-huawei/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/interpret": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/js-yaml": { + "version": "3.14.1", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "examples/cactus-example-tcs-huawei/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=4", + "npm": ">=1.4.28" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/log4js": { + "version": "6.4.0", + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.3.3", + "flatted": "^3.2.4", + "rfdc": "^1.3.0", + "streamroller": "^3.0.2" + }, + "engines": { + "node": ">=8.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/log4js/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-tcs-huawei/node_modules/log4js/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "examples/cactus-example-tcs-huawei/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/morgan": { + "version": "1.9.1", + "license": "MIT", + "dependencies": { + "basic-auth": "~2.0.0", + "debug": "2.6.9", + "depd": "~1.1.2", + "on-finished": "~2.3.0", + "on-headers": "~1.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/morgan/node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/morgan/node_modules/on-finished": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "examples/cactus-example-tcs-huawei/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/on-headers": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/rechoir": { + "version": "0.6.2", + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "bin": { + "semver": "bin/semver" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/send/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-tcs-huawei/node_modules/shelljs": { + "version": "0.8.5", + "license": "BSD-3-Clause", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-tcs-huawei/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-tcs-huawei/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/streamroller": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.1.1", + "fs-extra": "^10.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/streamroller/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "examples/cactus-example-tcs-huawei/node_modules/streamroller/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "examples/cactus-example-tcs-huawei/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ts-node": { + "version": "8.9.1", + "license": "MIT", + "dependencies": { + "arg": "^4.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "source-map-support": "^0.5.17", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "engines": { + "node": ">=6.0.0" + }, + "peerDependencies": { + "typescript": ">=2.7" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ts-node/node_modules/yn": { + "version": "3.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "examples/cactus-example-tcs-huawei/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "examples/cactus-example-tcs-huawei/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/web3": { + "version": "1.7.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.7.0", + "web3-core": "1.7.0", + "web3-eth": "1.7.0", + "web3-eth-personal": "1.7.0", + "web3-net": "1.7.0", + "web3-shh": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-bzz": { + "version": "1.7.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-core": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.7.0", + "web3-core-method": "1.7.0", + "web3-core-requestmanager": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-core-helpers": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-core-method": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.7.0", + "web3-core-promievent": "1.7.0", + "web3-core-subscriptions": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-core-promievent": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-core-requestmanager": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.7.0", + "web3-providers-http": "1.7.0", + "web3-providers-ipc": "1.7.0", + "web3-providers-ws": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-core-subscriptions": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.7.0", + "web3-core-helpers": "1.7.0", + "web3-core-method": "1.7.0", + "web3-core-subscriptions": "1.7.0", + "web3-eth-abi": "1.7.0", + "web3-eth-accounts": "1.7.0", + "web3-eth-contract": "1.7.0", + "web3-eth-ens": "1.7.0", + "web3-eth-iban": "1.7.0", + "web3-eth-personal": "1.7.0", + "web3-net": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-abi": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-accounts": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.7.0", + "web3-core-helpers": "1.7.0", + "web3-core-method": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-contract": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.7.0", + "web3-core-helpers": "1.7.0", + "web3-core-method": "1.7.0", + "web3-core-promievent": "1.7.0", + "web3-core-subscriptions": "1.7.0", + "web3-eth-abi": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-ens": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.7.0", + "web3-core-helpers": "1.7.0", + "web3-core-promievent": "1.7.0", + "web3-eth-abi": "1.7.0", + "web3-eth-contract": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-iban": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-personal": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.7.0", + "web3-core-helpers": "1.7.0", + "web3-core-method": "1.7.0", + "web3-net": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-net": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.7.0", + "web3-core-method": "1.7.0", + "web3-utils": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-providers-http": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.7.0", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-providers-ipc": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-providers-ws": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.7.0", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-shh": { + "version": "1.7.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.7.0", + "web3-core-method": "1.7.0", + "web3-core-subscriptions": "1.7.0", + "web3-net": "1.7.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/web3-utils": { + "version": "1.7.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "examples/cactus-example-tcs-huawei/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "examples/cactus-example-tcs-huawei/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/xmlhttprequest": { + "version": "1.8.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "examples/cactus-example-tcs-huawei/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "examples/cactus-workshop-examples-2022-11-14": { + "name": "@hyperledger/cactus-workshop-examples-2022-11-14", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "kubo-rpc-client": "3.0.1", + "typescript-optional": "2.0.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@chainsafe/is-ip": { + "version": "2.0.2", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@chainsafe/netmask": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@fastify/busboy": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@ipld/dag-cbor": { + "version": "9.0.6", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@ipld/dag-cbor/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@ipld/dag-json": { + "version": "10.1.5", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@ipld/dag-json/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@ipld/dag-pb": { + "version": "4.0.6", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@ipld/dag-pb/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/crypto": { + "version": "1.0.17", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-keys": "^1.0.2", + "@libp2p/interfaces": "^3.2.0", + "@noble/ed25519": "^1.6.0", + "@noble/secp256k1": "^1.5.4", + "multiformats": "^11.0.0", + "node-forge": "^1.1.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface": { + "version": "0.1.3", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@multiformats/multiaddr": "^12.1.5", + "abortable-iterator": "^5.0.1", + "it-pushable": "^3.2.0", + "it-stream-types": "^2.0.1", + "multiformats": "^12.0.1", + "p-defer": "^4.0.0", + "race-signal": "^1.0.0", + "uint8arraylist": "^2.4.3" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-connection": { + "version": "4.0.0", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^1.0.4", + "uint8arraylist": "^2.1.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-connection/node_modules/it-stream-types": { + "version": "1.0.5", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-connection/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-keychain": { + "version": "2.0.5", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-keys": { + "version": "1.0.8", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-peer-id": { + "version": "2.0.2", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-peer-info": { + "version": "1.0.10", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-peer-info/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-peer-info/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface-pubsub": { + "version": "3.0.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-connection": "^4.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "it-pushable": "^3.0.0", + "uint8arraylist": "^2.1.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interface/node_modules/p-defer": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/interfaces": { + "version": "3.3.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/logger": { + "version": "2.1.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.2", + "@multiformats/multiaddr": "^12.1.3", + "debug": "^4.3.4", + "interface-datastore": "^8.2.0", + "multiformats": "^11.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@multiformats/multiaddr": { + "version": "11.6.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "dns-over-http-resolver": "^2.1.0", + "err-code": "^3.0.1", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@multiformats/multiaddr-to-uri": { + "version": "9.0.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@multiformats/multiaddr-to-uri/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@multiformats/multiaddr-to-uri/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@noble/ed25519": { + "version": "1.7.3", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/@types/node": { + "version": "18.18.5", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/abortable-iterator": { + "version": "5.0.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/abortable-iterator/node_modules/get-iterator": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/any-signal": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/blob-to-it": { + "version": "2.0.4", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "browser-readablestream-to-it": "^2.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/browser-readablestream-to-it": { + "version": "2.0.4", + "license": "Apache-2.0 OR MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/cborg": { + "version": "4.0.3", + "license": "Apache-2.0", + "bin": { + "cborg": "lib/bin.js" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/dag-jose": { + "version": "4.0.0", + "license": "(Apache-2.0 OR MIT)", + "dependencies": { + "@ipld/dag-cbor": "^9.0.0", + "multiformats": "^11.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/dns-over-http-resolver": { + "version": "2.1.2", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "debug": "^4.3.1", + "native-fetch": "^4.0.2", + "receptacle": "^1.3.2", + "undici": "^5.12.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/electron-fetch": { + "version": "1.7.4", + "license": "MIT", + "dependencies": { + "encoding": "^0.1.13" + }, + "engines": { + "node": ">=6" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/err-code": { + "version": "3.0.1", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/fast-fifo": { + "version": "1.1.0", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/get-iterator": { + "version": "1.0.2", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/interface-datastore": { + "version": "8.2.5", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "interface-store": "^5.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/interface-store": { + "version": "5.1.4", + "license": "Apache-2.0 OR MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-core-types": { + "version": "0.14.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@ipld/dag-pb": "^4.0.0", + "@libp2p/interface-keychain": "^2.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-info": "^1.0.2", + "@libp2p/interface-pubsub": "^3.0.0", + "@multiformats/multiaddr": "^11.1.5", + "@types/node": "^18.0.0", + "interface-datastore": "^7.0.0", + "ipfs-unixfs": "^9.0.0", + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-core-types/node_modules/interface-datastore": { + "version": "7.0.4", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "interface-store": "^3.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-core-types/node_modules/interface-store": { + "version": "3.0.4", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-core-utils": { + "version": "0.18.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/logger": "^2.0.5", + "@multiformats/multiaddr": "^11.1.5", + "@multiformats/multiaddr-to-uri": "^9.0.1", + "any-signal": "^3.0.0", + "blob-to-it": "^2.0.0", + "browser-readablestream-to-it": "^2.0.0", + "err-code": "^3.0.1", + "ipfs-core-types": "^0.14.1", + "ipfs-unixfs": "^9.0.0", + "ipfs-utils": "^9.0.13", + "it-all": "^2.0.0", + "it-map": "^2.0.0", + "it-peekable": "^2.0.0", + "it-to-stream": "^1.0.0", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "nanoid": "^4.0.0", + "parse-duration": "^1.0.0", + "timeout-abort-controller": "^3.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-core-utils/node_modules/it-all": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-unixfs": { + "version": "9.0.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "err-code": "^3.0.1", + "protobufjs": "^7.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-utils": { + "version": "9.0.14", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "any-signal": "^3.0.0", + "browser-readablestream-to-it": "^1.0.0", + "buffer": "^6.0.1", + "electron-fetch": "^1.7.2", + "err-code": "^3.0.1", + "is-electron": "^2.2.0", + "iso-url": "^1.1.5", + "it-all": "^1.0.4", + "it-glob": "^1.0.1", + "it-to-stream": "^1.0.0", + "merge-options": "^3.0.4", + "nanoid": "^3.1.20", + "native-fetch": "^3.0.0", + "node-fetch": "^2.6.8", + "react-native-fetch-api": "^3.0.0", + "stream-to-it": "^0.2.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-utils/node_modules/browser-readablestream-to-it": { + "version": "1.0.3", + "license": "ISC" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-utils/node_modules/nanoid": { + "version": "3.3.1", + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/ipfs-utils/node_modules/native-fetch": { + "version": "3.0.0", + "license": "MIT", + "peerDependencies": { + "node-fetch": "*" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/is-electron": { + "version": "2.2.1", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/iso-url": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-all": { + "version": "1.0.6", + "license": "ISC" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-first": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-glob": { + "version": "1.0.2", + "license": "ISC", + "dependencies": { + "@types/minimatch": "^3.0.4", + "minimatch": "^3.0.4" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-last": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-map": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-peekable": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-pushable": { + "version": "3.2.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "p-defer": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-pushable/node_modules/p-defer": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-stream-types": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/it-to-stream": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "fast-fifo": "^1.0.0", + "get-iterator": "^1.0.2", + "p-defer": "^3.0.0", + "p-fifo": "^1.0.0", + "readable-stream": "^3.6.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/kubo-rpc-client": { + "version": "3.0.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-json": "^10.0.0", + "@ipld/dag-pb": "^4.0.0", + "@libp2p/crypto": "^1.0.11", + "@libp2p/logger": "^2.0.5", + "@libp2p/peer-id": "^2.0.0", + "@multiformats/multiaddr": "^11.1.5", + "any-signal": "^3.0.1", + "dag-jose": "^4.0.0", + "err-code": "^3.0.1", + "ipfs-core-utils": "^0.18.0", + "ipfs-utils": "^9.0.7", + "it-first": "^2.0.0", + "it-last": "^2.0.0", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "parse-duration": "^1.0.2", + "stream-to-it": "^0.2.4", + "uint8arrays": "^4.0.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/kubo-rpc-client/node_modules/parse-duration": { + "version": "1.1.0", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/merge-options": { + "version": "3.0.4", + "license": "MIT", + "dependencies": { + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/multiformats": { + "version": "11.0.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/nanoid": { + "version": "4.0.2", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^14 || ^16 || >=18" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/native-fetch": { + "version": "4.0.2", + "license": "MIT", + "peerDependencies": { + "undici": "*" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/node-fetch": { + "version": "2.7.0", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/node-forge": { + "version": "1.3.1", + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/p-defer": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/p-fifo": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "fast-fifo": "^1.0.0", + "p-defer": "^3.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/parse-duration": { + "version": "1.0.2", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/protons-runtime": { + "version": "5.2.0", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/race-signal": { + "version": "1.0.1", + "license": "Apache-2.0 OR MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/react-native-fetch-api": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-defer": "^3.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/receptacle": { + "version": "1.3.2", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/retimer": { + "version": "3.0.0", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/stream-to-it": { + "version": "0.2.4", + "license": "MIT", + "dependencies": { + "get-iterator": "^1.0.2" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/timeout-abort-controller": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "retimer": "^3.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/uint8-varint": { + "version": "2.0.1", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/uint8arraylist": { + "version": "2.4.3", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/uint8arrays": { + "version": "4.0.6", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^12.0.1" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.2", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/undici": { + "version": "5.26.3", + "license": "MIT", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "examples/cactus-workshop-examples-2022-11-14/node_modules/varint": { + "version": "6.0.0", + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu": { + "name": "@hyperledger/cactus-plugin-htlc-coordinator-besu", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-htlc-eth-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-htlc-eth-besu-erc20": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-test-plugin-htlc-eth-besu-erc20": "2.0.0-alpha.2", + "axios": "1.6.0", + "body-parser": "1.20.2", + "fast-safe-stringify": "2.1.1", + "joi": "14.3.1", + "openapi-types": "12.1.3", + "prom-client": "13.1.0", + "run-time-error-cjs": "1.4.0", + "socket.io-client-fixed-types": "4.5.4", + "typescript-optional": "2.0.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/express": "4.17.21", + "@types/uuid": "9.0.8", + "express": "4.19.2", + "socket.io": "4.5.4", + "web3-eth-abi": "4.2.1", + "web3-utils": "4.2.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/abitype": { + "version": "0.7.1", + "dev": true, + "license": "MIT", + "peerDependencies": { + "typescript": ">=4.9.4", + "zod": "^3 >=3.19.1" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + } + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/bintrees": { + "version": "1.0.1" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/hoek": { + "version": "6.1.3", + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/isemail": { + "version": "3.2.0", + "license": "BSD-3-Clause", + "dependencies": { + "punycode": "2.x.x" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/joi": { + "version": "14.3.1", + "license": "BSD-3-Clause", + "dependencies": { + "hoek": "6.x.x", + "isemail": "3.x.x", + "topo": "3.x.x" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/prom-client": { + "version": "13.1.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/topo": { + "version": "3.0.3", + "license": "BSD-3-Clause", + "dependencies": { + "hoek": "6.x.x" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/web3-errors": { + "version": "1.1.4", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/web3-eth-abi": { + "version": "4.2.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "abitype": "0.7.1", + "web3-errors": "^1.1.4", + "web3-types": "^1.6.0", + "web3-utils": "^4.2.3", + "web3-validator": "^2.0.5" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/web3-eth-abi/node_modules/web3-utils": { + "version": "4.3.0", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "eventemitter3": "^5.0.1", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "web3-validator": "^2.0.6" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/web3-eth-abi/node_modules/web3-utils/node_modules/web3-errors": { + "version": "1.2.0", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.6.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/web3-eth-abi/node_modules/web3-utils/node_modules/web3-validator": { + "version": "2.0.6", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/web3-types": { + "version": "1.6.0", + "dev": true, + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/web3-utils": { + "version": "4.2.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "eventemitter3": "^5.0.1", + "web3-errors": "^1.1.4", + "web3-types": "^1.5.0", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/web3-validator": { + "version": "2.0.5", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.5.0", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "extensions/cactus-plugin-htlc-coordinator-besu/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs": { + "name": "@hyperledger/cactus-plugin-object-store-ipfs", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "run-time-error-cjs": "1.4.0", + "typescript-optional": "2.0.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@multiformats/multiaddr": "11.6.1", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "body-parser": "1.20.2", + "express": "4.19.2", + "ipfs-core-types": "0.14.1", + "ipfs-unixfs": "9.0.1", + "kubo-rpc-client": "3.0.1", + "kubo-rpc-client-esm-cjs": "3.0.1", + "multiformats": "11.0.2" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@chainsafe/is-ip": { + "version": "2.0.2", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@chainsafe/netmask": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@fastify/busboy": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@ipld/dag-cbor": { + "version": "9.0.6", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@ipld/dag-cbor/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@ipld/dag-json": { + "version": "10.1.5", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@ipld/dag-json/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@ipld/dag-pb": { + "version": "4.0.6", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@ipld/dag-pb/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/crypto": { + "version": "1.0.17", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-keys": "^1.0.2", + "@libp2p/interfaces": "^3.2.0", + "@noble/ed25519": "^1.6.0", + "@noble/secp256k1": "^1.5.4", + "multiformats": "^11.0.0", + "node-forge": "^1.1.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface": { + "version": "0.1.3", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@multiformats/multiaddr": "^12.1.5", + "abortable-iterator": "^5.0.1", + "it-pushable": "^3.2.0", + "it-stream-types": "^2.0.1", + "multiformats": "^12.0.1", + "p-defer": "^4.0.0", + "race-signal": "^1.0.0", + "uint8arraylist": "^2.4.3" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-connection": { + "version": "4.0.0", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^1.0.4", + "uint8arraylist": "^2.1.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-connection/node_modules/it-stream-types": { + "version": "1.0.5", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-connection/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-keychain": { + "version": "2.0.5", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-keys": { + "version": "1.0.8", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-peer-id": { + "version": "2.0.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-peer-info": { + "version": "1.0.10", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-peer-info/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-peer-info/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface-pubsub": { + "version": "3.0.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-connection": "^4.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "it-pushable": "^3.0.0", + "uint8arraylist": "^2.1.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interface/node_modules/p-defer": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/interfaces": { + "version": "3.3.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/logger": { + "version": "2.1.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.2", + "@multiformats/multiaddr": "^12.1.3", + "debug": "^4.3.4", + "interface-datastore": "^8.2.0", + "multiformats": "^11.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/logger/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/logger/node_modules/interface-datastore": { + "version": "8.2.5", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "interface-store": "^5.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/logger/node_modules/interface-store": { + "version": "5.1.4", + "dev": true, + "license": "Apache-2.0 OR MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/logger/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@multiformats/multiaddr": { + "version": "11.6.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "dns-over-http-resolver": "^2.1.0", + "err-code": "^3.0.1", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@multiformats/multiaddr-to-uri": { + "version": "9.0.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@multiformats/multiaddr-to-uri/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@multiformats/multiaddr-to-uri/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@noble/ed25519": { + "version": "1.7.3", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "dev": true, + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/float": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/path": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/abortable-iterator": { + "version": "5.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/abortable-iterator/node_modules/get-iterator": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/any-signal": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/blob-to-it": { + "version": "2.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "browser-readablestream-to-it": "^2.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/browser-readablestream-to-it": { + "version": "2.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/cborg": { + "version": "4.0.3", + "dev": true, + "license": "Apache-2.0", + "bin": { + "cborg": "lib/bin.js" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/dag-jose": { + "version": "4.0.0", + "dev": true, + "license": "(Apache-2.0 OR MIT)", + "dependencies": { + "@ipld/dag-cbor": "^9.0.0", + "multiformats": "^11.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/dns-over-http-resolver": { + "version": "2.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "debug": "^4.3.1", + "native-fetch": "^4.0.2", + "receptacle": "^1.3.2", + "undici": "^5.12.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/dns-over-http-resolver/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/dns-over-http-resolver/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/electron-fetch": { + "version": "1.7.4", + "dev": true, + "license": "MIT", + "dependencies": { + "encoding": "^0.1.13" + }, + "engines": { + "node": ">=6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/err-code": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/fast-fifo": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/get-iterator": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/interface-datastore": { + "version": "7.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "interface-store": "^3.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/interface-store": { + "version": "3.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipfs-core-types": { + "version": "0.14.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@ipld/dag-pb": "^4.0.0", + "@libp2p/interface-keychain": "^2.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-info": "^1.0.2", + "@libp2p/interface-pubsub": "^3.0.0", + "@multiformats/multiaddr": "^11.1.5", + "@types/node": "^18.0.0", + "interface-datastore": "^7.0.0", + "ipfs-unixfs": "^9.0.0", + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipfs-core-types/node_modules/@types/node": { + "version": "18.18.5", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipfs-core-utils": { + "version": "0.18.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/logger": "^2.0.5", + "@multiformats/multiaddr": "^11.1.5", + "@multiformats/multiaddr-to-uri": "^9.0.1", + "any-signal": "^3.0.0", + "blob-to-it": "^2.0.0", + "browser-readablestream-to-it": "^2.0.0", + "err-code": "^3.0.1", + "ipfs-core-types": "^0.14.1", + "ipfs-unixfs": "^9.0.0", + "ipfs-utils": "^9.0.13", + "it-all": "^2.0.0", + "it-map": "^2.0.0", + "it-peekable": "^2.0.0", + "it-to-stream": "^1.0.0", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "nanoid": "^4.0.0", + "parse-duration": "^1.0.0", + "timeout-abort-controller": "^3.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipfs-core-utils/node_modules/it-all": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipfs-unixfs": { + "version": "9.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "err-code": "^3.0.1", + "protobufjs": "^7.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipfs-utils": { + "version": "9.0.14", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "any-signal": "^3.0.0", + "browser-readablestream-to-it": "^1.0.0", + "buffer": "^6.0.1", + "electron-fetch": "^1.7.2", + "err-code": "^3.0.1", + "is-electron": "^2.2.0", + "iso-url": "^1.1.5", + "it-all": "^1.0.4", + "it-glob": "^1.0.1", + "it-to-stream": "^1.0.0", + "merge-options": "^3.0.4", + "nanoid": "^3.1.20", + "native-fetch": "^3.0.0", + "node-fetch": "^2.6.8", + "react-native-fetch-api": "^3.0.0", + "stream-to-it": "^0.2.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipfs-utils/node_modules/browser-readablestream-to-it": { + "version": "1.0.3", + "dev": true, + "license": "ISC" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipfs-utils/node_modules/nanoid": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/ipfs-utils/node_modules/native-fetch": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "peerDependencies": { + "node-fetch": "*" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/is-electron": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/iso-url": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-all": { + "version": "1.0.6", + "dev": true, + "license": "ISC" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-first": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-glob": { + "version": "1.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "@types/minimatch": "^3.0.4", + "minimatch": "^3.0.4" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-last": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-map": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-peekable": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-pushable": { + "version": "3.2.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "p-defer": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-pushable/node_modules/p-defer": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-stream-types": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/it-to-stream": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "fast-fifo": "^1.0.0", + "get-iterator": "^1.0.2", + "p-defer": "^3.0.0", + "p-fifo": "^1.0.0", + "readable-stream": "^3.6.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/kubo-rpc-client": { + "version": "3.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-json": "^10.0.0", + "@ipld/dag-pb": "^4.0.0", + "@libp2p/crypto": "^1.0.11", + "@libp2p/logger": "^2.0.5", + "@libp2p/peer-id": "^2.0.0", + "@multiformats/multiaddr": "^11.1.5", + "any-signal": "^3.0.1", + "dag-jose": "^4.0.0", + "err-code": "^3.0.1", + "ipfs-core-utils": "^0.18.0", + "ipfs-utils": "^9.0.7", + "it-first": "^2.0.0", + "it-last": "^2.0.0", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "parse-duration": "^1.0.2", + "stream-to-it": "^0.2.4", + "uint8arrays": "^4.0.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/kubo-rpc-client-esm-cjs": { + "version": "3.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-json": "^10.0.0", + "@ipld/dag-pb": "^4.0.0", + "@libp2p/crypto": "^1.0.11", + "@libp2p/logger": "^2.0.5", + "@libp2p/peer-id": "^2.0.0", + "@multiformats/multiaddr": "^11.1.5", + "any-signal": "^3.0.1", + "dag-jose": "^4.0.0", + "err-code": "^3.0.1", + "ipfs-core-utils": "^0.18.0", + "ipfs-utils": "^9.0.7", + "it-first": "^2.0.0", + "it-last": "^2.0.0", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "parse-duration": "^1.0.2", + "stream-to-it": "^0.2.4", + "uint8arrays": "^4.0.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/long": { + "version": "5.2.3", + "dev": true, + "license": "Apache-2.0" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/merge-options": { + "version": "3.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/multiformats": { + "version": "11.0.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/nanoid": { + "version": "4.0.2", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^14 || ^16 || >=18" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/native-fetch": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "peerDependencies": { + "undici": "*" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/node-fetch": { + "version": "2.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/node-forge": { + "version": "1.3.1", + "dev": true, + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/p-defer": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/p-fifo": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-fifo": "^1.0.0", + "p-defer": "^3.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/parse-duration": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/protobufjs": { + "version": "7.2.5", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/protons-runtime": { + "version": "5.2.0", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/race-signal": { + "version": "1.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/react-native-fetch-api": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-defer": "^3.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/receptacle": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/retimer": { + "version": "3.0.0", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/stream-to-it": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "get-iterator": "^1.0.2" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/timeout-abort-controller": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "retimer": "^3.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/uint8-varint": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/uint8arraylist": { + "version": "2.4.3", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/uint8arrays": { + "version": "4.0.6", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^12.0.1" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/undici": { + "version": "5.26.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/varint": { + "version": "6.0.0", + "dev": true, + "license": "MIT" + }, + "extensions/cactus-plugin-object-store-ipfs/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@adraffy/ens-normalize": { + "version": "1.9.4", + "license": "MIT" + }, + "node_modules/@ampproject/remapping": { + "version": "2.1.2", + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.22.13", + "license": "MIT", + "dependencies": { + "@babel/highlight": "^7.22.13", + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/code-frame/node_modules/@babel/highlight": { + "version": "7.22.13", + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.22.5", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/code-frame/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.17.0", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.17.5", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.3", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helpers": "^7.17.2", + "@babel/parser": "^7.17.3", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.3", + "@babel/types": "^7.17.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.1.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.17.3", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.17.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/generator/node_modules/source-map": { + "version": "0.5.7", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.16.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.16.7", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.16.4", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name/node_modules/@babel/types": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.16.7", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.18.9", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.18.9", + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-simple-access": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/helper-validator-identifier": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.9", + "@babel/types": "^7.18.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-module-imports": { + "version": "7.18.6", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.16.7", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.18.6", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.22.6", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.22.5", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.22.5", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.18.6", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.18.9", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.9", + "@babel/types": "^7.18.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.23.0", + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-proposal-object-rest-spread": { + "version": "7.17.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.17.0", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-jsx": { + "version": "7.16.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.17.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.16.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx": { + "version": "7.17.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-jsx": "^7.16.7", + "@babel/types": "^7.17.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.22.15", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template/node_modules/@babel/types": { + "version": "7.22.17", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template/node_modules/@babel/types/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.15", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.23.2", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.0", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.0", + "@babel/types": "^7.23.0", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/@babel/generator": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.23.0", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/@babel/types": { + "version": "7.23.0", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/globals": { + "version": "11.12.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/types": { + "version": "7.22.5", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "license": "MIT" + }, + "node_modules/@bufbuild/buf": { + "version": "1.30.0", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "bin": { + "buf": "bin/buf", + "protoc-gen-buf-breaking": "bin/protoc-gen-buf-breaking", + "protoc-gen-buf-lint": "bin/protoc-gen-buf-lint" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@bufbuild/buf-darwin-arm64": "1.30.0", + "@bufbuild/buf-darwin-x64": "1.30.0", + "@bufbuild/buf-linux-aarch64": "1.30.0", + "@bufbuild/buf-linux-x64": "1.30.0", + "@bufbuild/buf-win32-arm64": "1.30.0", + "@bufbuild/buf-win32-x64": "1.30.0" + } + }, + "node_modules/@bufbuild/buf-linux-x64": { + "version": "1.30.0", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@bufbuild/protobuf": { + "version": "1.8.0", + "license": "(Apache-2.0 AND BSD-3-Clause)" + }, + "node_modules/@bufbuild/protoc-gen-es": { + "version": "1.8.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@bufbuild/protobuf": "^1.8.0", + "@bufbuild/protoplugin": "1.8.0" + }, + "bin": { + "protoc-gen-es": "bin/protoc-gen-es" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@bufbuild/protobuf": "1.8.0" + }, + "peerDependenciesMeta": { + "@bufbuild/protobuf": { + "optional": true + } + } + }, + "node_modules/@bufbuild/protoplugin": { + "version": "1.8.0", + "dev": true, + "license": "(Apache-2.0 AND BSD-3-Clause)", + "dependencies": { + "@bufbuild/protobuf": "1.8.0", + "@typescript/vfs": "^1.4.0", + "typescript": "4.5.2" + } + }, + "node_modules/@bufbuild/protoplugin/node_modules/typescript": { + "version": "4.5.2", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/@commitlint/cli": { + "version": "17.7.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/format": "^17.4.4", + "@commitlint/lint": "^17.7.0", + "@commitlint/load": "^17.7.1", + "@commitlint/read": "^17.5.1", + "@commitlint/types": "^17.4.4", + "execa": "^5.0.0", + "lodash.isfunction": "^3.0.9", + "resolve-from": "5.0.0", + "resolve-global": "1.0.0", + "yargs": "^17.0.0" + }, + "bin": { + "commitlint": "cli.js" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/config-conventional": { + "version": "17.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "conventional-changelog-conventionalcommits": "^6.1.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/config-validator": { + "version": "17.6.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^17.4.4", + "ajv": "^8.11.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/ensure": { + "version": "17.6.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^17.4.4", + "lodash.camelcase": "^4.3.0", + "lodash.kebabcase": "^4.1.1", + "lodash.snakecase": "^4.1.1", + "lodash.startcase": "^4.4.0", + "lodash.upperfirst": "^4.3.1" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/execute-rule": { + "version": "17.4.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/format": { + "version": "17.4.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^17.4.4", + "chalk": "^4.1.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/is-ignored": { + "version": "17.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^17.4.4", + "semver": "7.5.4" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/lint": { + "version": "17.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/is-ignored": "^17.7.0", + "@commitlint/parse": "^17.7.0", + "@commitlint/rules": "^17.7.0", + "@commitlint/types": "^17.4.4" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/load": { + "version": "17.7.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/config-validator": "^17.6.7", + "@commitlint/execute-rule": "^17.4.0", + "@commitlint/resolve-extends": "^17.6.7", + "@commitlint/types": "^17.4.4", + "@types/node": "20.4.7", + "chalk": "^4.1.0", + "cosmiconfig": "^8.0.0", + "cosmiconfig-typescript-loader": "^4.0.0", + "lodash.isplainobject": "^4.0.6", + "lodash.merge": "^4.6.2", + "lodash.uniq": "^4.5.0", + "resolve-from": "^5.0.0", + "ts-node": "^10.8.1", + "typescript": "^4.6.4 || ^5.0.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/load/node_modules/@types/node": { + "version": "20.4.7", + "dev": true, + "license": "MIT" + }, + "node_modules/@commitlint/load/node_modules/cosmiconfig": { + "version": "8.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@commitlint/load/node_modules/cosmiconfig-typescript-loader": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=v14.21.3" + }, + "peerDependencies": { + "@types/node": "*", + "cosmiconfig": ">=7", + "ts-node": ">=10", + "typescript": ">=4" + } + }, + "node_modules/@commitlint/message": { + "version": "17.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/parse": { + "version": "17.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^17.4.4", + "conventional-changelog-angular": "^6.0.0", + "conventional-commits-parser": "^4.0.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/parse/node_modules/conventional-commits-parser": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-text-path": "^1.0.1", + "JSONStream": "^1.3.5", + "meow": "^8.1.2", + "split2": "^3.2.2" + }, + "bin": { + "conventional-commits-parser": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@commitlint/parse/node_modules/hosted-git-info": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@commitlint/parse/node_modules/meow": { + "version": "8.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@commitlint/parse/node_modules/normalize-package-data": { + "version": "3.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@commitlint/parse/node_modules/split2": { + "version": "3.2.2", + "dev": true, + "license": "ISC", + "dependencies": { + "readable-stream": "^3.0.0" + } + }, + "node_modules/@commitlint/parse/node_modules/type-fest": { + "version": "0.18.1", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@commitlint/parse/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/@commitlint/read": { + "version": "17.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/top-level": "^17.4.0", + "@commitlint/types": "^17.4.4", + "fs-extra": "^11.0.0", + "git-raw-commits": "^2.0.11", + "minimist": "^1.2.6" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/read/node_modules/fs-extra": { + "version": "11.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@commitlint/read/node_modules/git-raw-commits": { + "version": "2.0.11", + "dev": true, + "license": "MIT", + "dependencies": { + "dargs": "^7.0.0", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "split2": "^3.0.0", + "through2": "^4.0.0" + }, + "bin": { + "git-raw-commits": "cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@commitlint/read/node_modules/hosted-git-info": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@commitlint/read/node_modules/meow": { + "version": "8.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@commitlint/read/node_modules/normalize-package-data": { + "version": "3.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@commitlint/read/node_modules/split2": { + "version": "3.2.2", + "dev": true, + "license": "ISC", + "dependencies": { + "readable-stream": "^3.0.0" + } + }, + "node_modules/@commitlint/read/node_modules/type-fest": { + "version": "0.18.1", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@commitlint/read/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/@commitlint/resolve-extends": { + "version": "17.6.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/config-validator": "^17.6.7", + "@commitlint/types": "^17.4.4", + "import-fresh": "^3.0.0", + "lodash.mergewith": "^4.6.2", + "resolve-from": "^5.0.0", + "resolve-global": "^1.0.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/rules": { + "version": "17.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/ensure": "^17.6.7", + "@commitlint/message": "^17.4.2", + "@commitlint/to-lines": "^17.4.0", + "@commitlint/types": "^17.4.4", + "execa": "^5.0.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/to-lines": { + "version": "17.4.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/top-level": { + "version": "17.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^5.0.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/types": { + "version": "17.4.4", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@connectrpc/connect": { + "version": "1.4.0", + "license": "Apache-2.0", + "peerDependencies": { + "@bufbuild/protobuf": "^1.4.2" + } + }, + "node_modules/@connectrpc/protoc-gen-connect-es": { + "version": "1.4.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@bufbuild/protobuf": "^1.7.2", + "@bufbuild/protoplugin": "^1.7.2" + }, + "bin": { + "protoc-gen-connect-es": "bin/protoc-gen-connect-es" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "@bufbuild/protoc-gen-es": "^1.7.2", + "@connectrpc/connect": "1.4.0" + }, + "peerDependenciesMeta": { + "@bufbuild/protoc-gen-es": { + "optional": true + }, + "@connectrpc/connect": { + "optional": true + } + } + }, + "node_modules/@cspell/cspell-bundled-dicts": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspell/dict-ada": "^2.0.0", + "@cspell/dict-aws": "^2.0.0", + "@cspell/dict-bash": "^2.0.2", + "@cspell/dict-companies": "^2.0.4", + "@cspell/dict-cpp": "^3.1.0", + "@cspell/dict-cryptocurrencies": "^2.0.0", + "@cspell/dict-csharp": "^3.0.1", + "@cspell/dict-css": "^2.0.0", + "@cspell/dict-dart": "^1.1.0", + "@cspell/dict-django": "^2.0.0", + "@cspell/dict-dotnet": "^2.0.1", + "@cspell/dict-elixir": "^2.0.1", + "@cspell/dict-en_us": "^2.2.5", + "@cspell/dict-en-gb": "^1.1.33", + "@cspell/dict-filetypes": "^2.0.1", + "@cspell/dict-fonts": "^2.0.0", + "@cspell/dict-fullstack": "^2.0.5", + "@cspell/dict-git": "^1.0.1", + "@cspell/dict-golang": "^3.0.1", + "@cspell/dict-haskell": "^2.0.0", + "@cspell/dict-html": "^3.0.1", + "@cspell/dict-html-symbol-entities": "^3.0.0", + "@cspell/dict-java": "^2.0.0", + "@cspell/dict-latex": "^2.0.3", + "@cspell/dict-lorem-ipsum": "^2.0.0", + "@cspell/dict-lua": "^2.0.0", + "@cspell/dict-node": "^2.0.1", + "@cspell/dict-npm": "^2.0.3", + "@cspell/dict-php": "^2.0.0", + "@cspell/dict-powershell": "^2.0.0", + "@cspell/dict-public-licenses": "^1.0.4", + "@cspell/dict-python": "^3.0.5", + "@cspell/dict-r": "^1.0.2", + "@cspell/dict-ruby": "^2.0.1", + "@cspell/dict-rust": "^2.0.0", + "@cspell/dict-scala": "^2.0.0", + "@cspell/dict-software-terms": "^2.1.7", + "@cspell/dict-swift": "^1.0.2", + "@cspell/dict-typescript": "^2.0.0", + "@cspell/dict-vue": "^2.0.2" + }, + "engines": { + "node": ">=12.13.0" + } + }, + "node_modules/@cspell/cspell-pipe": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.13.0" + } + }, + "node_modules/@cspell/cspell-types": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.13.0" + } + }, + "node_modules/@cspell/dict-ada": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-aws": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-bash": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-companies": { + "version": "2.0.14", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-cpp": { + "version": "3.2.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-cryptocurrencies": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-csharp": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-css": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-dart": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-django": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-dotnet": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-elixir": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-en_us": { + "version": "2.3.3", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-en-gb": { + "version": "1.1.33", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-filetypes": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-fonts": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-fullstack": { + "version": "2.0.6", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-git": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-golang": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-haskell": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-html": { + "version": "3.3.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-html-symbol-entities": { + "version": "3.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-java": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-latex": { + "version": "2.0.9", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-lorem-ipsum": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-lua": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-node": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-npm": { + "version": "2.0.5", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-php": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-powershell": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-public-licenses": { + "version": "1.0.4", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-python": { + "version": "3.0.6", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-r": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-ruby": { + "version": "2.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-rust": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-scala": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-software-terms": { + "version": "2.3.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-swift": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-typescript": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspell/dict-vue": { + "version": "2.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.6", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.9.1", + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "node_modules/@eslint/js": { + "version": "8.57.0", + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@ethereumjs/rlp": { + "version": "4.0.1", + "license": "MPL-2.0", + "bin": { + "rlp": "bin/rlp" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@ethersproject/abi": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/abstract-provider": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0" + } + }, + "node_modules/@ethersproject/abstract-signer": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "node_modules/@ethersproject/address": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/rlp": "^5.7.0" + } + }, + "node_modules/@ethersproject/base64": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0" + } + }, + "node_modules/@ethersproject/bignumber": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "bn.js": "^5.2.1" + } + }, + "node_modules/@ethersproject/bignumber/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "node_modules/@ethersproject/bytes": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/constants": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0" + } + }, + "node_modules/@ethersproject/hash": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/keccak256": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "js-sha3": "0.8.0" + } + }, + "node_modules/@ethersproject/logger": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT" + }, + "node_modules/@ethersproject/networks": { + "version": "5.7.1", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/properties": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/rlp": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/signing-key": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "bn.js": "^5.2.1", + "elliptic": "6.5.4", + "hash.js": "1.1.7" + } + }, + "node_modules/@ethersproject/signing-key/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "node_modules/@ethersproject/strings": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/transactions": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0" + } + }, + "node_modules/@ethersproject/web": { + "version": "5.7.1", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/base64": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.14", + "license": "Apache-2.0", + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.2", + "license": "BSD-3-Clause" + }, + "node_modules/@hutson/parse-repository-url": { + "version": "5.0.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/@hyperledger/cacti-example-cbdc-bridging-frontend": { + "resolved": "examples/cactus-example-cbdc-bridging-frontend", + "link": true + }, + "node_modules/@hyperledger/cacti-ledger-browser": { + "resolved": "packages/cacti-ledger-browser", + "link": true + }, + "node_modules/@hyperledger/cacti-plugin-ledger-connector-stellar": { + "resolved": "packages/cacti-plugin-ledger-connector-stellar", + "link": true + }, + "node_modules/@hyperledger/cacti-weaver-besu-cli": { + "resolved": "weaver/samples/besu/besu-cli", + "link": true + }, + "node_modules/@hyperledger/cacti-weaver-besu-simpleasset": { + "resolved": "weaver/samples/besu/simpleasset", + "link": true + }, + "node_modules/@hyperledger/cacti-weaver-besu-simplestate": { + "resolved": "weaver/samples/besu/simplestate", + "link": true + }, + "node_modules/@hyperledger/cacti-weaver-driver-fabric": { + "resolved": "weaver/core/drivers/fabric-driver", + "link": true + }, + "node_modules/@hyperledger/cacti-weaver-fabric-cli": { + "resolved": "weaver/samples/fabric/fabric-cli", + "link": true + }, + "node_modules/@hyperledger/cacti-weaver-iin-agent": { + "resolved": "weaver/core/identity-management/iin-agent", + "link": true + }, + "node_modules/@hyperledger/cacti-weaver-protos-js": { + "resolved": "weaver/common/protos-js", + "link": true + }, + "node_modules/@hyperledger/cacti-weaver-sdk-besu": { + "resolved": "weaver/sdks/besu/node", + "link": true + }, + "node_modules/@hyperledger/cacti-weaver-sdk-fabric": { + "resolved": "weaver/sdks/fabric/interoperation-node-sdk", + "link": true + }, + "node_modules/@hyperledger/cactus-api-client": { + "resolved": "packages/cactus-api-client", + "link": true + }, + "node_modules/@hyperledger/cactus-cmd-api-server": { + "resolved": "packages/cactus-cmd-api-server", + "link": true + }, + "node_modules/@hyperledger/cactus-cmd-socketio-server": { + "resolved": "packages/cactus-cmd-socketio-server", + "link": true + }, + "node_modules/@hyperledger/cactus-common": { + "resolved": "packages/cactus-common", + "link": true + }, + "node_modules/@hyperledger/cactus-core": { + "resolved": "packages/cactus-core", + "link": true + }, + "node_modules/@hyperledger/cactus-core-api": { + "resolved": "packages/cactus-core-api", + "link": true + }, + "node_modules/@hyperledger/cactus-example-carbon-accounting-backend": { + "resolved": "examples/cactus-example-carbon-accounting-backend", + "link": true + }, + "node_modules/@hyperledger/cactus-example-carbon-accounting-business-logic-plugin": { + "resolved": "examples/cactus-example-carbon-accounting-business-logic-plugin", + "link": true + }, + "node_modules/@hyperledger/cactus-example-carbon-accounting-frontend": { + "resolved": "examples/cactus-example-carbon-accounting-frontend", + "link": true + }, + "node_modules/@hyperledger/cactus-example-cbdc-bridging-backend": { + "resolved": "examples/cactus-example-cbdc-bridging-backend", + "link": true + }, + "node_modules/@hyperledger/cactus-example-discounted-asset-trade": { + "resolved": "examples/cactus-example-discounted-asset-trade", + "link": true + }, + "node_modules/@hyperledger/cactus-example-discounted-asset-trade-client": { + "resolved": "examples/cactus-example-discounted-asset-trade-client", + "link": true + }, + "node_modules/@hyperledger/cactus-example-electricity-trade": { + "resolved": "examples/cactus-example-electricity-trade", + "link": true + }, + "node_modules/@hyperledger/cactus-example-supply-chain-backend": { + "resolved": "examples/cactus-example-supply-chain-backend", + "link": true + }, + "node_modules/@hyperledger/cactus-example-supply-chain-business-logic-plugin": { + "resolved": "examples/cactus-example-supply-chain-business-logic-plugin", + "link": true + }, + "node_modules/@hyperledger/cactus-example-supply-chain-frontend": { + "resolved": "examples/cactus-example-supply-chain-frontend", + "link": true + }, + "node_modules/@hyperledger/cactus-example-tcs-huawei": { + "resolved": "examples/cactus-example-tcs-huawei", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-bungee-hermes": { + "resolved": "packages/cactus-plugin-bungee-hermes", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-consortium-manual": { + "resolved": "packages/cactus-plugin-consortium-manual", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-htlc-coordinator-besu": { + "resolved": "extensions/cactus-plugin-htlc-coordinator-besu", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-htlc-eth-besu": { + "resolved": "packages/cactus-plugin-htlc-eth-besu", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-htlc-eth-besu-erc20": { + "resolved": "packages/cactus-plugin-htlc-eth-besu-erc20", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-keychain-aws-sm": { + "resolved": "packages/cactus-plugin-keychain-aws-sm", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-keychain-azure-kv": { + "resolved": "packages/cactus-plugin-keychain-azure-kv", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-keychain-google-sm": { + "resolved": "packages/cactus-plugin-keychain-google-sm", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-keychain-memory": { + "resolved": "packages/cactus-plugin-keychain-memory", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-keychain-memory-wasm": { + "resolved": "packages/cactus-plugin-keychain-memory-wasm", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-keychain-vault": { + "resolved": "packages/cactus-plugin-keychain-vault", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-aries": { + "resolved": "packages/cactus-plugin-ledger-connector-aries", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-besu": { + "resolved": "packages/cactus-plugin-ledger-connector-besu", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-cdl": { + "resolved": "packages/cactus-plugin-ledger-connector-cdl", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-corda": { + "resolved": "packages/cactus-plugin-ledger-connector-corda", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-ethereum": { + "resolved": "packages/cactus-plugin-ledger-connector-ethereum", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-fabric": { + "resolved": "packages/cactus-plugin-ledger-connector-fabric", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-go-ethereum-socketio": { + "resolved": "packages/cactus-plugin-ledger-connector-go-ethereum-socketio", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-iroha2": { + "resolved": "packages/cactus-plugin-ledger-connector-iroha2", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-polkadot": { + "resolved": "packages/cactus-plugin-ledger-connector-polkadot", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-quorum": { + "resolved": "packages/cactus-plugin-ledger-connector-quorum", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-sawtooth": { + "resolved": "packages/cactus-plugin-ledger-connector-sawtooth", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-tcs-huawei-socketio": { + "resolved": "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-ledger-connector-xdai": { + "resolved": "packages/cactus-plugin-ledger-connector-xdai", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-object-store-ipfs": { + "resolved": "extensions/cactus-plugin-object-store-ipfs", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-persistence-ethereum": { + "resolved": "packages/cactus-plugin-persistence-ethereum", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-persistence-fabric": { + "resolved": "packages/cactus-plugin-persistence-fabric", + "link": true + }, + "node_modules/@hyperledger/cactus-plugin-satp-hermes": { + "resolved": "packages/cactus-plugin-satp-hermes", + "link": true + }, + "node_modules/@hyperledger/cactus-test-api-client": { + "resolved": "packages/cactus-test-api-client", + "link": true + }, + "node_modules/@hyperledger/cactus-test-cmd-api-server": { + "resolved": "packages/cactus-test-cmd-api-server", + "link": true + }, + "node_modules/@hyperledger/cactus-test-geth-ledger": { + "resolved": "packages/cactus-test-geth-ledger", + "link": true + }, + "node_modules/@hyperledger/cactus-test-plugin-consortium-manual": { + "resolved": "packages/cactus-test-plugin-consortium-manual", + "link": true + }, + "node_modules/@hyperledger/cactus-test-plugin-htlc-eth-besu": { + "resolved": "packages/cactus-test-plugin-htlc-eth-besu", + "link": true + }, + "node_modules/@hyperledger/cactus-test-plugin-htlc-eth-besu-erc20": { + "resolved": "packages/cactus-test-plugin-htlc-eth-besu-erc20", + "link": true + }, + "node_modules/@hyperledger/cactus-test-plugin-keychain-memory": { + "resolved": "packages/cactus-test-plugin-keychain-memory", + "link": true + }, + "node_modules/@hyperledger/cactus-test-plugin-ledger-connector-besu": { + "resolved": "packages/cactus-test-plugin-ledger-connector-besu", + "link": true + }, + "node_modules/@hyperledger/cactus-test-plugin-ledger-connector-ethereum": { + "resolved": "packages/cactus-test-plugin-ledger-connector-ethereum", + "link": true + }, + "node_modules/@hyperledger/cactus-test-plugin-ledger-connector-quorum": { + "resolved": "packages/cactus-test-plugin-ledger-connector-quorum", + "link": true + }, + "node_modules/@hyperledger/cactus-test-tooling": { + "resolved": "packages/cactus-test-tooling", + "link": true + }, + "node_modules/@hyperledger/cactus-test-verifier-client": { + "resolved": "packages/cactus-test-verifier-client", + "link": true + }, + "node_modules/@hyperledger/cactus-verifier-client": { + "resolved": "packages/cactus-verifier-client", + "link": true + }, + "node_modules/@hyperledger/cactus-workshop-examples-2022-11-14": { + "resolved": "examples/cactus-workshop-examples-2022-11-14", + "link": true + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/import-jsx": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.5.5", + "@babel/plugin-proposal-object-rest-spread": "^7.5.5", + "@babel/plugin-transform-destructuring": "^7.5.0", + "@babel/plugin-transform-react-jsx": "^7.3.0", + "caller-path": "^3.0.1", + "find-cache-dir": "^3.2.0", + "make-dir": "^3.0.2", + "resolve-from": "^3.0.0", + "rimraf": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@isaacs/import-jsx/node_modules/resolve-from": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/@isaacs/string-locale-compare": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "license": "ISC", + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/camelcase": { + "version": "5.3.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { + "version": "3.14.1", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/console": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.1", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^29.6.2", + "jest-util": "^29.6.2", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.6.2", + "@jest/reporters": "^29.6.2", + "@jest/test-result": "^29.6.2", + "@jest/transform": "^29.6.2", + "@jest/types": "^29.6.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-changed-files": "^29.5.0", + "jest-config": "^29.6.2", + "jest-haste-map": "^29.6.2", + "jest-message-util": "^29.6.2", + "jest-regex-util": "^29.4.3", + "jest-resolve": "^29.6.2", + "jest-resolve-dependencies": "^29.6.2", + "jest-runner": "^29.6.2", + "jest-runtime": "^29.6.2", + "jest-snapshot": "^29.6.2", + "jest-util": "^29.6.2", + "jest-validate": "^29.6.2", + "jest-watcher": "^29.6.2", + "micromatch": "^4.0.4", + "pretty-format": "^29.6.2", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/environment": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/fake-timers": "^29.6.2", + "@jest/types": "^29.6.1", + "@types/node": "*", + "jest-mock": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "^29.6.2", + "jest-snapshot": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect-utils": { + "version": "29.6.2", + "license": "MIT", + "dependencies": { + "jest-get-type": "^29.4.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/fake-timers": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.1", + "@sinonjs/fake-timers": "^10.0.2", + "@types/node": "*", + "jest-message-util": "^29.6.2", + "jest-mock": "^29.6.2", + "jest-util": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/globals": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.6.2", + "@jest/expect": "^29.6.2", + "@jest/types": "^29.6.1", + "jest-mock": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/reporters": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^29.6.2", + "@jest/test-result": "^29.6.2", + "@jest/transform": "^29.6.2", + "@jest/types": "^29.6.1", + "@jridgewell/trace-mapping": "^0.3.18", + "@types/node": "*", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^5.1.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.1.3", + "jest-message-util": "^29.6.2", + "jest-util": "^29.6.2", + "jest-worker": "^29.6.2", + "slash": "^3.0.0", + "string-length": "^4.0.1", + "strip-ansi": "^6.0.0", + "v8-to-istanbul": "^9.0.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/reporters/node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jest/reporters/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/reporters/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.18", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/@jest/reporters/node_modules/jest-worker": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.6.2", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/schemas": { + "version": "29.6.0", + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.27.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/source-map": { + "version": "29.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.18", + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/source-map/node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jest/source-map/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/source-map/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.18", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/@jest/test-result": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.6.2", + "@jest/types": "^29.6.1", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-sequencer": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "^29.6.2", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.6.2", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/transform": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.6.1", + "@jridgewell/trace-mapping": "^0.3.18", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.6.2", + "jest-regex-util": "^29.4.3", + "jest-util": "^29.6.2", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/transform/node_modules/@babel/compat-data": { + "version": "7.18.8", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@jest/transform/node_modules/@babel/core": { + "version": "7.18.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.9", + "@babel/helper-compilation-targets": "^7.18.9", + "@babel/helper-module-transforms": "^7.18.9", + "@babel/helpers": "^7.18.9", + "@babel/parser": "^7.18.9", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.9", + "@babel/types": "^7.18.9", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@jest/transform/node_modules/@babel/core/node_modules/convert-source-map": { + "version": "1.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/@jest/transform/node_modules/@babel/generator": { + "version": "7.18.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.18.9", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@jest/transform/node_modules/@babel/helper-compilation-targets": { + "version": "7.18.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.18.8", + "@babel/helper-validator-option": "^7.18.6", + "browserslist": "^4.20.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@jest/transform/node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jest/transform/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/transform/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.18", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/@jest/transform/node_modules/convert-source-map": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/transform/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/transform/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@jest/transform/node_modules/write-file-atomic": { + "version": "4.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@jest/types": { + "version": "29.6.1", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.2", + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.0.5", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.5", + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.11", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.17", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "license": "MIT" + }, + "node_modules/@kessler/tableify": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@kwsites/file-exists": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.1" + } + }, + "node_modules/@kwsites/promise-deferred": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@lerna-lite/cli": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/core": "3.1.0", + "@lerna-lite/init": "3.1.0", + "dedent": "^1.5.1", + "dotenv": "^16.3.1", + "import-local": "^3.1.0", + "load-json-file": "^7.0.1", + "npmlog": "^7.0.1", + "yargs": "^17.7.2" + }, + "bin": { + "lerna": "dist/cli.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "peerDependenciesMeta": { + "@lerna-lite/exec": { + "optional": true + }, + "@lerna-lite/list": { + "optional": true + }, + "@lerna-lite/publish": { + "optional": true + }, + "@lerna-lite/run": { + "optional": true + }, + "@lerna-lite/version": { + "optional": true + }, + "@lerna-lite/watch": { + "optional": true + } + } + }, + "node_modules/@lerna-lite/core": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@npmcli/run-script": "^7.0.2", + "chalk": "^5.3.0", + "clone-deep": "^4.0.1", + "config-chain": "^1.1.13", + "cosmiconfig": "^9.0.0", + "dedent": "^1.5.1", + "execa": "^8.0.1", + "fs-extra": "^11.2.0", + "glob-parent": "^6.0.2", + "globby": "^14.0.0", + "inquirer": "^9.2.12", + "is-ci": "^3.0.1", + "json5": "^2.2.3", + "load-json-file": "^7.0.1", + "minimatch": "^9.0.3", + "npm-package-arg": "^11.0.1", + "npmlog": "^7.0.1", + "p-map": "^7.0.0", + "p-queue": "^8.0.0", + "resolve-from": "^5.0.0", + "semver": "^7.5.4", + "slash": "^5.1.0", + "strong-log-transformer": "^2.1.0", + "write-file-atomic": "^5.0.1", + "write-json-file": "^5.0.0", + "write-pkg": "^6.0.1" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "type": "ko_fi", + "url": "https://ko-fi.com/ghiscoding" + } + }, + "node_modules/@lerna-lite/core/node_modules/@ljharb/through": { + "version": "2.3.11", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/@lerna-lite/core/node_modules/chalk": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@lerna-lite/core/node_modules/cli-width": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 12" + } + }, + "node_modules/@lerna-lite/core/node_modules/cosmiconfig": { + "version": "9.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@lerna-lite/core/node_modules/escape-string-regexp": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/execa": { + "version": "8.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": ">=16.17" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/@lerna-lite/core/node_modules/fast-glob": { + "version": "3.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/@lerna-lite/core/node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@lerna-lite/core/node_modules/figures": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^5.0.0", + "is-unicode-supported": "^1.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/fs-extra": { + "version": "11.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@lerna-lite/core/node_modules/get-stream": { + "version": "8.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/globby": { + "version": "14.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^1.0.0", + "fast-glob": "^3.3.2", + "ignore": "^5.2.4", + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/human-signals": { + "version": "5.0.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=16.17.0" + } + }, + "node_modules/@lerna-lite/core/node_modules/inquirer": { + "version": "9.2.12", + "dev": true, + "license": "MIT", + "dependencies": { + "@ljharb/through": "^2.3.11", + "ansi-escapes": "^4.3.2", + "chalk": "^5.3.0", + "cli-cursor": "^3.1.0", + "cli-width": "^4.1.0", + "external-editor": "^3.1.0", + "figures": "^5.0.0", + "lodash": "^4.17.21", + "mute-stream": "1.0.0", + "ora": "^5.4.1", + "run-async": "^3.0.0", + "rxjs": "^7.8.1", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^6.2.0" + }, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/@lerna-lite/core/node_modules/is-ci": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ci-info": "^3.2.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/@lerna-lite/core/node_modules/is-stream": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/is-unicode-supported": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/mimic-fn": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@lerna-lite/core/node_modules/mute-stream": { + "version": "1.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@lerna-lite/core/node_modules/npm-run-path": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/onetime": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/p-map": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/path-key": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/path-type": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/run-async": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/@lerna-lite/core/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@lerna-lite/core/node_modules/slash": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/strip-final-newline": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/core/node_modules/wrap-ansi": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@lerna-lite/core/node_modules/write-file-atomic": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@lerna-lite/exec": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/cli": "3.1.0", + "@lerna-lite/core": "3.1.0", + "@lerna-lite/filter-packages": "3.1.0", + "@lerna-lite/profiler": "3.1.0", + "chalk": "^5.3.0", + "dotenv": "^16.3.1", + "npmlog": "^7.0.1", + "p-map": "^7.0.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/@lerna-lite/exec/node_modules/chalk": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@lerna-lite/exec/node_modules/p-map": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/filter-packages": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/core": "3.1.0", + "multimatch": "^7.0.0", + "npmlog": "^7.0.1" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/@lerna-lite/init": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/core": "3.1.0", + "fs-extra": "^11.2.0", + "p-map": "^7.0.0", + "write-json-file": "^5.0.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/@lerna-lite/init/node_modules/fs-extra": { + "version": "11.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@lerna-lite/init/node_modules/p-map": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/list": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/cli": "3.1.0", + "@lerna-lite/core": "3.1.0", + "@lerna-lite/filter-packages": "3.1.0", + "@lerna-lite/listable": "3.1.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/@lerna-lite/listable": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/core": "3.1.0", + "chalk": "^5.3.0", + "columnify": "^1.6.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/@lerna-lite/listable/node_modules/chalk": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@lerna-lite/profiler": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/core": "3.1.0", + "fs-extra": "^11.2.0", + "npmlog": "^7.0.1", + "upath": "^2.0.1" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/@lerna-lite/profiler/node_modules/fs-extra": { + "version": "11.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@lerna-lite/publish": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/cli": "3.1.0", + "@lerna-lite/core": "3.1.0", + "@lerna-lite/version": "3.1.0", + "@npmcli/arborist": "^7.2.2", + "byte-size": "^8.1.1", + "chalk": "^5.3.0", + "columnify": "^1.6.0", + "fs-extra": "^11.2.0", + "glob": "^10.3.10", + "has-unicode": "^2.0.1", + "libnpmaccess": "^8.0.2", + "libnpmpublish": "^9.0.3", + "normalize-path": "^3.0.0", + "npm-package-arg": "^11.0.1", + "npm-packlist": "^8.0.1", + "npm-registry-fetch": "^16.1.0", + "npmlog": "^7.0.1", + "p-map": "^7.0.0", + "p-pipe": "^4.0.0", + "pacote": "^17.0.5", + "pify": "^6.1.0", + "read-package-json": "^7.0.0", + "semver": "^7.5.4", + "ssri": "^10.0.5", + "tar": "^6.2.0", + "temp-dir": "^3.0.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/@lerna-lite/publish/node_modules/chalk": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@lerna-lite/publish/node_modules/foreground-child": { + "version": "3.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@lerna-lite/publish/node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@lerna-lite/publish/node_modules/fs-extra": { + "version": "11.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@lerna-lite/publish/node_modules/glob": { + "version": "10.3.10", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@lerna-lite/publish/node_modules/glob/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@lerna-lite/publish/node_modules/glob/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@lerna-lite/publish/node_modules/npm-packlist": { + "version": "8.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "ignore-walk": "^6.0.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@lerna-lite/publish/node_modules/npm-packlist/node_modules/ignore-walk": { + "version": "6.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@lerna-lite/publish/node_modules/npm-packlist/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@lerna-lite/publish/node_modules/npm-registry-fetch": { + "version": "16.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "make-fetch-happen": "^13.0.0", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.1.2", + "npm-package-arg": "^11.0.0", + "proc-log": "^3.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@lerna-lite/publish/node_modules/npm-registry-fetch/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@lerna-lite/publish/node_modules/p-map": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/publish/node_modules/pacote": { + "version": "17.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^5.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^7.0.0", + "@npmcli/run-script": "^7.0.0", + "cacache": "^18.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^7.0.2", + "npm-package-arg": "^11.0.0", + "npm-packlist": "^8.0.0", + "npm-pick-manifest": "^9.0.0", + "npm-registry-fetch": "^16.0.0", + "proc-log": "^3.0.0", + "promise-retry": "^2.0.1", + "read-package-json": "^7.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^2.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "lib/bin.js" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@lerna-lite/publish/node_modules/pacote/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@lerna-lite/publish/node_modules/pify": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/publish/node_modules/ssri": { + "version": "10.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@lerna-lite/publish/node_modules/ssri/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@lerna-lite/publish/node_modules/tar": { + "version": "6.2.0", + "dev": true, + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@lerna-lite/publish/node_modules/tar/node_modules/fs-minipass": { + "version": "2.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@lerna-lite/publish/node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { + "version": "3.1.6", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@lerna-lite/publish/node_modules/tar/node_modules/minipass": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/@lerna-lite/run": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/cli": "3.1.0", + "@lerna-lite/core": "3.1.0", + "@lerna-lite/filter-packages": "3.1.0", + "@lerna-lite/profiler": "3.1.0", + "chalk": "^5.3.0", + "fs-extra": "^11.2.0", + "npmlog": "^7.0.1", + "p-map": "^7.0.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/@lerna-lite/run/node_modules/chalk": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@lerna-lite/run/node_modules/fs-extra": { + "version": "11.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@lerna-lite/run/node_modules/p-map": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/version": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna-lite/cli": "3.1.0", + "@lerna-lite/core": "3.1.0", + "@octokit/plugin-enterprise-rest": "^6.0.1", + "@octokit/rest": "^20.0.2", + "chalk": "^5.3.0", + "conventional-changelog-angular": "^7.0.0", + "conventional-changelog-core": "^7.0.0", + "conventional-changelog-writer": "^7.0.1", + "conventional-commits-parser": "^5.0.0", + "conventional-recommended-bump": "^9.0.0", + "dedent": "^1.5.1", + "fs-extra": "^11.2.0", + "get-stream": "^8.0.1", + "git-url-parse": "^13.1.1", + "graceful-fs": "^4.2.11", + "is-stream": "^3.0.0", + "load-json-file": "^7.0.1", + "make-dir": "^4.0.0", + "minimatch": "^9.0.3", + "new-github-release-url": "^2.0.0", + "node-fetch": "^3.3.2", + "npm-package-arg": "^11.0.1", + "npmlog": "^7.0.1", + "p-map": "^7.0.0", + "p-pipe": "^4.0.0", + "p-reduce": "^3.0.0", + "pify": "^6.1.0", + "semver": "^7.5.4", + "slash": "^5.1.0", + "temp-dir": "^3.0.0", + "uuid": "^9.0.1", + "write-json-file": "^5.0.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/@lerna-lite/version/node_modules/chalk": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@lerna-lite/version/node_modules/conventional-changelog-angular": { + "version": "7.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@lerna-lite/version/node_modules/fs-extra": { + "version": "11.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@lerna-lite/version/node_modules/get-stream": { + "version": "8.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/version/node_modules/graceful-fs": { + "version": "4.2.11", + "dev": true, + "license": "ISC" + }, + "node_modules/@lerna-lite/version/node_modules/is-stream": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/version/node_modules/make-dir": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/version/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@lerna-lite/version/node_modules/node-fetch": { + "version": "3.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, + "node_modules/@lerna-lite/version/node_modules/p-map": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/version/node_modules/pify": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna-lite/version/node_modules/slash": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@ljharb/resumer": { + "version": "0.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@ljharb/through": "^2.3.9" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/@ljharb/through": { + "version": "2.3.9", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/@lukeed/csprng": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@mapbox/node-pre-gyp": { + "version": "1.0.11", + "license": "BSD-3-Clause", + "dependencies": { + "detect-libc": "^2.0.0", + "https-proxy-agent": "^5.0.0", + "make-dir": "^3.1.0", + "node-fetch": "^2.6.7", + "nopt": "^5.0.0", + "npmlog": "^5.0.1", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.11" + }, + "bin": { + "node-pre-gyp": "bin/node-pre-gyp" + } + }, + "node_modules/@mapbox/node-pre-gyp/node_modules/are-we-there-yet": { + "version": "2.0.0", + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@mapbox/node-pre-gyp/node_modules/gauge": { + "version": "3.0.2", + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", + "signal-exit": "^3.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@mapbox/node-pre-gyp/node_modules/nopt": { + "version": "5.0.0", + "license": "ISC", + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@mapbox/node-pre-gyp/node_modules/npmlog": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" + } + }, + "node_modules/@noble/curves": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.3.1" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/hashes": { + "version": "1.3.1", + "license": "MIT", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@npmcli/agent": { + "version": "2.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/agent/node_modules/agent-base": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@npmcli/agent/node_modules/http-proxy-agent": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@npmcli/agent/node_modules/https-proxy-agent": { + "version": "7.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@npmcli/agent/node_modules/lru-cache": { + "version": "10.0.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/@npmcli/agent/node_modules/socks": { + "version": "2.7.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ip": "^2.0.0", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.13.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/@npmcli/agent/node_modules/socks-proxy-agent": { + "version": "8.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "socks": "^2.7.1" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@npmcli/arborist": { + "version": "7.2.2", + "dev": true, + "license": "ISC", + "dependencies": { + "@isaacs/string-locale-compare": "^1.1.0", + "@npmcli/fs": "^3.1.0", + "@npmcli/installed-package-contents": "^2.0.2", + "@npmcli/map-workspaces": "^3.0.2", + "@npmcli/metavuln-calculator": "^7.0.0", + "@npmcli/name-from-folder": "^2.0.0", + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/package-json": "^5.0.0", + "@npmcli/query": "^3.0.1", + "@npmcli/run-script": "^7.0.2", + "bin-links": "^4.0.1", + "cacache": "^18.0.0", + "common-ancestor-path": "^1.0.1", + "hosted-git-info": "^7.0.1", + "json-parse-even-better-errors": "^3.0.0", + "json-stringify-nice": "^1.1.4", + "minimatch": "^9.0.0", + "nopt": "^7.0.0", + "npm-install-checks": "^6.2.0", + "npm-package-arg": "^11.0.1", + "npm-pick-manifest": "^9.0.0", + "npm-registry-fetch": "^16.0.0", + "npmlog": "^7.0.1", + "pacote": "^17.0.4", + "parse-conflict-json": "^3.0.0", + "proc-log": "^3.0.0", + "promise-all-reject-late": "^1.0.0", + "promise-call-limit": "^1.0.2", + "read-package-json-fast": "^3.0.2", + "semver": "^7.3.7", + "ssri": "^10.0.5", + "treeverse": "^3.0.0", + "walk-up-path": "^3.0.1" + }, + "bin": { + "arborist": "bin/index.js" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/arborist/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/arborist/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@npmcli/arborist/node_modules/npm-install-checks": { + "version": "6.2.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "semver": "^7.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/arborist/node_modules/ssri": { + "version": "10.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/fs": { + "version": "3.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/git": { + "version": "5.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/promise-spawn": "^7.0.0", + "lru-cache": "^10.0.1", + "npm-pick-manifest": "^9.0.0", + "proc-log": "^3.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^4.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/git/node_modules/isexe": { + "version": "3.1.1", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16" + } + }, + "node_modules/@npmcli/git/node_modules/lru-cache": { + "version": "10.0.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/@npmcli/git/node_modules/which": { + "version": "4.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/installed-package-contents": { + "version": "2.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-bundled": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "bin": { + "installed-package-contents": "lib/index.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/map-workspaces": { + "version": "3.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/name-from-folder": "^2.0.0", + "glob": "^9.3.1", + "minimatch": "^7.4.2", + "read-package-json-fast": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/map-workspaces/node_modules/glob": { + "version": "9.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/map-workspaces/node_modules/glob/node_modules/minimatch": { + "version": "8.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/map-workspaces/node_modules/minimatch": { + "version": "7.4.5", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/map-workspaces/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/@npmcli/metavuln-calculator": { + "version": "7.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "cacache": "^18.0.0", + "json-parse-even-better-errors": "^3.0.0", + "pacote": "^17.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/name-from-folder": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/node-gyp": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/package-json": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^5.0.0", + "glob": "^10.2.2", + "hosted-git-info": "^7.0.0", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.5.3" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/package-json/node_modules/foreground-child": { + "version": "3.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/package-json/node_modules/glob": { + "version": "10.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/package-json/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/package-json/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@npmcli/package-json/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/promise-spawn": { + "version": "7.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "which": "^4.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/promise-spawn/node_modules/isexe": { + "version": "3.1.1", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16" + } + }, + "node_modules/@npmcli/promise-spawn/node_modules/which": { + "version": "4.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/query": { + "version": "3.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/run-script": { + "version": "7.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/promise-spawn": "^7.0.0", + "node-gyp": "^10.0.0", + "read-package-json-fast": "^3.0.0", + "which": "^4.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/run-script/node_modules/foreground-child": { + "version": "3.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/run-script/node_modules/glob": { + "version": "10.3.10", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/run-script/node_modules/isexe": { + "version": "3.1.1", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16" + } + }, + "node_modules/@npmcli/run-script/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/run-script/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@npmcli/run-script/node_modules/node-gyp": { + "version": "10.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "glob": "^10.3.10", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^13.0.0", + "nopt": "^7.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^4.0.0" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/run-script/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/run-script/node_modules/which": { + "version": "4.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" + } + }, + "node_modules/@nuxtjs/opencollective": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "consola": "^2.15.0", + "node-fetch": "^2.6.1" + }, + "bin": { + "opencollective": "bin/opencollective.js" + }, + "engines": { + "node": ">=8.0.0", + "npm": ">=5.0.0" + } + }, + "node_modules/@octokit/auth-token": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/core": { + "version": "5.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/auth-token": "^4.0.0", + "@octokit/graphql": "^7.0.0", + "@octokit/request": "^8.0.2", + "@octokit/request-error": "^5.0.0", + "@octokit/types": "^12.0.0", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/endpoint": { + "version": "9.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^12.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/graphql": { + "version": "7.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/request": "^8.0.1", + "@octokit/types": "^12.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/openapi-types": { + "version": "19.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/@octokit/plugin-enterprise-rest": { + "version": "6.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@octokit/plugin-paginate-rest": { + "version": "9.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^12.4.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": ">=5" + } + }, + "node_modules/@octokit/plugin-request-log": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": ">=5" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "10.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^12.3.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": ">=5" + } + }, + "node_modules/@octokit/request": { + "version": "8.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/endpoint": "^9.0.0", + "@octokit/request-error": "^5.0.0", + "@octokit/types": "^12.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/request-error": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^12.0.0", + "deprecation": "^2.0.0", + "once": "^1.4.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/rest": { + "version": "20.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/core": "^5.0.0", + "@octokit/plugin-paginate-rest": "^9.0.0", + "@octokit/plugin-request-log": "^4.0.0", + "@octokit/plugin-rest-endpoint-methods": "^10.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/types": { + "version": "12.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/openapi-types": "^19.1.0" + } + }, + "node_modules/@openapitools/openapi-generator-cli": { + "version": "2.7.0", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@nestjs/axios": "0.1.0", + "@nestjs/common": "9.3.11", + "@nestjs/core": "9.3.11", + "@nuxtjs/opencollective": "0.3.2", + "chalk": "4.1.2", + "commander": "8.3.0", + "compare-versions": "4.1.4", + "concurrently": "6.5.1", + "console.table": "0.10.0", + "fs-extra": "10.1.0", + "glob": "7.1.6", + "inquirer": "8.2.5", + "lodash": "4.17.21", + "reflect-metadata": "0.1.13", + "rxjs": "7.8.0", + "tslib": "2.0.3" + }, + "bin": { + "openapi-generator-cli": "main.js" + }, + "engines": { + "node": ">=10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/openapi_generator" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/axios": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "axios": "0.27.2" + }, + "peerDependencies": { + "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0", + "reflect-metadata": "^0.1.12", + "rxjs": "^6.0.0 || ^7.0.0" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/common": { + "version": "9.3.11", + "dev": true, + "license": "MIT", + "dependencies": { + "iterare": "1.2.1", + "tslib": "2.5.0", + "uid": "2.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "cache-manager": "<=5", + "class-transformer": "*", + "class-validator": "*", + "reflect-metadata": "^0.1.12", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "cache-manager": { + "optional": true + }, + "class-transformer": { + "optional": true + }, + "class-validator": { + "optional": true + } + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/common/node_modules/tslib": { + "version": "2.5.0", + "dev": true, + "license": "0BSD" + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/core": { + "version": "9.3.11", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@nuxtjs/opencollective": "0.3.2", + "fast-safe-stringify": "2.1.1", + "iterare": "1.2.1", + "path-to-regexp": "3.2.0", + "tslib": "2.5.0", + "uid": "2.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "@nestjs/common": "^9.0.0", + "@nestjs/microservices": "^9.0.0", + "@nestjs/platform-express": "^9.0.0", + "@nestjs/websockets": "^9.0.0", + "reflect-metadata": "^0.1.12", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "@nestjs/microservices": { + "optional": true + }, + "@nestjs/platform-express": { + "optional": true + }, + "@nestjs/websockets": { + "optional": true + } + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/core/node_modules/tslib": { + "version": "2.5.0", + "dev": true, + "license": "0BSD" + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/commander": { + "version": "8.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/glob": { + "version": "7.1.6", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/inquirer": { + "version": "8.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/inquirer/node_modules/rxjs": { + "version": "7.8.1", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/inquirer/node_modules/tslib": { + "version": "2.3.1", + "dev": true, + "license": "0BSD" + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/rxjs": { + "version": "7.8.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/rxjs/node_modules/tslib": { + "version": "2.3.1", + "dev": true, + "license": "0BSD" + }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/tslib": { + "version": "2.0.3", + "dev": true, + "license": "0BSD" + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@pkgr/core": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/@scure/base": { + "version": "1.1.1", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "node_modules/@scure/bip32": { + "version": "1.3.1", + "license": "MIT", + "dependencies": { + "@noble/curves": "~1.1.0", + "@noble/hashes": "~1.3.1", + "@scure/base": "~1.1.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@scure/bip39": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "@noble/hashes": "~1.3.0", + "@scure/base": "~1.1.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@sigstore/bundle": { + "version": "2.1.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/protobuf-specs": { + "version": "0.2.1", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign": { + "version": "2.1.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^2.1.0", + "@sigstore/protobuf-specs": "^0.2.1", + "make-fetch-happen": "^13.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/tuf": { + "version": "2.2.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.1", + "tuf-js": "^2.1.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@sinclair/typebox": { + "version": "0.27.8", + "license": "MIT" + }, + "node_modules/@sindresorhus/is": { + "version": "5.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "node_modules/@sindresorhus/merge-streams": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@sinonjs/commons": { + "version": "2.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/@sinonjs/fake-timers": { + "version": "10.0.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^2.0.0" + } + }, + "node_modules/@szmarczak/http-timer": { + "version": "5.0.1", + "license": "MIT", + "dependencies": { + "defer-to-connect": "^2.0.1" + }, + "engines": { + "node": ">=14.16" + } + }, + "node_modules/@tootallnate/once": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.8", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.9", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.1", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.2", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@tufjs/canonical-json": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/canonical-json": "2.0.0", + "minimatch": "^9.0.3" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@types/adm-zip": { + "version": "0.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/babel__core": { + "version": "7.1.18", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.4", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.1", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.14.2", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.3.0" + } + }, + "node_modules/@types/benchmark": { + "version": "2.1.5", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/eslint": { + "version": "8.4.1", + "license": "MIT", + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.3", + "license": "MIT", + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "node_modules/@types/estree": { + "version": "0.0.51", + "license": "MIT" + }, + "node_modules/@types/fs-extra": { + "version": "9.0.13", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/glob": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "node_modules/@types/graceful-fs": { + "version": "4.1.5", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/http-cache-semantics": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.4", + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-coverage": "*" + } + }, + "node_modules/@types/istanbul-reports": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-report": "*" + } + }, + "node_modules/@types/jest": { + "version": "29.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "^29.0.0", + "pretty-format": "^29.0.0" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.9", + "license": "MIT" + }, + "node_modules/@types/json5": { + "version": "0.0.29", + "license": "MIT" + }, + "node_modules/@types/keyv": { + "version": "3.1.4", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "license": "MIT" + }, + "node_modules/@types/minimist": { + "version": "1.2.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "18.11.9", + "license": "MIT" + }, + "node_modules/@types/node-fetch": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "form-data": "^3.0.0" + } + }, + "node_modules/@types/node-fetch/node_modules/form-data": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/parse-json": { + "version": "4.0.0", + "license": "MIT" + }, + "node_modules/@types/prop-types": { + "version": "15.7.4", + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "17.0.62", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" + } + }, + "node_modules/@types/responselike": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/scheduler": { + "version": "0.16.2", + "license": "MIT" + }, + "node_modules/@types/semver": { + "version": "7.5.0", + "license": "MIT" + }, + "node_modules/@types/stack-utils": { + "version": "2.0.1", + "license": "MIT" + }, + "node_modules/@types/tape": { + "version": "4.13.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/through": "*" + } + }, + "node_modules/@types/tape-promise": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/tape": "*" + } + }, + "node_modules/@types/through": { + "version": "0.0.30", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/uuid": { + "version": "9.0.8", + "license": "MIT" + }, + "node_modules/@types/ws": { + "version": "8.5.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/yargs": { + "version": "17.0.24", + "license": "MIT", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "20.2.1", + "license": "MIT" + }, + "node_modules/@types/yoga-layout": { + "version": "1.9.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.5.1", + "@typescript-eslint/scope-manager": "7.1.0", + "@typescript-eslint/type-utils": "7.1.0", + "@typescript-eslint/utils": "7.1.0", + "@typescript-eslint/visitor-keys": "7.1.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.4", + "natural-compare": "^1.4.0", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^7.0.0", + "eslint": "^8.56.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "7.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/scope-manager": "7.1.0", + "@typescript-eslint/types": "7.1.0", + "@typescript-eslint/typescript-estree": "7.1.0", + "@typescript-eslint/visitor-keys": "7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "7.1.0", + "@typescript-eslint/visitor-keys": "7.1.0" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/typescript-estree": "7.1.0", + "@typescript-eslint/utils": "7.1.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "7.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/types": "7.1.0", + "@typescript-eslint/visitor-keys": "7.1.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "9.0.3", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/globby": { + "version": "11.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "7.1.0", + "@typescript-eslint/types": "7.1.0", + "@typescript-eslint/typescript-estree": "7.1.0", + "semver": "^7.5.4" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/@types/json-schema": { + "version": "7.0.12", + "dev": true, + "license": "MIT" + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "7.1.0", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript/vfs": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.1" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "license": "ISC" + }, + "node_modules/@vue/compiler-core": { + "version": "3.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.23.0", + "@vue/shared": "3.3.7", + "estree-walker": "^2.0.2", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-dom": { + "version": "3.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/compiler-core": "3.3.7", + "@vue/shared": "3.3.7" + } + }, + "node_modules/@vue/compiler-sfc": { + "version": "3.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.23.0", + "@vue/compiler-core": "3.3.7", + "@vue/compiler-dom": "3.3.7", + "@vue/compiler-ssr": "3.3.7", + "@vue/reactivity-transform": "3.3.7", + "@vue/shared": "3.3.7", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.5", + "postcss": "^8.4.31", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-ssr": { + "version": "3.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.3.7", + "@vue/shared": "3.3.7" + } + }, + "node_modules/@vue/reactivity-transform": { + "version": "3.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.23.0", + "@vue/compiler-core": "3.3.7", + "@vue/shared": "3.3.7", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.5" + } + }, + "node_modules/@vue/shared": { + "version": "3.3.7", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.11.6", + "license": "MIT", + "dependencies": { + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.6", + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.11.6", + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.11.6", + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.11.6", + "license": "MIT", + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.6", + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.11.6", + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.11.6", + "license": "MIT", + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.11.6", + "license": "Apache-2.0", + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.11.6", + "license": "MIT" + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.11.6", + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-opt": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6", + "@webassemblyjs/wast-printer": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.11.6", + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.11.6", + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.11.6", + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.11.6", + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webpack-cli/configtest": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "peerDependencies": { + "webpack": "4.x.x || 5.x.x", + "webpack-cli": "4.x.x" + } + }, + "node_modules/@webpack-cli/info": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "envinfo": "^7.7.3" + }, + "peerDependencies": { + "webpack-cli": "4.x.x" + } + }, + "node_modules/@webpack-cli/serve": { + "version": "1.7.0", + "dev": true, + "license": "MIT", + "peerDependencies": { + "webpack-cli": "4.x.x" + }, + "peerDependenciesMeta": { + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "license": "BSD-3-Clause" + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "license": "Apache-2.0" + }, + "node_modules/abab": { + "version": "2.0.6", + "license": "BSD-3-Clause" + }, + "node_modules/abbrev": { + "version": "1.1.1", + "license": "ISC" + }, + "node_modules/abort-controller": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, + "node_modules/acorn": { + "version": "8.10.0", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.2.0", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/add-stream": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/adm-zip": { + "version": "0.5.10", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0" + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/agentkeepalive": { + "version": "4.2.1", + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "depd": "^1.1.2", + "humanize-ms": "^1.2.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/aggregate-error": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ajv": { + "version": "8.12.0", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-align": { + "version": "3.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.1.0" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "license": "MIT", + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-escapes/node_modules/type-fest": { + "version": "0.21.3", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansi-styles/node_modules/color-convert": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ansicolors": { + "version": "0.3.2", + "dev": true, + "license": "MIT" + }, + "node_modules/anymatch": { + "version": "3.1.2", + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/append-transform": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-require-extensions": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/aproba": { + "version": "2.0.0", + "license": "ISC" + }, + "node_modules/archy": { + "version": "1.0.0", + "license": "MIT" + }, + "node_modules/are-we-there-yet": { + "version": "4.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^4.1.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/are-we-there-yet/node_modules/readable-stream": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "license": "MIT" + }, + "node_modules/argparse": { + "version": "2.0.1", + "license": "Python-2.0" + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-differ": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/array-ify": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/array-includes": { + "version": "3.1.7", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-timsort": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/array-union": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/array.prototype.every": { + "version": "1.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.filter": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-array-method-boxes-properly": "^1.0.0", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.3.0", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/array-buffer-byte-length": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/arraybuffer.prototype.slice": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/arraybuffer.prototype.slice/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/arraybuffer.prototype.slice/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/available-typed-arrays": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/call-bind": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/call-bind/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/define-properties": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract": { + "version": "1.22.5", + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-set-tostringtag": "^2.0.3", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", + "has-symbols": "^1.0.3", + "hasown": "^2.0.1", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.3", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.13", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.0", + "safe-regex-test": "^1.0.3", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", + "typed-array-buffer": "^1.0.2", + "typed-array-byte-length": "^1.0.1", + "typed-array-byte-offset": "^1.0.2", + "typed-array-length": "^1.0.5", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract/node_modules/has-proto": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract/node_modules/hasown": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract/node_modules/is-shared-array-buffer": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-abstract/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-set-tostringtag": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-set-tostringtag/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-set-tostringtag/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-set-tostringtag/node_modules/has-tostringtag": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-set-tostringtag/node_modules/hasown": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/es-shim-unscopables": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "hasown": "^2.0.0" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/function.prototype.name": { + "version": "1.1.6", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/get-symbol-description": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/get-symbol-description/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/get-symbol-description/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/internal-slot": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/is-array-buffer": { + "version": "3.0.4", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/is-callable": { + "version": "1.2.7", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/is-negative-zero": { + "version": "2.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/is-typed-array": { + "version": "1.1.13", + "license": "MIT", + "dependencies": { + "which-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/object-inspect": { + "version": "1.13.1", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/object.assign": { + "version": "4.1.5", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/regexp.prototype.flags": { + "version": "1.5.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/regexp.prototype.flags/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/regexp.prototype.flags/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/regexp.prototype.flags/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/regexp.prototype.flags/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/regexp.prototype.flags/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/regexp.prototype.flags/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-array-concat": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.5", + "get-intrinsic": "^1.2.2", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-array-concat/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-array-concat/node_modules/get-intrinsic": { + "version": "1.2.2", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-regex-test": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-regex-test/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-regex-test/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-regex-test/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-regex-test/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-regex-test/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/safe-regex-test/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/string.prototype.trim": { + "version": "1.2.8", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/string.prototype.trimend": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/string.prototype.trimstart": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-buffer": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-buffer/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-buffer/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-buffer/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-buffer/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-buffer/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-buffer/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-length": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-length/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-length/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-length/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-length/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-length/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-length/node_modules/has-proto": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-length/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-offset": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-offset/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-offset/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-offset/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-offset/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-offset/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-offset/node_modules/has-proto": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-byte-offset/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-length": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-length/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-length/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-length/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-length/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-length/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-length/node_modules/has-proto": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/typed-array-length/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/which-typed-array": { + "version": "1.1.14", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.6", + "call-bind": "^1.0.5", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex/node_modules/which-typed-array/node_modules/has-tostringtag": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "get-intrinsic": "^1.2.1", + "is-array-buffer": "^3.0.2", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arrify": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/asn1.js": { + "version": "5.4.1", + "license": "MIT", + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/assert": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "es6-object-assign": "^1.1.0", + "is-nan": "^1.2.1", + "object-is": "^1.0.1", + "util": "^0.12.0" + } + }, + "node_modules/astral-regex": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/async-hook-domain": { + "version": "2.0.4", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "license": "MIT" + }, + "node_modules/auto-bind": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/axios": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", + "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "6.1.1", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-jest-hoist": { + "version": "29.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.1.14", + "@types/babel__traverse": "^7.0.6" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/before-after-hook": { + "version": "2.2.2", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/benchmark": { + "version": "2.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.17.4", + "platform": "^1.3.3" + } + }, + "node_modules/bin-links": { + "version": "4.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "cmd-shim": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "read-cmd-shim": "^4.0.0", + "write-file-atomic": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/bin-links/node_modules/write-file-atomic": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/bind-obj-methods": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/bl/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "node_modules/boxen": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-align": "^3.0.0", + "camelcase": "^6.2.0", + "chalk": "^4.1.0", + "cli-boxes": "^2.2.1", + "string-width": "^4.2.2", + "type-fest": "^0.20.2", + "widest-line": "^3.1.0", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/boxen/node_modules/type-fest": { + "version": "0.20.2", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/brorand": { + "version": "1.1.0", + "license": "MIT" + }, + "node_modules/browserify-aes": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/browserify-cipher": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "node_modules/browserify-des": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/browserify-rsa": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "node_modules/browserify-rsa/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "node_modules/browserify-sign": { + "version": "4.2.1", + "license": "ISC", + "dependencies": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, + "node_modules/browserify-sign/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "node_modules/browserify-zlib": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "pako": "~1.0.5" + } + }, + "node_modules/browserslist": { + "version": "4.20.3", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001332", + "electron-to-chromium": "^1.4.118", + "escalade": "^3.1.1", + "node-releases": "^2.0.3", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bs-logger": { + "version": "0.2.6", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-json-stable-stringify": "2.x" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/bser": { + "version": "2.1.1", + "license": "Apache-2.0", + "dependencies": { + "node-int64": "^0.4.0" + } + }, + "node_modules/buffer": { + "version": "6.0.3", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "license": "MIT" + }, + "node_modules/buffer-xor": { + "version": "1.0.3", + "license": "MIT" + }, + "node_modules/builtin-modules": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/builtin-status-codes": { + "version": "3.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/builtins": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.0.0" + } + }, + "node_modules/byte-size": { + "version": "8.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.17" + } + }, + "node_modules/cacache": { + "version": "18.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/cacache/node_modules/foreground-child": { + "version": "3.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/glob": { + "version": "10.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/lru-cache": { + "version": "10.0.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/cacache/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/cacache/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacheable-lookup": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + } + }, + "node_modules/cacheable-request": { + "version": "10.2.12", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-cache-semantics": "^4.0.1", + "get-stream": "^6.0.1", + "http-cache-semantics": "^4.1.1", + "keyv": "^4.5.2", + "mimic-response": "^4.0.0", + "normalize-url": "^8.0.0", + "responselike": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + } + }, + "node_modules/cacheable-request/node_modules/mimic-response": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caching-transform": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "hasha": "^5.0.0", + "make-dir": "^3.0.0", + "package-hash": "^4.0.0", + "write-file-atomic": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/caller-callsite": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/caller-path": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "caller-callsite": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/callsite": { + "version": "1.0.0", + "engines": { + "node": "*" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "6.3.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/camelcase-keys": { + "version": "6.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/camelcase-keys/node_modules/camelcase": { + "version": "5.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-keys/node_modules/quick-lru": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001340", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/cardinal": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansicolors": "~0.3.2", + "redeyed": "~2.1.0" + }, + "bin": { + "cdl": "bin/cdl.js" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/char-regex": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/chardet": { + "version": "0.7.0", + "license": "MIT" + }, + "node_modules/chokidar": { + "version": "3.5.3", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/chownr": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/chrome-trace-event": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=6.0" + } + }, + "node_modules/ci-info": { + "version": "3.3.0", + "license": "MIT" + }, + "node_modules/cipher-base": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/cjs-module-lexer": { + "version": "1.2.2", + "license": "MIT" + }, + "node_modules/clean-stack": { + "version": "2.2.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/clear-module": { + "version": "4.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^2.0.0", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/clear-module/node_modules/parent-module": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-boxes": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-spinners": { + "version": "2.6.1", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-truncate": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "slice-ansi": "^3.0.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-width": { + "version": "3.0.0", + "license": "ISC", + "engines": { + "node": ">= 10" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/clone-response": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "mimic-response": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cmd-shim": { + "version": "6.0.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/co": { + "version": "4.6.0", + "license": "MIT", + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/code-excerpt": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "convert-to-spaces": "^1.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/collect-v8-coverage": { + "version": "1.0.1", + "license": "MIT" + }, + "node_modules/color-convert": { + "version": "1.9.3", + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-convert/node_modules/color-name": { + "version": "1.1.3", + "license": "MIT" + }, + "node_modules/color-name": { + "version": "1.1.4", + "license": "MIT" + }, + "node_modules/color-support": { + "version": "1.1.3", + "license": "ISC", + "bin": { + "color-support": "bin.js" + } + }, + "node_modules/colorette": { + "version": "2.0.16", + "license": "MIT" + }, + "node_modules/columnify": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "strip-ansi": "^6.0.1", + "wcwidth": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "2.20.3", + "license": "MIT" + }, + "node_modules/comment-json": { + "version": "4.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "array-timsort": "^1.0.3", + "core-util-is": "^1.0.3", + "esprima": "^4.0.1", + "has-own-prop": "^2.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/common-ancestor-path": { + "version": "1.0.1", + "dev": true, + "license": "ISC" + }, + "node_modules/commondir": { + "version": "1.0.1", + "license": "MIT" + }, + "node_modules/compare-func": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" + } + }, + "node_modules/compare-versions": { + "version": "4.1.4", + "dev": true, + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "license": "MIT" + }, + "node_modules/concurrently": { + "version": "6.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "date-fns": "^2.16.1", + "lodash": "^4.17.21", + "rxjs": "^6.6.3", + "spawn-command": "^0.0.2-1", + "supports-color": "^8.1.0", + "tree-kill": "^1.2.2", + "yargs": "^16.2.0" + }, + "bin": { + "concurrently": "bin/concurrently.js" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/concurrently/node_modules/rxjs": { + "version": "6.6.7", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^1.9.0" + }, + "engines": { + "npm": ">=2.0.0" + } + }, + "node_modules/concurrently/node_modules/tslib": { + "version": "1.14.1", + "dev": true, + "license": "0BSD" + }, + "node_modules/concurrently/node_modules/y18n": { + "version": "5.0.8", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/concurrently/node_modules/yargs": { + "version": "16.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/concurrently/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/config-chain": { + "version": "1.1.13", + "dev": true, + "license": "MIT", + "dependencies": { + "ini": "^1.3.4", + "proto-list": "~1.2.1" + } + }, + "node_modules/configstore": { + "version": "5.0.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "dot-prop": "^5.2.0", + "graceful-fs": "^4.1.2", + "make-dir": "^3.0.0", + "unique-string": "^2.0.0", + "write-file-atomic": "^3.0.0", + "xdg-basedir": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/consola": { + "version": "2.15.3", + "dev": true, + "license": "MIT" + }, + "node_modules/console-browserify": { + "version": "1.2.0", + "dev": true + }, + "node_modules/console-control-strings": { + "version": "1.1.0", + "license": "ISC" + }, + "node_modules/console.table": { + "version": "0.10.0", + "dev": true, + "license": "MIT", + "dependencies": { + "easy-table": "1.1.0" + }, + "engines": { + "node": "> 0.10" + } + }, + "node_modules/constants-browserify": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/conventional-changelog-angular": { + "version": "6.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-conventionalcommits": { + "version": "6.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-core": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@hutson/parse-repository-url": "^5.0.0", + "add-stream": "^1.0.0", + "conventional-changelog-writer": "^7.0.0", + "conventional-commits-parser": "^5.0.0", + "git-raw-commits": "^4.0.0", + "git-semver-tags": "^7.0.0", + "hosted-git-info": "^7.0.0", + "normalize-package-data": "^6.0.0", + "read-pkg": "^8.0.0", + "read-pkg-up": "^10.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-core/node_modules/find-up": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/locate-path": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^6.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/p-limit": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^1.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/p-locate": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/path-exists": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/conventional-changelog-core/node_modules/read-pkg-up": { + "version": "10.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^6.3.0", + "read-pkg": "^8.1.0", + "type-fest": "^4.2.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/type-fest": { + "version": "4.3.1", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-core/node_modules/yocto-queue": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-preset-loader": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-changelog-writer": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "conventional-commits-filter": "^4.0.0", + "handlebars": "^4.7.7", + "json-stringify-safe": "^5.0.1", + "meow": "^12.0.1", + "semver": "^7.5.2", + "split2": "^4.0.0" + }, + "bin": { + "conventional-changelog-writer": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-commits-filter": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-commits-parser": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-text-path": "^2.0.0", + "JSONStream": "^1.3.5", + "meow": "^12.0.1", + "split2": "^4.0.0" + }, + "bin": { + "conventional-commits-parser": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/conventional-commits-parser/node_modules/is-text-path": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "text-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/text-extensions": { + "version": "2.4.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-recommended-bump": { + "version": "9.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "conventional-changelog-preset-loader": "^4.1.0", + "conventional-commits-filter": "^4.0.0", + "conventional-commits-parser": "^5.0.0", + "git-raw-commits": "^4.0.0", + "git-semver-tags": "^7.0.0", + "meow": "^12.0.1" + }, + "bin": { + "conventional-recommended-bump": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/convert-source-map": { + "version": "1.8.0", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/convert-source-map/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "node_modules/convert-to-spaces": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "license": "MIT" + }, + "node_modules/cosmiconfig": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cp-file": { + "version": "9.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "make-dir": "^3.0.0", + "nested-error-stacks": "^2.0.0", + "p-event": "^4.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy": { + "version": "9.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "arrify": "^3.0.0", + "cp-file": "^9.1.0", + "globby": "^13.1.1", + "junk": "^4.0.0", + "micromatch": "^4.0.4", + "nested-error-stacks": "^2.1.0", + "p-filter": "^3.0.0", + "p-map": "^5.3.0" + }, + "engines": { + "node": "^12.20.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli": { + "version": "4.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cpy": "^9.0.0", + "meow": "^10.1.2" + }, + "bin": { + "cpy": "cli.js" + }, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/camelcase-keys": { + "version": "7.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^6.3.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/decamelize": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/hosted-git-info": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cpy-cli/node_modules/indent-string": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/meow": { + "version": "10.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/normalize-package-data": { + "version": "3.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cpy-cli/node_modules/read-pkg": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/read-pkg-up": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/redent": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "indent-string": "^5.0.0", + "strip-indent": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/strip-indent": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "min-indent": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/trim-newlines": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy-cli/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/cpy/node_modules/aggregate-error": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^4.0.0", + "indent-string": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy/node_modules/arrify": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy/node_modules/clean-stack": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy/node_modules/escape-string-regexp": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy/node_modules/globby": { + "version": "13.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.11", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy/node_modules/indent-string": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy/node_modules/p-map": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cpy/node_modules/slash": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/crc-32": { + "version": "1.2.2", + "license": "Apache-2.0", + "bin": { + "crc32": "bin/crc32.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/create-ecdh": { + "version": "4.0.4", + "license": "MIT", + "dependencies": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + } + }, + "node_modules/create-hash": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "license": "MIT", + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "node_modules/create-require": { + "version": "1.1.1", + "devOptional": true, + "license": "MIT" + }, + "node_modules/cross-env": { + "version": "7.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, + "node_modules/cross-fetch": { + "version": "3.1.8", + "license": "MIT", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "node_modules/cross-fetch/node_modules/node-fetch": { + "version": "2.6.12", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cross-spawn/node_modules/shebang-command": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/crypto-browserify": { + "version": "3.12.0", + "license": "MIT", + "dependencies": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + }, + "engines": { + "node": "*" + } + }, + "node_modules/crypto-random-string": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cspell": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspell/cspell-pipe": "^5.21.2", + "chalk": "^4.1.2", + "commander": "^9.2.0", + "cspell-gitignore": "^5.21.2", + "cspell-glob": "^5.21.2", + "cspell-lib": "^5.21.2", + "fast-json-stable-stringify": "^2.1.0", + "file-entry-cache": "^6.0.1", + "fs-extra": "^10.1.0", + "get-stdin": "^8.0.0", + "glob": "^8.0.3", + "imurmurhash": "^0.1.4", + "semver": "^7.3.7", + "strip-ansi": "^6.0.1", + "vscode-uri": "^3.0.3" + }, + "bin": { + "cspell": "bin.js" + }, + "engines": { + "node": ">=12.13.0" + }, + "funding": { + "url": "https://github.com/streetsidesoftware/cspell?sponsor=1" + } + }, + "node_modules/cspell-gitignore": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "dependencies": { + "cspell-glob": "^5.21.2", + "find-up": "^5.0.0" + }, + "bin": { + "cspell-gitignore": "bin.js" + }, + "engines": { + "node": ">=12.13.0" + } + }, + "node_modules/cspell-glob": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "dependencies": { + "micromatch": "^4.0.5" + }, + "engines": { + "node": ">=12.13.0" + } + }, + "node_modules/cspell-glob/node_modules/micromatch": { + "version": "4.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/cspell-io": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.13.0" + } + }, + "node_modules/cspell-lib": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspell/cspell-bundled-dicts": "^5.21.2", + "@cspell/cspell-pipe": "^5.21.2", + "@cspell/cspell-types": "^5.21.2", + "clear-module": "^4.1.2", + "comment-json": "^4.2.2", + "configstore": "^5.0.1", + "cosmiconfig": "^7.0.1", + "cspell-glob": "^5.21.2", + "cspell-io": "^5.21.2", + "cspell-trie-lib": "^5.21.2", + "fast-equals": "^3.0.2", + "find-up": "^5.0.0", + "fs-extra": "^10.1.0", + "gensequence": "^3.1.1", + "import-fresh": "^3.3.0", + "resolve-from": "^5.0.0", + "resolve-global": "^1.0.0", + "vscode-languageserver-textdocument": "^1.0.4", + "vscode-uri": "^3.0.3" + }, + "engines": { + "node": ">=12.13.0" + } + }, + "node_modules/cspell-trie-lib": { + "version": "5.21.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspell/cspell-pipe": "^5.21.2", + "fs-extra": "^10.1.0", + "gensequence": "^3.1.1" + }, + "engines": { + "node": ">=12.13.0" + } + }, + "node_modules/cspell/node_modules/commander": { + "version": "9.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/cspell/node_modules/get-stdin": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cspell/node_modules/glob": { + "version": "8.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cspell/node_modules/minimatch": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/csstype": { + "version": "3.0.10", + "license": "MIT" + }, + "node_modules/dargs": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/data-uri-to-buffer": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/date-fns": { + "version": "2.28.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.11" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/date-fns" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "node_modules/decamelize": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decamelize-keys": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decamelize-keys/node_modules/map-obj": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decompress-response": { + "version": "3.3.0", + "license": "MIT", + "dependencies": { + "mimic-response": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/dedent": { + "version": "1.5.1", + "dev": true, + "license": "MIT", + "peerDependencies": { + "babel-plugin-macros": "^3.1.0" + }, + "peerDependenciesMeta": { + "babel-plugin-macros": { + "optional": true + } + } + }, + "node_modules/deep-equal": { + "version": "2.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "es-get-iterator": "^1.1.3", + "get-intrinsic": "^1.2.1", + "is-arguments": "^1.1.1", + "is-array-buffer": "^3.0.2", + "is-date-object": "^1.0.5", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "isarray": "^2.0.5", + "object-is": "^1.1.5", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.0", + "side-channel": "^1.0.4", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.9" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "license": "MIT" + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/deepmerge-ts": { + "version": "5.1.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/default-require-extensions": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "strip-bom": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/default-require-extensions/node_modules/strip-bom": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/defaults": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "clone": "^1.0.2" + } + }, + "node_modules/defer-to-connect": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/define-data-property": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/define-properties": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/defined": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/del": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "globby": "^13.1.2", + "graceful-fs": "^4.2.10", + "is-glob": "^4.0.3", + "is-path-cwd": "^3.0.0", + "is-path-inside": "^4.0.0", + "p-map": "^5.5.0", + "rimraf": "^3.0.2", + "slash": "^4.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "del": "^6.0.0", + "meow": "^10.1.0" + }, + "bin": { + "del": "cli.js", + "del-cli": "cli.js" + }, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/camelcase-keys": { + "version": "7.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^6.3.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/decamelize": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/del": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "globby": "^11.0.1", + "graceful-fs": "^4.2.4", + "is-glob": "^4.0.1", + "is-path-cwd": "^2.2.0", + "is-path-inside": "^3.0.2", + "p-map": "^4.0.0", + "rimraf": "^3.0.2", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/globby": { + "version": "11.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/hosted-git-info": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/del-cli/node_modules/indent-string": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/meow": { + "version": "10.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/normalize-package-data": { + "version": "3.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/del-cli/node_modules/read-pkg": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/read-pkg-up": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/redent": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "indent-string": "^5.0.0", + "strip-indent": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/strip-indent": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "min-indent": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/trim-newlines": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/del/node_modules/aggregate-error": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^4.0.0", + "indent-string": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/clean-stack": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/escape-string-regexp": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/fast-glob": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/del/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/del/node_modules/globby": { + "version": "13.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "dir-glob": "^3.0.1", + "fast-glob": "^3.3.0", + "ignore": "^5.2.4", + "merge2": "^1.4.1", + "slash": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/graceful-fs": { + "version": "4.2.11", + "dev": true, + "license": "ISC" + }, + "node_modules/del/node_modules/indent-string": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/is-path-cwd": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/is-path-inside": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/p-map": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/slash": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/delegates": { + "version": "1.0.0", + "license": "MIT" + }, + "node_modules/depcheck": { + "version": "1.4.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.23.0", + "@babel/traverse": "^7.23.2", + "@vue/compiler-sfc": "^3.3.4", + "callsite": "^1.0.0", + "camelcase": "^6.3.0", + "cosmiconfig": "^7.1.0", + "debug": "^4.3.4", + "deps-regex": "^0.2.0", + "findup-sync": "^5.0.0", + "ignore": "^5.2.4", + "is-core-module": "^2.12.0", + "js-yaml": "^3.14.1", + "json5": "^2.2.3", + "lodash": "^4.17.21", + "minimatch": "^7.4.6", + "multimatch": "^5.0.0", + "please-upgrade-node": "^3.2.0", + "readdirp": "^3.6.0", + "require-package-name": "^2.0.1", + "resolve": "^1.22.3", + "resolve-from": "^5.0.0", + "semver": "^7.5.4", + "yargs": "^16.2.0" + }, + "bin": { + "depcheck": "bin/depcheck.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/depcheck/node_modules/argparse": { + "version": "1.0.10", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/depcheck/node_modules/array-differ": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/depcheck/node_modules/arrify": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/depcheck/node_modules/js-yaml": { + "version": "3.14.1", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/depcheck/node_modules/minimatch": { + "version": "7.4.6", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/depcheck/node_modules/multimatch": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimatch": "^3.0.3", + "array-differ": "^3.0.0", + "array-union": "^2.1.0", + "arrify": "^2.0.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/depcheck/node_modules/multimatch/node_modules/brace-expansion": { + "version": "1.1.11", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/depcheck/node_modules/multimatch/node_modules/minimatch": { + "version": "3.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/depcheck/node_modules/y18n": { + "version": "5.0.8", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/depcheck/node_modules/yargs": { + "version": "16.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/depcheck/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/deprecation": { + "version": "2.3.1", + "dev": true, + "license": "ISC" + }, + "node_modules/deps-regex": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/des.js": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/detect-file": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/detect-indent": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, + "node_modules/detect-libc": { + "version": "2.0.1", + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/detect-newline": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/diff": { + "version": "4.0.2", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/diff-sequences": { + "version": "29.4.3", + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/diffie-hellman": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/doctrine": { + "version": "2.1.0", + "license": "Apache-2.0", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/domain-browser": { + "version": "4.22.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/dot-prop": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dotenv": { + "version": "16.3.1", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/motdotla/dotenv?sponsor=1" + } + }, + "node_modules/dotignore": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "minimatch": "^3.0.4" + }, + "bin": { + "ignored": "bin/ignored" + } + }, + "node_modules/ds-test": { + "version": "1.0.0", + "resolved": "git+ssh://git@github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0", + "integrity": "sha512-Bz9R2iT9r7vxOcC1JAx96j8FT274zhTtPwWF2kOR+B6HDi46qYaZS8zboCaEaCw3QokBUAL/je/5zQnrQU6mWg==", + "dev": true, + "license": "GPL-3.0" + }, + "node_modules/duplexer": { + "version": "0.1.2", + "license": "MIT" + }, + "node_modules/duplexer3": { + "version": "0.1.5", + "license": "BSD-3-Clause" + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/easy-table": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "wcwidth": ">=1.0.1" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.4.137", + "license": "ISC" + }, + "node_modules/elliptic": { + "version": "6.5.4", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/emittery": { + "version": "0.13.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "license": "MIT" + }, + "node_modules/encoding": { + "version": "0.1.13", + "license": "MIT", + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.12.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/enquirer": { + "version": "2.3.6", + "license": "MIT", + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/env-paths": { + "version": "2.2.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/envinfo": { + "version": "7.8.1", + "dev": true, + "license": "MIT", + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eol": { + "version": "0.9.1", + "dev": true, + "license": "MIT" + }, + "node_modules/err-code": { + "version": "2.0.3", + "license": "MIT" + }, + "node_modules/error-ex": { + "version": "1.3.2", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.22.1", + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "arraybuffer.prototype.slice": "^1.0.1", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.5", + "get-intrinsic": "^1.2.1", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.0", + "safe-array-concat": "^1.0.0", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", + "string.prototype.trimend": "^1.0.6", + "string.prototype.trimstart": "^1.0.6", + "typed-array-buffer": "^1.0.0", + "typed-array-byte-length": "^1.0.0", + "typed-array-byte-offset": "^1.0.0", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-abstract/node_modules/is-callable": { + "version": "1.2.7", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-abstract/node_modules/which-typed-array": { + "version": "1.1.11", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-array-method-boxes-properly": { + "version": "1.0.0", + "license": "MIT" + }, + "node_modules/es-define-property": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-define-property/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-define-property/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-get-iterator": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "has-symbols": "^1.0.3", + "is-arguments": "^1.1.1", + "is-map": "^2.0.2", + "is-set": "^2.0.2", + "is-string": "^1.0.7", + "isarray": "^2.0.5", + "stop-iteration-iterator": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-main": { + "version": "1.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/es-module-lexer": { + "version": "1.3.0", + "license": "MIT" + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has": "^1.0.3" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es6-error": { + "version": "4.1.1", + "license": "MIT" + }, + "node_modules/es6-object-assign": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/escalade": { + "version": "3.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-goat": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint": { + "version": "8.57.0", + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-compat-utils": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/eslint-compat-utils/-/eslint-compat-utils-0.5.1.tgz", + "integrity": "sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==", + "dev": true, + "peer": true, + "dependencies": { + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "eslint": ">=6.0.0" + } + }, + "node_modules/eslint-config-prettier": { + "version": "9.1.0", + "dev": true, + "license": "MIT", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-config-standard": { + "version": "17.1.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "eslint": "^8.0.1", + "eslint-plugin-import": "^2.25.2", + "eslint-plugin-n": "^15.0.0 || ^16.0.0 ", + "eslint-plugin-promise": "^6.0.0" + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.9", + "license": "MIT", + "dependencies": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.8.0", + "license": "MIT", + "dependencies": { + "debug": "^3.2.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-es": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-utils": "^2.0.0", + "regexpp": "^3.0.0" + }, + "engines": { + "node": ">=8.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=4.19.1" + } + }, + "node_modules/eslint-plugin-es-x": { + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-7.7.0.tgz", + "integrity": "sha512-aP3qj8BwiEDPttxQkZdI221DLKq9sI/qHolE2YSQL1/9+xk7dTV+tB1Fz8/IaCA+lnLA1bDEnvaS2LKs0k2Uig==", + "dev": true, + "funding": [ + "https://github.com/sponsors/ota-meshi", + "https://opencollective.com/eslint" + ], + "peer": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.1.2", + "@eslint-community/regexpp": "^4.6.0", + "eslint-compat-utils": "^0.5.1" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": ">=8" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.29.1", + "license": "MIT", + "dependencies": { + "array-includes": "^3.1.7", + "array.prototype.findlastindex": "^1.2.3", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.8.0", + "hasown": "^2.0.0", + "is-core-module": "^2.13.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.7", + "object.groupby": "^1.0.1", + "object.values": "^1.1.7", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "3.2.7", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-plugin-n": { + "version": "16.6.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.6.2.tgz", + "integrity": "sha512-6TyDmZ1HXoFQXnhCTUjVFULReoBPOAjpuiKELMkeP40yffI/1ZRO+d9ug/VC6fqISo2WkuIBk3cvuRPALaWlOQ==", + "dev": true, + "peer": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "builtins": "^5.0.1", + "eslint-plugin-es-x": "^7.5.0", + "get-tsconfig": "^4.7.0", + "globals": "^13.24.0", + "ignore": "^5.2.4", + "is-builtin-module": "^3.2.1", + "is-core-module": "^2.12.1", + "minimatch": "^3.1.2", + "resolve": "^1.22.2", + "semver": "^7.5.3" + }, + "engines": { + "node": ">=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-node": { + "version": "11.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-plugin-es": "^3.0.0", + "eslint-utils": "^2.0.0", + "ignore": "^5.1.1", + "minimatch": "^3.0.4", + "resolve": "^1.10.1", + "semver": "^6.1.0" + }, + "engines": { + "node": ">=8.10.0" + }, + "peerDependencies": { + "eslint": ">=5.16.0" + } + }, + "node_modules/eslint-plugin-node/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "5.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.8.6" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint-plugin-prettier" + }, + "peerDependencies": { + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "eslint-config-prettier": "*", + "prettier": ">=3.0.0" + }, + "peerDependenciesMeta": { + "@types/eslint": { + "optional": true + }, + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-promise": { + "version": "6.1.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + } + }, + "node_modules/eslint-plugin-standard": { + "version": "5.0.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "peerDependencies": { + "eslint": ">=5.0.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint-utils": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^1.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.1", + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/eslint/node_modules/doctrine": { + "version": "3.0.0", + "license": "Apache-2.0", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.2.2", + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "node_modules/espree": { + "version": "9.6.1", + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/esutils": { + "version": "2.0.3", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ethereum-cryptography": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "@noble/curves": "1.1.0", + "@noble/hashes": "1.3.1", + "@scure/bip32": "1.3.1", + "@scure/bip39": "1.2.1" + } + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/eventemitter3": { + "version": "5.0.1", + "license": "MIT" + }, + "node_modules/events": { + "version": "3.3.0", + "license": "MIT", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/events-to-array": { + "version": "1.1.2", + "dev": true, + "license": "ISC" + }, + "node_modules/evp_bytestokey": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/exit": { + "version": "0.1.2", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/expand-tilde": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "homedir-polyfill": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expect": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/expect-utils": "^29.6.2", + "@types/node": "*", + "jest-get-type": "^29.4.3", + "jest-matcher-utils": "^29.6.2", + "jest-message-util": "^29.6.2", + "jest-util": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/exponential-backoff": { + "version": "3.1.1", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/external-editor": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "license": "MIT" + }, + "node_modules/fast-diff": { + "version": "1.2.0", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/fast-equals": { + "version": "3.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.2.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "license": "MIT" + }, + "node_modules/fast-safe-stringify": { + "version": "2.1.1", + "license": "MIT" + }, + "node_modules/fastest-levenshtein": { + "version": "1.0.12", + "dev": true, + "license": "MIT" + }, + "node_modules/fastq": { + "version": "1.13.0", + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fb-watchman": { + "version": "2.0.1", + "license": "Apache-2.0", + "dependencies": { + "bser": "2.1.1" + } + }, + "node_modules/fetch-blob": { + "version": "3.2.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, + "node_modules/figures": { + "version": "3.2.0", + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "license": "MIT", + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/filter-obj": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir": { + "version": "3.3.2", + "license": "MIT", + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/find-up/node_modules/locate-path": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/find-up/node_modules/p-locate": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/findit": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/findup-sync": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-file": "^1.0.0", + "is-glob": "^4.0.3", + "micromatch": "^4.0.4", + "resolve-dir": "^1.0.1" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/flat-cache": { + "version": "3.0.4", + "license": "MIT", + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.5", + "license": "ISC" + }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/for-each": { + "version": "0.3.3", + "license": "MIT", + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/foreground-child": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/forge-std": { + "version": "1.5.6", + "resolved": "git+ssh://git@github.com/foundry-rs/forge-std.git#66bf4e2c92cf507531599845e8d5a08cc2e3b5bb", + "integrity": "sha512-x0kVN39vXM6sMYm5Qxl7WtP6+AmqXumPaNn02gJLlo421LgJKE++6xjMjxmkNq4HJy29+lpllOsH7eoU8RD9Cg==", + "dev": true, + "license": "(Apache-2.0 OR MIT)" + }, + "node_modules/form-data": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/form-data-encoder": { + "version": "2.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.17" + } + }, + "node_modules/formdata-polyfill": { + "version": "4.0.10", + "license": "MIT", + "dependencies": { + "fetch-blob": "^3.1.2" + }, + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/fromentries": { + "version": "1.3.2", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/fs-exists-cached": { + "version": "1.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/fs-extra": { + "version": "10.1.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/fs-minipass": { + "version": "3.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/fs-minipass/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "license": "MIT" + }, + "node_modules/function-loop": { + "version": "2.0.1", + "dev": true, + "license": "ISC" + }, + "node_modules/function.prototype.name": { + "version": "1.1.5", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.0", + "functions-have-names": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gauge": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/gensequence": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-own-enumerable-property-symbols": { + "version": "3.0.2", + "license": "ISC" + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-stdin": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-tsconfig": { + "version": "4.7.5", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.5.tgz", + "integrity": "sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==", + "dev": true, + "dependencies": { + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, + "node_modules/git-hooks-list": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/fisker/git-hooks-list?sponsor=1" + } + }, + "node_modules/git-raw-commits": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "dargs": "^8.0.0", + "meow": "^12.0.1", + "split2": "^4.0.0" + }, + "bin": { + "git-raw-commits": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/git-raw-commits/node_modules/dargs": { + "version": "8.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-semver-tags": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "meow": "^12.0.1", + "semver": "^7.5.2" + }, + "bin": { + "git-semver-tags": "cli.mjs" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/git-up": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-ssh": "^1.4.0", + "parse-url": "^8.1.0" + } + }, + "node_modules/git-url-parse": { + "version": "13.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "git-up": "^7.0.0" + } + }, + "node_modules/glob": { + "version": "7.2.0", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "license": "BSD-2-Clause" + }, + "node_modules/global-dirs": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ini": "^1.3.4" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/global-modules": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/global-prefix": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/global-prefix/node_modules/which": { + "version": "1.3.1", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globals/node_modules/type-fest": { + "version": "0.20.2", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/globby": { + "version": "12.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^3.0.1", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.7", + "ignore": "^5.1.9", + "merge2": "^1.4.1", + "slash": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/array-union": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/slash": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/google-protobuf": { + "version": "3.21.2", + "license": "(BSD-3-Clause AND Apache-2.0)" + }, + "node_modules/gopd": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/got": { + "version": "9.6.0", + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^0.14.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", + "decompress-response": "^3.3.0", + "duplexer3": "^0.1.4", + "get-stream": "^4.1.0", + "lowercase-keys": "^1.0.1", + "mimic-response": "^1.0.1", + "p-cancelable": "^1.0.0", + "to-readable-stream": "^1.0.0", + "url-parse-lax": "^3.0.0" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/got/node_modules/@sindresorhus/is": { + "version": "0.14.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/got/node_modules/@szmarczak/http-timer": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "defer-to-connect": "^1.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/got/node_modules/cacheable-request": { + "version": "6.1.0", + "license": "MIT", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^3.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/got/node_modules/cacheable-request/node_modules/get-stream": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/got/node_modules/cacheable-request/node_modules/lowercase-keys": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/got/node_modules/defer-to-connect": { + "version": "1.1.3", + "license": "MIT" + }, + "node_modules/got/node_modules/get-stream": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/got/node_modules/json-buffer": { + "version": "3.0.0", + "license": "MIT" + }, + "node_modules/got/node_modules/keyv": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.0" + } + }, + "node_modules/got/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/got/node_modules/normalize-url": { + "version": "4.5.1", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/got/node_modules/p-cancelable": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/got/node_modules/responselike": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "lowercase-keys": "^1.0.0" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.9", + "license": "ISC" + }, + "node_modules/graphemer": { + "version": "1.4.0", + "license": "MIT" + }, + "node_modules/grpc_tools_node_protoc_ts": { + "version": "5.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "google-protobuf": "3.15.8", + "handlebars": "4.7.7" + }, + "bin": { + "protoc-gen-ts": "bin/protoc-gen-ts" + } + }, + "node_modules/grpc_tools_node_protoc_ts/node_modules/google-protobuf": { + "version": "3.15.8", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/grpc-tools": { + "version": "1.12.4", + "hasInstallScript": true, + "dependencies": { + "@mapbox/node-pre-gyp": "^1.0.5" + }, + "bin": { + "grpc_tools_node_protoc": "bin/protoc.js", + "grpc_tools_node_protoc_plugin": "bin/protoc_plugin.js" + } + }, + "node_modules/handlebars": { + "version": "4.7.7", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/hard-rejection": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/has": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.1", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-dynamic-import": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-own-prop": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-unicode": { + "version": "2.0.1", + "license": "ISC" + }, + "node_modules/has-yarn": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/hash-base": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/hash.js": { + "version": "1.1.7", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/hasha": { + "version": "5.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-stream": "^2.0.0", + "type-fest": "^0.8.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/hasha/node_modules/type-fest": { + "version": "0.8.1", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "node_modules/hasown": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hasown/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/homedir-polyfill": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "parse-passwd": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/hosted-git-info": { + "version": "7.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "10.0.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "license": "MIT" + }, + "node_modules/http-cache-semantics": { + "version": "4.1.1", + "license": "BSD-2-Clause" + }, + "node_modules/http-proxy-agent": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/http2-wrapper": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "quick-lru": "^5.1.1", + "resolve-alpn": "^1.2.0" + }, + "engines": { + "node": ">=10.19.0" + } + }, + "node_modules/https-browserify": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/https-proxy-agent": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/human-signals": { + "version": "2.1.0", + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/humanize-ms": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "ms": "^2.0.0" + } + }, + "node_modules/husky": { + "version": "7.0.4", + "dev": true, + "license": "MIT", + "bin": { + "husky": "lib/bin.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/ignore-by-default": { + "version": "1.0.1", + "dev": true, + "license": "ISC" + }, + "node_modules/ignore-walk": { + "version": "6.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "minimatch": "^7.4.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/ignore-walk/node_modules/minimatch": { + "version": "7.4.5", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/import-lazy": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/import-local": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "license": "ISC" + }, + "node_modules/ink": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "auto-bind": "4.0.0", + "chalk": "^4.1.0", + "cli-boxes": "^2.2.0", + "cli-cursor": "^3.1.0", + "cli-truncate": "^2.1.0", + "code-excerpt": "^3.0.0", + "indent-string": "^4.0.0", + "is-ci": "^2.0.0", + "lodash": "^4.17.20", + "patch-console": "^1.0.0", + "react-devtools-core": "^4.19.1", + "react-reconciler": "^0.26.2", + "scheduler": "^0.20.2", + "signal-exit": "^3.0.2", + "slice-ansi": "^3.0.0", + "stack-utils": "^2.0.2", + "string-width": "^4.2.2", + "type-fest": "^0.12.0", + "widest-line": "^3.1.0", + "wrap-ansi": "^6.2.0", + "ws": "^7.5.5", + "yoga-layout-prebuilt": "^1.9.6" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": ">=16.8.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/ink/node_modules/escape-string-regexp": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ink/node_modules/stack-utils": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ink/node_modules/type-fest": { + "version": "0.12.0", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ink/node_modules/wrap-ansi": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ink/node_modules/ws": { + "version": "7.5.9", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/inquirer": { + "version": "8.2.6", + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^6.0.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/inquirer/node_modules/wrap-ansi": { + "version": "6.2.0", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/internal-slot": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/interpret": { + "version": "2.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/ip": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/is-arguments": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "license": "MIT" + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-builtin-module": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", + "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", + "dev": true, + "peer": true, + "dependencies": { + "builtin-modules": "^3.3.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-callable": { + "version": "1.2.4", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-ci": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ci-info": "^2.0.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/is-ci/node_modules/ci-info": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dependencies": { + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-fn": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/is-generator-function": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-installed-globally": { + "version": "0.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "global-dirs": "^3.0.0", + "is-path-inside": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-installed-globally/node_modules/global-dirs": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ini": "2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-installed-globally/node_modules/ini": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-lambda": { + "version": "1.0.1", + "license": "MIT" + }, + "node_modules/is-map": { + "version": "2.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-nan": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-npm": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.6", + "license": "MIT", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-obj": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-path-cwd": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-promise": { + "version": "2.2.2", + "dev": true, + "license": "MIT" + }, + "node_modules/is-regex": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-regexp": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-set": { + "version": "2.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-ssh": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "protocols": "^2.0.1" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-text-path": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "text-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.10", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "license": "MIT" + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-weakmap": { + "version": "2.0.1", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakset": { + "version": "2.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-windows": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-yarn-global": { + "version": "0.3.0", + "dev": true, + "license": "MIT" + }, + "node_modules/isarray": { + "version": "2.0.5", + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "license": "ISC" + }, + "node_modules/isobject": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isomorphic-ws": { + "version": "5.0.0", + "license": "MIT", + "peerDependencies": { + "ws": "*" + } + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.0", + "license": "BSD-3-Clause", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-hook": { + "version": "3.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "append-transform": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "5.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/istanbul-lib-processinfo": { + "version": "2.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "archy": "^1.0.0", + "cross-spawn": "^7.0.3", + "istanbul-lib-coverage": "^3.2.0", + "p-map": "^3.0.0", + "rimraf": "^3.0.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-processinfo/node_modules/p-map": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-processinfo/node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.0", + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.2.0", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "license": "BSD-3-Clause", + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.4", + "license": "BSD-3-Clause", + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/iterare": { + "version": "1.2.1", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=6" + } + }, + "node_modules/jackspeak": { + "version": "2.3.6", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jest": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "^29.6.2", + "@jest/types": "^29.6.1", + "import-local": "^3.0.2", + "jest-cli": "^29.6.2" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-changed-files": { + "version": "29.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^5.0.0", + "p-limit": "^3.1.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-circus": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.6.2", + "@jest/expect": "^29.6.2", + "@jest/test-result": "^29.6.2", + "@jest/types": "^29.6.1", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^1.0.0", + "is-generator-fn": "^2.0.0", + "jest-each": "^29.6.2", + "jest-matcher-utils": "^29.6.2", + "jest-message-util": "^29.6.2", + "jest-runtime": "^29.6.2", + "jest-snapshot": "^29.6.2", + "jest-util": "^29.6.2", + "p-limit": "^3.1.0", + "pretty-format": "^29.6.2", + "pure-rand": "^6.0.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-cli": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "^29.6.2", + "@jest/test-result": "^29.6.2", + "@jest/types": "^29.6.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "import-local": "^3.0.2", + "jest-config": "^29.6.2", + "jest-util": "^29.6.2", + "jest-validate": "^29.6.2", + "prompts": "^2.0.1", + "yargs": "^17.3.1" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-config": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/test-sequencer": "^29.6.2", + "@jest/types": "^29.6.1", + "babel-jest": "^29.6.2", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-circus": "^29.6.2", + "jest-environment-node": "^29.6.2", + "jest-get-type": "^29.4.3", + "jest-regex-util": "^29.4.3", + "jest-resolve": "^29.6.2", + "jest-runner": "^29.6.2", + "jest-util": "^29.6.2", + "jest-validate": "^29.6.2", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^29.6.2", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@types/node": "*", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/jest-config/node_modules/@babel/compat-data": { + "version": "7.18.8", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/jest-config/node_modules/@babel/core": { + "version": "7.18.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.9", + "@babel/helper-compilation-targets": "^7.18.9", + "@babel/helper-module-transforms": "^7.18.9", + "@babel/helpers": "^7.18.9", + "@babel/parser": "^7.18.9", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.9", + "@babel/types": "^7.18.9", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/jest-config/node_modules/@babel/generator": { + "version": "7.18.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.18.9", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/jest-config/node_modules/@babel/helper-compilation-targets": { + "version": "7.18.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.18.8", + "@babel/helper-validator-option": "^7.18.6", + "browserslist": "^4.20.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-config/node_modules/babel-jest": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/transform": "^29.6.2", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^29.5.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.8.0" + } + }, + "node_modules/jest-config/node_modules/babel-preset-current-node-syntax": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/jest-config/node_modules/babel-preset-jest": { + "version": "29.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-jest-hoist": "^29.5.0", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/jest-config/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/jest-diff": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.4.3", + "jest-get-type": "^29.4.3", + "pretty-format": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-docblock": { + "version": "29.4.3", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-each": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.1", + "chalk": "^4.0.0", + "jest-get-type": "^29.4.3", + "jest-util": "^29.6.2", + "pretty-format": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-environment-node": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.6.2", + "@jest/fake-timers": "^29.6.2", + "@jest/types": "^29.6.1", + "@types/node": "*", + "jest-mock": "^29.6.2", + "jest-util": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-extended": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-diff": "^29.0.0", + "jest-get-type": "^29.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "jest": ">=27.2.5" + }, + "peerDependenciesMeta": { + "jest": { + "optional": true + } + } + }, + "node_modules/jest-get-type": { + "version": "29.4.3", + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-haste-map": { + "version": "29.6.2", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.4.3", + "jest-util": "^29.6.2", + "jest-worker": "^29.6.2", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/jest-haste-map/node_modules/jest-worker": { + "version": "29.6.2", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.6.2", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-leak-detector": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-get-type": "^29.4.3", + "pretty-format": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-matcher-utils": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^29.6.2", + "jest-get-type": "^29.4.3", + "pretty-format": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-message-util": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.6.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.6.2", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-mock": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.1", + "@types/node": "*", + "jest-util": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-pnp-resolver": { + "version": "1.2.2", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "jest-resolve": "*" + }, + "peerDependenciesMeta": { + "jest-resolve": { + "optional": true + } + } + }, + "node_modules/jest-regex-util": { + "version": "29.4.3", + "devOptional": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-resolve": { + "version": "29.6.2", + "devOptional": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.6.2", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.6.2", + "jest-validate": "^29.6.2", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-resolve-dependencies": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-regex-util": "^29.4.3", + "jest-snapshot": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runner": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.6.2", + "@jest/environment": "^29.6.2", + "@jest/test-result": "^29.6.2", + "@jest/transform": "^29.6.2", + "@jest/types": "^29.6.1", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "graceful-fs": "^4.2.9", + "jest-docblock": "^29.4.3", + "jest-environment-node": "^29.6.2", + "jest-haste-map": "^29.6.2", + "jest-leak-detector": "^29.6.2", + "jest-message-util": "^29.6.2", + "jest-resolve": "^29.6.2", + "jest-runtime": "^29.6.2", + "jest-util": "^29.6.2", + "jest-watcher": "^29.6.2", + "jest-worker": "^29.6.2", + "p-limit": "^3.1.0", + "source-map-support": "0.5.13" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runner/node_modules/jest-worker": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.6.2", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runner/node_modules/source-map-support": { + "version": "0.5.13", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/jest-runtime": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.6.2", + "@jest/fake-timers": "^29.6.2", + "@jest/globals": "^29.6.2", + "@jest/source-map": "^29.6.0", + "@jest/test-result": "^29.6.2", + "@jest/transform": "^29.6.2", + "@jest/types": "^29.6.1", + "@types/node": "*", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.6.2", + "jest-message-util": "^29.6.2", + "jest-mock": "^29.6.2", + "jest-regex-util": "^29.4.3", + "jest-resolve": "^29.6.2", + "jest-snapshot": "^29.6.2", + "jest-util": "^29.6.2", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runtime/node_modules/strip-bom": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-snapshot": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-jsx": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/types": "^7.3.3", + "@jest/expect-utils": "^29.6.2", + "@jest/transform": "^29.6.2", + "@jest/types": "^29.6.1", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^29.6.2", + "graceful-fs": "^4.2.9", + "jest-diff": "^29.6.2", + "jest-get-type": "^29.4.3", + "jest-matcher-utils": "^29.6.2", + "jest-message-util": "^29.6.2", + "jest-util": "^29.6.2", + "natural-compare": "^1.4.0", + "pretty-format": "^29.6.2", + "semver": "^7.5.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/compat-data": { + "version": "7.18.8", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/core": { + "version": "7.18.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.9", + "@babel/helper-compilation-targets": "^7.18.9", + "@babel/helper-module-transforms": "^7.18.9", + "@babel/helpers": "^7.18.9", + "@babel/parser": "^7.18.9", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.9", + "@babel/types": "^7.18.9", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/core/node_modules/@babel/generator": { + "version": "7.18.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.18.9", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/helper-compilation-targets": { + "version": "7.18.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.18.8", + "@babel/helper-validator-option": "^7.18.6", + "browserslist": "^4.20.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-jsx": { + "version": "7.21.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.20.2" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-jsx/node_modules/@babel/helper-plugin-utils": { + "version": "7.20.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/@babel/plugin-syntax-typescript": { + "version": "7.16.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/jest-snapshot/node_modules/babel-preset-current-node-syntax": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/jest-util": { + "version": "29.6.2", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-validate": { + "version": "29.6.2", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.4.3", + "leven": "^3.1.0", + "pretty-format": "^29.6.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-watcher": { + "version": "29.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "^29.6.2", + "@jest/types": "^29.6.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "jest-util": "^29.6.2", + "string-length": "^4.0.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/js-sha3": { + "version": "0.8.0", + "license": "MIT" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "license": "MIT" + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "license": "MIT" + }, + "node_modules/json-parse-even-better-errors": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "license": "MIT" + }, + "node_modules/json-stringify-nice": { + "version": "1.1.4", + "dev": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "license": "ISC" + }, + "node_modules/json5": { + "version": "2.2.3", + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonparse": { + "version": "1.3.1", + "dev": true, + "engines": [ + "node >= 0.2.0" + ], + "license": "MIT" + }, + "node_modules/JSONStream": { + "version": "1.3.5", + "dev": true, + "license": "(MIT OR Apache-2.0)", + "dependencies": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + }, + "bin": { + "JSONStream": "bin.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/junk": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/just-diff": { + "version": "6.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/just-diff-apply": { + "version": "5.5.0", + "dev": true, + "license": "MIT" + }, + "node_modules/jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/keyv": { + "version": "4.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/kleur": { + "version": "3.0.3", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/latest-version": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "package-json": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/libnpmaccess": { + "version": "8.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-package-arg": "^11.0.1", + "npm-registry-fetch": "^16.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/libnpmpublish": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "ci-info": "^4.0.0", + "normalize-package-data": "^6.0.0", + "npm-package-arg": "^11.0.1", + "npm-registry-fetch": "^16.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.7", + "sigstore": "^2.1.0", + "ssri": "^10.0.5" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/libnpmpublish/node_modules/ci-info": { + "version": "4.0.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/libnpmpublish/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/libnpmpublish/node_modules/ssri": { + "version": "10.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libtap": { + "version": "1.4.1", + "dev": true, + "license": "ISC", + "dependencies": { + "async-hook-domain": "^2.0.4", + "bind-obj-methods": "^3.0.0", + "diff": "^4.0.2", + "function-loop": "^2.0.1", + "minipass": "^3.1.5", + "own-or": "^1.0.0", + "own-or-env": "^1.0.2", + "signal-exit": "^3.0.4", + "stack-utils": "^2.0.4", + "tap-parser": "^11.0.0", + "tap-yaml": "^1.0.0", + "tcompare": "^5.0.6", + "trivial-deferred": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/license-report": { + "version": "6.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@kessler/tableify": "^1.0.2", + "debug": "^4.3.4", + "eol": "^0.9.1", + "got": "^12.6.0", + "rc": "^1.2.8", + "semver": "^7.3.8", + "tablemark": "^3.0.0", + "text-table": "^0.2.0", + "visit-values": "^2.0.0" + }, + "bin": { + "license-report": "index.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/license-report/node_modules/decompress-response": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/license-report/node_modules/got": { + "version": "12.6.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^5.2.0", + "@szmarczak/http-timer": "^5.0.1", + "cacheable-lookup": "^7.0.0", + "cacheable-request": "^10.2.8", + "decompress-response": "^6.0.0", + "form-data-encoder": "^2.1.2", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "node_modules/license-report/node_modules/mimic-response": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "license": "MIT" + }, + "node_modules/lint-staged": { + "version": "11.2.6", + "dev": true, + "license": "MIT", + "dependencies": { + "cli-truncate": "2.1.0", + "colorette": "^1.4.0", + "commander": "^8.2.0", + "cosmiconfig": "^7.0.1", + "debug": "^4.3.2", + "enquirer": "^2.3.6", + "execa": "^5.1.1", + "listr2": "^3.12.2", + "micromatch": "^4.0.4", + "normalize-path": "^3.0.0", + "please-upgrade-node": "^3.2.0", + "string-argv": "0.3.1", + "stringify-object": "3.3.0", + "supports-color": "8.1.1" + }, + "bin": { + "lint-staged": "bin/lint-staged.js" + }, + "funding": { + "url": "https://opencollective.com/lint-staged" + } + }, + "node_modules/lint-staged/node_modules/colorette": { + "version": "1.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/lint-staged/node_modules/commander": { + "version": "8.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/listr2": { + "version": "3.14.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cli-truncate": "^2.1.0", + "colorette": "^2.0.16", + "log-update": "^4.0.0", + "p-map": "^4.0.0", + "rfdc": "^1.3.0", + "rxjs": "^7.5.1", + "through": "^2.3.8", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "enquirer": ">= 2.3.0 < 3" + }, + "peerDependenciesMeta": { + "enquirer": { + "optional": true + } + } + }, + "node_modules/load-json-file": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/loader-runner": { + "version": "4.2.0", + "license": "MIT", + "engines": { + "node": ">=6.11.5" + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "license": "MIT" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "license": "MIT" + }, + "node_modules/lodash.flattendeep": { + "version": "4.4.0", + "license": "MIT" + }, + "node_modules/lodash.isfunction": { + "version": "3.0.9", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "license": "MIT" + }, + "node_modules/lodash.kebabcase": { + "version": "4.1.1", + "license": "MIT" + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "license": "MIT" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "license": "MIT" + }, + "node_modules/lodash.mergewith": { + "version": "4.6.2", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.snakecase": { + "version": "4.1.1", + "license": "MIT" + }, + "node_modules/lodash.startcase": { + "version": "4.4.0", + "license": "MIT" + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "license": "MIT" + }, + "node_modules/lodash.upperfirst": { + "version": "4.3.1", + "license": "MIT" + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.3.0", + "cli-cursor": "^3.1.0", + "slice-ansi": "^4.0.0", + "wrap-ansi": "^6.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update/node_modules/slice-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/log-update/node_modules/wrap-ansi": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lower-case": { + "version": "2.0.2", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/lowercase-keys": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/magic-string": { + "version": "0.30.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/magic-string/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "dev": true, + "license": "MIT" + }, + "node_modules/make-dir": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "make-dir": "^4.0.0", + "meow": "^10.0.0" + }, + "bin": { + "make-dir": "cli.js" + }, + "engines": { + "node": ">=12.17" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/camelcase-keys": { + "version": "7.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^6.3.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/decamelize": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/hosted-git-info": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-dir-cli/node_modules/indent-string": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/make-dir": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/meow": { + "version": "10.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/normalize-package-data": { + "version": "3.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-dir-cli/node_modules/read-pkg": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/read-pkg-up": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/redent": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "indent-string": "^5.0.0", + "strip-indent": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/strip-indent": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "min-indent": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/trim-newlines": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir-cli/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-dir/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "license": "ISC" + }, + "node_modules/make-fetch-happen": { + "version": "13.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/agent": "^2.0.0", + "cacache": "^18.0.0", + "http-cache-semantics": "^4.1.1", + "is-lambda": "^1.0.1", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/makeerror": { + "version": "1.0.12", + "license": "BSD-3-Clause", + "dependencies": { + "tmpl": "1.0.5" + } + }, + "node_modules/map-obj": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/md5.js": { + "version": "1.3.5", + "license": "MIT", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/memorystream": { + "version": "0.3.1", + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/meow": { + "version": "12.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.4", + "license": "MIT", + "dependencies": { + "braces": "^3.0.1", + "picomatch": "^2.2.3" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/miller-rabin": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/mimic-response": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/min-indent": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "license": "ISC" + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "license": "MIT" + }, + "node_modules/minimatch": { + "version": "3.1.2", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimatch/node_modules/brace-expansion": { + "version": "1.1.11", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minimist-options": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/minimist-options/node_modules/is-plain-obj": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/minipass": { + "version": "3.1.6", + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-collect": { + "version": "1.0.2", + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minipass-fetch": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^4.0.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/minipass-fetch/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-flush": { + "version": "1.0.5", + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minipass-json-stream": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonparse": "^1.3.1", + "minipass": "^3.0.0" + } + }, + "node_modules/minipass-pipeline": { + "version": "1.2.4", + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-sized": { + "version": "1.0.3", + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minizlib": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/mkdirp": { + "version": "1.0.4", + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "node_modules/multimatch": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "array-differ": "^4.0.0", + "array-union": "^3.0.1", + "minimatch": "^9.0.3" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/multimatch/node_modules/array-union": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/multimatch/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/mute-stream": { + "version": "0.0.8", + "license": "ISC" + }, + "node_modules/nanoid": { + "version": "3.3.6", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "license": "MIT" + }, + "node_modules/nested-error-stacks": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/new-github-release-url": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^2.5.1" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/new-github-release-url/node_modules/type-fest": { + "version": "2.19.0", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nice-try": { + "version": "1.0.5", + "license": "MIT" + }, + "node_modules/no-case": { + "version": "3.0.4", + "license": "MIT", + "dependencies": { + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + } + }, + "node_modules/node-addon-api": { + "version": "2.0.2", + "license": "MIT" + }, + "node_modules/node-domexception": { + "version": "1.0.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "engines": { + "node": ">=10.5.0" + } + }, + "node_modules/node-fetch": { + "version": "2.6.7", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-gyp": { + "version": "9.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "glob": "^7.1.4", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^11.0.3", + "nopt": "^6.0.0", + "npmlog": "^6.0.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": "^12.13 || ^14.13 || >=16" + } + }, + "node_modules/node-gyp-build": { + "version": "4.3.0", + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/node-gyp/node_modules/are-we-there-yet": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16" + } + }, + "node_modules/node-gyp/node_modules/cacache": { + "version": "17.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^9.3.1", + "lru-cache": "^7.7.1", + "minipass": "^4.0.0", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/node-gyp/node_modules/cacache/node_modules/glob": { + "version": "9.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/gauge": { + "version": "4.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/node-gyp/node_modules/lru-cache": { + "version": "7.18.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/node-gyp/node_modules/make-fetch-happen": { + "version": "11.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/minipass": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/node-gyp/node_modules/minimatch": { + "version": "8.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/node-gyp/node_modules/nopt": { + "version": "6.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "abbrev": "^1.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/node-gyp/node_modules/npmlog": { + "version": "6.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/node-int64": { + "version": "0.4.0", + "license": "MIT" + }, + "node_modules/node-polyfill-webpack-plugin": { + "version": "1.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "assert": "^2.0.0", + "browserify-zlib": "^0.2.0", + "buffer": "^6.0.3", + "console-browserify": "^1.2.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.12.0", + "domain-browser": "^4.19.0", + "events": "^3.3.0", + "filter-obj": "^2.0.2", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "^1.0.1", + "process": "^0.11.10", + "punycode": "^2.1.1", + "querystring-es3": "^0.2.1", + "readable-stream": "^3.6.0", + "stream-browserify": "^3.0.0", + "stream-http": "^3.2.0", + "string_decoder": "^1.3.0", + "timers-browserify": "^2.0.12", + "tty-browserify": "^0.0.1", + "url": "^0.11.0", + "util": "^0.12.4", + "vm-browserify": "^1.1.2" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "webpack": ">=5" + } + }, + "node_modules/node-preload": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "process-on-spawn": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/node-releases": { + "version": "2.0.4", + "license": "MIT" + }, + "node_modules/nodemon": { + "version": "2.0.15", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^3.2.7", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.0.4", + "pstree.remy": "^1.1.8", + "semver": "^5.7.1", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5", + "update-notifier": "^5.1.0" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=8.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "node_modules/nodemon/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/nodemon/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/nodemon/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/nodemon/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/nopt": { + "version": "7.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "abbrev": "^2.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/nopt/node_modules/abbrev": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/normalize-package-data": { + "version": "6.0.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-url": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-bundled": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-install-checks": { + "version": "6.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "semver": "^7.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-normalize-package-bin": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-package-arg": { + "version": "11.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^7.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm-packlist": { + "version": "8.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "ignore-walk": "^6.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-pick-manifest": { + "version": "9.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^11.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch": { + "version": "16.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "make-fetch-happen": "^13.0.0", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.1.2", + "npm-package-arg": "^11.0.0", + "proc-log": "^3.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm-run-all": { + "version": "4.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "chalk": "^2.4.1", + "cross-spawn": "^6.0.5", + "memorystream": "^0.3.1", + "minimatch": "^3.0.4", + "pidtree": "^0.3.0", + "read-pkg": "^3.0.0", + "shell-quote": "^1.6.1", + "string.prototype.padend": "^3.0.0" + }, + "bin": { + "npm-run-all": "bin/npm-run-all/index.js", + "run-p": "bin/run-p/index.js", + "run-s": "bin/run-s/index.js" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/npm-run-all/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/cross-spawn": { + "version": "6.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "node_modules/npm-run-all/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/hosted-git-info": { + "version": "2.8.9", + "dev": true, + "license": "ISC" + }, + "node_modules/npm-run-all/node_modules/load-json-file": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/normalize-package-data": { + "version": "2.5.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/npm-run-all/node_modules/parse-json": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/path-key": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/path-type": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/read-pkg": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/npm-run-all/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/which": { + "version": "1.3.1", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm-watch": { + "version": "0.11.0", + "dev": true, + "license": "MIT", + "dependencies": { + "nodemon": "^2.0.7", + "through2": "^4.0.2" + }, + "bin": { + "npm-watch": "cli.js" + } + }, + "node_modules/npmlog": { + "version": "7.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "are-we-there-yet": "^4.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^5.0.0", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/nyc": { + "version": "15.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "caching-transform": "^4.0.0", + "convert-source-map": "^1.7.0", + "decamelize": "^1.2.0", + "find-cache-dir": "^3.2.0", + "find-up": "^4.1.0", + "foreground-child": "^2.0.0", + "get-package-type": "^0.1.0", + "glob": "^7.1.6", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-hook": "^3.0.0", + "istanbul-lib-instrument": "^4.0.0", + "istanbul-lib-processinfo": "^2.0.2", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "make-dir": "^3.0.0", + "node-preload": "^0.2.1", + "p-map": "^3.0.0", + "process-on-spawn": "^1.0.0", + "resolve-from": "^5.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "spawn-wrap": "^2.0.0", + "test-exclude": "^6.0.0", + "yargs": "^15.0.2" + }, + "bin": { + "nyc": "bin/nyc.js" + }, + "engines": { + "node": ">=8.9" + } + }, + "node_modules/nyc/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/nyc/node_modules/cliui": { + "version": "6.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/nyc/node_modules/find-up": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/istanbul-lib-instrument": { + "version": "4.0.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/p-map": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/nyc/node_modules/wrap-ansi": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/yargs": { + "version": "15.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.12.3", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-is": { + "version": "1.1.5", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.4", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "array.prototype.filter": "^1.0.3", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.0.0" + } + }, + "node_modules/object.groupby/node_modules/array-buffer-byte-length": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/arraybuffer.prototype.slice": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/arraybuffer.prototype.slice/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/arraybuffer.prototype.slice/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/available-typed-arrays": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/call-bind": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/call-bind/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/define-properties": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-abstract": { + "version": "1.22.5", + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-set-tostringtag": "^2.0.3", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", + "has-symbols": "^1.0.3", + "hasown": "^2.0.1", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.3", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.13", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.0", + "safe-regex-test": "^1.0.3", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", + "typed-array-buffer": "^1.0.2", + "typed-array-byte-length": "^1.0.1", + "typed-array-byte-offset": "^1.0.2", + "typed-array-length": "^1.0.5", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-abstract/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-abstract/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-abstract/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-abstract/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-abstract/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-abstract/node_modules/has-proto": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-abstract/node_modules/hasown": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/es-abstract/node_modules/is-shared-array-buffer": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-abstract/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/es-set-tostringtag": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/es-set-tostringtag/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-set-tostringtag/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-set-tostringtag/node_modules/has-tostringtag": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/es-set-tostringtag/node_modules/hasown": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/function.prototype.name": { + "version": "1.1.6", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/get-symbol-description": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/get-symbol-description/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/get-symbol-description/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/internal-slot": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/is-array-buffer": { + "version": "3.0.4", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/is-callable": { + "version": "1.2.7", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/is-negative-zero": { + "version": "2.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/is-typed-array": { + "version": "1.1.13", + "license": "MIT", + "dependencies": { + "which-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/object-inspect": { + "version": "1.13.1", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/object.assign": { + "version": "4.1.5", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/regexp.prototype.flags": { + "version": "1.5.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/regexp.prototype.flags/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/regexp.prototype.flags/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/regexp.prototype.flags/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/regexp.prototype.flags/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/regexp.prototype.flags/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/regexp.prototype.flags/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/safe-array-concat": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.5", + "get-intrinsic": "^1.2.2", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/safe-array-concat/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/safe-array-concat/node_modules/get-intrinsic": { + "version": "1.2.2", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/safe-regex-test": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/safe-regex-test/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/safe-regex-test/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/safe-regex-test/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/safe-regex-test/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/safe-regex-test/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/safe-regex-test/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/string.prototype.trim": { + "version": "1.2.8", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/string.prototype.trimend": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/string.prototype.trimstart": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-buffer": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/typed-array-buffer/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-buffer/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-buffer/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-buffer/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-buffer/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-buffer/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-length": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-length/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-length/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-length/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-length/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-length/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-length/node_modules/has-proto": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-length/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-offset": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-offset/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-offset/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-offset/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-offset/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-offset/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-offset/node_modules/has-proto": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-byte-offset/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/typed-array-length": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-length/node_modules/call-bind": { + "version": "1.0.7", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-length/node_modules/define-data-property": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-length/node_modules/function-bind": { + "version": "1.1.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-length/node_modules/get-intrinsic": { + "version": "1.2.4", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-length/node_modules/has-property-descriptors": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-length/node_modules/has-proto": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/typed-array-length/node_modules/set-function-length": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.groupby/node_modules/which-typed-array": { + "version": "1.1.14", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.6", + "call-bind": "^1.0.5", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby/node_modules/which-typed-array/node_modules/has-tostringtag": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.values": { + "version": "1.1.7", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/openapi-types": { + "version": "12.1.3", + "license": "MIT" + }, + "node_modules/opener": { + "version": "1.5.2", + "dev": true, + "license": "(WTFPL OR MIT)", + "bin": { + "opener": "bin/opener-bin.js" + } + }, + "node_modules/optionator": { + "version": "0.9.3", + "license": "MIT", + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "license": "MIT", + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/os-browserify": { + "version": "0.3.0", + "dev": true, + "license": "MIT" + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/own-or": { + "version": "1.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/own-or-env": { + "version": "1.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "own-or": "^1.0.0" + } + }, + "node_modules/p-cancelable": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, + "node_modules/p-event": { + "version": "4.2.0", + "license": "MIT", + "dependencies": { + "p-timeout": "^3.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-filter": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-map": "^5.1.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-filter/node_modules/aggregate-error": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^4.0.0", + "indent-string": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-filter/node_modules/clean-stack": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-filter/node_modules/escape-string-regexp": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-filter/node_modules/indent-string": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-filter/node_modules/p-map": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-finally": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-locate/node_modules/p-limit": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-map": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-pipe": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-queue": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "eventemitter3": "^5.0.1", + "p-timeout": "^6.1.2" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-queue/node_modules/p-timeout": { + "version": "6.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-reduce": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-timeout": { + "version": "3.2.0", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/package-hash": { + "version": "4.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.15", + "hasha": "^5.0.0", + "lodash.flattendeep": "^4.4.0", + "release-zalgo": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/package-json": { + "version": "6.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "got": "^9.6.0", + "registry-auth-token": "^4.0.0", + "registry-url": "^5.0.0", + "semver": "^6.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/package-json/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/pacote": { + "version": "17.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^5.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^7.0.0", + "@npmcli/run-script": "^7.0.0", + "cacache": "^18.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^7.0.2", + "npm-package-arg": "^11.0.0", + "npm-packlist": "^8.0.0", + "npm-pick-manifest": "^9.0.0", + "npm-registry-fetch": "^16.0.0", + "proc-log": "^3.0.0", + "promise-retry": "^2.0.1", + "read-package-json": "^7.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^2.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "lib/bin.js" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "dev": true, + "license": "(MIT AND Zlib)" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-asn1": { + "version": "5.1.6", + "license": "ISC", + "dependencies": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/parse-conflict-json": { + "version": "3.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^3.0.0", + "just-diff": "^6.0.0", + "just-diff-apply": "^5.2.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-json/node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "license": "MIT" + }, + "node_modules/parse-passwd": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/parse-path": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "protocols": "^2.0.0" + } + }, + "node_modules/parse-url": { + "version": "8.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "parse-path": "^7.0.0" + } + }, + "node_modules/patch-console": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/path-browserify": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/path-exists": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "license": "MIT" + }, + "node_modules/path-scurry": { + "version": "1.10.1", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.0.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/path-scurry/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/path-to-regexp": { + "version": "3.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/path-type": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/pbkdf2": { + "version": "3.1.2", + "license": "MIT", + "dependencies": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pidtree": { + "version": "0.3.1", + "dev": true, + "license": "MIT", + "bin": { + "pidtree": "bin/pidtree.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/pify": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/pirates": { + "version": "4.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "license": "MIT", + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/find-up": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/platform": { + "version": "1.3.6", + "dev": true, + "license": "MIT" + }, + "node_modules/please-upgrade-node": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "semver-compare": "^1.0.0" + } + }, + "node_modules/possible-typed-array-names": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/postcss": { + "version": "8.4.31", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.10", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prepend-http": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/prettier": { + "version": "3.2.5", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/pretty-format": { + "version": "29.6.2", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/proc-log": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/process": { + "version": "0.11.10", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/process-on-spawn": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fromentries": "^1.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/promise-all-reject-late": { + "version": "1.0.1", + "dev": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/promise-call-limit": { + "version": "1.0.2", + "dev": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/promise-inflight": { + "version": "1.0.1", + "license": "ISC" + }, + "node_modules/promise-retry": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "err-code": "^2.0.2", + "retry": "^0.12.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/prompts": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/proto-list": { + "version": "1.2.4", + "dev": true, + "license": "ISC" + }, + "node_modules/protoc-gen-ts": { + "version": "0.8.7", + "dev": true, + "license": "MIT", + "bin": { + "protoc-gen-ts": "protoc-gen-ts.js" + }, + "funding": { + "type": "individual", + "url": "https://www.buymeacoffee.com/thesayyn" + } + }, + "node_modules/protocols": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "license": "MIT" + }, + "node_modules/pstree.remy": { + "version": "1.1.8", + "dev": true, + "license": "MIT" + }, + "node_modules/public-encrypt": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/pump": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/pupa": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-goat": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pure-rand": { + "version": "6.0.2", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "node_modules/querystring": { + "version": "0.2.0", + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/querystring-es3": { + "version": "0.2.1", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/quick-lru": { + "version": "5.1.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/randomfill": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "dev": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/rc/node_modules/strip-json-comments": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react": { + "version": "17.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-devtools-core": { + "version": "4.27.8", + "dev": true, + "license": "MIT", + "dependencies": { + "shell-quote": "^1.6.1", + "ws": "^7" + } + }, + "node_modules/react-devtools-core/node_modules/ws": { + "version": "7.5.9", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/react-is": { + "version": "18.1.0", + "license": "MIT" + }, + "node_modules/react-reconciler": { + "version": "0.26.2", + "dev": true, + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "scheduler": "^0.20.2" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "react": "^17.0.2" + } + }, + "node_modules/read-cmd-shim": { + "version": "4.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json": { + "version": "7.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^10.2.2", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/read-package-json-fast": { + "version": "3.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/foreground-child": { + "version": "3.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/glob": { + "version": "10.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/minipass": { + "version": "7.0.3", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/read-package-json/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-pkg": { + "version": "8.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.1", + "normalize-package-data": "^6.0.0", + "parse-json": "^7.0.0", + "type-fest": "^4.2.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/hosted-git-info": { + "version": "2.8.9", + "dev": true, + "license": "ISC" + }, + "node_modules/read-pkg-up/node_modules/normalize-package-data": { + "version": "2.5.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/read-pkg-up/node_modules/read-pkg": { + "version": "5.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg/node_modules/lines-and-columns": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/read-pkg/node_modules/parse-json": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.21.4", + "error-ex": "^1.3.2", + "json-parse-even-better-errors": "^3.0.0", + "lines-and-columns": "^2.0.3", + "type-fest": "^3.8.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg/node_modules/parse-json/node_modules/type-fest": { + "version": "3.13.1", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg/node_modules/type-fest": { + "version": "4.3.1", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/rechoir": { + "version": "0.7.1", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve": "^1.9.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/redent": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/redeyed": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "esprima": "~4.0.0" + } + }, + "node_modules/reflect-metadata": { + "version": "0.1.13", + "license": "Apache-2.0" + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.0", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/regexpp": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/registry-auth-token": { + "version": "4.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "rc": "^1.2.8" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/registry-url": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "rc": "^1.2.8" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/release-zalgo": { + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "es6-error": "^4.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/replace": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/replace/-/replace-1.2.2.tgz", + "integrity": "sha512-C4EDifm22XZM2b2JOYe6Mhn+lBsLBAvLbK8drfUQLTfD1KYl/n3VaW/CDju0Ny4w3xTtegBpg8YNSpFJPUDSjA==", + "dependencies": { + "chalk": "2.4.2", + "minimatch": "3.0.5", + "yargs": "^15.3.1" + }, + "bin": { + "replace": "bin/replace.js", + "search": "bin/search.js" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/replace/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/replace/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/replace/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/replace/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/replace/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/replace/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/replace/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/replace/node_modules/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/replace/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/replace/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/replace/node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/replace/node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/replace/node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/replace/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "license": "ISC" + }, + "node_modules/require-package-name": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-alpn": { + "version": "1.2.1", + "license": "MIT" + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-dir": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "expand-tilde": "^2.0.0", + "global-modules": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-global": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "global-dirs": "^0.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true, + "funding": { + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" + } + }, + "node_modules/resolve.exports": { + "version": "2.0.2", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/responselike": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "lowercase-keys": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/retry": { + "version": "0.12.0", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rfdc": { + "version": "1.3.0", + "license": "MIT" + }, + "node_modules/rimraf": { + "version": "3.0.2", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/ripemd160": { + "version": "2.0.2", + "license": "MIT", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/run-async": { + "version": "2.4.1", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/run-time-error": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/run-time-error-cjs": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/rxjs": { + "version": "7.8.1", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-array-concat": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safe-regex-test": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "is-regex": "^1.1.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "license": "MIT" + }, + "node_modules/scheduler": { + "version": "0.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, + "node_modules/schema-utils": { + "version": "3.3.0", + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/schema-utils/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/schema-utils/node_modules/ajv-keywords": { + "version": "3.5.2", + "license": "MIT", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/schema-utils/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "node_modules/secp256k1": { + "version": "4.0.3", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "elliptic": "^6.5.4", + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/semver": { + "version": "7.5.4", + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver-compare": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/semver-diff": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/semver-diff/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/semver-parser": { + "version": "4.1.4", + "dev": true, + "license": "MIT" + }, + "node_modules/sentence-case": { + "version": "3.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3", + "upper-case-first": "^2.0.2" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.1", + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "license": "ISC" + }, + "node_modules/set-function-length": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.1", + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-function-name": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.0.1", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "license": "MIT" + }, + "node_modules/sha.js": { + "version": "2.4.11", + "license": "(MIT AND BSD-3-Clause)", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "bin": { + "sha.js": "bin.js" + } + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-command": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/shebang-command/node_modules/shebang-regex": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/shebang-loader": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/shell-quote": { + "version": "1.7.3", + "dev": true, + "license": "MIT" + }, + "node_modules/side-channel": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "license": "ISC" + }, + "node_modules/sigstore": { + "version": "2.1.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^2.1.0", + "@sigstore/protobuf-specs": "^0.2.1", + "@sigstore/sign": "^2.1.0", + "@sigstore/tuf": "^2.1.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/simple-git": { + "version": "3.19.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@kwsites/file-exists": "^1.1.1", + "@kwsites/promise-deferred": "^1.1.1", + "debug": "^4.3.4" + }, + "funding": { + "type": "github", + "url": "https://github.com/steveukx/git-js?sponsor=1" + } + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "license": "MIT" + }, + "node_modules/slash": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/slice-ansi": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks": { + "version": "2.6.2", + "license": "MIT", + "dependencies": { + "ip": "^1.1.5", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.13.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.3", + "socks": "^2.6.2" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/socks/node_modules/ip": { + "version": "1.1.5", + "license": "MIT" + }, + "node_modules/sort-keys": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-obj": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/sort-keys/node_modules/is-plain-obj": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/sort-object-keys": { + "version": "1.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/sort-package-json": { + "version": "1.57.0", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-indent": "^6.0.0", + "detect-newline": "3.1.0", + "git-hooks-list": "1.0.3", + "globby": "10.0.0", + "is-plain-obj": "2.1.0", + "sort-object-keys": "^1.1.3" + }, + "bin": { + "sort-package-json": "cli.js" + } + }, + "node_modules/sort-package-json/node_modules/detect-indent": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/sort-package-json/node_modules/globby": { + "version": "10.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/glob": "^7.1.1", + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.0.3", + "glob": "^7.1.3", + "ignore": "^5.1.1", + "merge2": "^1.2.3", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-loader": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "abab": "^2.0.6", + "iconv-lite": "^0.6.3", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.72.1" + } + }, + "node_modules/source-map-loader/node_modules/iconv-lite": { + "version": "0.6.3", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/spawn-command": { + "version": "0.0.2-1", + "dev": true, + "license": "MIT" + }, + "node_modules/spawn-wrap": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^2.0.0", + "is-windows": "^1.0.2", + "make-dir": "^3.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "which": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/spdx-correct": { + "version": "3.1.1", + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.11", + "license": "CC0-1.0" + }, + "node_modules/split-text-to-chunks": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "get-stdin": "^5.0.1", + "minimist": "^1.2.0" + }, + "bin": { + "wordwrap": "cli.js" + } + }, + "node_modules/split2": { + "version": "4.2.0", + "license": "ISC", + "engines": { + "node": ">= 10.x" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "license": "BSD-3-Clause" + }, + "node_modules/ssri": { + "version": "10.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/ssri/node_modules/minipass": { + "version": "4.2.5", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/stack-utils": { + "version": "2.0.5", + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/stop-iteration-iterator": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "internal-slot": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/stream-browserify": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "~2.0.4", + "readable-stream": "^3.5.0" + } + }, + "node_modules/stream-http": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "xtend": "^4.0.2" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-argv": { + "version": "0.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6.19" + } + }, + "node_modules/string-length": { + "version": "4.0.2", + "license": "MIT", + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/string-width/node_modules/emoji-regex": { + "version": "8.0.0", + "license": "MIT" + }, + "node_modules/string.prototype.padend": { + "version": "3.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.7", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.6", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.6", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/stringify-object": { + "version": "3.3.0", + "license": "BSD-2-Clause", + "dependencies": { + "get-own-enumerable-property-symbols": "^3.0.0", + "is-obj": "^1.0.1", + "is-regexp": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/stringify-object/node_modules/is-obj": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-indent": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strong-log-transformer": { + "version": "2.1.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "duplexer": "^0.1.1", + "minimist": "^1.2.0", + "through": "^2.3.4" + }, + "bin": { + "sl-log-transformer": "bin/sl-log-transformer.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-color": { + "version": "8.1.1", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/synckit": { + "version": "0.8.8", + "dev": true, + "license": "MIT", + "dependencies": { + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/tablemark": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "sentence-case": "^3.0.4", + "split-text-to-chunks": "^1.0.0" + }, + "engines": { + "node": ">=14.16" + } + }, + "node_modules/tap": { + "version": "16.3.8", + "bundleDependencies": [ + "ink", + "treport", + "@types/react", + "@isaacs/import-jsx", + "react" + ], + "dev": true, + "license": "ISC", + "dependencies": { + "@isaacs/import-jsx": "^4.0.1", + "@types/react": "^17.0.52", + "chokidar": "^3.3.0", + "findit": "^2.0.0", + "foreground-child": "^2.0.0", + "fs-exists-cached": "^1.0.0", + "glob": "^7.2.3", + "ink": "^3.2.0", + "isexe": "^2.0.0", + "istanbul-lib-processinfo": "^2.0.3", + "jackspeak": "^1.4.2", + "libtap": "^1.4.0", + "minipass": "^3.3.4", + "mkdirp": "^1.0.4", + "nyc": "^15.1.0", + "opener": "^1.5.1", + "react": "^17.0.2", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.6", + "source-map-support": "^0.5.16", + "tap-mocha-reporter": "^5.0.3", + "tap-parser": "^11.0.2", + "tap-yaml": "^1.0.2", + "tcompare": "^5.0.7", + "treport": "^3.0.4", + "which": "^2.0.2" + }, + "bin": { + "tap": "bin/run.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "peerDependencies": { + "coveralls": "^3.1.1", + "flow-remove-types": ">=2.112.0", + "ts-node": ">=8.5.2", + "typescript": ">=3.7.2" + }, + "peerDependenciesMeta": { + "coveralls": { + "optional": true + }, + "flow-remove-types": { + "optional": true + }, + "ts-node": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/tap-mocha-reporter": { + "version": "5.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "color-support": "^1.1.0", + "debug": "^4.1.1", + "diff": "^4.0.1", + "escape-string-regexp": "^2.0.0", + "glob": "^7.0.5", + "tap-parser": "^11.0.0", + "tap-yaml": "^1.0.0", + "unicode-length": "^2.0.2" + }, + "bin": { + "tap-mocha-reporter": "index.js" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/tap-mocha-reporter/node_modules/escape-string-regexp": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/tap-parser": { + "version": "11.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "events-to-array": "^1.0.1", + "minipass": "^3.1.6", + "tap-yaml": "^1.0.0" + }, + "bin": { + "tap-parser": "bin/cmd.js" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/tap-yaml": { + "version": "1.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "yaml": "^1.5.0" + } + }, + "node_modules/tap/node_modules/glob": { + "version": "7.2.3", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/tap/node_modules/jackspeak": { + "version": "1.4.2", + "dev": true, + "license": "ISC", + "dependencies": { + "cliui": "^7.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tap/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tap/node_modules/tap-yaml": { + "version": "1.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "yaml": "^1.10.2" + } + }, + "node_modules/tapable": { + "version": "2.2.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/tape": { + "version": "5.6.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@ljharb/resumer": "^0.0.1", + "@ljharb/through": "^2.3.9", + "array.prototype.every": "^1.1.4", + "call-bind": "^1.0.2", + "deep-equal": "^2.2.2", + "defined": "^1.0.1", + "dotignore": "^0.1.2", + "for-each": "^0.3.3", + "get-package-type": "^0.1.0", + "glob": "^7.2.3", + "has": "^1.0.3", + "has-dynamic-import": "^2.0.1", + "inherits": "^2.0.4", + "is-regex": "^1.1.4", + "minimist": "^1.2.8", + "object-inspect": "^1.12.3", + "object-is": "^1.1.5", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "resolve": "^2.0.0-next.4", + "string.prototype.trim": "^1.2.7" + }, + "bin": { + "tape": "bin/tape" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tape-promise": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-promise": "^2.1.0", + "onetime": "^2.0.0" + } + }, + "node_modules/tape-promise/node_modules/mimic-fn": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/tape-promise/node_modules/onetime": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/tape/node_modules/glob": { + "version": "7.2.3", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/tape/node_modules/resolve": { + "version": "2.0.0-next.4", + "dev": true, + "license": "MIT", + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tar": { + "version": "6.1.11", + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/tar/node_modules/fs-minipass": { + "version": "2.1.0", + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/tcompare": { + "version": "5.0.7", + "dev": true, + "license": "ISC", + "dependencies": { + "diff": "^4.0.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/temp-dir": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + } + }, + "node_modules/terser": { + "version": "5.19.4", + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.9", + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.17", + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.1", + "terser": "^5.16.8" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/text-extensions": { + "version": "1.9.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "license": "MIT" + }, + "node_modules/through": { + "version": "2.3.8", + "license": "MIT" + }, + "node_modules/through2": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "3" + } + }, + "node_modules/timers-browserify": { + "version": "2.0.12", + "dev": true, + "license": "MIT", + "dependencies": { + "setimmediate": "^1.0.4" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/tmp": { + "version": "0.0.33", + "license": "MIT", + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/tmpl": { + "version": "1.0.5", + "license": "BSD-3-Clause" + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/to-readable-stream": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/touch": { + "version": "3.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "nopt": "~1.0.10" + }, + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/touch/node_modules/nopt": { + "version": "1.0.10", + "dev": true, + "license": "MIT", + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "license": "MIT" + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "bin": { + "tree-kill": "cli.js" + } + }, + "node_modules/treeverse": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/treport": { + "version": "3.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "@isaacs/import-jsx": "^4.0.1", + "cardinal": "^2.1.1", + "chalk": "^3.0.0", + "ink": "^3.2.0", + "ms": "^2.1.2", + "tap-parser": "^11.0.0", + "tap-yaml": "^1.0.0", + "unicode-length": "^2.0.2" + }, + "peerDependencies": { + "react": "^17.0.2" + } + }, + "node_modules/treport/node_modules/chalk": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/treport/node_modules/supports-color": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/trim-newlines": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/trivial-deferred": { + "version": "1.0.1", + "dev": true, + "license": "ISC" + }, + "node_modules/ts-api-utils": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16.13.0" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, + "node_modules/ts-jest": { + "version": "29.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bs-logger": "0.x", + "fast-json-stable-stringify": "2.x", + "jest-util": "^29.0.0", + "json5": "^2.2.3", + "lodash.memoize": "4.x", + "make-error": "1.x", + "semver": "^7.5.3", + "yargs-parser": "^21.0.1" + }, + "bin": { + "ts-jest": "cli.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": ">=7.0.0-beta.0 <8", + "@jest/types": "^29.0.0", + "babel-jest": "^29.0.0", + "jest": "^29.0.0", + "typescript": ">=4.3 <6" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@jest/types": { + "optional": true + }, + "babel-jest": { + "optional": true + }, + "esbuild": { + "optional": true + } + } + }, + "node_modules/ts-loader": { + "version": "9.4.4", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "enhanced-resolve": "^5.0.0", + "micromatch": "^4.0.0", + "semver": "^7.3.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "typescript": "*", + "webpack": "^5.0.0" + } + }, + "node_modules/ts-node": { + "version": "10.9.1", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/tsconfig-paths": { + "version": "3.15.0", + "license": "MIT", + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/tslib": { + "version": "2.6.2", + "license": "0BSD" + }, + "node_modules/tty-browserify": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/tuf-js": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/models": "2.0.0", + "debug": "^4.3.4", + "make-fetch-happen": "^13.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/tunnel": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "1.4.0", + "devOptional": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typed-array-buffer": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "has-proto": "^1.0.1", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "license": "MIT", + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, + "node_modules/typescript": { + "version": "5.3.3", + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uglify-js": { + "version": "3.15.1", + "dev": true, + "license": "BSD-2-Clause", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/uid": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@lukeed/csprng": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unbox-primitive/node_modules/has-bigints": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/undefsafe": { + "version": "2.0.5", + "dev": true, + "license": "MIT" + }, + "node_modules/unicode-length": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "^2.0.0", + "strip-ansi": "^3.0.1" + } + }, + "node_modules/unicode-length/node_modules/ansi-regex": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unicode-length/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unicorn-magic": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unique-filename": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/unique-slug": { + "version": "4.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/unique-string": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "crypto-random-string": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/universal-user-agent": { + "version": "6.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/universalify": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/upath": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4", + "yarn": "*" + } + }, + "node_modules/update-notifier": { + "version": "5.1.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boxen": "^5.0.0", + "chalk": "^4.1.0", + "configstore": "^5.0.1", + "has-yarn": "^2.1.0", + "import-lazy": "^2.1.0", + "is-ci": "^2.0.0", + "is-installed-globally": "^0.4.0", + "is-npm": "^5.0.0", + "is-yarn-global": "^0.3.0", + "latest-version": "^5.1.0", + "pupa": "^2.1.1", + "semver": "^7.3.4", + "semver-diff": "^3.1.1", + "xdg-basedir": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/yeoman/update-notifier?sponsor=1" + } + }, + "node_modules/upper-case-first": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/url": { + "version": "0.11.0", + "license": "MIT", + "dependencies": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, + "node_modules/url-parse-lax": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/url/node_modules/punycode": { + "version": "1.3.2", + "license": "MIT" + }, + "node_modules/util": { + "version": "0.12.5", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "which-typed-array": "^1.1.2" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "license": "MIT" + }, + "node_modules/uuid": { + "version": "9.0.1", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "devOptional": true, + "license": "MIT" + }, + "node_modules/v8-to-istanbul": { + "version": "9.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.12", + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/v8-to-istanbul/node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/v8-to-istanbul/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "dev": true, + "license": "MIT" + }, + "node_modules/v8-to-istanbul/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.18", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/validate-npm-package-name": { + "version": "5.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "builtins": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/visit-values": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/vm-browserify": { + "version": "1.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/vscode-languageserver-textdocument": { + "version": "1.0.10", + "dev": true, + "license": "MIT" + }, + "node_modules/vscode-uri": { + "version": "3.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/walk-up-path": { + "version": "3.0.1", + "dev": true, + "license": "ISC" + }, + "node_modules/walker": { + "version": "1.0.8", + "license": "Apache-2.0", + "dependencies": { + "makeerror": "1.0.12" + } + }, + "node_modules/watchpack": { + "version": "2.4.0", + "license": "MIT", + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/web-streams-polyfill": { + "version": "3.2.1", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/web3": { + "version": "4.1.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.1.1", + "web3-errors": "^1.1.1", + "web3-eth": "^4.1.1", + "web3-eth-abi": "^4.1.1", + "web3-eth-accounts": "^4.0.5", + "web3-eth-contract": "^4.0.5", + "web3-eth-ens": "^4.0.5", + "web3-eth-iban": "^4.0.5", + "web3-eth-personal": "^4.0.5", + "web3-net": "^4.0.5", + "web3-providers-http": "^4.0.5", + "web3-providers-ws": "^4.0.5", + "web3-rpc-methods": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14.0.0", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-core": { + "version": "4.1.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.1", + "web3-eth-iban": "^4.0.5", + "web3-providers-http": "^4.0.5", + "web3-providers-ws": "^4.0.5", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + }, + "optionalDependencies": { + "web3-providers-ipc": "^4.0.5" + } + }, + "node_modules/web3-errors": { + "version": "1.1.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.1.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-eth": { + "version": "4.1.1", + "license": "LGPL-3.0", + "dependencies": { + "setimmediate": "^1.0.5", + "web3-core": "^4.1.1", + "web3-errors": "^1.1.1", + "web3-eth-abi": "^4.1.1", + "web3-eth-accounts": "^4.0.5", + "web3-net": "^4.0.5", + "web3-providers-ws": "^4.0.5", + "web3-rpc-methods": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-eth-abi": { + "version": "4.1.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-eth-accounts": { + "version": "4.0.5", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "crc-32": "^1.2.2", + "ethereum-cryptography": "^2.0.0", + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-eth-contract": { + "version": "4.0.5", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.1.1", + "web3-errors": "^1.1.1", + "web3-eth": "^4.1.1", + "web3-eth-abi": "^4.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-eth-ens": { + "version": "4.0.5", + "license": "LGPL-3.0", + "dependencies": { + "@adraffy/ens-normalize": "^1.8.8", + "web3-core": "^4.1.1", + "web3-errors": "^1.1.1", + "web3-eth": "^4.1.1", + "web3-eth-contract": "^4.0.5", + "web3-net": "^4.0.5", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-eth-iban": { + "version": "4.0.5", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-eth-personal": { + "version": "4.0.5", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.1.1", + "web3-eth": "^4.1.1", + "web3-rpc-methods": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-net": { + "version": "4.0.5", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.1.1", + "web3-rpc-methods": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-providers-http": { + "version": "4.0.5", + "license": "LGPL-3.0", + "dependencies": { + "cross-fetch": "^3.1.5", + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-providers-ipc": { + "version": "4.0.5", + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-providers-ws": { + "version": "4.0.5", + "license": "LGPL-3.0", + "dependencies": { + "@types/ws": "8.5.3", + "isomorphic-ws": "^5.0.0", + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "ws": "^8.8.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-rpc-methods": { + "version": "1.1.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.1.1", + "web3-types": "^1.1.1", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-types": { + "version": "1.1.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-utils": { + "version": "4.3.0", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "eventemitter3": "^5.0.1", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "web3-validator": "^2.0.6" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-utils/node_modules/web3-errors": { + "version": "1.2.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.6.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-utils/node_modules/web3-types": { + "version": "1.6.0", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-utils/node_modules/web3-validator": { + "version": "2.0.6", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/web3-validator": { + "version": "2.0.1", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "license": "BSD-2-Clause" + }, + "node_modules/webpack": { + "version": "5.88.2", + "license": "MIT", + "dependencies": { + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.15.0", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.7", + "watchpack": "^2.4.0", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-cli": { + "version": "4.10.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^1.2.0", + "@webpack-cli/info": "^1.5.0", + "@webpack-cli/serve": "^1.7.0", + "colorette": "^2.0.14", + "commander": "^7.0.0", + "cross-spawn": "^7.0.3", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^2.2.0", + "rechoir": "^0.7.0", + "webpack-merge": "^5.7.3" + }, + "bin": { + "webpack-cli": "bin/cli.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "4.x.x || 5.x.x" + }, + "peerDependenciesMeta": { + "@webpack-cli/generators": { + "optional": true + }, + "@webpack-cli/migrate": { + "optional": true + }, + "webpack-bundle-analyzer": { + "optional": true + }, + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/webpack-cli/node_modules/colorette": { + "version": "2.0.20", + "dev": true, + "license": "MIT" + }, + "node_modules/webpack-cli/node_modules/commander": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/webpack-merge": { + "version": "5.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/webpack-sources": { + "version": "3.2.3", + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack/node_modules/@types/estree": { + "version": "1.0.1", + "license": "MIT" + }, + "node_modules/webpack/node_modules/acorn-import-assertions": { + "version": "1.9.0", + "license": "MIT", + "peerDependencies": { + "acorn": "^8" + } + }, + "node_modules/webpack/node_modules/enhanced-resolve": { + "version": "5.15.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack/node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "license": "MIT" + }, + "node_modules/wget-improved": { + "version": "3.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "1.2.6", + "tunnel": "0.0.6" + }, + "bin": { + "nwget": "bin/nwget" + }, + "engines": { + "node": ">= 0.6.18" + } + }, + "node_modules/wget-improved/node_modules/minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-collection": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "is-map": "^2.0.1", + "is-set": "^2.0.1", + "is-weakmap": "^2.0.1", + "is-weakset": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-module": { + "version": "2.0.0", + "license": "ISC" + }, + "node_modules/which-typed-array": { + "version": "1.1.9", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/wide-align": { + "version": "1.1.5", + "license": "ISC", + "dependencies": { + "string-width": "^1.0.2 || 2 || 3 || 4" + } + }, + "node_modules/widest-line": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "string-width": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wildcard": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "license": "ISC" + }, + "node_modules/write-file-atomic": { + "version": "3.0.3", + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "node_modules/write-json-file": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-indent": "^7.0.0", + "is-plain-obj": "^4.0.0", + "sort-keys": "^5.0.0", + "write-file-atomic": "^3.0.3" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/write-json-file/node_modules/is-plain-obj": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/write-pkg": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "deepmerge-ts": "^5.1.0", + "read-pkg": "^8.1.0", + "sort-keys": "^5.0.0", + "type-fest": "^4.6.0", + "write-json-file": "^5.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/write-pkg/node_modules/type-fest": { + "version": "4.8.3", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ws": { + "version": "8.13.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xdg-basedir": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/xtend": { + "version": "4.0.2", + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "4.0.3", + "license": "ISC" + }, + "node_modules/yallist": { + "version": "4.0.0", + "license": "ISC" + }, + "node_modules/yaml": { + "version": "1.10.2", + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, + "node_modules/yargs": { + "version": "17.7.2", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs/node_modules/cliui": { + "version": "8.0.1", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yoga-layout-prebuilt": { + "version": "1.10.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/yoga-layout": "1.9.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/zod": { + "version": "3.22.4", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "packages/cacti-ledger-browser": { + "name": "@hyperledger/cacti-ledger-browser", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@emotion/react": "11.11.3", + "@emotion/styled": "11.11.0", + "@mui/icons-material": "5.15.10", + "@mui/material": "5.15.10", + "@supabase/supabase-js": "1.35.6", + "apexcharts": "3.45.2", + "localforage": "1.10.0", + "match-sorter": "6.3.3", + "moment": "2.30.1", + "react": "18.2.0", + "react-apexcharts": "1.4.1", + "react-dom": "18.2.0", + "react-router-dom": "6.21.3", + "sort-by": "1.2.0", + "web3": "4.1.1" + }, + "devDependencies": { + "@types/react": "18.2.43", + "@types/react-dom": "18.2.17", + "@types/sort-by": "1", + "@vitejs/plugin-react": "4.2.1", + "typescript": "5.2.2", + "vite": "5.0.13" + } + }, + "packages/cacti-ledger-browser/node_modules/@ampproject/remapping": { + "version": "2.2.1", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@ampproject/remapping/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/code-frame": { + "version": "7.23.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/code-frame/node_modules/@babel/highlight": { + "version": "7.23.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/compat-data": { + "version": "7.23.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/core": { + "version": "7.23.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-compilation-targets": "^7.23.6", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.9", + "@babel/parser": "^7.23.9", + "@babel/template": "^7.23.9", + "@babel/traverse": "^7.23.9", + "@babel/types": "^7.23.9", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/core/node_modules/@babel/helper-string-parser": { + "version": "7.23.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/core/node_modules/@babel/types": { + "version": "7.23.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/core/node_modules/convert-source-map": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@babel/core/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/core/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@babel/generator": { + "version": "7.23.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.23.6", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/generator/node_modules/@babel/helper-string-parser": { + "version": "7.23.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/generator/node_modules/@babel/types": { + "version": "7.23.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-compilation-targets": { + "version": "7.23.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-compilation-targets/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-module-transforms": { + "version": "7.23.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-module-imports": { + "version": "7.22.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-module-transforms/node_modules/@babel/types": { + "version": "7.22.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.15", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-plugin-utils": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helper-validator-option": { + "version": "7.23.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helpers": { + "version": "7.23.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.23.9", + "@babel/traverse": "^7.23.9", + "@babel/types": "^7.23.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helpers/node_modules/@babel/helper-string-parser": { + "version": "7.23.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/helpers/node_modules/@babel/types": { + "version": "7.23.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/parser": { + "version": "7.23.9", + "dev": true, + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.23.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.23.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/runtime": { + "version": "7.23.9", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/template": { + "version": "7.23.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/template/node_modules/@babel/helper-string-parser": { + "version": "7.23.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@babel/template/node_modules/@babel/types": { + "version": "7.23.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/babel-plugin": { + "version": "11.11.0", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/runtime": "^7.18.3", + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/serialize": "^1.1.2", + "babel-plugin-macros": "^3.1.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "4.2.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/cache": { + "version": "11.11.0", + "license": "MIT", + "dependencies": { + "@emotion/memoize": "^0.8.1", + "@emotion/sheet": "^1.2.2", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "stylis": "4.2.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/hash": { + "version": "0.9.1", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@emotion/is-prop-valid": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "@emotion/memoize": "^0.8.1" + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/memoize": { + "version": "0.8.1", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@emotion/react": { + "version": "11.11.3", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/cache": "^11.11.0", + "@emotion/serialize": "^1.1.3", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "hoist-non-react-statics": "^3.3.1" + }, + "peerDependencies": { + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/react/node_modules/@emotion/serialize": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/unitless": "^0.8.1", + "@emotion/utils": "^1.2.1", + "csstype": "^3.0.2" + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/serialize": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/unitless": "^0.8.1", + "@emotion/utils": "^1.2.1", + "csstype": "^3.0.2" + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/sheet": { + "version": "1.2.2", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@emotion/styled": { + "version": "11.11.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/is-prop-valid": "^1.2.1", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0-rc.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/unitless": { + "version": "0.8.1", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@emotion/use-insertion-effect-with-fallbacks": { + "version": "1.0.1", + "license": "MIT", + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@emotion/utils": { + "version": "1.2.1", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@emotion/weak-memoize": { + "version": "0.3.1", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@esbuild/linux-x64": { + "version": "0.19.12", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/cacti-ledger-browser/node_modules/@floating-ui/core": { + "version": "1.6.0", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.1" + } + }, + "packages/cacti-ledger-browser/node_modules/@floating-ui/dom": { + "version": "1.6.3", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.0.0", + "@floating-ui/utils": "^0.2.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@floating-ui/react-dom": { + "version": "2.0.8", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.6.1" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@floating-ui/utils": { + "version": "0.2.1", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@mui/base": { + "version": "5.0.0-beta.36", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@floating-ui/react-dom": "^2.0.8", + "@mui/types": "^7.2.13", + "@mui/utils": "^5.15.9", + "@popperjs/core": "^2.11.8", + "clsx": "^2.1.0", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@mui/core-downloads-tracker": { + "version": "5.15.10", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + } + }, + "packages/cacti-ledger-browser/node_modules/@mui/icons-material": { + "version": "5.15.10", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@mui/material": "^5.0.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@mui/material": { + "version": "5.15.10", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/base": "5.0.0-beta.36", + "@mui/core-downloads-tracker": "^5.15.10", + "@mui/system": "^5.15.9", + "@mui/types": "^7.2.13", + "@mui/utils": "^5.15.9", + "@types/react-transition-group": "^4.4.10", + "clsx": "^2.1.0", + "csstype": "^3.1.3", + "prop-types": "^15.8.1", + "react-is": "^18.2.0", + "react-transition-group": "^4.4.5" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@mui/material/node_modules/csstype": { + "version": "3.1.3", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@mui/material/node_modules/react-is": { + "version": "18.2.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@mui/private-theming": { + "version": "5.15.9", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/utils": "^5.15.9", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@mui/styled-engine": { + "version": "5.15.9", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@emotion/cache": "^11.11.0", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@mui/styled-engine/node_modules/csstype": { + "version": "3.1.3", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@mui/system": { + "version": "5.15.9", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/private-theming": "^5.15.9", + "@mui/styled-engine": "^5.15.9", + "@mui/types": "^7.2.13", + "@mui/utils": "^5.15.9", + "clsx": "^2.1.0", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@mui/system/node_modules/csstype": { + "version": "3.1.3", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@mui/types": { + "version": "7.2.13", + "license": "MIT", + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@mui/utils": { + "version": "5.15.9", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@types/prop-types": "^15.7.11", + "prop-types": "^15.8.1", + "react-is": "^18.2.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/@mui/utils/node_modules/@types/prop-types": { + "version": "15.7.11", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@mui/utils/node_modules/react-is": { + "version": "18.2.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@popperjs/core": { + "version": "2.11.8", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "packages/cacti-ledger-browser/node_modules/@remix-run/router": { + "version": "1.14.2", + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.9.6", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "packages/cacti-ledger-browser/node_modules/@supabase/functions-js": { + "version": "1.3.4", + "license": "MIT", + "dependencies": { + "cross-fetch": "^3.1.5" + } + }, + "packages/cacti-ledger-browser/node_modules/@supabase/gotrue-js": { + "version": "1.24.0", + "license": "MIT", + "dependencies": { + "cross-fetch": "^3.0.6" + } + }, + "packages/cacti-ledger-browser/node_modules/@supabase/postgrest-js": { + "version": "0.37.4", + "license": "MIT", + "dependencies": { + "cross-fetch": "^3.1.5" + } + }, + "packages/cacti-ledger-browser/node_modules/@supabase/realtime-js": { + "version": "1.7.5", + "license": "MIT", + "dependencies": { + "@types/phoenix": "^1.5.4", + "websocket": "^1.0.34" + } + }, + "packages/cacti-ledger-browser/node_modules/@supabase/storage-js": { + "version": "1.7.3", + "license": "MIT", + "dependencies": { + "cross-fetch": "^3.1.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@supabase/supabase-js": { + "version": "1.35.6", + "license": "MIT", + "dependencies": { + "@supabase/functions-js": "^1.3.4", + "@supabase/gotrue-js": "^1.22.21", + "@supabase/postgrest-js": "^0.37.4", + "@supabase/realtime-js": "^1.7.4", + "@supabase/storage-js": "^1.7.2" + } + }, + "packages/cacti-ledger-browser/node_modules/@types/babel__core": { + "version": "7.20.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "packages/cacti-ledger-browser/node_modules/@types/estree": { + "version": "1.0.5", + "dev": true, + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@types/phoenix": { + "version": "1.6.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@types/react": { + "version": "18.2.43", + "license": "MIT", + "dependencies": { + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" + } + }, + "packages/cacti-ledger-browser/node_modules/@types/react-dom": { + "version": "18.2.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/react": "*" + } + }, + "packages/cacti-ledger-browser/node_modules/@types/react-transition-group": { + "version": "4.4.10", + "license": "MIT", + "dependencies": { + "@types/react": "*" + } + }, + "packages/cacti-ledger-browser/node_modules/@types/sort-by": { + "version": "1.2.3", + "dev": true, + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/@vitejs/plugin-react": { + "version": "4.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.23.5", + "@babel/plugin-transform-react-jsx-self": "^7.23.3", + "@babel/plugin-transform-react-jsx-source": "^7.23.3", + "@types/babel__core": "^7.20.5", + "react-refresh": "^0.14.0" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0" + } + }, + "packages/cacti-ledger-browser/node_modules/@yr/monotone-cubic-spline": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cacti-ledger-browser/node_modules/apexcharts": { + "version": "3.45.2", + "license": "MIT", + "dependencies": { + "@yr/monotone-cubic-spline": "^1.0.3", + "svg.draggable.js": "^2.2.2", + "svg.easing.js": "^2.0.0", + "svg.filter.js": "^2.0.2", + "svg.pathmorphing.js": "^0.1.3", + "svg.resize.js": "^1.4.3", + "svg.select.js": "^3.0.1" + } + }, + "packages/cacti-ledger-browser/node_modules/apexcharts/node_modules/svg.select.js": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "svg.js": "^2.6.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/babel-plugin-macros": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.5", + "cosmiconfig": "^7.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + } + }, + "packages/cacti-ledger-browser/node_modules/browserslist": { + "version": "4.22.2", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001565", + "electron-to-chromium": "^1.4.601", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "packages/cacti-ledger-browser/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cacti-ledger-browser/node_modules/caniuse-lite": { + "version": "1.0.30001579", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "packages/cacti-ledger-browser/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cacti-ledger-browser/node_modules/clsx": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cacti-ledger-browser/node_modules/convert-source-map": { + "version": "1.9.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cacti-ledger-browser/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cacti-ledger-browser/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/dom-helpers": { + "version": "5.2.1", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, + "packages/cacti-ledger-browser/node_modules/electron-to-chromium": { + "version": "1.4.640", + "dev": true, + "license": "ISC" + }, + "packages/cacti-ledger-browser/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cacti-ledger-browser/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cacti-ledger-browser/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cacti-ledger-browser/node_modules/esbuild": { + "version": "0.19.12", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.19.12", + "@esbuild/android-arm": "0.19.12", + "@esbuild/android-arm64": "0.19.12", + "@esbuild/android-x64": "0.19.12", + "@esbuild/darwin-arm64": "0.19.12", + "@esbuild/darwin-x64": "0.19.12", + "@esbuild/freebsd-arm64": "0.19.12", + "@esbuild/freebsd-x64": "0.19.12", + "@esbuild/linux-arm": "0.19.12", + "@esbuild/linux-arm64": "0.19.12", + "@esbuild/linux-ia32": "0.19.12", + "@esbuild/linux-loong64": "0.19.12", + "@esbuild/linux-mips64el": "0.19.12", + "@esbuild/linux-ppc64": "0.19.12", + "@esbuild/linux-riscv64": "0.19.12", + "@esbuild/linux-s390x": "0.19.12", + "@esbuild/linux-x64": "0.19.12", + "@esbuild/netbsd-x64": "0.19.12", + "@esbuild/openbsd-x64": "0.19.12", + "@esbuild/sunos-x64": "0.19.12", + "@esbuild/win32-arm64": "0.19.12", + "@esbuild/win32-ia32": "0.19.12", + "@esbuild/win32-x64": "0.19.12" + } + }, + "packages/cacti-ledger-browser/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cacti-ledger-browser/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cacti-ledger-browser/node_modules/find-root": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cacti-ledger-browser/node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "license": "BSD-3-Clause", + "dependencies": { + "react-is": "^16.7.0" + } + }, + "packages/cacti-ledger-browser/node_modules/immediate": { + "version": "3.0.6", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/lie": { + "version": "3.1.1", + "license": "MIT", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "packages/cacti-ledger-browser/node_modules/localforage": { + "version": "1.10.0", + "license": "Apache-2.0", + "dependencies": { + "lie": "3.1.1" + } + }, + "packages/cacti-ledger-browser/node_modules/match-sorter": { + "version": "6.3.3", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.8", + "remove-accents": "0.5.0" + } + }, + "packages/cacti-ledger-browser/node_modules/moment": { + "version": "2.30.1", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cacti-ledger-browser/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/node-releases": { + "version": "2.0.14", + "dev": true, + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/object-path": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/prop-types": { + "version": "15.8.1", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "packages/cacti-ledger-browser/node_modules/react": { + "version": "18.2.0", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cacti-ledger-browser/node_modules/react-apexcharts": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "prop-types": "^15.8.1" + }, + "peerDependencies": { + "apexcharts": "^3.41.0", + "react": ">=0.13" + } + }, + "packages/cacti-ledger-browser/node_modules/react-dom": { + "version": "18.2.0", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + }, + "peerDependencies": { + "react": "^18.2.0" + } + }, + "packages/cacti-ledger-browser/node_modules/react-is": { + "version": "16.13.1", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/react-refresh": { + "version": "0.14.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cacti-ledger-browser/node_modules/react-router": { + "version": "6.21.3", + "license": "MIT", + "dependencies": { + "@remix-run/router": "1.14.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=16.8" + } + }, + "packages/cacti-ledger-browser/node_modules/react-router-dom": { + "version": "6.21.3", + "license": "MIT", + "dependencies": { + "@remix-run/router": "1.14.2", + "react-router": "6.21.3" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=16.8", + "react-dom": ">=16.8" + } + }, + "packages/cacti-ledger-browser/node_modules/react-transition-group": { + "version": "4.4.5", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, + "packages/cacti-ledger-browser/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/remove-accents": { + "version": "0.5.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/rollup": { + "version": "4.9.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.5" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.9.6", + "@rollup/rollup-android-arm64": "4.9.6", + "@rollup/rollup-darwin-arm64": "4.9.6", + "@rollup/rollup-darwin-x64": "4.9.6", + "@rollup/rollup-linux-arm-gnueabihf": "4.9.6", + "@rollup/rollup-linux-arm64-gnu": "4.9.6", + "@rollup/rollup-linux-arm64-musl": "4.9.6", + "@rollup/rollup-linux-riscv64-gnu": "4.9.6", + "@rollup/rollup-linux-x64-gnu": "4.9.6", + "@rollup/rollup-linux-x64-musl": "4.9.6", + "@rollup/rollup-win32-arm64-msvc": "4.9.6", + "@rollup/rollup-win32-ia32-msvc": "4.9.6", + "@rollup/rollup-win32-x64-msvc": "4.9.6", + "fsevents": "~2.3.2" + } + }, + "packages/cacti-ledger-browser/node_modules/scheduler": { + "version": "0.23.0", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "packages/cacti-ledger-browser/node_modules/sort-by": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "object-path": "0.6.0" + } + }, + "packages/cacti-ledger-browser/node_modules/source-map": { + "version": "0.5.7", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cacti-ledger-browser/node_modules/stylis": { + "version": "4.2.0", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cacti-ledger-browser/node_modules/svg.draggable.js": { + "version": "2.2.2", + "license": "MIT", + "dependencies": { + "svg.js": "^2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/svg.easing.js": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "svg.js": ">=2.3.x" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/svg.filter.js": { + "version": "2.0.2", + "license": "MIT", + "dependencies": { + "svg.js": "^2.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/svg.js": { + "version": "2.7.1", + "license": "MIT" + }, + "packages/cacti-ledger-browser/node_modules/svg.pathmorphing.js": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "svg.js": "^2.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/svg.resize.js": { + "version": "1.4.3", + "license": "MIT", + "dependencies": { + "svg.js": "^2.6.5", + "svg.select.js": "^2.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/svg.select.js": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "svg.js": "^2.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cacti-ledger-browser/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cacti-ledger-browser/node_modules/typescript": { + "version": "5.2.2", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "packages/cacti-ledger-browser/node_modules/update-browserslist-db": { + "version": "1.0.13", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "packages/cacti-ledger-browser/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cacti-ledger-browser/node_modules/vite": { + "version": "5.0.13", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.19.3", + "postcss": "^8.4.32", + "rollup": "^4.2.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "packages/cacti-ledger-browser/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cacti-ledger-browser/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cacti-plugin-ledger-connector-stellar": { + "name": "@hyperledger/cacti-plugin-ledger-connector-stellar", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "express": "4.19.2", + "http-errors-enhanced-cjs": "2.0.1", + "joi": "17.9.1", + "openapi-types": "12.1.3", + "prom-client": "13.2.0", + "run-time-error-cjs": "1.4.0", + "rxjs": "7.8.1", + "socket.io-client-fixed-types": "4.5.4", + "stellar-plus": "0.8.4", + "typescript-optional": "2.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/http-errors": "2.0.4", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "npm-run-all2": "6.1.2", + "socket.io": "4.5.4", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@hapi/hoek": { + "version": "9.2.1", + "license": "BSD-3-Clause" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@hapi/topo": { + "version": "5.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@sideway/address": { + "version": "4.1.4", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@sideway/formula": { + "version": "3.0.1", + "license": "BSD-3-Clause" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@sideway/pinpoint": { + "version": "2.0.0", + "license": "BSD-3-Clause" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@stellar/freighter-api": { + "version": "1.7.1", + "license": "Apache-2.0" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@stellar/js-xdr": { + "version": "3.1.1", + "license": "Apache-2.0" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@stellar/stellar-base": { + "version": "11.0.1", + "license": "Apache-2.0", + "dependencies": { + "@stellar/js-xdr": "^3.1.1", + "base32.js": "^0.1.0", + "bignumber.js": "^9.1.2", + "buffer": "^6.0.3", + "sha.js": "^2.3.6", + "tweetnacl": "^1.0.3" + }, + "optionalDependencies": { + "sodium-native": "^4.0.10" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@stellar/stellar-sdk": { + "version": "11.3.0", + "license": "Apache-2.0", + "dependencies": { + "@stellar/stellar-base": "^11.0.1", + "axios": "^1.6.8", + "bignumber.js": "^9.1.2", + "eventsource": "^2.0.2", + "randombytes": "^2.1.0", + "toml": "^3.0.0", + "urijs": "^1.19.1" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/http-errors": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/ansi-styles": { + "version": "6.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/axios": { + "version": "1.5.1", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/base32.js": { + "version": "0.1.0", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/bignumber.js": { + "version": "9.1.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/eventsource": { + "version": "2.0.2", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/http-errors-enhanced-cjs": { + "version": "2.0.1", + "license": "ISC", + "engines": { + "node": ">= 18.18.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/joi": { + "version": "17.9.1", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0", + "@hapi/topo": "^5.0.0", + "@sideway/address": "^4.1.3", + "@sideway/formula": "^3.0.1", + "@sideway/pinpoint": "^2.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/node-gyp-build": { + "version": "4.8.0", + "license": "MIT", + "optional": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/npm-run-all2": { + "version": "6.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "cross-spawn": "^7.0.3", + "memorystream": "^0.3.1", + "minimatch": "^9.0.0", + "pidtree": "^0.6.0", + "read-package-json-fast": "^3.0.2", + "shell-quote": "^1.7.3" + }, + "bin": { + "npm-run-all": "bin/npm-run-all/index.js", + "npm-run-all2": "bin/npm-run-all/index.js", + "run-p": "bin/run-p/index.js", + "run-s": "bin/run-s/index.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0", + "npm": ">= 8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/pidtree": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "bin": { + "pidtree": "bin/pidtree.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/shell-quote": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/sodium-native": { + "version": "4.1.1", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build": "^4.8.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/stellar-plus": { + "version": "0.8.4", + "license": "ISC", + "dependencies": { + "@stellar/freighter-api": "^1.7.1", + "@stellar/stellar-sdk": "^11.2.2", + "axios": "^1.6.2", + "uuid": "^9.0.1" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/toml": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/tweetnacl": { + "version": "1.0.3", + "license": "Unlicense" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/urijs": { + "version": "1.19.11", + "license": "MIT" + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cacti-plugin-ledger-connector-stellar/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-api-client": { + "name": "@hyperledger/cactus-api-client", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-consortium-manual": "2.0.0-alpha.2", + "jsonwebtoken": "9.0.0", + "rxjs": "7.8.1", + "socket.io-client-fixed-types": "4.5.4" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/jsonwebtoken": "9.0.0", + "@types/lodash": "4.14.195", + "@types/node": "18.11.9", + "lodash": "4.17.21" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-api-client/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-api-client/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-api-client/node_modules/@types/jsonwebtoken": { + "version": "9.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-api-client/node_modules/@types/lodash": { + "version": "4.14.195", + "dev": true, + "license": "MIT" + }, + "packages/cactus-api-client/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-api-client/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-api-client/node_modules/jsonwebtoken": { + "version": "9.0.2", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "packages/cactus-api-client/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "packages/cactus-api-client/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-api-client/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-api-client/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-api-client/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-api-client/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "packages/cactus-api-client/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-api-client/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-api-client/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-api-client/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-cmd-api-server": { + "name": "@hyperledger/cactus-cmd-api-server", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@connectrpc/connect": "1.4.0", + "@connectrpc/connect-express": "1.4.0", + "@connectrpc/connect-fastify": "1.4.0", + "@connectrpc/connect-node": "1.4.0", + "@grpc/grpc-js": "1.10.3", + "@grpc/proto-loader": "0.7.8", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@thream/socketio-jwt": "2.1.1", + "async-exit-hook": "2.0.1", + "axios": "1.6.0", + "bluebird": "3.7.2", + "body-parser": "1.20.2", + "compression": "1.7.4", + "convict": "6.2.4", + "convict-format-with-validator": "6.2.0", + "cors": "2.8.5", + "express": "4.19.2", + "express-http-proxy": "1.6.2", + "express-jwt": "8.4.1", + "express-openapi-validator": "5.0.4", + "express-rate-limit": "6.7.0", + "fastify": "4.26.2", + "fs-extra": "10.1.0", + "google-protobuf": "3.18.0-rc.2", + "jose": "4.15.5", + "json-stable-stringify": "1.0.2", + "lmify": "0.3.0", + "node-forge": "1.3.0", + "prom-client": "13.2.0", + "run-time-error-cjs": "1.4.0", + "rxjs": "7.8.1", + "safe-stable-stringify": "2.4.3", + "semver": "7.5.2", + "socket.io": "4.5.4", + "socket.io-client-fixed-types": "4.5.4", + "typescript-optional": "2.0.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@bufbuild/buf": "1.30.0", + "@bufbuild/protobuf": "1.8.0", + "@bufbuild/protoc-gen-es": "1.8.0", + "@connectrpc/protoc-gen-connect-es": "1.4.0", + "@hyperledger/cactus-plugin-keychain-vault": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@openapitools/openapi-generator-cli": "2.7.0", + "@types/benchmark": "2.1.5", + "@types/compression": "1.7.4", + "@types/convict": "6.1.1", + "@types/cors": "2.8.12", + "@types/express": "4.17.21", + "@types/express-http-proxy": "1.6.2", + "@types/google-protobuf": "3.15.5", + "@types/json-stable-stringify": "1.0.34", + "@types/jsonwebtoken": "8.5.4", + "@types/multer": "1.4.7", + "@types/node-forge": "1.0.1", + "@types/passport": "1.0.7", + "@types/passport-oauth2": "1.4.11", + "@types/passport-saml": "1.1.3", + "@types/passport-strategy": "0.2.35", + "@types/semver": "7.3.8", + "@types/uuid": "9.0.8", + "@types/xml2js": "0.4.9", + "benchmark": "2.1.4", + "google-protobuf": "3.18.0-rc.2", + "grpc_tools_node_protoc_ts": "5.3.3", + "grpc-tools": "1.12.4", + "http-status-codes": "2.1.4", + "protobufjs": "7.2.5", + "tsx": "4.7.0" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-cmd-api-server/node_modules/@apidevtools/json-schema-ref-parser": { + "version": "9.1.2", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.6", + "call-me-maybe": "^1.0.1", + "js-yaml": "^4.1.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/@connectrpc/connect-express": { + "version": "1.4.0", + "license": "Apache-2.0", + "dependencies": { + "@types/express": "^4.17.18" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "@bufbuild/protobuf": "^1.4.2", + "@connectrpc/connect": "1.4.0", + "@connectrpc/connect-node": "1.4.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/@connectrpc/connect-fastify": { + "version": "1.4.0", + "license": "Apache-2.0", + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "@bufbuild/protobuf": "^1.4.2", + "@connectrpc/connect": "1.4.0", + "@connectrpc/connect-node": "1.4.0", + "fastify": "^4.22.1" + } + }, + "packages/cactus-cmd-api-server/node_modules/@connectrpc/connect-node": { + "version": "1.4.0", + "license": "Apache-2.0", + "dependencies": { + "undici": "^5.28.3" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "@bufbuild/protobuf": "^1.4.2", + "@connectrpc/connect": "1.4.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/@esbuild/linux-x64": { + "version": "0.19.12", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/cactus-cmd-api-server/node_modules/@fastify/ajv-compiler": { + "version": "3.5.0", + "license": "MIT", + "dependencies": { + "ajv": "^8.11.0", + "ajv-formats": "^2.1.1", + "fast-uri": "^2.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/@fastify/busboy": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "packages/cactus-cmd-api-server/node_modules/@fastify/error": { + "version": "3.4.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@fastify/fast-json-stringify-compiler": { + "version": "4.3.0", + "license": "MIT", + "dependencies": { + "fast-json-stringify": "^5.7.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/@fastify/merge-json-schemas": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + } + }, + "packages/cactus-cmd-api-server/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/@grpc/grpc-js/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-api-server/node_modules/@grpc/proto-loader": { + "version": "0.7.8", + "license": "Apache-2.0", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-api-server/node_modules/@grpc/proto-loader/node_modules/@types/long": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@grpc/proto-loader/node_modules/long": { + "version": "4.0.0", + "license": "Apache-2.0" + }, + "packages/cactus-cmd-api-server/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "packages/cactus-cmd-api-server/node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@thream/socketio-jwt": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "jsonwebtoken": "8.5.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "socket.io": ">=3.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/body-parser": { + "version": "1.19.2", + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/compression": { + "version": "1.7.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/connect": { + "version": "3.4.35", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/convict": { + "version": "6.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@types/express": { + "version": "4.17.21", + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/express-http-proxy": { + "version": "1.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/google-protobuf": { + "version": "3.15.5", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@types/json-stable-stringify": { + "version": "1.0.34", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@types/jsonwebtoken": { + "version": "8.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/mime": { + "version": "1.3.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@types/multer": { + "version": "1.4.7", + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/node-forge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/oauth": { + "version": "0.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/passport": { + "version": "1.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/passport-oauth2": { + "version": "1.4.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*", + "@types/oauth": "*", + "@types/passport": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/passport-saml": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*", + "@types/passport": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/passport-strategy": { + "version": "0.2.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*", + "@types/passport": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/qs": { + "version": "6.9.7", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@types/range-parser": { + "version": "1.2.4", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@types/semver": { + "version": "7.3.8", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/@types/serve-static": { + "version": "1.13.10", + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/@types/xml2js": { + "version": "0.4.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/abstract-logging": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/accepts": { + "version": "1.3.7", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/ajv-draft-04": { + "version": "1.0.0", + "license": "MIT", + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/ajv-formats": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/append-field": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/async-exit-hook": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/at-least-node": { + "version": "1.0.0", + "license": "ISC", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/atomic-sleep": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/avvio": { + "version": "8.3.0", + "license": "MIT", + "dependencies": { + "@fastify/error": "^3.3.0", + "archy": "^1.0.0", + "debug": "^4.0.0", + "fastq": "^1.17.1" + } + }, + "packages/cactus-cmd-api-server/node_modules/avvio/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/avvio/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-cmd-api-server/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-cmd-api-server/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-cmd-api-server/node_modules/busboy": { + "version": "1.6.0", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/call-me-maybe": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/compressible": { + "version": "2.0.18", + "license": "MIT", + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/compression": { + "version": "1.7.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/compression/node_modules/bytes": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/compression/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/concat-stream": { + "version": "1.6.2", + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.7", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "packages/cactus-cmd-api-server/node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/convict": { + "version": "6.2.4", + "license": "Apache-2.0", + "dependencies": { + "lodash.clonedeep": "^4.5.0", + "yargs-parser": "^20.2.7" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-api-server/node_modules/convict-format-with-validator": { + "version": "6.2.0", + "license": "Apache-2.0", + "dependencies": { + "validator": "^13.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-api-server/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-cmd-api-server/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-cmd-api-server/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/es6-promise": { + "version": "4.2.8", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/esbuild": { + "version": "0.19.12", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.19.12", + "@esbuild/android-arm": "0.19.12", + "@esbuild/android-arm64": "0.19.12", + "@esbuild/android-x64": "0.19.12", + "@esbuild/darwin-arm64": "0.19.12", + "@esbuild/darwin-x64": "0.19.12", + "@esbuild/freebsd-arm64": "0.19.12", + "@esbuild/freebsd-x64": "0.19.12", + "@esbuild/linux-arm": "0.19.12", + "@esbuild/linux-arm64": "0.19.12", + "@esbuild/linux-ia32": "0.19.12", + "@esbuild/linux-loong64": "0.19.12", + "@esbuild/linux-mips64el": "0.19.12", + "@esbuild/linux-ppc64": "0.19.12", + "@esbuild/linux-riscv64": "0.19.12", + "@esbuild/linux-s390x": "0.19.12", + "@esbuild/linux-x64": "0.19.12", + "@esbuild/netbsd-x64": "0.19.12", + "@esbuild/openbsd-x64": "0.19.12", + "@esbuild/sunos-x64": "0.19.12", + "@esbuild/win32-arm64": "0.19.12", + "@esbuild/win32-ia32": "0.19.12", + "@esbuild/win32-x64": "0.19.12" + } + }, + "packages/cactus-cmd-api-server/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/execa": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "packages/cactus-cmd-api-server/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/express-http-proxy": { + "version": "1.6.2", + "license": "MIT", + "dependencies": { + "debug": "^3.0.1", + "es6-promise": "^4.1.1", + "raw-body": "^2.3.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/express-http-proxy/node_modules/debug": { + "version": "3.2.7", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "packages/cactus-cmd-api-server/node_modules/express-jwt": { + "version": "8.4.1", + "license": "MIT", + "dependencies": { + "@types/jsonwebtoken": "^9", + "express-unless": "^2.1.3", + "jsonwebtoken": "^9.0.0" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/express-jwt/node_modules/@types/jsonwebtoken": { + "version": "9.0.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-api-server/node_modules/express-openapi-validator": { + "version": "5.0.4", + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "^9.1.2", + "@types/multer": "^1.4.7", + "ajv": "^8.11.2", + "ajv-draft-04": "^1.0.0", + "ajv-formats": "^2.1.1", + "content-type": "^1.0.5", + "lodash.clonedeep": "^4.5.0", + "lodash.get": "^4.4.2", + "lodash.uniq": "^4.5.0", + "lodash.zipobject": "^4.1.3", + "media-typer": "^1.1.0", + "multer": "^1.4.5-lts.1", + "ono": "^7.1.3", + "path-to-regexp": "^6.2.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/express-openapi-validator/node_modules/media-typer": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/express-openapi-validator/node_modules/path-to-regexp": { + "version": "6.2.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/express-rate-limit": { + "version": "6.7.0", + "license": "MIT", + "engines": { + "node": ">= 12.9.0" + }, + "peerDependencies": { + "express": "^4 || ^5" + } + }, + "packages/cactus-cmd-api-server/node_modules/express-unless": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/express/node_modules/negotiator": { + "version": "0.6.3", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/express/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/fast-content-type-parse": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/fast-decode-uri-component": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/fast-json-stringify": { + "version": "5.13.0", + "license": "MIT", + "dependencies": { + "@fastify/merge-json-schemas": "^0.1.0", + "ajv": "^8.10.0", + "ajv-formats": "^2.1.1", + "fast-deep-equal": "^3.1.3", + "fast-uri": "^2.1.0", + "json-schema-ref-resolver": "^1.0.1", + "rfdc": "^1.2.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/fast-querystring": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "fast-decode-uri-component": "^1.0.1" + } + }, + "packages/cactus-cmd-api-server/node_modules/fast-redact": { + "version": "3.5.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-api-server/node_modules/fast-uri": { + "version": "2.3.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/fastify": { + "version": "4.26.2", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "MIT", + "dependencies": { + "@fastify/ajv-compiler": "^3.5.0", + "@fastify/error": "^3.4.0", + "@fastify/fast-json-stringify-compiler": "^4.3.0", + "abstract-logging": "^2.0.1", + "avvio": "^8.3.0", + "fast-content-type-parse": "^1.1.0", + "fast-json-stringify": "^5.8.0", + "find-my-way": "^8.0.0", + "light-my-request": "^5.11.0", + "pino": "^8.17.0", + "process-warning": "^3.0.0", + "proxy-addr": "^2.0.7", + "rfdc": "^1.3.0", + "secure-json-parse": "^2.7.0", + "semver": "^7.5.4", + "toad-cache": "^3.3.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/fastify/node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-cmd-api-server/node_modules/fastq": { + "version": "1.17.1", + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "packages/cactus-cmd-api-server/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/find-my-way": { + "version": "8.1.0", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-querystring": "^1.0.0", + "safe-regex2": "^2.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-cmd-api-server/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/get-stream": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-cmd-api-server/node_modules/google-protobuf": { + "version": "3.18.0-rc.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/http-status-codes": { + "version": "2.1.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/human-signals": { + "version": "1.1.1", + "license": "Apache-2.0", + "engines": { + "node": ">=8.12.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-cmd-api-server/node_modules/isarray": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/jose": { + "version": "4.15.5", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "packages/cactus-cmd-api-server/node_modules/json-schema-ref-resolver": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + } + }, + "packages/cactus-cmd-api-server/node_modules/json-stable-stringify": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "jsonify": "^0.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-cmd-api-server/node_modules/jsonify": { + "version": "0.0.1", + "license": "Public Domain", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-cmd-api-server/node_modules/jsonwebtoken": { + "version": "9.0.2", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "packages/cactus-cmd-api-server/node_modules/jsonwebtoken/node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-cmd-api-server/node_modules/light-my-request": { + "version": "5.12.0", + "license": "BSD-3-Clause", + "dependencies": { + "cookie": "^0.6.0", + "process-warning": "^3.0.0", + "set-cookie-parser": "^2.4.1" + } + }, + "packages/cactus-cmd-api-server/node_modules/lmify": { + "version": "0.3.0", + "dependencies": { + "execa": "^4.0.0", + "fs-extra": "^9.0.0", + "std-env": "^2.2.1" + } + }, + "packages/cactus-cmd-api-server/node_modules/lmify/node_modules/fs-extra": { + "version": "9.1.0", + "license": "MIT", + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-cmd-api-server/node_modules/lodash.clonedeep": { + "version": "4.5.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/lodash.get": { + "version": "4.4.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/lodash.zipobject": { + "version": "4.1.3", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "packages/cactus-cmd-api-server/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-api-server/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-cmd-api-server/node_modules/multer": { + "version": "1.4.5-lts.1", + "license": "MIT", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.0.0", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/negotiator": { + "version": "0.6.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/node-forge": { + "version": "1.3.1", + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/on-exit-leak-free": { + "version": "2.1.2", + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/on-headers": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/ono": { + "version": "7.1.3", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "7.1.3" + } + }, + "packages/cactus-cmd-api-server/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/pino": { + "version": "8.19.0", + "license": "MIT", + "dependencies": { + "atomic-sleep": "^1.0.0", + "fast-redact": "^3.1.1", + "on-exit-leak-free": "^2.1.0", + "pino-abstract-transport": "v1.1.0", + "pino-std-serializers": "^6.0.0", + "process-warning": "^3.0.0", + "quick-format-unescaped": "^4.0.3", + "real-require": "^0.2.0", + "safe-stable-stringify": "^2.3.1", + "sonic-boom": "^3.7.0", + "thread-stream": "^2.0.0" + }, + "bin": { + "pino": "bin.js" + } + }, + "packages/cactus-cmd-api-server/node_modules/pino-abstract-transport": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "readable-stream": "^4.0.0", + "split2": "^4.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/pino-abstract-transport/node_modules/readable-stream": { + "version": "4.5.2", + "license": "MIT", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/pino-std-serializers": { + "version": "6.2.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/process-nextick-args": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/process-warning": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-cmd-api-server/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-cmd-api-server/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-cmd-api-server/node_modules/quick-format-unescaped": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/real-require": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 12.13.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/ret": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-api-server/node_modules/safe-regex2": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "ret": "~0.2.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/safe-stable-stringify": { + "version": "2.4.3", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-cmd-api-server/node_modules/secure-json-parse": { + "version": "2.7.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-api-server/node_modules/semver": { + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz", + "integrity": "sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-cmd-api-server/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/set-cookie-parser": { + "version": "2.6.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-cmd-api-server/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/sonic-boom": { + "version": "3.8.1", + "license": "MIT", + "dependencies": { + "atomic-sleep": "^1.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/std-env": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "ci-info": "^3.1.1" + } + }, + "packages/cactus-cmd-api-server/node_modules/streamsearch": { + "version": "1.1.0", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-cmd-api-server/node_modules/thread-stream": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "real-require": "^0.2.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/toad-cache": { + "version": "3.7.0", + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "packages/cactus-cmd-api-server/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/tsx": { + "version": "4.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "~0.19.10", + "get-tsconfig": "^4.7.2" + }, + "bin": { + "tsx": "dist/cli.mjs" + }, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + } + }, + "packages/cactus-cmd-api-server/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-api-server/node_modules/typedarray": { + "version": "0.0.6", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-api-server/node_modules/undici": { + "version": "5.28.4", + "license": "MIT", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-cmd-api-server/node_modules/validator": { + "version": "13.7.0", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-cmd-api-server/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-api-server/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-cmd-api-server/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-cmd-socketio-server": { + "name": "@hyperledger/cactus-cmd-socketio-server", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@types/node": "18.11.9", + "body-parser": "1.20.2", + "config": "3.3.7", + "cookie-parser": "1.4.5", + "debug": "3.1.0", + "escape-html": "1.0.3", + "ethereumjs-common": "1.5.2", + "ethereumjs-tx": "2.1.2", + "express": "4.19.2", + "fabric-network": "2.2.20", + "http-errors": "1.6.3", + "js-yaml": "3.14.1", + "jsonwebtoken": "9.0.0", + "log4js": "6.4.1", + "morgan": "1.10.0", + "shelljs": "0.8.5", + "socket.io": "4.5.4", + "socket.io-client-fixed-types": "4.5.4", + "web3": "1.6.1", + "xmlhttprequest": "1.8.0" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/config": "3.3.0", + "@types/cookie-parser": "1.4.5", + "@types/debug": "4.1.8", + "@types/escape-html": "1.0.1", + "@types/express": "4.17.21", + "@types/http-errors": "1.6.3", + "@types/js-yaml": "4.0.5", + "@types/jsonwebtoken": "9.0.0", + "@types/lodash": "4.14.195", + "@types/morgan": "1.9.1", + "@types/node": "18.11.9", + "@types/shelljs": "0.8.11", + "http-terminator": "3.2.0", + "lodash": "4.17.21", + "ts-node": "8.9.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-socketio-server/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-cmd-socketio-server/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/config": { + "version": "3.3.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/cookie-parser": { + "version": "1.4.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/debug": { + "version": "4.1.8", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/escape-html": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/http-errors": { + "version": "1.6.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/js-yaml": { + "version": "4.0.5", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/jsonwebtoken": { + "version": "9.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/lodash": { + "version": "4.14.195", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/morgan": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/ms": { + "version": "0.7.31", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/@types/shelljs": { + "version": "0.8.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/glob": "*", + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/argparse": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/basic-auth": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.1.2" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/basic-auth/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-cmd-socketio-server/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/body-parser/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/boolean": { + "version": "3.2.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-cmd-socketio-server/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/config": { + "version": "3.3.7", + "license": "MIT", + "dependencies": { + "json5": "^2.1.1" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/cookie": { + "version": "0.4.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/cookie-parser": { + "version": "1.4.5", + "license": "MIT", + "dependencies": { + "cookie": "0.4.0", + "cookie-signature": "1.0.6" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/date-format": { + "version": "4.0.3", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/debug": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/delay": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-cmd-socketio-server/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-cmd-socketio-server/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ethereumjs-common": { + "version": "1.5.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ethereumjs-tx/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ethereumjs-tx/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/express/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/express/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/express/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/express/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-cmd-socketio-server/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/fabric-common/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/fast-json-stringify": { + "version": "2.7.13", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.11.0", + "deepmerge": "^4.2.2", + "rfdc": "^1.2.0", + "string-similarity": "^4.0.1" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/fast-printf": { + "version": "1.6.9", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "boolean": "^3.1.4" + }, + "engines": { + "node": ">=10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/http-errors": { + "version": "1.6.3", + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/http-errors/node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/http-errors/node_modules/inherits": { + "version": "2.0.3", + "license": "ISC" + }, + "packages/cactus-cmd-socketio-server/node_modules/http-errors/node_modules/setprototypeof": { + "version": "1.1.0", + "license": "ISC" + }, + "packages/cactus-cmd-socketio-server/node_modules/http-errors/node_modules/statuses": { + "version": "1.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-cmd-socketio-server/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/http-terminator": { + "version": "3.2.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "delay": "^5.0.0", + "p-wait-for": "^3.2.0", + "roarr": "^7.0.4", + "type-fest": "^2.3.3" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/interpret": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/js-yaml": { + "version": "3.14.1", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-cmd-socketio-server/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/jsonwebtoken": { + "version": "9.0.2", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/log4js": { + "version": "6.4.1", + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.3.3", + "flatted": "^3.2.4", + "rfdc": "^1.3.0", + "streamroller": "^3.0.2" + }, + "engines": { + "node": ">=8.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/log4js/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-socketio-server/node_modules/log4js/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "packages/cactus-cmd-socketio-server/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/morgan": { + "version": "1.10.0", + "license": "MIT", + "dependencies": { + "basic-auth": "~2.0.1", + "debug": "2.6.9", + "depd": "~2.0.0", + "on-finished": "~2.3.0", + "on-headers": "~1.0.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/morgan/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/morgan/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/morgan/node_modules/on-finished": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "packages/cactus-cmd-socketio-server/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/on-headers": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/p-wait-for": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-timeout": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/rechoir": { + "version": "0.6.2", + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/roarr": { + "version": "7.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "boolean": "^3.1.4", + "fast-json-stringify": "^2.7.10", + "fast-printf": "^1.6.9", + "fast-safe-stringify": "^2.1.1", + "globalthis": "^1.0.2", + "semver-compare": "^1.0.0" + }, + "engines": { + "node": ">=12.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/send/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/send/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-cmd-socketio-server/node_modules/shelljs": { + "version": "0.8.5", + "license": "BSD-3-Clause", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-socketio-server/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/streamroller": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.1.1", + "fs-extra": "^10.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/streamroller/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-cmd-socketio-server/node_modules/streamroller/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/string-similarity": { + "version": "4.0.4", + "dev": true, + "license": "ISC" + }, + "packages/cactus-cmd-socketio-server/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-cmd-socketio-server/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ts-node": { + "version": "8.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "arg": "^4.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "source-map-support": "^0.5.17", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "engines": { + "node": ">=6.0.0" + }, + "peerDependencies": { + "typescript": ">=2.7" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ts-node/node_modules/yn": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-cmd-socketio-server/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-cmd-socketio-server/node_modules/type-fest": { + "version": "2.19.0", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/websocket/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/websocket/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-cmd-socketio-server/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-cmd-socketio-server/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/xmlhttprequest": { + "version": "1.8.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-cmd-socketio-server/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-common": { + "name": "@hyperledger/cactus-common", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "fast-safe-stringify": "2.1.1", + "json-stable-stringify": "1.0.1", + "key-encoder": "2.0.3", + "loglevel": "1.7.1", + "loglevel-plugin-prefix": "0.8.4", + "run-time-error-cjs": "1.4.0", + "sanitize-html": "2.12.1", + "secp256k1": "4.0.3", + "sha3": "2.1.4" + }, + "devDependencies": { + "@grpc/grpc-js": "1.10.3", + "@types/json-stable-stringify": "1.0.33", + "@types/sanitize-html": "2.9.5", + "@types/secp256k1": "4.0.3", + "@types/uuid": "9.0.8", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-common/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "packages/cactus-common/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-common/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "packages/cactus-common/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-common/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-common/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-common/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-common/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-common/node_modules/@protobufjs/float": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-common/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-common/node_modules/@protobufjs/path": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-common/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-common/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-common/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-common/node_modules/@types/elliptic": { + "version": "6.4.14", + "license": "MIT", + "dependencies": { + "@types/bn.js": "*" + } + }, + "packages/cactus-common/node_modules/@types/json-stable-stringify": { + "version": "1.0.33", + "dev": true, + "license": "MIT" + }, + "packages/cactus-common/node_modules/@types/sanitize-html": { + "version": "2.9.5", + "dev": true, + "license": "MIT", + "dependencies": { + "htmlparser2": "^8.0.0" + } + }, + "packages/cactus-common/node_modules/@types/secp256k1": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-common/node_modules/dom-serializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "packages/cactus-common/node_modules/domelementtype": { + "version": "2.3.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "packages/cactus-common/node_modules/domhandler": { + "version": "5.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "packages/cactus-common/node_modules/domutils": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "packages/cactus-common/node_modules/entities": { + "version": "4.4.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "packages/cactus-common/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-common/node_modules/htmlparser2": { + "version": "8.0.2", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "packages/cactus-common/node_modules/is-plain-object": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-common/node_modules/json-stable-stringify": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "jsonify": "~0.0.0" + } + }, + "packages/cactus-common/node_modules/jsonify": { + "version": "0.0.0", + "license": "Public Domain" + }, + "packages/cactus-common/node_modules/key-encoder": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "@types/elliptic": "^6.4.9", + "asn1.js": "^5.0.1", + "bn.js": "^4.11.8", + "elliptic": "^6.4.1" + } + }, + "packages/cactus-common/node_modules/loglevel": { + "version": "1.7.1", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/loglevel" + } + }, + "packages/cactus-common/node_modules/loglevel-plugin-prefix": { + "version": "0.8.4", + "license": "MIT" + }, + "packages/cactus-common/node_modules/long": { + "version": "5.2.3", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-common/node_modules/parse-srcset": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-common/node_modules/protobufjs": { + "version": "7.2.5", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-common/node_modules/sanitize-html": { + "version": "2.12.1", + "license": "MIT", + "dependencies": { + "deepmerge": "^4.2.2", + "escape-string-regexp": "^4.0.0", + "htmlparser2": "^8.0.0", + "is-plain-object": "^5.0.0", + "parse-srcset": "^1.0.2", + "postcss": "^8.3.11" + } + }, + "packages/cactus-common/node_modules/sha3": { + "version": "2.1.4", + "license": "MIT", + "dependencies": { + "buffer": "6.0.3" + } + }, + "packages/cactus-core": { + "name": "@hyperledger/cactus-core", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "body-parser": "1.20.2", + "express": "4.19.2", + "express-jwt-authz": "2.4.1", + "express-openapi-validator": "5.0.4", + "http-errors": "2.0.0", + "http-errors-enhanced-cjs": "2.0.1", + "run-time-error-cjs": "1.4.0", + "safe-stable-stringify": "2.4.3", + "typescript-optional": "2.0.1" + }, + "devDependencies": { + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/http-errors": "2.0.2", + "node-mocks-http": "1.14.0", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-core-api": { + "name": "@hyperledger/cactus-core-api", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "axios": "1.6.0" + }, + "devDependencies": { + "@bufbuild/protobuf": "1.8.0", + "@connectrpc/connect": "1.4.0", + "@grpc/grpc-js": "1.10.3", + "@grpc/proto-loader": "0.7.8", + "@types/express": "4.17.21", + "@types/google-protobuf": "3.15.5", + "google-protobuf": "3.21.2", + "grpc_tools_node_protoc_ts": "5.3.3", + "grpc-tools": "1.12.4", + "make-dir-cli": "3.1.0", + "npm-run-all": "4.1.5", + "rxjs": "7.8.1", + "socket.io": "4.5.4", + "typescript-optional": "2.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-core-api/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "packages/cactus-core-api/node_modules/@grpc/grpc-js/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-core-api/node_modules/@grpc/proto-loader": { + "version": "0.7.8", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-core-api/node_modules/@grpc/proto-loader/node_modules/@types/long": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/@grpc/proto-loader/node_modules/long": { + "version": "4.0.0", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-core-api/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "packages/cactus-core-api/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-core-api/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-core-api/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-core-api/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-core-api/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-core-api/node_modules/@protobufjs/float": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-core-api/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-core-api/node_modules/@protobufjs/path": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-core-api/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-core-api/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-core-api/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-core-api/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-core-api/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-core-api/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-core-api/node_modules/@types/google-protobuf": { + "version": "3.15.5", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-core-api/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core-api/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-core-api/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core-api/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-core-api/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-core-api/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-core-api/node_modules/long": { + "version": "5.2.3", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-core-api/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core-api/node_modules/protobufjs": { + "version": "7.2.5", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-core-api/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-core-api/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/socket.io-parser": { + "version": "4.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-core-api/node_modules/typescript-optional": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core-api/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core-api/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-core/node_modules/@apidevtools/json-schema-ref-parser": { + "version": "9.1.2", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.6", + "call-me-maybe": "^1.0.1", + "js-yaml": "^4.1.0" + } + }, + "packages/cactus-core/node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "license": "MIT" + }, + "packages/cactus-core/node_modules/@types/body-parser": { + "version": "1.19.4", + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-core/node_modules/@types/connect": { + "version": "3.4.35", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-core/node_modules/@types/express": { + "version": "4.17.21", + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-core/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-core/node_modules/@types/http-errors": { + "version": "2.0.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-core/node_modules/@types/mime": { + "version": "1.3.2", + "license": "MIT" + }, + "packages/cactus-core/node_modules/@types/multer": { + "version": "1.4.7", + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-core/node_modules/@types/qs": { + "version": "6.9.7", + "license": "MIT" + }, + "packages/cactus-core/node_modules/@types/range-parser": { + "version": "1.2.4", + "license": "MIT" + }, + "packages/cactus-core/node_modules/@types/serve-static": { + "version": "1.13.10", + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-core/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/ajv-draft-04": { + "version": "1.0.0", + "license": "MIT", + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "packages/cactus-core/node_modules/ajv-formats": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "packages/cactus-core/node_modules/append-field": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-core/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-core/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-core/node_modules/busboy": { + "version": "1.6.0", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "packages/cactus-core/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/call-me-maybe": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-core/node_modules/concat-stream": { + "version": "1.6.2", + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "packages/cactus-core/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/content-disposition/node_modules/safe-buffer": { + "version": "5.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-core/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-core/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-core/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-core/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-core/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-core/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-core/node_modules/express-jwt-authz": { + "version": "2.4.1", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "@types/express": "^4.0.0", + "express": "^4.0.0" + } + }, + "packages/cactus-core/node_modules/express-openapi-validator": { + "version": "5.0.4", + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "^9.1.2", + "@types/multer": "^1.4.7", + "ajv": "^8.11.2", + "ajv-draft-04": "^1.0.0", + "ajv-formats": "^2.1.1", + "content-type": "^1.0.5", + "lodash.clonedeep": "^4.5.0", + "lodash.get": "^4.4.2", + "lodash.uniq": "^4.5.0", + "lodash.zipobject": "^4.1.3", + "media-typer": "^1.1.0", + "multer": "^1.4.5-lts.1", + "ono": "^7.1.3", + "path-to-regexp": "^6.2.0" + } + }, + "packages/cactus-core/node_modules/express-openapi-validator/node_modules/media-typer": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/express/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-core/node_modules/express/node_modules/safe-buffer": { + "version": "5.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-core/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/http-errors-enhanced-cjs": { + "version": "2.0.1", + "license": "ISC", + "engines": { + "node": ">= 18.18.0" + } + }, + "packages/cactus-core/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-core/node_modules/isarray": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-core/node_modules/lodash.clonedeep": { + "version": "4.5.0", + "license": "MIT" + }, + "packages/cactus-core/node_modules/lodash.get": { + "version": "4.4.2", + "license": "MIT" + }, + "packages/cactus-core/node_modules/lodash.zipobject": { + "version": "4.1.3", + "license": "MIT" + }, + "packages/cactus-core/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-core/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-core/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-core/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-core/node_modules/multer": { + "version": "1.4.5-lts.1", + "license": "MIT", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.0.0", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "packages/cactus-core/node_modules/node-mocks-http": { + "version": "1.14.0", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "^1.3.7", + "content-disposition": "^0.5.3", + "depd": "^1.1.0", + "fresh": "^0.5.2", + "merge-descriptors": "^1.0.1", + "methods": "^1.1.2", + "mime": "^1.3.4", + "parseurl": "^1.3.3", + "range-parser": "^1.2.0", + "type-is": "^1.6.18" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-core/node_modules/node-mocks-http/node_modules/depd": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/node-mocks-http/node_modules/merge-descriptors": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-core/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/ono": { + "version": "7.1.3", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "7.1.3" + } + }, + "packages/cactus-core/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/path-to-regexp": { + "version": "6.2.0", + "license": "MIT" + }, + "packages/cactus-core/node_modules/process-nextick-args": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-core/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-core/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-core/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/readable-stream": { + "version": "2.3.7", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "packages/cactus-core/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-core/node_modules/safe-stable-stringify": { + "version": "2.4.3", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-core/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-core/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-core/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-core/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-core/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/streamsearch": { + "version": "1.1.0", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-core/node_modules/string_decoder": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "packages/cactus-core/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-core/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-core/node_modules/typedarray": { + "version": "0.0.6", + "license": "MIT" + }, + "packages/cactus-core/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-core/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-core/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-core/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes": { + "name": "@hyperledger/cactus-plugin-bungee-hermes", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-ethereum": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "axios": "1.6.0", + "body-parser": "1.20.2", + "fs-extra": "10.1.0", + "key-encoder": "2.0.3", + "merkletreejs": "0.3.11", + "typescript-optional": "2.0.1", + "uuid": "9.0.1", + "web3": "1.6.1", + "web3-core": "1.6.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-geth-ledger": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/crypto-js": "4.0.1", + "@types/express": "4.17.21", + "@types/fs-extra": "11.0.3", + "@types/tape": "4.13.4", + "@types/uuid": "9.0.6", + "express": "4.19.2", + "fabric-network": "2.2.20", + "socket.io": "4.5.4" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@ethereumjs/tx/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@ethereumjs/util": { + "version": "8.1.0", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "ethereum-cryptography": "^2.0.0", + "micro-ftch": "^0.3.1" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/float": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/path": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/crypto-js": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/elliptic": { + "version": "6.4.14", + "license": "MIT", + "dependencies": { + "@types/bn.js": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/fs-extra": { + "version": "11.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/jsonfile": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/jsonfile": { + "version": "6.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/@types/uuid": { + "version": "9.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/async": { + "version": "3.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/buffer-reverse": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/colors": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/crypto-js": { + "version": "4.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/cycle": { + "version": "1.0.3", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ethereumjs-util/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/eyes": { + "version": "0.1.8", + "dev": true, + "engines": { + "node": "> 0.1.90" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/fabric-common": { + "version": "2.2.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/fabric-common/node_modules/js-sha3": { + "version": "0.9.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/fabric-network": { + "version": "2.2.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/fabric-protos": { + "version": "2.2.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ini": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/jsrsasign": { + "version": "11.0.0", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/key-encoder": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "@types/elliptic": "^6.4.9", + "asn1.js": "^5.0.1", + "bn.js": "^4.11.8", + "elliptic": "^6.4.1" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/long": { + "version": "5.2.3", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/merkletreejs": { + "version": "0.3.11", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.1", + "buffer-reverse": "^1.0.1", + "crypto-js": "^4.2.0", + "treeify": "^1.1.0", + "web3-utils": "^1.3.4" + }, + "engines": { + "node": ">= 7.6.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/merkletreejs/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/merkletreejs/node_modules/web3-utils": { + "version": "1.10.4", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/util": "^8.1.0", + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereum-cryptography": "^2.1.2", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/micro-ftch": { + "version": "0.3.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/nan": { + "version": "2.15.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-bungee-hermes/node_modules/nano": { + "version": "10.1.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/nconf": { + "version": "0.12.0", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/node-abort-controller": { + "version": "3.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/pkcs11js": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/promise-settle": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/protobufjs": { + "version": "7.2.5", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/secure-keys": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/sjcl": { + "version": "1.0.8", + "dev": true, + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/socket.io-parser": { + "version": "4.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/stack-trace": { + "version": "0.0.10", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/treeify": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/winston": { + "version": "2.4.5", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-bungee-hermes/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/y18n": { + "version": "5.0.8", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-plugin-bungee-hermes/node_modules/yn": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-consortium-manual": { + "name": "@hyperledger/cactus-plugin-consortium-manual", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "body-parser": "1.20.2", + "express": "4.19.2", + "jose": "4.15.5", + "json-stable-stringify": "1.0.1", + "prom-client": "13.2.0", + "typescript-optional": "2.0.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@types/express": "4.17.21", + "@types/json-stable-stringify": "1.0.33", + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/@types/json-stable-stringify": { + "version": "1.0.33", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-consortium-manual/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/jose": { + "version": "4.15.5", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/json-stable-stringify": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "jsonify": "~0.0.0" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/jsonify": { + "version": "0.0.0", + "license": "Public Domain" + }, + "packages/cactus-plugin-consortium-manual/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-consortium-manual/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-consortium-manual/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-consortium-manual/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu": { + "name": "@hyperledger/cactus-plugin-htlc-eth-besu", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "axios": "1.6.0", + "bn.js": "5.2.1", + "dotenv": "16.0.3", + "ethers": "6.3.0", + "express": "4.19.2", + "joi": "17.9.1", + "openapi-types": "12.1.3", + "typescript-optional": "2.0.1", + "web3js-quorum": "22.4.0" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/express": "4.17.21", + "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0", + "forge-std": "https://github.com/foundry-rs/forge-std.git#66bf4e2c92cf507531599845e8d5a08cc2e3b5bb" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20": { + "name": "@hyperledger/cactus-plugin-htlc-eth-besu-erc20", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "axios": "1.6.0", + "express": "4.19.2", + "joi": "17.9.1", + "openapi-types": "12.1.3", + "typescript-optional": "2.0.1" + }, + "devDependencies": { + "@types/express": "4.17.21" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@hapi/hoek": { + "version": "9.2.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@hapi/topo": { + "version": "5.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@sideway/address": { + "version": "4.1.4", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@sideway/formula": { + "version": "3.0.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@sideway/pinpoint": { + "version": "2.0.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/joi": { + "version": "17.9.1", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0", + "@hapi/topo": "^5.0.0", + "@sideway/address": "^4.1.3", + "@sideway/formula": "^3.0.1", + "@sideway/pinpoint": "^2.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu-erc20/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@adraffy/ens-normalize": { + "version": "1.9.0", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@hapi/hoek": { + "version": "9.2.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@hapi/topo": { + "version": "5.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@noble/hashes": { + "version": "1.1.2", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@sideway/address": { + "version": "4.1.4", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@sideway/formula": { + "version": "3.0.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@sideway/pinpoint": { + "version": "2.0.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/aes-js": { + "version": "4.0.0-beta.3", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/dotenv": { + "version": "16.0.3", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ethereumjs-common": { + "version": "1.5.2", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ethers": { + "version": "6.3.0", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/ethers-io/" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@adraffy/ens-normalize": "1.9.0", + "@noble/hashes": "1.1.2", + "@noble/secp256k1": "1.7.1", + "aes-js": "4.0.0-beta.3", + "tslib": "2.4.0", + "ws": "8.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/joi": { + "version": "17.9.1", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0", + "@hapi/topo": "^5.0.0", + "@sideway/address": "^4.1.3", + "@sideway/formula": "^3.0.1", + "@sideway/pinpoint": "^2.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/request-promise-core": { + "version": "1.1.4", + "license": "ISC", + "dependencies": { + "lodash": "^4.17.19" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/request-promise-native": { + "version": "1.0.9", + "license": "ISC", + "dependencies": { + "request-promise-core": "1.1.4", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/stealthy-require": { + "version": "1.1.1", + "license": "ISC", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/tslib": { + "version": "2.4.0", + "license": "0BSD" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/web3js-quorum": { + "version": "22.4.0", + "license": "Apache-2.0", + "dependencies": { + "ethereumjs-tx": "^2.1.2", + "ethereumjs-util": "6.2.1", + "lodash": "^4.17.21", + "request-promise-native": "^1.0.9", + "rlp": "2.2.7" + }, + "peerDependencies": { + "web3": "^1.x" + } + }, + "packages/cactus-plugin-htlc-eth-besu/node_modules/ws": { + "version": "8.5.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-keychain-aws-sm": { + "name": "@hyperledger/cactus-plugin-keychain-aws-sm", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "aws-sdk": "2.965.0", + "axios": "1.6.0", + "http-status-codes": "2.1.4", + "prom-client": "13.2.0", + "typescript-optional": "2.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/request": "2.48.7", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "express": "4.19.2", + "internal-ip": "6.2.0", + "openapi-types": "12.1.3", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/caseless": { + "version": "0.12.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/request": { + "version": "2.48.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/caseless": "*", + "@types/node": "*", + "@types/tough-cookie": "*", + "form-data": "^2.5.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/request/node_modules/form-data": { + "version": "2.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/@types/tough-cookie": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/aws-sdk": { + "version": "2.965.0", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "buffer": "4.9.2", + "events": "1.1.1", + "ieee754": "1.1.13", + "jmespath": "0.15.0", + "querystring": "0.2.0", + "sax": "1.2.1", + "url": "0.10.3", + "uuid": "3.3.2", + "xml2js": "0.4.19" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/aws-sdk/node_modules/ieee754": { + "version": "1.1.13", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/aws-sdk/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/buffer": { + "version": "4.9.2", + "license": "MIT", + "dependencies": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/default-gateway": { + "version": "6.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/events": { + "version": "1.1.1", + "license": "MIT", + "engines": { + "node": ">=0.4.x" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/http-status-codes": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/internal-ip": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-gateway": "^6.0.0", + "ipaddr.js": "^1.9.1", + "is-ip": "^3.1.0", + "p-event": "^4.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/internal-ip?sponsor=1" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/ip-regex": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/is-ip": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ip-regex": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/isarray": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/jmespath": { + "version": "0.15.0", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/punycode": { + "version": "1.3.2", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/sax": { + "version": "1.2.1", + "license": "ISC" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/url": { + "version": "0.10.3", + "license": "MIT", + "dependencies": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/xml2js": { + "version": "0.6.2", + "license": "MIT", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/xml2js/node_modules/sax": { + "version": "1.2.4", + "license": "ISC" + }, + "packages/cactus-plugin-keychain-aws-sm/node_modules/xmlbuilder": { + "version": "11.0.1", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv": { + "name": "@hyperledger/cactus-plugin-keychain-azure-kv", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@azure/identity": "3.3.1", + "@azure/keyvault-secrets": "4.3.0", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "http-status-codes": "2.1.4", + "typescript-optional": "2.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/request": "2.48.7", + "body-parser": "1.20.2", + "express": "4.19.2", + "internal-ip": "6.2.0", + "openapi-types": "12.1.3", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/abort-controller": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-asynciterator-polyfill": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-auth": { + "version": "1.5.0", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^1.0.0", + "@azure/core-util": "^1.1.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-client": { + "version": "1.7.3", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^1.0.0", + "@azure/core-auth": "^1.4.0", + "@azure/core-rest-pipeline": "^1.9.1", + "@azure/core-tracing": "^1.0.0", + "@azure/core-util": "^1.0.0", + "@azure/logger": "^1.0.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-client/node_modules/@azure/core-tracing": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-http": { + "version": "2.2.4", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^1.0.0", + "@azure/core-asynciterator-polyfill": "^1.0.0", + "@azure/core-auth": "^1.3.0", + "@azure/core-tracing": "1.0.0-preview.13", + "@azure/logger": "^1.0.0", + "@types/node-fetch": "^2.5.0", + "@types/tunnel": "^0.0.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", + "process": "^0.11.10", + "tough-cookie": "^4.0.0", + "tslib": "^2.2.0", + "tunnel": "^0.0.6", + "uuid": "^8.3.0", + "xml2js": "^0.4.19" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-http/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-lro": { + "version": "2.2.3", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^1.0.0", + "@azure/core-tracing": "1.0.0-preview.13", + "@azure/logger": "^1.0.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-paging": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "@azure/core-asynciterator-polyfill": "^1.0.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-rest-pipeline": { + "version": "1.12.1", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^1.0.0", + "@azure/core-auth": "^1.4.0", + "@azure/core-tracing": "^1.0.1", + "@azure/core-util": "^1.3.0", + "@azure/logger": "^1.0.0", + "form-data": "^4.0.0", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-rest-pipeline/node_modules/@azure/core-tracing": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-tracing": { + "version": "1.0.0-preview.13", + "license": "MIT", + "dependencies": { + "@opentelemetry/api": "^1.0.1", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/core-util": { + "version": "1.5.0", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^1.0.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/identity": { + "version": "3.3.1", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^1.0.0", + "@azure/core-auth": "^1.5.0", + "@azure/core-client": "^1.4.0", + "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-tracing": "^1.0.0", + "@azure/core-util": "^1.0.0", + "@azure/logger": "^1.0.0", + "@azure/msal-browser": "^2.37.1", + "@azure/msal-common": "^13.1.0", + "@azure/msal-node": "^1.17.3", + "events": "^3.0.0", + "jws": "^4.0.0", + "open": "^8.0.0", + "stoppable": "^1.1.0", + "tslib": "^2.2.0", + "uuid": "^8.3.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/identity/node_modules/@azure/core-tracing": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/identity/node_modules/jwa": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/identity/node_modules/jws": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/identity/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/keyvault-secrets": { + "version": "4.3.0", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^1.0.0", + "@azure/core-http": "^2.0.0", + "@azure/core-lro": "^2.0.0", + "@azure/core-paging": "^1.1.1", + "@azure/core-tracing": "1.0.0-preview.13", + "@azure/logger": "^1.0.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/logger": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/msal-browser": { + "version": "2.38.2", + "license": "MIT", + "dependencies": { + "@azure/msal-common": "13.3.0" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/msal-common": { + "version": "13.3.0", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/msal-node": { + "version": "1.18.3", + "license": "MIT", + "dependencies": { + "@azure/msal-common": "13.3.0", + "jsonwebtoken": "^9.0.0", + "uuid": "^8.3.0" + }, + "engines": { + "node": "10 || 12 || 14 || 16 || 18" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@azure/msal-node/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@opentelemetry/api": { + "version": "1.0.4", + "license": "Apache-2.0", + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/caseless": { + "version": "0.12.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/request": { + "version": "2.48.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/caseless": "*", + "@types/node": "*", + "@types/tough-cookie": "*", + "form-data": "^2.5.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/request/node_modules/form-data": { + "version": "2.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/tough-cookie": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/@types/tunnel": { + "version": "0.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/default-gateway": { + "version": "6.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/define-lazy-prop": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/http-status-codes": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/internal-ip": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-gateway": "^6.0.0", + "ipaddr.js": "^1.9.1", + "is-ip": "^3.1.0", + "p-event": "^4.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/internal-ip?sponsor=1" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/ip-regex": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/is-docker": { + "version": "2.2.1", + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/is-ip": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ip-regex": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/is-wsl": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/jsonwebtoken": { + "version": "9.0.2", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/open": { + "version": "8.4.2", + "license": "MIT", + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/sax": { + "version": "1.2.4", + "license": "ISC" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/stoppable": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=4", + "npm": ">=6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/xml2js": { + "version": "0.6.2", + "license": "MIT", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-keychain-azure-kv/node_modules/xmlbuilder": { + "version": "11.0.1", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "packages/cactus-plugin-keychain-google-sm": { + "name": "@hyperledger/cactus-plugin-keychain-google-sm", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@google-cloud/secret-manager": "5.0.1", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "http-status-codes": "2.1.4", + "typescript-optional": "2.0.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/request": "2.48.7", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "express": "4.19.2", + "google-gax": "4.0.5", + "internal-ip": "6.2.0", + "openapi-types": "12.1.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@google-cloud/secret-manager": { + "version": "5.0.1", + "license": "Apache-2.0", + "dependencies": { + "google-gax": "^4.0.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/caseless": { + "version": "0.12.2", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/long": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/request": { + "version": "2.48.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/caseless": "*", + "@types/node": "*", + "@types/tough-cookie": "*", + "form-data": "^2.5.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/request/node_modules/form-data": { + "version": "2.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/@types/tough-cookie": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/default-gateway": { + "version": "6.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/duplexify": { + "version": "4.1.2", + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.4.1", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1", + "stream-shift": "^1.0.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/gaxios": { + "version": "6.1.1", + "license": "Apache-2.0", + "dependencies": { + "extend": "^3.0.2", + "https-proxy-agent": "^7.0.1", + "is-stream": "^2.0.0", + "node-fetch": "^2.6.9" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/gcp-metadata": { + "version": "6.0.0", + "license": "Apache-2.0", + "dependencies": { + "gaxios": "^6.0.0", + "json-bigint": "^1.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-auth-library": { + "version": "9.1.0", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "gaxios": "^6.0.0", + "gcp-metadata": "^6.0.0", + "gtoken": "^7.0.0", + "jws": "^4.0.0", + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-gax": { + "version": "4.0.5", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.6", + "@grpc/proto-loader": "^0.7.0", + "@types/long": "^4.0.0", + "abort-controller": "^3.0.0", + "duplexify": "^4.0.0", + "google-auth-library": "^9.0.0", + "node-fetch": "^2.6.1", + "object-hash": "^3.0.0", + "proto3-json-serializer": "^2.0.0", + "protobufjs": "7.2.5", + "retry-request": "^7.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-gax/node_modules/@grpc/grpc-js": { + "version": "1.9.9", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-gax/node_modules/@grpc/grpc-js/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-gax/node_modules/@grpc/proto-loader": { + "version": "0.7.7", + "license": "Apache-2.0", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.0.0", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-gax/node_modules/@grpc/proto-loader/node_modules/long": { + "version": "4.0.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-gax/node_modules/@types/request": { + "version": "2.48.11", + "license": "MIT", + "dependencies": { + "@types/caseless": "*", + "@types/node": "*", + "@types/tough-cookie": "*", + "form-data": "^2.5.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-gax/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-gax/node_modules/form-data": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/google-gax/node_modules/retry-request": { + "version": "7.0.1", + "license": "MIT", + "dependencies": { + "@types/request": "^2.48.8", + "debug": "^4.1.1", + "extend": "^3.0.2", + "teeny-request": "^9.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/gtoken": { + "version": "7.0.1", + "license": "MIT", + "dependencies": { + "gaxios": "^6.0.0", + "jws": "^4.0.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/http-status-codes": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/https-proxy-agent": { + "version": "7.0.2", + "license": "MIT", + "dependencies": { + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/https-proxy-agent/node_modules/agent-base": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/https-proxy-agent/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/internal-ip": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-gateway": "^6.0.0", + "ipaddr.js": "^1.9.1", + "is-ip": "^3.1.0", + "p-event": "^4.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/internal-ip?sponsor=1" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/ip-regex": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/is-ip": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ip-regex": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/json-bigint": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/jwa": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/jws": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/node-fetch": { + "version": "2.7.0", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/object-hash": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/proto3-json-serializer": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "protobufjs": "^7.0.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/stream-events": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "stubs": "^3.0.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/stream-shift": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/stubs": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/teeny-request": { + "version": "9.0.0", + "license": "Apache-2.0", + "dependencies": { + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "node-fetch": "^2.6.9", + "stream-events": "^1.0.5", + "uuid": "^9.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/teeny-request/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/teeny-request/node_modules/https-proxy-agent": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-keychain-google-sm/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory": { + "name": "@hyperledger/cactus-plugin-keychain-memory", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "express": "4.19.2", + "prom-client": "13.2.0", + "rxjs": "7.8.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@bufbuild/buf": "1.30.0", + "@bufbuild/protobuf": "1.8.0", + "@bufbuild/protoc-gen-es": "1.8.0", + "@connectrpc/connect": "1.4.0", + "@connectrpc/protoc-gen-connect-es": "1.4.0", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "body-parser": "1.20.2", + "npm-run-all2": "6.1.2" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm": { + "name": "@hyperledger/cactus-plugin-keychain-memory-wasm", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "express": "4.19.2", + "prom-client": "13.2.0", + "uuid": "9.0.1" + }, + "devDependencies": { + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "body-parser": "1.20.2", + "cpy-cli": "4.2.0", + "del-cli": "4.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-keychain-memory-wasm/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/ansi-styles": { + "version": "6.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-keychain-memory/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/npm-run-all2": { + "version": "6.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "cross-spawn": "^7.0.3", + "memorystream": "^0.3.1", + "minimatch": "^9.0.0", + "pidtree": "^0.6.0", + "read-package-json-fast": "^3.0.2", + "shell-quote": "^1.7.3" + }, + "bin": { + "npm-run-all": "bin/npm-run-all/index.js", + "npm-run-all2": "bin/npm-run-all/index.js", + "run-p": "bin/run-p/index.js", + "run-s": "bin/run-s/index.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0", + "npm": ">= 8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/pidtree": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "bin": { + "pidtree": "bin/pidtree.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-memory/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-keychain-memory/node_modules/shell-quote": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-keychain-memory/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault": { + "name": "@hyperledger/cactus-plugin-keychain-vault", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "http-status-codes": "2.1.4", + "node-vault": "0.9.22", + "prom-client": "13.2.0", + "typescript-optional": "2.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.3", + "@types/express": "4.17.21", + "@types/internal-ip": "4.1.0", + "@types/request": "2.48.7", + "@types/tape-promise": "4.0.1", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "express": "4.19.2", + "internal-ip": "6.2.0", + "openapi-types": "12.1.3", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/body-parser": { + "version": "1.19.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/caseless": { + "version": "0.12.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/internal-ip": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "internal-ip": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/internal-ip/node_modules/internal-ip": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-gateway": "^6.0.3", + "ipaddr.js": "^2.0.1", + "is-ip": "^3.1.0", + "p-event": "^4.2.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/internal-ip?sponsor=1" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/internal-ip/node_modules/ipaddr.js": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/request": { + "version": "2.48.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/caseless": "*", + "@types/node": "*", + "@types/tough-cookie": "*", + "form-data": "^2.5.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/request/node_modules/form-data": { + "version": "2.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/@types/tough-cookie": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-keychain-vault/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-keychain-vault/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/default-gateway": { + "version": "6.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/http-status-codes": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/internal-ip": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-gateway": "^6.0.0", + "ipaddr.js": "^1.9.1", + "is-ip": "^3.1.0", + "p-event": "^4.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/internal-ip?sponsor=1" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/ip-regex": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/is-ip": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ip-regex": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-plugin-keychain-vault/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/mustache": { + "version": "2.3.2", + "license": "MIT", + "bin": { + "mustache": "bin/mustache" + }, + "engines": { + "npm": ">=1.4.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/node-vault": { + "version": "0.9.22", + "license": "MIT", + "dependencies": { + "debug": "3.1.0", + "mustache": "^2.2.1", + "request": "2.88.0", + "request-promise-native": "1.0.7", + "tv4": "^1.2.7" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/node-vault/node_modules/debug": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/request": { + "version": "2.88.0", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/request-promise-core": { + "version": "1.1.2", + "license": "ISC", + "dependencies": { + "lodash": "^4.17.11" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/request-promise-native": { + "version": "1.0.7", + "license": "ISC", + "dependencies": { + "request-promise-core": "1.1.2", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-keychain-vault/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/stealthy-require": { + "version": "1.1.1", + "license": "ISC", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/tv4": { + "version": "1.3.0", + "license": [ + { + "type": "Public Domain", + "url": "http://geraintluff.github.io/tv4/LICENSE.txt" + }, + { + "type": "MIT", + "url": "http://jsonary.com/LICENSE.txt" + } + ], + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-plugin-keychain-vault/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-keychain-vault/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-plugin-keychain-vault/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries": { + "name": "@hyperledger/cactus-plugin-ledger-connector-aries", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/anoncreds": "0.5.0-alpha.71", + "@aries-framework/anoncreds-rs": "0.5.0-alpha.71", + "@aries-framework/askar": "0.5.0-alpha.71", + "@aries-framework/core": "0.5.0-alpha.71", + "@aries-framework/indy-vdr": "0.5.0-alpha.71", + "@aries-framework/node": "0.5.0-alpha.71", + "@hyperledger/anoncreds-nodejs": "0.2.0", + "@hyperledger/aries-askar-nodejs": "0.2.0", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/indy-vdr-nodejs": "0.2.0", + "axios": "1.6.0", + "rxjs": "7.8.1", + "socket.io-client-fixed-types": "4.5.4" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "express": "4.19.2", + "jest": "29.6.2", + "jest-extended": "4.0.1", + "socket.io": "4.5.4", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@2060.io/ffi-napi": { + "version": "4.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@2060.io/ref-napi": "^3.0.6", + "debug": "^4.1.1", + "get-uv-event-loop-napi-h": "^1.0.5", + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.1", + "ref-struct-di": "^1.1.0" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@2060.io/ffi-napi/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@2060.io/ffi-napi/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@2060.io/ref-napi": { + "version": "3.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.1", + "get-symbol-from-current-process-h": "^1.0.2", + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.1" + }, + "engines": { + "node": ">= 18.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@2060.io/ref-napi/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@2060.io/ref-napi/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@aries-framework/anoncreds": { + "version": "0.5.0-alpha.71+4c08179b", + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/core": "0.5.0-alpha.71+4c08179b", + "bn.js": "^5.2.1", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "reflect-metadata": "^0.1.13" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@aries-framework/anoncreds-rs": { + "version": "0.5.0-alpha.71+4c08179b", + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/anoncreds": "0.5.0-alpha.71+4c08179b", + "@aries-framework/core": "0.5.0-alpha.71+4c08179b", + "class-transformer": "^0.5.1", + "class-validator": "0.14.0", + "rxjs": "^7.2.0", + "tsyringe": "^4.8.0" + }, + "peerDependencies": { + "@hyperledger/anoncreds-shared": "^0.2.0-dev.4" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@aries-framework/askar": { + "version": "0.5.0-alpha.71+4c08179b", + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/core": "0.5.0-alpha.71+4c08179b", + "bn.js": "^5.2.1", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "rxjs": "^7.2.0", + "tsyringe": "^4.8.0" + }, + "peerDependencies": { + "@hyperledger/aries-askar-shared": "^0.2.0-dev.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@aries-framework/core": { + "version": "0.5.0-alpha.71+4c08179b", + "license": "Apache-2.0", + "dependencies": { + "@digitalcredentials/jsonld": "^5.2.1", + "@digitalcredentials/jsonld-signatures": "^9.3.1", + "@digitalcredentials/vc": "^1.1.2", + "@multiformats/base-x": "^4.0.1", + "@stablelib/ed25519": "^1.0.2", + "@stablelib/random": "^1.0.1", + "@stablelib/sha256": "^1.0.1", + "@types/ws": "^8.5.4", + "abort-controller": "^3.0.0", + "big-integer": "^1.6.51", + "borc": "^3.0.0", + "buffer": "^6.0.3", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "did-resolver": "^4.1.0", + "lru_map": "^0.4.1", + "luxon": "^3.3.0", + "make-error": "^1.3.6", + "object-inspect": "^1.10.3", + "query-string": "^7.0.1", + "reflect-metadata": "^0.1.13", + "rxjs": "^7.2.0", + "tsyringe": "^4.8.0", + "uuid": "^9.0.0", + "varint": "^6.0.0", + "web-did-resolver": "^2.0.21" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@aries-framework/indy-vdr": { + "version": "0.5.0-alpha.71+4c08179b", + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/anoncreds": "0.5.0-alpha.71+4c08179b", + "@aries-framework/core": "0.5.0-alpha.71+4c08179b" + }, + "peerDependencies": { + "@hyperledger/indy-vdr-shared": "^0.2.0-dev.5" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@aries-framework/node": { + "version": "0.5.0-alpha.71+4c08179b", + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "^4.0.8", + "@2060.io/ref-napi": "^3.0.6", + "@aries-framework/core": "0.5.0-alpha.71+4c08179b", + "@types/express": "^4.17.15", + "express": "^4.17.1", + "ws": "^8.13.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@digitalbazaar/security-context": { + "version": "1.0.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@digitalcredentials/http-client": { + "version": "1.2.2", + "license": "BSD-3-Clause", + "dependencies": { + "ky": "^0.25.1", + "ky-universal": "^0.8.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@digitalcredentials/jsonld": { + "version": "5.2.2", + "license": "BSD-3-Clause", + "dependencies": { + "@digitalcredentials/http-client": "^1.0.0", + "@digitalcredentials/rdf-canonize": "^1.0.0", + "canonicalize": "^1.0.1", + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@digitalcredentials/jsonld-signatures": { + "version": "9.3.2", + "license": "BSD-3-Clause", + "dependencies": { + "@digitalbazaar/security-context": "^1.0.0", + "@digitalcredentials/jsonld": "^6.0.0", + "fast-text-encoding": "^1.0.3", + "isomorphic-webcrypto": "^2.3.8", + "serialize-error": "^8.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@digitalcredentials/jsonld-signatures/node_modules/@digitalcredentials/jsonld": { + "version": "6.0.0", + "license": "BSD-3-Clause", + "dependencies": { + "@digitalcredentials/http-client": "^1.0.0", + "@digitalcredentials/rdf-canonize": "^1.0.0", + "canonicalize": "^1.0.1", + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@digitalcredentials/rdf-canonize": { + "version": "1.0.0", + "license": "BSD-3-Clause", + "dependencies": { + "fast-text-encoding": "^1.0.3", + "isomorphic-webcrypto": "^2.3.8" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@digitalcredentials/vc": { + "version": "1.1.2", + "license": "BSD-3-Clause", + "dependencies": { + "@digitalcredentials/jsonld": "^5.2.1", + "@digitalcredentials/jsonld-signatures": "^9.3.1", + "credentials-context": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@hyperledger/anoncreds-nodejs": { + "version": "0.2.0", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "4.0.8", + "@2060.io/ref-napi": "3.0.6", + "@hyperledger/anoncreds-shared": "0.2.0", + "@mapbox/node-pre-gyp": "^1.0.11", + "ref-array-di": "1.2.2", + "ref-struct-di": "1.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@hyperledger/anoncreds-shared": { + "version": "0.2.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@hyperledger/aries-askar-nodejs": { + "version": "0.2.0", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "4.0.8", + "@2060.io/ref-napi": "3.0.6", + "@hyperledger/aries-askar-shared": "0.2.0", + "@mapbox/node-pre-gyp": "^1.0.10", + "node-cache": "^5.1.2", + "ref-array-di": "^1.2.2", + "ref-struct-di": "^1.1.1" + }, + "engines": { + "node": ">= 18" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@hyperledger/aries-askar-shared": { + "version": "0.2.0", + "license": "Apache-2.0", + "dependencies": { + "buffer": "^6.0.3" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@hyperledger/indy-vdr-nodejs": { + "version": "0.2.0", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "4.0.8", + "@2060.io/ref-napi": "3.0.6", + "@hyperledger/indy-vdr-shared": "0.2.0", + "@mapbox/node-pre-gyp": "^1.0.10", + "ref-array-di": "^1.2.2", + "ref-struct-di": "^1.1.1" + }, + "engines": { + "node": ">= 18" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@hyperledger/indy-vdr-shared": { + "version": "0.2.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@multiformats/base-x": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@peculiar/asn1-schema": { + "version": "2.3.8", + "license": "MIT", + "dependencies": { + "asn1js": "^3.0.5", + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@peculiar/json-schema": { + "version": "1.1.12", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@peculiar/webcrypto": { + "version": "1.4.3", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/json-schema": "^1.1.12", + "pvtsutils": "^1.3.2", + "tslib": "^2.5.0", + "webcrypto-core": "^1.7.7" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@sovpro/delimited-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@stablelib/binary": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "@stablelib/int": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@stablelib/ed25519": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "@stablelib/random": "^1.0.2", + "@stablelib/sha512": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@stablelib/hash": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@stablelib/int": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@stablelib/random": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@stablelib/sha256": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/hash": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@stablelib/sha512": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/hash": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@stablelib/wipe": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/body-parser": { + "version": "1.19.4", + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/connect": { + "version": "3.4.35", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/express": { + "version": "4.17.21", + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/mime": { + "version": "1.3.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/qs": { + "version": "6.9.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/range-parser": { + "version": "1.2.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/serve-static": { + "version": "1.13.10", + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/validator": { + "version": "13.11.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@types/ws": { + "version": "8.5.8", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@unimodules/core": { + "version": "7.2.0", + "license": "MIT", + "optional": true, + "dependencies": { + "expo-modules-core": "~0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/@unimodules/react-native-adapter": { + "version": "6.5.0", + "license": "MIT", + "optional": true, + "dependencies": { + "expo-modules-autolinking": "^0.3.2", + "expo-modules-core": "~0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/array-index": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "debug": "^2.2.0", + "es6-symbol": "^3.0.2" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/asmcrypto.js": { + "version": "0.22.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/asn1js": { + "version": "3.0.5", + "license": "BSD-3-Clause", + "dependencies": { + "pvtsutils": "^1.3.2", + "pvutils": "^1.1.3", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/at-least-node": { + "version": "1.0.0", + "license": "ISC", + "optional": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/b64-lite": { + "version": "1.4.0", + "license": "MIT", + "dependencies": { + "base-64": "^0.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/b64u-lite": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "b64-lite": "^1.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/base-64": { + "version": "0.1.0" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/big-integer": { + "version": "1.6.51", + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/borc": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.0", + "buffer": "^6.0.3", + "commander": "^2.15.0", + "ieee754": "^1.1.13", + "iso-url": "^1.1.5", + "json-text-sequence": "~0.3.0", + "readable-stream": "^3.6.0" + }, + "bin": { + "cbor2comment": "bin/cbor2comment.js", + "cbor2diag": "bin/cbor2diag.js", + "cbor2json": "bin/cbor2json.js", + "json2cbor": "bin/json2cbor.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/borc/node_modules/commander": { + "version": "2.20.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/canonicalize": { + "version": "1.0.8", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/class-transformer": { + "version": "0.5.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/class-validator": { + "version": "0.14.0", + "license": "MIT", + "dependencies": { + "@types/validator": "^13.7.10", + "libphonenumber-js": "^1.10.14", + "validator": "^13.7.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/clone": { + "version": "2.1.2", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/commander": { + "version": "7.2.0", + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/compare-versions": { + "version": "3.6.0", + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/credentials-context": { + "version": "2.0.0", + "license": "SEE LICENSE IN LICENSE.md" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/cross-fetch": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/cross-fetch/node_modules/node-fetch": { + "version": "2.6.12", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/data-uri-to-buffer": { + "version": "3.0.1", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/did-resolver": { + "version": "4.1.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io-client/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/expo-modules-autolinking": { + "version": "0.3.4", + "license": "MIT", + "optional": true, + "dependencies": { + "chalk": "^4.1.0", + "commander": "^7.2.0", + "fast-glob": "^3.2.5", + "find-up": "~5.0.0", + "fs-extra": "^9.1.0" + }, + "bin": { + "expo-modules-autolinking": "bin/expo-modules-autolinking.js" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/expo-modules-core": { + "version": "0.4.10", + "license": "MIT", + "optional": true, + "dependencies": { + "compare-versions": "^3.4.0", + "invariant": "^2.2.4" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/expo-random": { + "version": "13.5.0", + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.0" + }, + "peerDependencies": { + "expo": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/express/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/fast-glob": { + "version": "3.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/fast-text-encoding": { + "version": "1.0.6", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/fetch-blob": { + "version": "2.1.2", + "license": "MIT", + "engines": { + "node": "^10.17.0 || >=12.3.0" + }, + "peerDependenciesMeta": { + "domexception": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/filter-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/fs-extra": { + "version": "9.1.0", + "license": "MIT", + "optional": true, + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/get-symbol-from-current-process-h": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/get-uv-event-loop-napi-h": { + "version": "1.0.6", + "license": "MIT", + "dependencies": { + "get-symbol-from-current-process-h": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/invariant": { + "version": "2.2.4", + "license": "MIT", + "optional": true, + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/iso-url": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/isomorphic-webcrypto": { + "version": "2.3.8", + "license": "MIT", + "dependencies": { + "@peculiar/webcrypto": "^1.0.22", + "asmcrypto.js": "^0.22.0", + "b64-lite": "^1.3.1", + "b64u-lite": "^1.0.1", + "msrcrypto": "^1.5.6", + "str2buf": "^1.3.0", + "webcrypto-shim": "^0.1.4" + }, + "optionalDependencies": { + "@unimodules/core": "*", + "@unimodules/react-native-adapter": "*", + "expo-random": "*", + "react-native-securerandom": "^0.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/json-text-sequence": { + "version": "0.3.0", + "license": "MIT", + "dependencies": { + "@sovpro/delimited-stream": "^1.1.0" + }, + "engines": { + "node": ">=10.18.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ky": { + "version": "0.25.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ky-universal": { + "version": "0.8.2", + "license": "MIT", + "dependencies": { + "abort-controller": "^3.0.0", + "node-fetch": "3.0.0-beta.9" + }, + "engines": { + "node": ">=10.17" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky-universal?sponsor=1" + }, + "peerDependencies": { + "ky": ">=0.17.0", + "web-streams-polyfill": ">=2.0.0" + }, + "peerDependenciesMeta": { + "web-streams-polyfill": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/libphonenumber-js": { + "version": "1.10.49", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/lru_map": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/luxon": { + "version": "3.4.4", + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/msrcrypto": { + "version": "1.5.8", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/node-addon-api": { + "version": "3.2.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/node-cache": { + "version": "5.1.2", + "license": "MIT", + "dependencies": { + "clone": "2.x" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/node-fetch": { + "version": "3.0.0-beta.9", + "license": "MIT", + "dependencies": { + "data-uri-to-buffer": "^3.0.1", + "fetch-blob": "^2.1.1" + }, + "engines": { + "node": "^10.17 || >=12.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/node-gyp-build": { + "version": "4.6.1", + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/object-inspect": { + "version": "1.13.1", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/pvtsutils": { + "version": "1.3.5", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/pvutils": { + "version": "1.1.3", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/query-string": { + "version": "7.1.3", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.2", + "filter-obj": "^1.1.0", + "split-on-first": "^1.0.0", + "strict-uri-encode": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/react-native-securerandom": { + "version": "0.1.1", + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "*" + }, + "peerDependencies": { + "react-native": "*" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ref-array-di": { + "version": "1.2.2", + "license": "MIT", + "dependencies": { + "array-index": "^1.0.0", + "debug": "^3.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ref-array-di/node_modules/debug": { + "version": "3.2.7", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ref-struct-di": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "debug": "^3.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ref-struct-di/node_modules/debug": { + "version": "3.2.7", + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/serialize-error": { + "version": "8.1.0", + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/split-on-first": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/str2buf": { + "version": "1.3.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/strict-uri-encode": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/tsyringe": { + "version": "4.8.0", + "license": "MIT", + "dependencies": { + "tslib": "^1.9.3" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/tsyringe/node_modules/tslib": { + "version": "1.14.1", + "license": "0BSD" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/type-fest": { + "version": "0.20.2", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/validator": { + "version": "13.11.0", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/varint": { + "version": "6.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/web-did-resolver": { + "version": "2.0.27", + "license": "Apache-2.0", + "dependencies": { + "cross-fetch": "^4.0.0", + "did-resolver": "^4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/webcrypto-core": { + "version": "1.7.7", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/json-schema": "^1.1.12", + "asn1js": "^3.0.1", + "pvtsutils": "^1.3.2", + "tslib": "^2.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/webcrypto-shim": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/ws": { + "version": "8.14.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-aries/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu": { + "name": "@hyperledger/cactus-plugin-ledger-connector-besu", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "1.10.3", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "express": "4.19.2", + "google-protobuf": "3.21.2", + "http-errors": "2.0.0", + "http-errors-enhanced-cjs": "2.0.1", + "joi": "17.9.1", + "openapi-types": "12.1.3", + "prom-client": "13.2.0", + "run-time-error-cjs": "1.4.0", + "rxjs": "7.8.1", + "socket.io-client-fixed-types": "4.5.4", + "typescript-optional": "2.0.1", + "web3": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1", + "web3js-quorum": "22.4.0" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@openapitools/openapi-generator-cli": "2.7.0", + "@types/benchmark": "2.1.5", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/fs-extra": "9.0.13", + "@types/google-protobuf": "3.15.5", + "@types/http-errors": "2.0.4", + "@types/uuid": "9.0.8", + "benchmark": "2.1.4", + "body-parser": "1.20.2", + "fs-extra": "10.1.0", + "grpc_tools_node_protoc_ts": "5.3.3", + "grpc-tools": "1.12.4", + "key-encoder": "2.0.3", + "npm-run-all2": "6.1.2", + "protobufjs": "7.2.5", + "socket.io": "4.5.4", + "tsx": "4.7.0", + "uuid": "9.0.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@esbuild/linux-x64": { + "version": "0.19.12", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@hapi/hoek": { + "version": "9.2.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@hapi/topo": { + "version": "5.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@sideway/address": { + "version": "4.1.4", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@sideway/formula": { + "version": "3.0.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@sideway/pinpoint": { + "version": "2.0.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/elliptic": { + "version": "6.4.14", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/bn.js": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/google-protobuf": { + "version": "3.15.5", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/http-errors": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/esbuild": { + "version": "0.19.12", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.19.12", + "@esbuild/android-arm": "0.19.12", + "@esbuild/android-arm64": "0.19.12", + "@esbuild/android-x64": "0.19.12", + "@esbuild/darwin-arm64": "0.19.12", + "@esbuild/darwin-x64": "0.19.12", + "@esbuild/freebsd-arm64": "0.19.12", + "@esbuild/freebsd-x64": "0.19.12", + "@esbuild/linux-arm": "0.19.12", + "@esbuild/linux-arm64": "0.19.12", + "@esbuild/linux-ia32": "0.19.12", + "@esbuild/linux-loong64": "0.19.12", + "@esbuild/linux-mips64el": "0.19.12", + "@esbuild/linux-ppc64": "0.19.12", + "@esbuild/linux-riscv64": "0.19.12", + "@esbuild/linux-s390x": "0.19.12", + "@esbuild/linux-x64": "0.19.12", + "@esbuild/netbsd-x64": "0.19.12", + "@esbuild/openbsd-x64": "0.19.12", + "@esbuild/sunos-x64": "0.19.12", + "@esbuild/win32-arm64": "0.19.12", + "@esbuild/win32-ia32": "0.19.12", + "@esbuild/win32-x64": "0.19.12" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethereumjs-common": { + "version": "1.5.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethereumjs-tx/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethereumjs-tx/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/http-errors-enhanced-cjs": { + "version": "2.0.1", + "license": "ISC", + "engines": { + "node": ">= 18.18.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/joi": { + "version": "17.9.1", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0", + "@hapi/topo": "^5.0.0", + "@sideway/address": "^4.1.3", + "@sideway/formula": "^3.0.1", + "@sideway/pinpoint": "^2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/key-encoder": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/elliptic": "^6.4.9", + "asn1.js": "^5.0.1", + "bn.js": "^4.11.8", + "elliptic": "^6.4.1" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/npm-run-all2": { + "version": "6.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "cross-spawn": "^7.0.3", + "memorystream": "^0.3.1", + "minimatch": "^9.0.0", + "pidtree": "^0.6.0", + "read-package-json-fast": "^3.0.2", + "shell-quote": "^1.7.3" + }, + "bin": { + "npm-run-all": "bin/npm-run-all/index.js", + "npm-run-all2": "bin/npm-run-all/index.js", + "run-p": "bin/run-p/index.js", + "run-s": "bin/run-s/index.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0", + "npm": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/npm-run-all2/node_modules/ansi-styles": { + "version": "6.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/npm-run-all2/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/pidtree": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "bin": { + "pidtree": "bin/pidtree.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/request-promise-core": { + "version": "1.1.4", + "license": "ISC", + "dependencies": { + "lodash": "^4.17.19" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/request-promise-native": { + "version": "1.0.9", + "license": "ISC", + "dependencies": { + "request-promise-core": "1.1.4", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/shell-quote": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/stealthy-require": { + "version": "1.1.1", + "license": "ISC", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/ws/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/tsx": { + "version": "4.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "~0.19.10", + "get-tsconfig": "^4.7.2" + }, + "bin": { + "tsx": "dist/cli.mjs" + }, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3js-quorum": { + "version": "22.4.0", + "license": "Apache-2.0", + "dependencies": { + "ethereumjs-tx": "^2.1.2", + "ethereumjs-util": "6.2.1", + "lodash": "^4.17.21", + "request-promise-native": "^1.0.9", + "rlp": "2.2.7" + }, + "peerDependencies": { + "web3": "^1.x" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3js-quorum/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/web3js-quorum/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-besu/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-plugin-ledger-connector-cdl": { + "name": "@hyperledger/cactus-plugin-ledger-connector-cdl", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "sanitize-html": "2.12.1" + }, + "devDependencies": { + "@types/express": "4.17.21", + "@types/node": "18.11.9", + "@types/sanitize-html": "2.6.2", + "body-parser": "1.20.2", + "express": "4.19.2", + "jest-extended": "4.0.1", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/@types/sanitize-html": { + "version": "2.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "htmlparser2": "^6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/dom-serializer": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/domelementtype": { + "version": "2.2.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/domhandler": { + "version": "4.3.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/domutils": { + "version": "2.8.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/entities": { + "version": "2.2.0", + "dev": true, + "license": "BSD-2-Clause", + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/htmlparser2": { + "version": "6.1.0", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.0.0", + "domutils": "^2.5.2", + "entities": "^2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/is-plain-object": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/parse-srcset": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/sanitize-html": { + "version": "2.12.1", + "license": "MIT", + "dependencies": { + "deepmerge": "^4.2.2", + "escape-string-regexp": "^4.0.0", + "htmlparser2": "^8.0.0", + "is-plain-object": "^5.0.0", + "parse-srcset": "^1.0.2", + "postcss": "^8.3.11" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/sanitize-html/node_modules/dom-serializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/sanitize-html/node_modules/domelementtype": { + "version": "2.3.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/sanitize-html/node_modules/domhandler": { + "version": "5.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/sanitize-html/node_modules/domutils": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/sanitize-html/node_modules/entities": { + "version": "4.4.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/sanitize-html/node_modules/htmlparser2": { + "version": "8.0.2", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-cdl/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda": { + "name": "@hyperledger/cactus-plugin-ledger-connector-corda", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "express-openapi-validator": "5.0.4", + "internal-ip": "6.2.0", + "joi": "17.9.1", + "node-ssh": "13.1.0", + "prom-client": "13.2.0", + "rxjs": "7.8.1", + "temp": "0.9.4", + "typescript-optional": "2.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/multer": "1.4.7", + "@types/temp": "0.9.1", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "express": "4.19.2", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@apidevtools/json-schema-ref-parser": { + "version": "9.1.2", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.6", + "call-me-maybe": "^1.0.1", + "js-yaml": "^4.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@hapi/hoek": { + "version": "9.2.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@hapi/topo": { + "version": "5.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@sideway/address": { + "version": "4.1.4", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@sideway/formula": { + "version": "3.0.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@sideway/pinpoint": { + "version": "2.0.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/body-parser": { + "version": "1.19.4", + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/connect": { + "version": "3.4.35", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/express": { + "version": "4.17.21", + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/mime": { + "version": "1.3.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/multer": { + "version": "1.4.7", + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/qs": { + "version": "6.9.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/range-parser": { + "version": "1.2.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/serve-static": { + "version": "1.13.10", + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/ssh2": { + "version": "1.11.13", + "license": "MIT", + "dependencies": { + "@types/node": "^18.11.18" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/ssh2/node_modules/@types/node": { + "version": "18.17.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/@types/temp": { + "version": "0.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/ajv-draft-04": { + "version": "1.0.0", + "license": "MIT", + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/ajv-formats": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/append-field": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/buildcheck": { + "version": "0.0.6", + "optional": true, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/busboy": { + "version": "1.6.0", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/call-me-maybe": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/concat-stream": { + "version": "1.6.2", + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/cpu-features": { + "version": "0.0.8", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "buildcheck": "~0.0.6", + "nan": "^2.17.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/default-gateway": { + "version": "6.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/express-openapi-validator": { + "version": "5.0.4", + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "^9.1.2", + "@types/multer": "^1.4.7", + "ajv": "^8.11.2", + "ajv-draft-04": "^1.0.0", + "ajv-formats": "^2.1.1", + "content-type": "^1.0.5", + "lodash.clonedeep": "^4.5.0", + "lodash.get": "^4.4.2", + "lodash.uniq": "^4.5.0", + "lodash.zipobject": "^4.1.3", + "media-typer": "^1.1.0", + "multer": "^1.4.5-lts.1", + "ono": "^7.1.3", + "path-to-regexp": "^6.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/express-openapi-validator/node_modules/media-typer": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/express/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/internal-ip": { + "version": "6.2.0", + "license": "MIT", + "dependencies": { + "default-gateway": "^6.0.0", + "ipaddr.js": "^1.9.1", + "is-ip": "^3.1.0", + "p-event": "^4.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/internal-ip?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/ip-regex": { + "version": "4.3.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/is-ip": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ip-regex": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/isarray": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/joi": { + "version": "17.9.1", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0", + "@hapi/topo": "^5.0.0", + "@sideway/address": "^4.1.3", + "@sideway/formula": "^3.0.1", + "@sideway/pinpoint": "^2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/lodash.clonedeep": { + "version": "4.5.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/lodash.get": { + "version": "4.4.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/lodash.zipobject": { + "version": "4.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/multer": { + "version": "1.4.5-lts.1", + "license": "MIT", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.0.0", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/nan": { + "version": "2.17.0", + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/node-ssh": { + "version": "13.1.0", + "license": "MIT", + "dependencies": { + "@types/ssh2": "^1.11.9", + "is-stream": "^2.0.0", + "make-dir": "^3.1.0", + "sb-promise-queue": "^2.1.0", + "sb-scandir": "^3.1.0", + "shell-escape": "^0.2.0", + "ssh2": "^1.11.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/ono": { + "version": "7.1.3", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "7.1.3" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/path-to-regexp": { + "version": "6.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/process-nextick-args": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/readable-stream": { + "version": "2.3.7", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/sb-promise-queue": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/sb-scandir": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "sb-promise-queue": "^2.1.0" + }, + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/shell-escape": { + "version": "0.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/ssh2": { + "version": "1.14.0", + "hasInstallScript": true, + "dependencies": { + "asn1": "^0.2.6", + "bcrypt-pbkdf": "^1.0.2" + }, + "engines": { + "node": ">=10.16.0" + }, + "optionalDependencies": { + "cpu-features": "~0.0.8", + "nan": "^2.17.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/streamsearch": { + "version": "1.1.0", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/string_decoder": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/temp": { + "version": "0.9.4", + "license": "MIT", + "dependencies": { + "mkdirp": "^0.5.1", + "rimraf": "~2.6.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/temp/node_modules/rimraf": { + "version": "2.6.3", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/typedarray": { + "version": "0.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-corda/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum": { + "name": "@hyperledger/cactus-plugin-ledger-connector-ethereum", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@ethereumjs/common": "4.0.0", + "@ethereumjs/tx": "5.0.0", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "express": "4.19.2", + "http-proxy-middleware": "2.0.6", + "minimist": "1.2.8", + "prom-client": "13.2.0", + "run-time-error-cjs": "1.4.0", + "rxjs": "7.8.1", + "sanitize-html": "2.12.1", + "socket.io-client-fixed-types": "4.5.4", + "typescript-optional": "2.0.1", + "web3": "4.4.0", + "web3-eth": "4.4.0", + "web3-eth-contract": "4.2.0" + }, + "bin": { + "cacti-ethereum-connector-status": "dist/lib/scripts/get-ethereum-connector-status.js" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-geth-ledger": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/js-yaml": "4.0.5", + "@types/minimist": "1.2.2", + "@types/sanitize-html": "2.9.5", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "chalk": "4.1.2", + "ethers": "6.8.1", + "js-yaml": "4.1.0", + "socket.io": "4.5.4", + "uuid": "9.0.1", + "web3-eth-accounts": "4.1.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@adraffy/ens-normalize": { + "version": "1.10.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@ethereumjs/common": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "@ethereumjs/util": "^9.0.0", + "crc": "^4.3.2" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@ethereumjs/rlp": { + "version": "5.0.0", + "license": "MPL-2.0", + "bin": { + "rlp": "bin/rlp" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@ethereumjs/tx": { + "version": "5.0.0", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^4.0.0", + "@ethereumjs/rlp": "^5.0.0", + "@ethereumjs/util": "^9.0.0", + "ethereum-cryptography": "^2.1.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "c-kzg": "^2.1.0" + }, + "peerDependenciesMeta": { + "c-kzg": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@ethereumjs/util": { + "version": "9.0.0", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/rlp": "^5.0.0", + "ethereum-cryptography": "^2.1.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "c-kzg": "^2.1.0" + }, + "peerDependenciesMeta": { + "c-kzg": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/body-parser": { + "version": "1.19.4", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/connect": { + "version": "3.4.35", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/express": { + "version": "4.17.21", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/http-proxy": { + "version": "1.17.9", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/js-yaml": { + "version": "4.0.5", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/mime": { + "version": "1.3.2", + "devOptional": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/qs": { + "version": "6.9.7", + "devOptional": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/range-parser": { + "version": "1.2.4", + "devOptional": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/sanitize-html": { + "version": "2.9.5", + "dev": true, + "license": "MIT", + "dependencies": { + "htmlparser2": "^8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/@types/serve-static": { + "version": "1.13.10", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/abitype": { + "version": "0.7.1", + "license": "MIT", + "peerDependencies": { + "typescript": ">=4.9.4", + "zod": "^3 >=3.19.1" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/aes-js": { + "version": "4.0.0-beta.5", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/crc": { + "version": "4.3.2", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "buffer": ">=6.0.3" + }, + "peerDependenciesMeta": { + "buffer": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/cross-fetch": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/dom-serializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/domelementtype": { + "version": "2.3.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/domhandler": { + "version": "5.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/domutils": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io-client/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/entities": { + "version": "4.4.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/ethers": { + "version": "6.8.1", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/ethers-io/" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@adraffy/ens-normalize": "1.10.0", + "@noble/curves": "1.2.0", + "@noble/hashes": "1.3.2", + "@types/node": "18.15.13", + "aes-js": "4.0.0-beta.5", + "tslib": "2.4.0", + "ws": "8.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/ethers/node_modules/@noble/curves": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.3.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/ethers/node_modules/@noble/hashes": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/ethers/node_modules/@types/node": { + "version": "18.15.13", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/ethers/node_modules/ws": { + "version": "8.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/htmlparser2": { + "version": "8.0.2", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/http-proxy": { + "version": "1.18.1", + "license": "MIT", + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/http-proxy-middleware": { + "version": "2.0.6", + "license": "MIT", + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/http-proxy/node_modules/eventemitter3": { + "version": "4.0.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/is-plain-obj": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/is-plain-object": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/micromatch": { + "version": "4.0.5", + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/node-fetch": { + "version": "2.6.12", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/parse-srcset": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/sanitize-html": { + "version": "2.12.1", + "license": "MIT", + "dependencies": { + "deepmerge": "^4.2.2", + "escape-string-regexp": "^4.0.0", + "htmlparser2": "^8.0.0", + "is-plain-object": "^5.0.0", + "parse-srcset": "^1.0.2", + "postcss": "^8.3.11" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/tslib": { + "version": "2.4.0", + "dev": true, + "license": "0BSD" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3": { + "version": "4.4.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.2", + "web3-errors": "^1.1.4", + "web3-eth": "^4.4.0", + "web3-eth-abi": "^4.2.0", + "web3-eth-accounts": "^4.1.1", + "web3-eth-contract": "^4.2.0", + "web3-eth-ens": "^4.0.8", + "web3-eth-iban": "^4.0.7", + "web3-eth-personal": "^4.0.8", + "web3-net": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-rpc-methods": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14.0.0", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-core": { + "version": "4.3.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.3", + "web3-eth-iban": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + }, + "optionalDependencies": { + "web3-providers-ipc": "^4.0.7" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-errors": { + "version": "1.1.3", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth": { + "version": "4.4.0", + "license": "LGPL-3.0", + "dependencies": { + "setimmediate": "^1.0.5", + "web3-core": "^4.3.2", + "web3-errors": "^1.1.4", + "web3-eth-abi": "^4.2.0", + "web3-eth-accounts": "^4.1.1", + "web3-net": "^4.0.7", + "web3-providers-ws": "^4.0.7", + "web3-rpc-methods": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-abi": { + "version": "4.2.0", + "license": "LGPL-3.0", + "dependencies": { + "abitype": "0.7.1", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-abi/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-abi/node_modules/web3-types": { + "version": "1.3.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-abi/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-accounts": { + "version": "4.1.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "crc-32": "^1.2.2", + "ethereum-cryptography": "^2.0.0", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-accounts/node_modules/@ethereumjs/rlp": { + "version": "4.0.1", + "license": "MPL-2.0", + "bin": { + "rlp": "bin/rlp" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-accounts/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-accounts/node_modules/web3-types": { + "version": "1.3.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-accounts/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract": { + "version": "4.2.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.2", + "web3-errors": "^1.1.4", + "web3-eth": "^4.4.0", + "web3-eth-abi": "^4.2.0", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract/node_modules/web3-core": { + "version": "4.3.2", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.4", + "web3-eth-accounts": "^4.1.0", + "web3-eth-iban": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + }, + "optionalDependencies": { + "web3-providers-ipc": "^4.0.7" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract/node_modules/web3-types": { + "version": "1.3.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-ens": { + "version": "4.0.8", + "license": "LGPL-3.0", + "dependencies": { + "@adraffy/ens-normalize": "^1.8.8", + "web3-core": "^4.3.0", + "web3-errors": "^1.1.3", + "web3-eth": "^4.3.1", + "web3-eth-contract": "^4.1.2", + "web3-net": "^4.0.7", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-iban": { + "version": "4.0.7", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth-personal": { + "version": "4.0.8", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.0", + "web3-eth": "^4.3.1", + "web3-rpc-methods": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-core": { + "version": "4.3.2", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.4", + "web3-eth-accounts": "^4.1.0", + "web3-eth-iban": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + }, + "optionalDependencies": { + "web3-providers-ipc": "^4.0.7" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-rpc-methods": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.2", + "web3-types": "^1.3.1", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-types": { + "version": "1.3.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-net": { + "version": "4.0.7", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.0", + "web3-rpc-methods": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-providers-http": { + "version": "4.1.0", + "license": "LGPL-3.0", + "dependencies": { + "cross-fetch": "^4.0.0", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-providers-ipc": { + "version": "4.0.7", + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-providers-ws": { + "version": "4.0.7", + "license": "LGPL-3.0", + "dependencies": { + "@types/ws": "8.5.3", + "isomorphic-ws": "^5.0.0", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "ws": "^8.8.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-rpc-methods": { + "version": "1.1.3", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.0", + "web3-types": "^1.3.0", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-types": { + "version": "1.3.0", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3-validator": { + "version": "2.0.3", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-core": { + "version": "4.3.2", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.4", + "web3-eth-accounts": "^4.1.0", + "web3-eth-iban": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + }, + "optionalDependencies": { + "web3-providers-ipc": "^4.0.7" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-rpc-methods": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.2", + "web3-types": "^1.3.1", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-types": { + "version": "1.3.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-ethereum/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric": { + "name": "@hyperledger/cactus-plugin-ledger-connector-fabric", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@fidm/x509": "1.2.1", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "bl": "5.0.0", + "bn.js": "4.12.0", + "elliptic": "6.5.4", + "express": "4.19.2", + "fabric-ca-client": "2.5.0-snapshot.23", + "fabric-common": "2.5.0-snapshot.23", + "fabric-network": "2.5.0-snapshot.23", + "fabric-protos": "2.5.0-snapshot.23", + "fast-safe-stringify": "2.1.1", + "form-data": "4.0.0", + "http-status-codes": "2.1.4", + "jsrsasign": "11.0.0", + "multer": "1.4.5-lts.1", + "ngo": "2.7.0", + "node-ssh": "13.1.0", + "node-vault": "0.9.22", + "openapi-types": "12.1.3", + "prom-client": "13.2.0", + "run-time-error-cjs": "1.4.0", + "rxjs": "7.8.1", + "sanitize-filename": "1.6.3", + "sanitize-html": "2.12.1", + "secp256k1": "4.0.3", + "socket.io-client-fixed-types": "4.5.4", + "temp": "0.9.4", + "typescript-optional": "2.0.1", + "uuid": "9.0.1", + "ws-identity-client": "1.0.2" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/bn.js": "5.1.0", + "@types/body-parser": "1.19.4", + "@types/elliptic": "6.4.16", + "@types/express": "4.17.21", + "@types/fs-extra": "9.0.13", + "@types/jsrsasign": "8.0.13", + "@types/multer": "1.4.7", + "@types/node-vault": "0.9.13", + "@types/sanitize-html": "2.9.5", + "@types/temp": "0.9.1", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "fs-extra": "10.1.0", + "internal-ip": "6.2.0", + "socket.io": "4.5.4", + "ws-wallet": "1.1.5" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@colors/colors": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@fidm/asn1": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@fidm/x509": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "@fidm/asn1": "^1.0.4", + "tweetnacl": "^1.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@fidm/x509/node_modules/tweetnacl": { + "version": "1.0.3", + "license": "Unlicense" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@grpc/grpc-js": { + "version": "1.7.3", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.0", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@grpc/proto-loader": { + "version": "0.7.7", + "license": "Apache-2.0", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.0.0", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/bn.js": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/debug": { + "version": "4.1.7", + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/elliptic": { + "version": "6.4.16", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/bn.js": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/jsrsasign": { + "version": "8.0.13", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/long": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/ms": { + "version": "0.7.31", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/multer": { + "version": "1.4.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/node-vault": { + "version": "0.9.13", + "dev": true, + "license": "MIT", + "dependencies": { + "node-vault": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/sanitize-html": { + "version": "2.9.5", + "dev": true, + "license": "MIT", + "dependencies": { + "htmlparser2": "^8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/ssh2": { + "version": "1.11.13", + "license": "MIT", + "dependencies": { + "@types/node": "^18.11.18" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/ssh2/node_modules/@types/node": { + "version": "18.17.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/@types/temp": { + "version": "0.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/append-field": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/bl": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/buffer-alloc": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "buffer-alloc-unsafe": "^1.1.0", + "buffer-fill": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/buffer-alloc-unsafe": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/buffer-crc32": { + "version": "0.2.13", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/buffer-fill": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/buildcheck": { + "version": "0.0.6", + "optional": true, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/busboy": { + "version": "1.6.0", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/color": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/color-string": { + "version": "1.9.0", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/colorspace": { + "version": "1.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/concat-stream": { + "version": "1.6.2", + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/concat-stream/node_modules/core-util-is": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.7", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/cpu-features": { + "version": "0.0.8", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "buildcheck": "~0.0.6", + "nan": "^2.17.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/cpu-features/node_modules/nan": { + "version": "2.17.0", + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress": { + "version": "4.2.1", + "license": "MIT", + "dependencies": { + "decompress-tar": "^4.0.0", + "decompress-tarbz2": "^4.0.0", + "decompress-targz": "^4.0.0", + "decompress-unzip": "^4.0.1", + "graceful-fs": "^4.1.10", + "make-dir": "^1.0.0", + "pify": "^2.3.0", + "strip-dirs": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tar": { + "version": "4.1.1", + "license": "MIT", + "dependencies": { + "file-type": "^5.2.0", + "is-stream": "^1.1.0", + "tar-stream": "^1.5.2" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tar/node_modules/bl": { + "version": "1.2.3", + "license": "MIT", + "dependencies": { + "readable-stream": "^2.3.5", + "safe-buffer": "^5.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tar/node_modules/core-util-is": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tar/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tar/node_modules/readable-stream": { + "version": "2.3.7", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tar/node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tar/node_modules/string_decoder": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tar/node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tar/node_modules/tar-stream": { + "version": "1.6.2", + "license": "MIT", + "dependencies": { + "bl": "^1.0.0", + "buffer-alloc": "^1.2.0", + "end-of-stream": "^1.0.0", + "fs-constants": "^1.0.0", + "readable-stream": "^2.3.0", + "to-buffer": "^1.1.1", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tarbz2": { + "version": "4.1.1", + "license": "MIT", + "dependencies": { + "decompress-tar": "^4.1.0", + "file-type": "^6.1.0", + "is-stream": "^1.1.0", + "seek-bzip": "^1.0.5", + "unbzip2-stream": "^1.0.9" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tarbz2/node_modules/file-type": { + "version": "6.2.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-tarbz2/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-targz": { + "version": "4.1.1", + "license": "MIT", + "dependencies": { + "decompress-tar": "^4.1.1", + "file-type": "^5.2.0", + "is-stream": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-targz/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-unzip": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "file-type": "^3.8.0", + "get-stream": "^2.2.0", + "pify": "^2.3.0", + "yauzl": "^2.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-unzip/node_modules/file-type": { + "version": "3.9.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/decompress-unzip/node_modules/get-stream": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "object-assign": "^4.0.1", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/default-gateway": { + "version": "6.0.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/docker-modem": { + "version": "3.0.3", + "license": "Apache-2.0", + "dependencies": { + "debug": "^4.1.1", + "readable-stream": "^3.5.0", + "split-ca": "^1.0.1", + "ssh2": "^1.4.0" + }, + "engines": { + "node": ">= 8.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/docker-modem/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/docker-modem/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/dockerode": { + "version": "3.3.1", + "license": "Apache-2.0", + "dependencies": { + "docker-modem": "^3.0.0", + "tar-fs": "~2.0.1" + }, + "engines": { + "node": ">= 8.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/dom-serializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/domelementtype": { + "version": "2.3.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/domhandler": { + "version": "5.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/domutils": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/enabled": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/entities": { + "version": "4.4.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/fabric-ca-client": { + "version": "2.5.0-snapshot.23", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.5.0-snapshot.23", + "jsrsasign": "^10.5.25", + "url": "^0.11.0", + "winston": "^2.4.5" + }, + "engines": { + "node": ">=14.15.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/fabric-common": { + "version": "2.5.0-snapshot.23", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.5.0-snapshot.23", + "js-sha3": "^0.8.0", + "jsrsasign": "^10.5.25", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=14.15.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/fabric-network": { + "version": "2.5.0-snapshot.23", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.5.0-snapshot.23", + "fabric-protos": "2.5.0-snapshot.23", + "nano": "^10.0.0" + }, + "engines": { + "node": ">=14.15.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/fabric-protos": { + "version": "2.5.0-snapshot.23", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.7.3", + "@grpc/proto-loader": "^0.7.0", + "protobufjs": "^7.0.0" + }, + "engines": { + "node": ">=14.15.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/fd-slicer": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "pend": "~1.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/fecha": { + "version": "4.2.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/file-type": { + "version": "5.2.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/fn.name": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/fs-constants": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/go-bin": { + "version": "1.4.0", + "license": "MIT", + "dependencies": { + "decompress": "^4.2.1", + "mkdirp": "^1.0.4" + }, + "bin": { + "go-bin": "cli.js" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/go-versions": { + "version": "1.3.2", + "license": "MIT", + "bin": { + "go-versions": "cli.js" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/htmlparser2": { + "version": "8.0.2", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/http-status-codes": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/internal-ip": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-gateway": "^6.0.0", + "ipaddr.js": "^1.9.1", + "is-ip": "^3.1.0", + "p-event": "^4.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/internal-ip?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ip-regex": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/is-arrayish": { + "version": "0.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/is-ip": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ip-regex": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/is-natural-number": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/is-plain-object": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/isarray": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/json-stable-stringify": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonify": "~0.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/jsonify": { + "version": "0.0.0", + "dev": true, + "license": "Public Domain" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/key-encoder": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/elliptic": "^6.4.9", + "asn1.js": "^5.0.1", + "bn.js": "^4.11.8", + "elliptic": "^6.4.1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/kuler": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/logform": { + "version": "2.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/loglevel": { + "version": "1.7.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/loglevel" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/loglevel-plugin-prefix": { + "version": "0.8.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/long": { + "version": "4.0.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/make-dir": { + "version": "1.3.0", + "license": "MIT", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/make-dir/node_modules/pify": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/mkdirp-classic": { + "version": "0.5.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/multer": { + "version": "1.4.5-lts.1", + "license": "MIT", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.0.0", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/multer/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/mustache": { + "version": "2.3.2", + "license": "MIT", + "bin": { + "mustache": "bin/mustache" + }, + "engines": { + "npm": ">=1.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ngo": { + "version": "2.7.0", + "license": "MIT", + "dependencies": { + "execa": "^5.1.1", + "go-bin": "^1.4.0", + "go-versions": "^1.3.2", + "semver": "^7.3.5" + }, + "bin": { + "ngo": "cli.js", + "ngo-binary": "cli-binary.js", + "ngo-update": "cli-update.js", + "ngo-version": "cli-update.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/node-ssh": { + "version": "13.1.0", + "license": "MIT", + "dependencies": { + "@types/ssh2": "^1.11.9", + "is-stream": "^2.0.0", + "make-dir": "^3.1.0", + "sb-promise-queue": "^2.1.0", + "sb-scandir": "^3.1.0", + "shell-escape": "^0.2.0", + "ssh2": "^1.11.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/node-ssh/node_modules/make-dir": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/node-vault": { + "version": "0.9.22", + "license": "MIT", + "dependencies": { + "debug": "3.1.0", + "mustache": "^2.2.1", + "request": "2.88.0", + "request-promise-native": "1.0.7", + "tv4": "^1.2.7" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/node-vault/node_modules/debug": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/node-vault/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/one-time": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/parse-srcset": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/pend": { + "version": "1.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/pify": { + "version": "2.3.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/pinkie": { + "version": "2.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/pinkie-promise": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/pkcs11js": { + "version": "1.3.0", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/process-nextick-args": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/protobufjs/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/request": { + "version": "2.88.0", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/request-promise-core": { + "version": "1.1.2", + "license": "ISC", + "dependencies": { + "lodash": "^4.17.11" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/request-promise-native": { + "version": "1.0.7", + "license": "ISC", + "dependencies": { + "request-promise-core": "1.1.2", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/safe-stable-stringify": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/sanitize-filename": { + "version": "1.6.3", + "license": "WTFPL OR ISC", + "dependencies": { + "truncate-utf8-bytes": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/sanitize-html": { + "version": "2.12.1", + "license": "MIT", + "dependencies": { + "deepmerge": "^4.2.2", + "escape-string-regexp": "^4.0.0", + "htmlparser2": "^8.0.0", + "is-plain-object": "^5.0.0", + "parse-srcset": "^1.0.2", + "postcss": "^8.3.11" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/sb-promise-queue": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/sb-scandir": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "sb-promise-queue": "^2.1.0" + }, + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/seek-bzip": { + "version": "1.0.6", + "license": "MIT", + "dependencies": { + "commander": "^2.8.1" + }, + "bin": { + "seek-bunzip": "bin/seek-bunzip", + "seek-table": "bin/seek-bzip-table" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/sha3": { + "version": "2.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "6.0.3" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/shell-escape": { + "version": "0.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/simple-swizzle": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/split-ca": { + "version": "1.0.1", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ssh2": { + "version": "1.14.0", + "hasInstallScript": true, + "dependencies": { + "asn1": "^0.2.6", + "bcrypt-pbkdf": "^1.0.2" + }, + "engines": { + "node": ">=10.16.0" + }, + "optionalDependencies": { + "cpu-features": "~0.0.8", + "nan": "^2.17.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ssh2/node_modules/nan": { + "version": "2.17.0", + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/stealthy-require": { + "version": "1.1.1", + "license": "ISC", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/streamsearch": { + "version": "1.1.0", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/strip-dirs": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "is-natural-number": "^4.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tar-fs": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tar-fs/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tar-stream": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tar-stream/node_modules/bl": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tar-stream/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/temp": { + "version": "0.9.4", + "license": "MIT", + "dependencies": { + "mkdirp": "^0.5.1", + "rimraf": "~2.6.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/temp/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/temp/node_modules/rimraf": { + "version": "2.6.3", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/text-hex": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/to-buffer": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/triple-beam": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/truncate-utf8-bytes": { + "version": "1.0.2", + "license": "WTFPL", + "dependencies": { + "utf8-byte-length": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tv4": { + "version": "1.3.0", + "license": [ + { + "type": "Public Domain", + "url": "http://geraintluff.github.io/tv4/LICENSE.txt" + }, + { + "type": "MIT", + "url": "http://jsonary.com/LICENSE.txt" + } + ], + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/typedarray": { + "version": "0.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/unbzip2-stream": { + "version": "1.4.3", + "license": "MIT", + "dependencies": { + "buffer": "^5.2.1", + "through": "^2.3.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/unbzip2-stream/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/utf8-byte-length": { + "version": "1.0.4", + "license": "WTFPL" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/winston-transport": { + "version": "4.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ws-identity-client": { + "version": "1.0.2", + "license": "ISC", + "dependencies": { + "@types/debug": "^4.1.7", + "debug": "3.1.0", + "dockerode": "^3.3.1", + "request-promise-native": "1.0.7", + "tv4": "^1.2.7" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ws-identity-client/node_modules/debug": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ws-identity-client/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ws-wallet": { + "version": "1.1.5", + "dev": true, + "dependencies": { + "@hyperledger/cactus-common": "0.9.0", + "@types/yargs": "^17.0.2", + "elliptic": "^6.5.4", + "jsrsasign": "^10.4.0", + "winston": "^3.3.3", + "ws": "^8.1.0", + "yargs": "^17.1.1" + }, + "bin": { + "ws-wallet": "dist/bin/index.js" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ws-wallet/node_modules/@hyperledger/cactus-common": { + "version": "0.9.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "json-stable-stringify": "1.0.1", + "key-encoder": "2.0.3", + "loglevel": "1.7.1", + "loglevel-plugin-prefix": "0.8.4", + "secp256k1": "4.0.2", + "sha3": "2.1.4" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ws-wallet/node_modules/secp256k1": { + "version": "4.0.2", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "elliptic": "^6.5.2", + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ws-wallet/node_modules/winston": { + "version": "3.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/ws-wallet/node_modules/ws": { + "version": "8.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/yauzl": { + "version": "2.10.0", + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-fabric/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio": { + "name": "@hyperledger/cactus-plugin-ledger-connector-go-ethereum-socketio", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@types/node": "18.11.9", + "body-parser": "1.20.2", + "config": "3.3.9", + "cookie-parser": "1.4.6", + "debug": "3.1.0", + "express": "4.19.2", + "http-errors": "1.6.3", + "js-yaml": "3.14.1", + "jsonwebtoken": "9.0.0", + "log4js": "6.4.1", + "morgan": "1.10.0", + "serve-favicon": "2.4.5", + "socket.io": "4.5.4", + "web3": "1.8.1", + "web3-core": "1.8.1", + "web3-core-subscriptions": "1.8.1", + "web3-eth": "1.8.1", + "web3-utils": "1.8.1" + }, + "devDependencies": { + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/config": "3.3.2", + "@types/cookie-parser": "1.4.5", + "@types/express": "4.17.21", + "@types/http-errors": "2.0.1", + "@types/node": "18.11.9", + "@types/shelljs": "0.8.12", + "shelljs": "0.8.5", + "socket.io-client-fixed-types": "4.5.4" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@ethereumjs/common": { + "version": "2.5.0", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@ethereumjs/tx": { + "version": "3.3.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "ethereumjs-util": "^7.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@sindresorhus/is": { + "version": "4.6.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/cacheable-request": { + "version": "6.0.3", + "license": "MIT", + "dependencies": { + "@types/http-cache-semantics": "*", + "@types/keyv": "^3.1.4", + "@types/node": "*", + "@types/responselike": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/config": { + "version": "3.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/cookie-parser": { + "version": "1.4.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/http-cache-semantics": { + "version": "4.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/http-errors": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/@types/shelljs": { + "version": "0.8.12", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/glob": "~7.2.0", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/abortcontroller-polyfill": { + "version": "1.7.5", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/argparse": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/basic-auth": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.1.2" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/basic-auth/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/body-parser/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/cacheable-lookup": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/cacheable-request": { + "version": "7.0.4", + "license": "MIT", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/config": { + "version": "3.3.9", + "license": "MIT", + "dependencies": { + "json5": "^2.2.3" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/cookie": { + "version": "0.4.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/cookie-parser": { + "version": "1.4.6", + "license": "MIT", + "dependencies": { + "cookie": "0.4.1", + "cookie-signature": "1.0.6" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/date-format": { + "version": "4.0.3", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/debug": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io-client": { + "version": "6.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io-parser": { + "version": "5.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/es6-promise": { + "version": "4.2.8", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/express/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/express/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/express/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/form-data-encoder": { + "version": "1.7.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/get-stream": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/got": { + "version": "12.1.0", + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^4.6.0", + "@szmarczak/http-timer": "^5.0.1", + "@types/cacheable-request": "^6.0.2", + "@types/responselike": "^1.0.0", + "cacheable-lookup": "^6.0.4", + "cacheable-request": "^7.0.2", + "decompress-response": "^6.0.0", + "form-data-encoder": "1.7.1", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/got/node_modules/decompress-response": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/got/node_modules/get-stream": { + "version": "6.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/got/node_modules/lowercase-keys": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/got/node_modules/mimic-response": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/http-errors": { + "version": "1.6.3", + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/http-errors/node_modules/depd": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/http-errors/node_modules/inherits": { + "version": "2.0.3", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/http-errors/node_modules/setprototypeof": { + "version": "1.1.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/http-errors/node_modules/statuses": { + "version": "1.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/interpret": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/js-yaml": { + "version": "3.14.1", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/jsonwebtoken": { + "version": "9.0.2", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/jsonwebtoken/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/keyv": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/log4js": { + "version": "6.4.1", + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.3.3", + "flatted": "^3.2.4", + "rfdc": "^1.3.0", + "streamroller": "^3.0.2" + }, + "engines": { + "node": ">=8.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/log4js/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/log4js/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/lowercase-keys": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/morgan": { + "version": "1.10.0", + "license": "MIT", + "dependencies": { + "basic-auth": "~2.0.1", + "debug": "2.6.9", + "depd": "~2.0.0", + "on-finished": "~2.3.0", + "on-headers": "~1.0.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/morgan/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/morgan/node_modules/on-finished": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/normalize-url": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/on-headers": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/rechoir": { + "version": "0.6.2", + "dev": true, + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/responselike": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "lowercase-keys": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/send/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/send/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/serve-favicon": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "etag": "~1.8.1", + "fresh": "0.5.2", + "ms": "2.0.0", + "parseurl": "~1.3.2", + "safe-buffer": "5.1.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/serve-favicon/node_modules/safe-buffer": { + "version": "5.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/shelljs": { + "version": "0.8.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/streamroller": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.1.1", + "fs-extra": "^10.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/streamroller/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/streamroller/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/ws/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3": { + "version": "1.8.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.8.1", + "web3-core": "1.8.1", + "web3-eth": "1.8.1", + "web3-eth-personal": "1.8.1", + "web3-net": "1.8.1", + "web3-shh": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-bzz": { + "version": "1.8.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "12.1.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-core": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-core-requestmanager": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-core-helpers": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-core-method": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.6.2", + "web3-core-helpers": "1.8.1", + "web3-core-promievent": "1.8.1", + "web3-core-subscriptions": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-core-promievent": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-core-requestmanager": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.8.1", + "web3-providers-http": "1.8.1", + "web3-providers-ipc": "1.8.1", + "web3-providers-ws": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-core-subscriptions": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-eth": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-core-subscriptions": "1.8.1", + "web3-eth-abi": "1.8.1", + "web3-eth-accounts": "1.8.1", + "web3-eth-contract": "1.8.1", + "web3-eth-ens": "1.8.1", + "web3-eth-iban": "1.8.1", + "web3-eth-personal": "1.8.1", + "web3-net": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-eth-abi": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "^5.6.3", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-eth-accounts": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "2.5.0", + "@ethereumjs/tx": "3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "^9.0.0", + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-eth-contract": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-core-promievent": "1.8.1", + "web3-core-subscriptions": "1.8.1", + "web3-eth-abi": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-eth-ens": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-promievent": "1.8.1", + "web3-eth-abi": "1.8.1", + "web3-eth-contract": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-eth-iban": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-eth-iban/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-eth-personal": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.8.1", + "web3-core-helpers": "1.8.1", + "web3-core-method": "1.8.1", + "web3-net": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-net": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.8.1", + "web3-core-method": "1.8.1", + "web3-utils": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-providers-http": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "abortcontroller-polyfill": "^1.7.3", + "cross-fetch": "^3.1.4", + "es6-promise": "^4.2.8", + "web3-core-helpers": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-providers-ipc": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-providers-ws": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.8.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-shh": { + "version": "1.8.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.8.1", + "web3-core-method": "1.8.1", + "web3-core-subscriptions": "1.8.1", + "web3-net": "1.8.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-utils": { + "version": "1.8.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/web3-utils/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/websocket/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/ws": { + "version": "8.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-go-ethereum-socketio/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2": { + "name": "@hyperledger/cactus-plugin-ledger-connector-iroha2", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@iroha2/client": "4.0.0", + "@iroha2/crypto-core": "0.1.1", + "@iroha2/crypto-target-node": "0.4.0", + "@iroha2/data-model": "4.0.0", + "axios": "1.6.0", + "express": "4.19.2", + "fast-safe-stringify": "2.1.1", + "hada": "0.0.8", + "rxjs": "7.8.1", + "sanitize-html": "2.12.1", + "socket.io": "4.4.1", + "socket.io-client-fixed-types": "4.5.4", + "undici": "6.11.1" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/express": "4.17.21", + "@types/sanitize-html": "2.9.5", + "body-parser": "1.20.2", + "express": "4.19.2", + "jest": "29.6.2", + "jest-extended": "4.0.1", + "socket.io": "4.5.4", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@iroha2/client": { + "version": "4.0.0", + "license": "Apache 2.0", + "dependencies": { + "@iroha2/crypto-core": "^0.1.1", + "@iroha2/data-model": "4.0.0", + "@types/ws": "^8.2.2", + "debug": "^4.3.4", + "emittery": "^0.10.1", + "json-bigint": "^1.0.0", + "ws": "^8.4.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@iroha2/client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@iroha2/client/node_modules/emittery": { + "version": "0.10.2", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@iroha2/crypto-core": { + "version": "0.1.1", + "license": "Apache 2.0" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@iroha2/crypto-target-node": { + "version": "0.4.0", + "license": "Apache 2.0", + "dependencies": { + "@iroha2/crypto-core": "^0.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@iroha2/data-model": { + "version": "4.0.0", + "license": "Apache 2.0", + "dependencies": { + "@iroha2/i64-fixnum": "^0.4.2", + "@scale-codec/definition-runtime": "^2.2.2" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@iroha2/i64-fixnum": { + "version": "0.4.2", + "license": "Apache 2.0", + "dependencies": { + "@scale-codec/util": "^1.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@scale-codec/core": { + "version": "1.1.1", + "license": "Apache-2.0", + "dependencies": { + "@scale-codec/enum": "^1.1.1", + "@scale-codec/util": "^1.1.1" + }, + "engines": { + "node": ">=14.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@scale-codec/definition-runtime": { + "version": "2.2.2", + "license": "Apache-2.0", + "dependencies": { + "@scale-codec/core": "^1.1.1", + "@scale-codec/util": "^1.1.1", + "fmt-subs": "^1.1.1", + "type-fest": "^2.13.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@scale-codec/enum": { + "version": "1.1.1", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@scale-codec/util": { + "version": "1.1.1", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/sanitize-html": { + "version": "2.9.5", + "dev": true, + "license": "MIT", + "dependencies": { + "htmlparser2": "^8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/dom-serializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/domelementtype": { + "version": "2.3.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/domhandler": { + "version": "5.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/domutils": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/engine.io-client/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/entities": { + "version": "4.4.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/fmt-subs": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/hada": { + "version": "0.0.8", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/htmlparser2": { + "version": "8.0.2", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/is-plain-object": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/json-bigint": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/parse-srcset": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/sanitize-html": { + "version": "2.12.1", + "license": "MIT", + "dependencies": { + "deepmerge": "^4.2.2", + "escape-string-regexp": "^4.0.0", + "htmlparser2": "^8.0.0", + "is-plain-object": "^5.0.0", + "parse-srcset": "^1.0.2", + "postcss": "^8.3.11" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/type-fest": { + "version": "2.19.0", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/undici": { + "version": "6.11.1", + "license": "MIT", + "engines": { + "node": ">=18.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-iroha2/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot": { + "name": "@hyperledger/cactus-plugin-ledger-connector-polkadot", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@polkadot/api": "10.9.1", + "@polkadot/api-contract": "10.9.1", + "@polkadot/rpc-provider": "10.9.1", + "@polkadot/types": "10.9.1", + "@polkadot/util": "12.6.2", + "bl": "5.0.0", + "express": "4.19.2", + "express-openapi-validator": "4.13.1", + "form-data": "4.0.0", + "fs-extra": "11.2.0", + "http-errors": "2.0.0", + "http-status-codes": "2.1.4", + "joi": "14.3.1", + "multer": "1.4.2", + "ngo": "2.6.2", + "openapi-types": "12.1.3", + "prom-client": "13.2.0", + "run-time-error": "1.4.0", + "temp": "0.9.1", + "tslint": "6.1.3", + "typescript-optional": "2.0.1", + "uuid": "9.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/express": "4.17.21", + "@types/http-errors": "2.0.4", + "@types/joi": "14.3.4", + "@types/multer": "1.4.7", + "@types/ssh2": "0.5.44", + "@types/supertest": "2.0.11", + "@types/temp": "0.9.1", + "@types/uuid": "9.0.8", + "axios": "1.6.0", + "supertest": "6.1.6" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@apidevtools/json-schema-ref-parser": { + "version": "9.0.9", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.6", + "call-me-maybe": "^1.0.1", + "js-yaml": "^4.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@noble/curves": { + "version": "1.3.0", + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.3.3" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@noble/hashes": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/api": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/api-augment": "10.9.1", + "@polkadot/api-base": "10.9.1", + "@polkadot/api-derive": "10.9.1", + "@polkadot/keyring": "^12.3.1", + "@polkadot/rpc-augment": "10.9.1", + "@polkadot/rpc-core": "10.9.1", + "@polkadot/rpc-provider": "10.9.1", + "@polkadot/types": "10.9.1", + "@polkadot/types-augment": "10.9.1", + "@polkadot/types-codec": "10.9.1", + "@polkadot/types-create": "10.9.1", + "@polkadot/types-known": "10.9.1", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", + "eventemitter3": "^5.0.1", + "rxjs": "^7.8.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/api-augment": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/api-base": "10.9.1", + "@polkadot/rpc-augment": "10.9.1", + "@polkadot/types": "10.9.1", + "@polkadot/types-augment": "10.9.1", + "@polkadot/types-codec": "10.9.1", + "@polkadot/util": "^12.3.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/api-base": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/rpc-core": "10.9.1", + "@polkadot/types": "10.9.1", + "@polkadot/util": "^12.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/api-contract": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/api": "10.9.1", + "@polkadot/api-augment": "10.9.1", + "@polkadot/types": "10.9.1", + "@polkadot/types-codec": "10.9.1", + "@polkadot/types-create": "10.9.1", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/api-derive": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/api": "10.9.1", + "@polkadot/api-augment": "10.9.1", + "@polkadot/api-base": "10.9.1", + "@polkadot/rpc-core": "10.9.1", + "@polkadot/types": "10.9.1", + "@polkadot/types-codec": "10.9.1", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/keyring": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/util-crypto": "12.6.2" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/networks": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/util": "12.6.2", + "@substrate/ss58-registry": "^1.44.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/rpc-augment": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/rpc-core": "10.9.1", + "@polkadot/types": "10.9.1", + "@polkadot/types-codec": "10.9.1", + "@polkadot/util": "^12.3.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/rpc-core": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/rpc-augment": "10.9.1", + "@polkadot/rpc-provider": "10.9.1", + "@polkadot/types": "10.9.1", + "@polkadot/util": "^12.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/rpc-provider": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/keyring": "^12.3.1", + "@polkadot/types": "10.9.1", + "@polkadot/types-support": "10.9.1", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", + "@polkadot/x-fetch": "^12.3.1", + "@polkadot/x-global": "^12.3.1", + "@polkadot/x-ws": "^12.3.1", + "eventemitter3": "^5.0.1", + "mock-socket": "^9.2.1", + "nock": "^13.3.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "@substrate/connect": "0.7.26" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/types": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/keyring": "^12.3.1", + "@polkadot/types-augment": "10.9.1", + "@polkadot/types-codec": "10.9.1", + "@polkadot/types-create": "10.9.1", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/types-augment": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/types": "10.9.1", + "@polkadot/types-codec": "10.9.1", + "@polkadot/util": "^12.3.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/types-codec": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/util": "^12.3.1", + "@polkadot/x-bigint": "^12.3.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/types-create": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/types-codec": "10.9.1", + "@polkadot/util": "^12.3.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/types-known": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/networks": "^12.3.1", + "@polkadot/types": "10.9.1", + "@polkadot/types-codec": "10.9.1", + "@polkadot/types-create": "10.9.1", + "@polkadot/util": "^12.3.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/types-support": { + "version": "10.9.1", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/util": "^12.3.1", + "tslib": "^2.5.3" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/util": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/x-bigint": "12.6.2", + "@polkadot/x-global": "12.6.2", + "@polkadot/x-textdecoder": "12.6.2", + "@polkadot/x-textencoder": "12.6.2", + "@types/bn.js": "^5.1.5", + "bn.js": "^5.2.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/util-crypto": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@noble/curves": "^1.3.0", + "@noble/hashes": "^1.3.3", + "@polkadot/networks": "12.6.2", + "@polkadot/util": "12.6.2", + "@polkadot/wasm-crypto": "^7.3.2", + "@polkadot/wasm-util": "^7.3.2", + "@polkadot/x-bigint": "12.6.2", + "@polkadot/x-randomvalues": "12.6.2", + "@scure/base": "^1.1.5", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "12.6.2" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/wasm-bridge": { + "version": "7.3.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/wasm-util": "7.3.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "*", + "@polkadot/x-randomvalues": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/wasm-crypto": { + "version": "7.3.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/wasm-bridge": "7.3.2", + "@polkadot/wasm-crypto-asmjs": "7.3.2", + "@polkadot/wasm-crypto-init": "7.3.2", + "@polkadot/wasm-crypto-wasm": "7.3.2", + "@polkadot/wasm-util": "7.3.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "*", + "@polkadot/x-randomvalues": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/wasm-crypto-asmjs": { + "version": "7.3.2", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/wasm-crypto-init": { + "version": "7.3.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/wasm-bridge": "7.3.2", + "@polkadot/wasm-crypto-asmjs": "7.3.2", + "@polkadot/wasm-crypto-wasm": "7.3.2", + "@polkadot/wasm-util": "7.3.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "*", + "@polkadot/x-randomvalues": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/wasm-crypto-wasm": { + "version": "7.3.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/wasm-util": "7.3.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/wasm-util": { + "version": "7.3.2", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/x-bigint": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/x-global": "12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/x-fetch": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/x-global": "12.6.2", + "node-fetch": "^3.3.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/x-global": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/x-randomvalues": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/x-global": "12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@polkadot/util": "12.6.2", + "@polkadot/wasm-util": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/x-textdecoder": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/x-global": "12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/x-textencoder": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/x-global": "12.6.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@polkadot/x-ws": { + "version": "12.6.2", + "license": "Apache-2.0", + "dependencies": { + "@polkadot/x-global": "12.6.2", + "tslib": "^2.6.2", + "ws": "^8.15.1" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@scure/base": { + "version": "1.1.5", + "license": "MIT", + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@substrate/connect": { + "version": "0.7.26", + "license": "GPL-3.0-only", + "optional": true, + "dependencies": { + "@substrate/connect-extension-protocol": "^1.0.1", + "eventemitter3": "^4.0.7", + "smoldot": "1.0.4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@substrate/connect-extension-protocol": { + "version": "1.0.1", + "license": "GPL-3.0-only", + "optional": true + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@substrate/connect/node_modules/eventemitter3": { + "version": "4.0.7", + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@substrate/ss58-registry": { + "version": "1.46.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/bn.js": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/body-parser": { + "version": "1.19.2", + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/connect": { + "version": "3.4.35", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/cookiejar": { + "version": "2.1.5", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/express": { + "version": "4.17.21", + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/http-errors": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/joi": { + "version": "14.3.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/methods": { + "version": "1.1.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/mime": { + "version": "1.3.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/multer": { + "version": "1.4.7", + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/qs": { + "version": "6.9.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/range-parser": { + "version": "1.2.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/serve-static": { + "version": "1.13.10", + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/ssh2": { + "version": "0.5.44", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/ssh2-streams": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/ssh2-streams": { + "version": "0.1.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/superagent": { + "version": "8.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookiejar": "^2.1.5", + "@types/methods": "^1.1.4", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/supertest": { + "version": "2.0.11", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/superagent": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/@types/temp": { + "version": "0.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/append-field": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/bl": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/bl/node_modules/readable-stream": { + "version": "3.6.0", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/buffer-alloc": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "buffer-alloc-unsafe": "^1.1.0", + "buffer-fill": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/buffer-alloc-unsafe": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/buffer-crc32": { + "version": "0.2.13", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/buffer-fill": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/builtin-modules": { + "version": "1.1.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/busboy": { + "version": "0.2.14", + "dependencies": { + "dicer": "0.2.5", + "readable-stream": "1.1.x" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/busboy/node_modules/readable-stream": { + "version": "1.1.14", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/busboy/node_modules/string_decoder": { + "version": "0.10.31", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/call-me-maybe": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/component-emitter": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/concat-stream": { + "version": "1.6.2", + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/cookiejar": { + "version": "2.1.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/decompress": { + "version": "4.2.1", + "license": "MIT", + "dependencies": { + "decompress-tar": "^4.0.0", + "decompress-tarbz2": "^4.0.0", + "decompress-targz": "^4.0.0", + "decompress-unzip": "^4.0.1", + "graceful-fs": "^4.1.10", + "make-dir": "^1.0.0", + "pify": "^2.3.0", + "strip-dirs": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/decompress-tar": { + "version": "4.1.1", + "license": "MIT", + "dependencies": { + "file-type": "^5.2.0", + "is-stream": "^1.1.0", + "tar-stream": "^1.5.2" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/decompress-tarbz2": { + "version": "4.1.1", + "license": "MIT", + "dependencies": { + "decompress-tar": "^4.1.0", + "file-type": "^6.1.0", + "is-stream": "^1.1.0", + "seek-bzip": "^1.0.5", + "unbzip2-stream": "^1.0.9" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/decompress-tarbz2/node_modules/file-type": { + "version": "6.2.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/decompress-targz": { + "version": "4.1.1", + "license": "MIT", + "dependencies": { + "decompress-tar": "^4.1.1", + "file-type": "^5.2.0", + "is-stream": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/decompress-unzip": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "file-type": "^3.8.0", + "get-stream": "^2.2.0", + "pify": "^2.3.0", + "yauzl": "^2.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/decompress-unzip/node_modules/file-type": { + "version": "3.9.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/decompress-unzip/node_modules/get-stream": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "object-assign": "^4.0.1", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/dicer": { + "version": "0.2.5", + "dependencies": { + "readable-stream": "1.1.x", + "streamsearch": "0.1.2" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/dicer/node_modules/readable-stream": { + "version": "1.1.14", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/dicer/node_modules/string_decoder": { + "version": "0.10.31", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/execa": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/execa/node_modules/is-stream": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/express-openapi-validator": { + "version": "4.13.1", + "license": "MIT", + "dependencies": { + "@types/multer": "^1.4.7", + "ajv": "^6.12.6", + "content-type": "^1.0.4", + "json-schema-ref-parser": "^9.0.9", + "lodash.clonedeep": "^4.5.0", + "lodash.get": "^4.4.2", + "lodash.uniq": "^4.5.0", + "lodash.zipobject": "^4.1.3", + "media-typer": "^1.1.0", + "multer": "^1.4.3", + "ono": "^7.1.3", + "path-to-regexp": "^6.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/express-openapi-validator/node_modules/multer": { + "version": "1.4.4", + "license": "MIT", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^0.2.11", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "on-finished": "^2.3.0", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/express/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/fd-slicer": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "pend": "~1.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/file-type": { + "version": "5.2.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/formidable": { + "version": "1.2.6", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://ko-fi.com/tunnckoCore/commissions" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/fs-constants": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/fs-extra": { + "version": "11.2.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/get-stream": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/go-bin": { + "version": "1.4.0", + "license": "MIT", + "dependencies": { + "decompress": "^4.2.1", + "mkdirp": "^1.0.4" + }, + "bin": { + "go-bin": "cli.js" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/go-bin/node_modules/mkdirp": { + "version": "1.0.4", + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/go-versions": { + "version": "1.3.2", + "license": "MIT", + "bin": { + "go-versions": "cli.js" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/hoek": { + "version": "6.1.3", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/http-status-codes": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/human-signals": { + "version": "1.1.1", + "license": "Apache-2.0", + "engines": { + "node": ">=8.12.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/is-natural-number": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/isarray": { + "version": "0.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/isemail": { + "version": "3.2.0", + "license": "BSD-3-Clause", + "dependencies": { + "punycode": "2.x.x" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/joi": { + "version": "14.3.1", + "license": "BSD-3-Clause", + "dependencies": { + "hoek": "6.x.x", + "isemail": "3.x.x", + "topo": "3.x.x" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/json-schema-ref-parser": { + "version": "9.0.9", + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "9.0.9" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/lodash.clonedeep": { + "version": "4.5.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/lodash.get": { + "version": "4.4.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/lodash.zipobject": { + "version": "4.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/make-dir": { + "version": "1.3.0", + "license": "MIT", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/make-dir/node_modules/pify": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/media-typer": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/mock-socket": { + "version": "9.3.1", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/multer": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^0.2.11", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.1", + "object-assign": "^4.1.1", + "on-finished": "^2.3.0", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/ngo": { + "version": "2.6.2", + "license": "MIT", + "dependencies": { + "execa": "^4.0.0", + "go-bin": "^1.4.0", + "go-versions": "^1.3.2" + }, + "bin": { + "ngo": "cli.js", + "ngo-binary": "cli-binary.js", + "ngo-update": "cli-update.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/nock": { + "version": "13.5.4", + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "json-stringify-safe": "^5.0.1", + "propagate": "^2.0.0" + }, + "engines": { + "node": ">= 10.13" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/nock/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/node-fetch": { + "version": "3.3.2", + "license": "MIT", + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/ono": { + "version": "7.1.3", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "7.1.3" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/pako": { + "version": "2.1.0", + "license": "(MIT AND Zlib)", + "optional": true + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/path-to-regexp": { + "version": "6.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/pend": { + "version": "1.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/pify": { + "version": "2.3.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/pinkie": { + "version": "2.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/pinkie-promise": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/process-nextick-args": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/propagate": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/readable-stream": { + "version": "2.3.7", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/readable-stream/node_modules/isarray": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/readable-stream/node_modules/string_decoder": { + "version": "1.1.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/rimraf": { + "version": "2.6.3", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/seek-bzip": { + "version": "1.0.6", + "license": "MIT", + "dependencies": { + "commander": "^2.8.1" + }, + "bin": { + "seek-bunzip": "bin/seek-bunzip", + "seek-table": "bin/seek-bzip-table" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/smoldot": { + "version": "1.0.4", + "license": "GPL-3.0-or-later WITH Classpath-exception-2.0", + "optional": true, + "dependencies": { + "pako": "^2.0.4", + "ws": "^8.8.1" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/streamsearch": { + "version": "0.1.2", + "engines": { + "node": ">=0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/strip-dirs": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "is-natural-number": "^4.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/superagent": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "component-emitter": "^1.3.0", + "cookiejar": "^2.1.2", + "debug": "^4.1.1", + "fast-safe-stringify": "^2.0.7", + "form-data": "^3.0.0", + "formidable": "^1.2.2", + "methods": "^1.1.2", + "mime": "^2.4.6", + "qs": "^6.9.4", + "readable-stream": "^3.6.0", + "semver": "^7.3.2" + }, + "engines": { + "node": ">= 7.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/superagent/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/superagent/node_modules/form-data": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/superagent/node_modules/mime": { + "version": "2.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/superagent/node_modules/qs": { + "version": "6.11.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/superagent/node_modules/readable-stream": { + "version": "3.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/supertest": { + "version": "6.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "methods": "^1.1.2", + "superagent": "^6.1.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/tar-stream": { + "version": "1.6.2", + "license": "MIT", + "dependencies": { + "bl": "^1.0.0", + "buffer-alloc": "^1.2.0", + "end-of-stream": "^1.0.0", + "fs-constants": "^1.0.0", + "readable-stream": "^2.3.0", + "to-buffer": "^1.1.1", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/tar-stream/node_modules/bl": { + "version": "1.2.3", + "license": "MIT", + "dependencies": { + "readable-stream": "^2.3.5", + "safe-buffer": "^5.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/temp": { + "version": "0.9.1", + "license": "MIT", + "dependencies": { + "rimraf": "~2.6.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/to-buffer": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/topo": { + "version": "3.0.3", + "license": "BSD-3-Clause", + "dependencies": { + "hoek": "6.x.x" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/tslint": { + "version": "6.1.3", + "license": "Apache-2.0", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "builtin-modules": "^1.1.1", + "chalk": "^2.3.0", + "commander": "^2.12.1", + "diff": "^4.0.1", + "glob": "^7.1.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.3", + "resolve": "^1.3.2", + "semver": "^5.3.0", + "tslib": "^1.13.0", + "tsutils": "^2.29.0" + }, + "bin": { + "tslint": "bin/tslint" + }, + "engines": { + "node": ">=4.8.0" + }, + "peerDependencies": { + "typescript": ">=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev || >= 4.0.0-dev" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/tslint/node_modules/argparse": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/tslint/node_modules/js-yaml": { + "version": "3.14.1", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/tslint/node_modules/tslib": { + "version": "1.14.1", + "license": "0BSD" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/tsutils": { + "version": "2.29.0", + "license": "MIT", + "dependencies": { + "tslib": "^1.8.1" + }, + "peerDependencies": { + "typescript": ">=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >= 3.0.0-dev || >= 3.1.0-dev" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "license": "0BSD" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/type-is/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/typedarray": { + "version": "0.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/unbzip2-stream": { + "version": "1.4.3", + "license": "MIT", + "dependencies": { + "buffer": "^5.2.1", + "through": "^2.3.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/unbzip2-stream/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/ws": { + "version": "8.16.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-polkadot/node_modules/yauzl": { + "version": "2.10.0", + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum": { + "name": "@hyperledger/cactus-plugin-ledger-connector-quorum", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "express": "4.19.2", + "http-errors-enhanced-cjs": "2.0.0", + "minimist": "1.2.8", + "prom-client": "13.2.0", + "run-time-error-cjs": "1.4.0", + "rxjs": "7.8.1", + "sanitize-html": "2.12.1", + "socket.io-client-fixed-types": "4.5.4", + "typescript-optional": "2.0.1", + "web3": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1", + "web3js-quorum": "22.4.0" + }, + "bin": { + "cacti-quorum-connector-status": "dist/lib/scripts/get-quorum-connector-status.js" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/http-errors": "2.0.4", + "@types/minimist": "1.2.2", + "@types/sanitize-html": "2.9.5", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "chalk": "4.1.2", + "ethers": "6.8.1", + "socket.io": "4.5.4", + "uuid": "9.0.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@adraffy/ens-normalize": { + "version": "1.10.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@noble/curves": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.3.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@noble/hashes": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/http-errors": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/sanitize-html": { + "version": "2.9.5", + "dev": true, + "license": "MIT", + "dependencies": { + "htmlparser2": "^8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/aes-js": { + "version": "4.0.0-beta.5", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/dom-serializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/domelementtype": { + "version": "2.3.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/domhandler": { + "version": "5.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/domutils": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io-client/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/entities": { + "version": "4.4.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethereumjs-common": { + "version": "1.5.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethereumjs-tx/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethereumjs-tx/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethers": { + "version": "6.8.1", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/ethers-io/" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@adraffy/ens-normalize": "1.10.0", + "@noble/curves": "1.2.0", + "@noble/hashes": "1.3.2", + "@types/node": "18.15.13", + "aes-js": "4.0.0-beta.5", + "tslib": "2.4.0", + "ws": "8.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethers/node_modules/@types/node": { + "version": "18.15.13", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/fs-extra/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/htmlparser2": { + "version": "8.0.2", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/http-errors-enhanced-cjs": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">= 18.18.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/is-plain-object": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/parse-srcset": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/request-promise-core": { + "version": "1.1.4", + "license": "ISC", + "dependencies": { + "lodash": "^4.17.19" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/request-promise-native": { + "version": "1.0.9", + "license": "ISC", + "dependencies": { + "request-promise-core": "1.1.4", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/sanitize-html": { + "version": "2.12.1", + "license": "MIT", + "dependencies": { + "deepmerge": "^4.2.2", + "escape-string-regexp": "^4.0.0", + "htmlparser2": "^8.0.0", + "is-plain-object": "^5.0.0", + "parse-srcset": "^1.0.2", + "postcss": "^8.3.11" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/stealthy-require": { + "version": "1.1.1", + "license": "ISC", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/ws/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/tslib": { + "version": "2.4.0", + "dev": true, + "license": "0BSD" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3js-quorum": { + "version": "22.4.0", + "license": "Apache-2.0", + "dependencies": { + "ethereumjs-tx": "^2.1.2", + "ethereumjs-util": "6.2.1", + "lodash": "^4.17.21", + "request-promise-native": "^1.0.9", + "rlp": "2.2.7" + }, + "peerDependencies": { + "web3": "^1.x" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3js-quorum/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/web3js-quorum/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/ws": { + "version": "8.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-quorum/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth": { + "name": "@hyperledger/cactus-plugin-ledger-connector-sawtooth", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "cbor": "9.0.1", + "rxjs": "7.8.1", + "socket.io-client-fixed-types": "4.5.4" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/express": "4.17.21", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "express": "4.19.2", + "socket.io": "4.5.4", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/cbor": { + "version": "9.0.1", + "license": "MIT", + "dependencies": { + "nofilter": "^3.1.0" + }, + "engines": { + "node": ">=16" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/nofilter": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=12.19" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-sawtooth/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio": { + "name": "@hyperledger/cactus-plugin-ledger-connector-tcs-huawei-socketio", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@types/node": "18.11.9", + "body-parser": "1.20.2", + "cbor": "6.0.1", + "config": "3.3.7", + "cookie-parser": "1.4.6", + "debug": "4.3.1", + "express": "4.19.2", + "js-yaml": "3.14.1", + "jsonwebtoken": "8.5.1", + "log4js": "6.4.1", + "morgan": "1.10.0", + "serve-favicon": "2.4.5", + "shelljs": "0.8.5", + "socket.io": "4.5.4", + "xmlhttprequest": "1.8.0" + }, + "devDependencies": { + "@types/body-parser": "1.19.3", + "@types/config": "0.0.41", + "@types/cookie-parser": "1.4.5", + "@types/express": "4.17.21", + "@types/http-errors": "2.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/body-parser": { + "version": "1.19.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/config": { + "version": "0.0.41", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/cookie-parser": { + "version": "1.4.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/http-errors": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/accepts": { + "version": "1.3.7", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/argparse": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/basic-auth": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.1.2" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/basic-auth/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/cbor": { + "version": "6.0.1", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.1", + "nofilter": "^1.0.4" + }, + "engines": { + "node": ">=10.18.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/config": { + "version": "3.3.7", + "license": "MIT", + "dependencies": { + "json5": "^2.1.1" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/cookie": { + "version": "0.4.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/cookie-parser": { + "version": "1.4.6", + "license": "MIT", + "dependencies": { + "cookie": "0.4.1", + "cookie-signature": "1.0.6" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/date-format": { + "version": "4.0.3", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/debug": { + "version": "4.3.1", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/express/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/express/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/interpret": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/js-yaml": { + "version": "3.14.1", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=4", + "npm": ">=1.4.28" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/jsonwebtoken/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/lodash.includes": { + "version": "4.3.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/lodash.isboolean": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/lodash.isinteger": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/lodash.isnumber": { + "version": "3.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/lodash.isstring": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/lodash.once": { + "version": "4.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/log4js": { + "version": "6.4.1", + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.3.3", + "flatted": "^3.2.4", + "rfdc": "^1.3.0", + "streamroller": "^3.0.2" + }, + "engines": { + "node": ">=8.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/log4js/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/log4js/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/morgan": { + "version": "1.10.0", + "license": "MIT", + "dependencies": { + "basic-auth": "~2.0.1", + "debug": "2.6.9", + "depd": "~2.0.0", + "on-finished": "~2.3.0", + "on-headers": "~1.0.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/morgan/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/morgan/node_modules/on-finished": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/nofilter": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/on-headers": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/rechoir": { + "version": "0.6.2", + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "bin": { + "semver": "bin/semver" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/send/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/serve-favicon": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "etag": "~1.8.1", + "fresh": "0.5.2", + "ms": "2.0.0", + "parseurl": "~1.3.2", + "safe-buffer": "5.1.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/serve-favicon/node_modules/safe-buffer": { + "version": "5.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/shelljs": { + "version": "0.8.5", + "license": "BSD-3-Clause", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/streamroller": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.1.1", + "fs-extra": "^10.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/streamroller/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/streamroller/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/node_modules/xmlhttprequest": { + "version": "1.8.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai": { + "name": "@hyperledger/cactus-plugin-ledger-connector-xdai", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "axios": "1.6.0", + "express": "4.19.2", + "joi": "17.9.1", + "openapi-types": "12.1.3", + "prom-client": "13.2.0", + "run-time-error-cjs": "1.4.0", + "typescript-optional": "2.0.1", + "uuid": "9.0.1", + "web3": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "body-parser": "1.20.2", + "uuid": "9.0.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@hapi/hoek": { + "version": "9.2.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@hapi/topo": { + "version": "5.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@sideway/address": { + "version": "4.1.4", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@sideway/formula": { + "version": "3.0.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@sideway/pinpoint": { + "version": "2.0.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/bintrees": { + "version": "1.0.1" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/fs-extra/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/joi": { + "version": "17.9.1", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0", + "@hapi/topo": "^5.0.0", + "@sideway/address": "^4.1.3", + "@sideway/formula": "^3.0.1", + "@sideway/pinpoint": "^2.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/prom-client": { + "version": "13.2.0", + "license": "Apache-2.0", + "dependencies": { + "tdigest": "^0.1.1" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/tdigest": { + "version": "0.1.1", + "license": "MIT", + "dependencies": { + "bintrees": "1.0.1" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/ws/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-plugin-ledger-connector-xdai/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-plugin-persistence-ethereum": { + "name": "@hyperledger/cactus-plugin-persistence-ethereum", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-ethereum": "2.0.0-alpha.2", + "async-mutex": "0.4.0", + "axios": "1.6.0", + "pg": "8.8.0", + "run-time-error-cjs": "1.4.0", + "uuid": "9.0.1", + "web3-utils": "4.2.1", + "web3-validator": "2.0.2" + }, + "devDependencies": { + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-test-geth-ledger": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@openapitools/openapi-generator-cli": "2.7.0", + "@types/express": "4.17.21", + "@types/pg": "8.6.5", + "body-parser": "1.19.0", + "express": "4.19.2", + "jest-extended": "4.0.1", + "npm-run-all": "4.1.5", + "rxjs": "7.8.1", + "socket.io": "4.5.4", + "web3": "4.0.3", + "web3-eth-accounts": "4.0.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/cookie": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/pg": { + "version": "8.6.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "pg-protocol": "*", + "pg-types": "^2.2.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/async-mutex": { + "version": "0.4.0", + "license": "MIT", + "dependencies": { + "tslib": "^2.4.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/base64id": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/body-parser": { + "version": "1.19.0", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.7.0", + "raw-body": "2.4.0", + "type-is": "~1.6.17" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/body-parser/node_modules/depd": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/body-parser/node_modules/http-errors": { + "version": "1.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/body-parser/node_modules/inherits": { + "version": "2.0.3", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/body-parser/node_modules/on-finished": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/body-parser/node_modules/qs": { + "version": "6.7.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/body-parser/node_modules/setprototypeof": { + "version": "1.1.1", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/body-parser/node_modules/statuses": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/buffer-writer": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/bytes": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/content-type": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/engine.io": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/engine.io-parser": { + "version": "5.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/express/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/express/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/express/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/express/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/express/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/generate-function": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-property": "^1.0.2" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/generate-object-property": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-property": "^1.0.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/http-errors/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/is-my-ip-valid": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/is-my-json-valid": { + "version": "2.20.6", + "dev": true, + "license": "MIT", + "dependencies": { + "generate-function": "^2.0.0", + "generate-object-property": "^1.1.0", + "is-my-ip-valid": "^1.0.0", + "jsonpointer": "^5.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/is-property": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/jsonpointer": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/packet-reader": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/pg": { + "version": "8.8.0", + "license": "MIT", + "dependencies": { + "buffer-writer": "2.0.0", + "packet-reader": "1.0.0", + "pg-connection-string": "^2.5.0", + "pg-pool": "^3.5.2", + "pg-protocol": "^1.5.0", + "pg-types": "^2.1.0", + "pgpass": "1.x" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "pg-native": ">=3.0.1" + }, + "peerDependenciesMeta": { + "pg-native": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/pg-connection-string": { + "version": "2.5.0", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/pg-int8": { + "version": "1.0.1", + "license": "ISC", + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/pg-pool": { + "version": "3.6.0", + "license": "MIT", + "peerDependencies": { + "pg": ">=8.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/pg-protocol": { + "version": "1.6.0", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/pg-types": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "pg-int8": "1.0.1", + "postgres-array": "~2.0.0", + "postgres-bytea": "~1.0.0", + "postgres-date": "~1.0.4", + "postgres-interval": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/pgpass": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "split2": "^4.1.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/postgres-array": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/postgres-bytea": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/postgres-date": { + "version": "1.0.7", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/postgres-interval": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/raw-body": { + "version": "2.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.0", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/raw-body/node_modules/depd": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/raw-body/node_modules/http-errors": { + "version": "1.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/raw-body/node_modules/inherits": { + "version": "2.0.3", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/raw-body/node_modules/setprototypeof": { + "version": "1.1.1", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/raw-body/node_modules/statuses": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/socket.io": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/socket.io-adapter": { + "version": "2.4.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/socket.io-parser": { + "version": "4.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/toidentifier": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3": { + "version": "4.0.3", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.0.3", + "web3-errors": "^1.0.2", + "web3-eth": "^4.0.3", + "web3-eth-abi": "^4.0.3", + "web3-eth-accounts": "^4.0.3", + "web3-eth-contract": "^4.0.3", + "web3-eth-ens": "^4.0.3", + "web3-eth-iban": "^4.0.3", + "web3-eth-personal": "^4.0.3", + "web3-net": "^4.0.3", + "web3-providers-http": "^4.0.3", + "web3-providers-ws": "^4.0.3", + "web3-rpc-methods": "^1.0.2", + "web3-types": "^1.0.2", + "web3-utils": "^4.0.3", + "web3-validator": "^1.0.2" + }, + "engines": { + "node": ">=14.0.0", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-eth-accounts": { + "version": "4.0.3", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "crc-32": "^1.2.2", + "ethereum-cryptography": "^2.0.0", + "web3-errors": "^1.0.2", + "web3-types": "^1.0.2", + "web3-utils": "^4.0.3", + "web3-validator": "^1.0.2" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-eth-accounts/node_modules/web3-utils": { + "version": "4.3.0", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "eventemitter3": "^5.0.1", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "web3-validator": "^2.0.6" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-eth-accounts/node_modules/web3-utils/node_modules/web3-errors": { + "version": "1.2.0", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.6.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-eth-accounts/node_modules/web3-utils/node_modules/web3-types": { + "version": "1.6.0", + "dev": true, + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-eth-accounts/node_modules/web3-utils/node_modules/web3-validator": { + "version": "2.0.6", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-eth-accounts/node_modules/web3-validator": { + "version": "1.0.2", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "is-my-json-valid": "^2.20.6", + "util": "^0.12.5", + "web3-errors": "^1.0.2", + "web3-types": "^1.0.2" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-utils": { + "version": "4.2.1", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "eventemitter3": "^5.0.1", + "web3-errors": "^1.1.4", + "web3-types": "^1.5.0", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-utils/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-utils/node_modules/web3-types": { + "version": "1.5.0", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-utils/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-validator": { + "version": "2.0.2", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.2", + "web3-types": "^1.2.0", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-validator/node_modules/web3-errors": { + "version": "1.1.2", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.2.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3-validator/node_modules/web3-types": { + "version": "1.2.0", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3/node_modules/web3-eth-accounts": { + "version": "4.0.5", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "crc-32": "^1.2.2", + "ethereum-cryptography": "^2.0.0", + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3/node_modules/web3-eth-accounts/node_modules/web3-validator": { + "version": "2.0.1", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3/node_modules/web3-utils": { + "version": "4.3.0", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "eventemitter3": "^5.0.1", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "web3-validator": "^2.0.6" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3/node_modules/web3-utils/node_modules/web3-errors": { + "version": "1.2.0", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.6.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3/node_modules/web3-utils/node_modules/web3-types": { + "version": "1.6.0", + "dev": true, + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3/node_modules/web3-utils/node_modules/web3-validator": { + "version": "2.0.6", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-ethereum/node_modules/web3/node_modules/web3-validator": { + "version": "1.0.2", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "is-my-json-valid": "^2.20.6", + "util": "^0.12.5", + "web3-errors": "^1.0.2", + "web3-types": "^1.0.2" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-plugin-persistence-fabric": { + "name": "@hyperledger/cactus-plugin-persistence-fabric", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "axios": "1.6.0", + "fabric-protos": "2.2.20", + "js-sha256": "0.9.0", + "pg": "8.8.0", + "safe-stable-stringify": "2.4.3", + "socket.io": "4.5.4" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/express": "4.17.21", + "@types/pg": "8.6.5", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "express": "4.19.2", + "fabric-network": "2.2.20", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/pg": { + "version": "8.6.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "pg-protocol": "*", + "pg-types": "^2.2.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/accepts": { + "version": "1.3.7", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/async": { + "version": "3.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/buffer-writer": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/colors": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/cycle": { + "version": "1.0.3", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/eyes": { + "version": "0.1.8", + "dev": true, + "engines": { + "node": "> 0.1.90" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/fabric-common": { + "version": "2.2.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/fabric-network": { + "version": "2.2.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/ini": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/isstream": { + "version": "0.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/js-sha256": { + "version": "0.9.0", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/js-sha3": { + "version": "0.9.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/jsrsasign": { + "version": "11.0.0", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/nan": { + "version": "2.15.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-persistence-fabric/node_modules/nano": { + "version": "10.1.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/nconf": { + "version": "0.12.0", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/node-abort-controller": { + "version": "3.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/packet-reader": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/pg": { + "version": "8.8.0", + "license": "MIT", + "dependencies": { + "buffer-writer": "2.0.0", + "packet-reader": "1.0.0", + "pg-connection-string": "^2.5.0", + "pg-pool": "^3.5.2", + "pg-protocol": "^1.5.0", + "pg-types": "^2.1.0", + "pgpass": "1.x" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "pg-native": ">=3.0.1" + }, + "peerDependenciesMeta": { + "pg-native": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/pg-connection-string": { + "version": "2.5.0", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/pg-int8": { + "version": "1.0.1", + "license": "ISC", + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/pg-pool": { + "version": "3.6.0", + "license": "MIT", + "peerDependencies": { + "pg": ">=8.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/pg-protocol": { + "version": "1.6.0", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/pg-types": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "pg-int8": "1.0.1", + "postgres-array": "~2.0.0", + "postgres-bytea": "~1.0.0", + "postgres-date": "~1.0.4", + "postgres-interval": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/pgpass": { + "version": "1.0.5", + "license": "MIT", + "dependencies": { + "split2": "^4.1.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/pkcs11js": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/postgres-array": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/postgres-bytea": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/postgres-date": { + "version": "1.0.7", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/postgres-interval": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/promise-settle": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/safe-stable-stringify": { + "version": "2.4.3", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/secure-keys": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/sjcl": { + "version": "1.0.8", + "dev": true, + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/stack-trace": { + "version": "0.0.10", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/winston": { + "version": "2.4.5", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-persistence-fabric/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/y18n": { + "version": "5.0.8", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-persistence-fabric/node_modules/yn": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-satp-hermes": { + "name": "@hyperledger/cactus-plugin-satp-hermes", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-object-store-ipfs": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "axios": "1.6.0", + "crypto-js": "4.2.0", + "fs-extra": "11.1.1", + "knex": "2.4.0", + "secp256k1": "4.0.3", + "socket.io": "4.5.4", + "sqlite3": "5.1.5", + "typescript-optional": "2.0.1", + "uuid": "9.0.1", + "web3": "1.6.1", + "web3-utils": "1.6.1" + }, + "devDependencies": { + "@types/body-parser": "1.19.4", + "@types/crypto-js": "4.0.1", + "@types/express": "4.17.21", + "@types/fs-extra": "11.0.3", + "@types/tape": "4.13.4", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "express": "4.19.2", + "fabric-network": "2.2.20", + "kubo-rpc-client": "3.0.1", + "typescript": "5.3.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@chainsafe/is-ip": { + "version": "2.0.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@chainsafe/netmask": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@fastify/busboy": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@gar/promisify": { + "version": "1.1.3", + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-satp-hermes/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ipld/dag-cbor": { + "version": "9.0.6", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ipld/dag-cbor/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ipld/dag-json": { + "version": "10.1.5", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ipld/dag-json/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ipld/dag-pb": { + "version": "4.0.6", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^12.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@ipld/dag-pb/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/crypto": { + "version": "1.0.17", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-keys": "^1.0.2", + "@libp2p/interfaces": "^3.2.0", + "@noble/ed25519": "^1.6.0", + "@noble/secp256k1": "^1.5.4", + "multiformats": "^11.0.0", + "node-forge": "^1.1.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface": { + "version": "0.1.3", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@multiformats/multiaddr": "^12.1.5", + "abortable-iterator": "^5.0.1", + "it-pushable": "^3.2.0", + "it-stream-types": "^2.0.1", + "multiformats": "^12.0.1", + "p-defer": "^4.0.0", + "race-signal": "^1.0.0", + "uint8arraylist": "^2.4.3" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-connection": { + "version": "4.0.0", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^1.0.4", + "uint8arraylist": "^2.1.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-connection/node_modules/it-stream-types": { + "version": "1.0.5", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-connection/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-keychain": { + "version": "2.0.5", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-keys": { + "version": "1.0.8", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-peer-id": { + "version": "2.0.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-peer-info": { + "version": "1.0.10", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-peer-info/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-peer-info/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface-pubsub": { + "version": "3.0.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-connection": "^4.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "it-pushable": "^3.0.0", + "uint8arraylist": "^2.1.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interface/node_modules/p-defer": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/interfaces": { + "version": "3.3.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/logger": { + "version": "2.1.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.2", + "@multiformats/multiaddr": "^12.1.3", + "debug": "^4.3.4", + "interface-datastore": "^8.2.0", + "multiformats": "^11.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/logger/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/logger/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@multiformats/multiaddr": { + "version": "11.6.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "dns-over-http-resolver": "^2.1.0", + "err-code": "^3.0.1", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@multiformats/multiaddr-to-uri": { + "version": "9.0.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@multiformats/multiaddr-to-uri/node_modules/@multiformats/multiaddr": { + "version": "12.1.7", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interface": "^0.1.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8-varint": "^2.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@multiformats/multiaddr-to-uri/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@multiformats/multiaddr/node_modules/varint": { + "version": "6.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@noble/ed25519": { + "version": "1.7.3", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@npmcli/move-file": { + "version": "1.1.2", + "license": "MIT", + "optional": true, + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/float": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/path": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/crypto-js": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/fs-extra": { + "version": "11.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/jsonfile": "*", + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/jsonfile": { + "version": "6.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/abortable-iterator": { + "version": "5.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/abortable-iterator/node_modules/get-iterator": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/any-signal": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/are-we-there-yet": { + "version": "3.0.0", + "license": "ISC", + "optional": true, + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/async": { + "version": "3.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-plugin-satp-hermes/node_modules/blob-to-it": { + "version": "2.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "browser-readablestream-to-it": "^2.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/browser-readablestream-to-it": { + "version": "2.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-plugin-satp-hermes/node_modules/cborg": { + "version": "4.0.3", + "dev": true, + "license": "Apache-2.0", + "bin": { + "cborg": "lib/bin.js" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/cids/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/colorette": { + "version": "2.0.19", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/colors": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/commander": { + "version": "9.2.0", + "license": "MIT", + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/crypto-js": { + "version": "4.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/cycle": { + "version": "1.0.3", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/dag-jose": { + "version": "4.0.0", + "dev": true, + "license": "(Apache-2.0 OR MIT)", + "dependencies": { + "@ipld/dag-cbor": "^9.0.0", + "multiformats": "^11.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/dns-over-http-resolver": { + "version": "2.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "debug": "^4.3.1", + "native-fetch": "^4.0.2", + "receptacle": "^1.3.2", + "undici": "^5.12.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/dns-over-http-resolver/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/dns-over-http-resolver/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-plugin-satp-hermes/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/electron-fetch": { + "version": "1.7.4", + "dev": true, + "license": "MIT", + "dependencies": { + "encoding": "^0.1.13" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/err-code": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/esm": { + "version": "3.2.25", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-plugin-satp-hermes/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/eyes": { + "version": "0.1.8", + "dev": true, + "engines": { + "node": "> 0.1.90" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/fabric-common": { + "version": "2.2.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/fabric-common/node_modules/js-sha3": { + "version": "0.9.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/fabric-network": { + "version": "2.2.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/fabric-protos": { + "version": "2.2.20", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/fast-fifo": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/fs-extra": { + "version": "11.1.1", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/fs-minipass": { + "version": "2.1.0", + "license": "ISC", + "optional": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/gauge": { + "version": "4.0.4", + "license": "ISC", + "optional": true, + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/get-iterator": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/getopts": { + "version": "2.3.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-plugin-satp-hermes/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/infer-owner": { + "version": "1.0.4", + "license": "ISC", + "optional": true + }, + "packages/cactus-plugin-satp-hermes/node_modules/ini": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/interface-datastore": { + "version": "8.2.5", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "interface-store": "^5.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/interface-store": { + "version": "5.1.4", + "dev": true, + "license": "Apache-2.0 OR MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-core-types": { + "version": "0.14.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@ipld/dag-pb": "^4.0.0", + "@libp2p/interface-keychain": "^2.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-info": "^1.0.2", + "@libp2p/interface-pubsub": "^3.0.0", + "@multiformats/multiaddr": "^11.1.5", + "@types/node": "^18.0.0", + "interface-datastore": "^7.0.0", + "ipfs-unixfs": "^9.0.0", + "multiformats": "^11.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-core-types/node_modules/@types/node": { + "version": "18.18.5", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-core-types/node_modules/interface-datastore": { + "version": "7.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "interface-store": "^3.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-core-types/node_modules/interface-store": { + "version": "3.0.4", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-core-utils": { + "version": "0.18.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/logger": "^2.0.5", + "@multiformats/multiaddr": "^11.1.5", + "@multiformats/multiaddr-to-uri": "^9.0.1", + "any-signal": "^3.0.0", + "blob-to-it": "^2.0.0", + "browser-readablestream-to-it": "^2.0.0", + "err-code": "^3.0.1", + "ipfs-core-types": "^0.14.1", + "ipfs-unixfs": "^9.0.0", + "ipfs-utils": "^9.0.13", + "it-all": "^2.0.0", + "it-map": "^2.0.0", + "it-peekable": "^2.0.0", + "it-to-stream": "^1.0.0", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "nanoid": "^4.0.0", + "parse-duration": "^1.0.0", + "timeout-abort-controller": "^3.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-core-utils/node_modules/it-all": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-unixfs": { + "version": "9.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "err-code": "^3.0.1", + "protobufjs": "^7.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-utils": { + "version": "9.0.14", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "any-signal": "^3.0.0", + "browser-readablestream-to-it": "^1.0.0", + "buffer": "^6.0.1", + "electron-fetch": "^1.7.2", + "err-code": "^3.0.1", + "is-electron": "^2.2.0", + "iso-url": "^1.1.5", + "it-all": "^1.0.4", + "it-glob": "^1.0.1", + "it-to-stream": "^1.0.0", + "merge-options": "^3.0.4", + "nanoid": "^3.1.20", + "native-fetch": "^3.0.0", + "node-fetch": "^2.6.8", + "react-native-fetch-api": "^3.0.0", + "stream-to-it": "^0.2.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-utils/node_modules/browser-readablestream-to-it": { + "version": "1.0.3", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-utils/node_modules/nanoid": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ipfs-utils/node_modules/native-fetch": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "peerDependencies": { + "node-fetch": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/is-electron": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/iso-url": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-all": { + "version": "1.0.6", + "dev": true, + "license": "ISC" + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-first": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-glob": { + "version": "1.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "@types/minimatch": "^3.0.4", + "minimatch": "^3.0.4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-last": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-map": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-peekable": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-pushable": { + "version": "3.2.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "p-defer": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-pushable/node_modules/p-defer": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-stream-types": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/it-to-stream": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "fast-fifo": "^1.0.0", + "get-iterator": "^1.0.2", + "p-defer": "^3.0.0", + "p-fifo": "^1.0.0", + "readable-stream": "^3.6.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-plugin-satp-hermes/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/jsrsasign": { + "version": "11.0.0", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/knex": { + "version": "2.4.0", + "license": "MIT", + "dependencies": { + "colorette": "2.0.19", + "commander": "^9.1.0", + "debug": "4.3.4", + "escalade": "^3.1.1", + "esm": "^3.2.25", + "get-package-type": "^0.1.0", + "getopts": "2.3.0", + "interpret": "^2.2.0", + "lodash": "^4.17.21", + "pg-connection-string": "2.5.0", + "rechoir": "^0.8.0", + "resolve-from": "^5.0.0", + "tarn": "^3.0.2", + "tildify": "2.0.0" + }, + "bin": { + "knex": "bin/cli.js" + }, + "engines": { + "node": ">=12" + }, + "peerDependenciesMeta": { + "better-sqlite3": { + "optional": true + }, + "mysql": { + "optional": true + }, + "mysql2": { + "optional": true + }, + "pg": { + "optional": true + }, + "pg-native": { + "optional": true + }, + "sqlite3": { + "optional": true + }, + "tedious": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/knex/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/knex/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/kubo-rpc-client": { + "version": "3.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-json": "^10.0.0", + "@ipld/dag-pb": "^4.0.0", + "@libp2p/crypto": "^1.0.11", + "@libp2p/logger": "^2.0.5", + "@libp2p/peer-id": "^2.0.0", + "@multiformats/multiaddr": "^11.1.5", + "any-signal": "^3.0.1", + "dag-jose": "^4.0.0", + "err-code": "^3.0.1", + "ipfs-core-utils": "^0.18.0", + "ipfs-utils": "^9.0.7", + "it-first": "^2.0.0", + "it-last": "^2.0.0", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "parse-duration": "^1.0.2", + "stream-to-it": "^0.2.4", + "uint8arrays": "^4.0.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/kubo-rpc-client/node_modules/parse-duration": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/long": { + "version": "5.2.3", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-plugin-satp-hermes/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/merge-options": { + "version": "3.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/multibase/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/multicodec/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/multiformats": { + "version": "11.0.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/multihashes/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/nan": { + "version": "2.15.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-satp-hermes/node_modules/nano": { + "version": "10.1.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/nanoid": { + "version": "4.0.2", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^14 || ^16 || >=18" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/native-fetch": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "peerDependencies": { + "undici": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/nconf": { + "version": "0.12.0", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/node-abort-controller": { + "version": "3.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/node-fetch": { + "version": "2.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/node-forge": { + "version": "1.3.1", + "dev": true, + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/nopt": { + "version": "5.0.0", + "license": "ISC", + "optional": true, + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/npmlog": { + "version": "6.0.2", + "license": "ISC", + "optional": true, + "dependencies": { + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/p-defer": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/p-fifo": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-fifo": "^1.0.0", + "p-defer": "^3.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/parse-duration": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/pg-connection-string": { + "version": "2.5.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/pkcs11js": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/promise-settle": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/protobufjs": { + "version": "7.2.5", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/protons-runtime": { + "version": "5.2.0", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/race-signal": { + "version": "1.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/react-native-fetch-api": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-defer": "^3.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/receptacle": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/rechoir": { + "version": "0.8.0", + "license": "MIT", + "dependencies": { + "resolve": "^1.20.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/retimer": { + "version": "3.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/secure-keys": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-satp-hermes/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sjcl": { + "version": "1.0.8", + "dev": true, + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3": { + "version": "5.1.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@mapbox/node-pre-gyp": "^1.0.0", + "node-addon-api": "^4.2.0", + "tar": "^6.1.11" + }, + "optionalDependencies": { + "node-gyp": "8.x" + }, + "peerDependencies": { + "node-gyp": "8.x" + }, + "peerDependenciesMeta": { + "node-gyp": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/@npmcli/fs": { + "version": "1.1.1", + "license": "ISC", + "optional": true, + "dependencies": { + "@gar/promisify": "^1.0.1", + "semver": "^7.3.5" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/@tootallnate/once": { + "version": "1.1.2", + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/cacache": { + "version": "15.3.0", + "license": "ISC", + "optional": true, + "dependencies": { + "@npmcli/fs": "^1.0.0", + "@npmcli/move-file": "^1.0.1", + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "glob": "^7.1.4", + "infer-owner": "^1.0.4", + "lru-cache": "^6.0.0", + "minipass": "^3.1.1", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.2", + "mkdirp": "^1.0.3", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^8.0.1", + "tar": "^6.0.2", + "unique-filename": "^1.1.1" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/http-proxy-agent": { + "version": "4.0.1", + "license": "MIT", + "optional": true, + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/minipass-fetch": { + "version": "1.4.1", + "license": "MIT", + "optional": true, + "dependencies": { + "minipass": "^3.1.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "optionalDependencies": { + "encoding": "^0.1.12" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/ms": { + "version": "2.1.2", + "license": "MIT", + "optional": true + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/node-addon-api": { + "version": "4.3.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/node-gyp": { + "version": "8.4.1", + "license": "MIT", + "optional": true, + "dependencies": { + "env-paths": "^2.2.0", + "glob": "^7.1.4", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^9.1.0", + "nopt": "^5.0.0", + "npmlog": "^6.0.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": ">= 10.12.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/node-gyp/node_modules/make-fetch-happen": { + "version": "9.1.0", + "license": "ISC", + "optional": true, + "dependencies": { + "agentkeepalive": "^4.1.3", + "cacache": "^15.2.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^6.0.0", + "minipass": "^3.1.3", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^1.3.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.2", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^6.0.0", + "ssri": "^8.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/socks-proxy-agent": { + "version": "6.1.1", + "license": "MIT", + "optional": true, + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.1", + "socks": "^2.6.1" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/ssri": { + "version": "8.0.1", + "license": "ISC", + "optional": true, + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/unique-filename": { + "version": "1.1.1", + "license": "ISC", + "optional": true, + "dependencies": { + "unique-slug": "^2.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sqlite3/node_modules/unique-slug": { + "version": "2.0.2", + "license": "ISC", + "optional": true, + "dependencies": { + "imurmurhash": "^0.1.4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/stack-trace": { + "version": "0.0.10", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/stream-to-it": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "get-iterator": "^1.0.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-plugin-satp-hermes/node_modules/tarn": { + "version": "3.0.2", + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/tildify": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/timeout-abort-controller": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "retimer": "^3.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-plugin-satp-hermes/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-plugin-satp-hermes/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/uint8-varint": { + "version": "2.0.1", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/uint8arraylist": { + "version": "2.4.3", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/uint8arrays": { + "version": "4.0.6", + "dev": true, + "license": "Apache-2.0 OR MIT", + "dependencies": { + "multiformats": "^12.0.1" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.2", + "dev": true, + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/undici": { + "version": "5.26.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/winston": { + "version": "2.4.5", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-plugin-satp-hermes/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/y18n": { + "version": "5.0.8", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-plugin-satp-hermes/node_modules/yn": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-test-api-client": { + "name": "@hyperledger/cactus-test-api-client", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-consortium-manual": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-quorum": "2.0.0-alpha.2", + "jose": "4.15.5", + "uuid": "9.0.1", + "web3": "1.6.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-api-client/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-test-api-client/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-api-client/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-api-client/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-test-api-client/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-test-api-client/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-test-api-client/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-test-api-client/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-test-api-client/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-test-api-client/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-test-api-client/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/body-parser": { + "version": "1.20.0", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.10.3", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-api-client/node_modules/body-parser/node_modules/qs": { + "version": "6.10.3", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-api-client/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-test-api-client/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-test-api-client/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-api-client/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-api-client/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-test-api-client/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-test-api-client/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-test-api-client/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/cookie": { + "version": "0.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-api-client/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-test-api-client/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-api-client/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-api-client/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-api-client/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-test-api-client/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-test-api-client/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-test-api-client/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-test-api-client/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-test-api-client/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-api-client/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-test-api-client/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-test-api-client/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-api-client/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/express": { + "version": "4.18.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-api-client/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-test-api-client/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-test-api-client/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-test-api-client/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-test-api-client/node_modules/fs-extra/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-test-api-client/node_modules/fs-minipass/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/fs-minipass/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-test-api-client/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-test-api-client/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-api-client/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-api-client/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-test-api-client/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-test-api-client/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-api-client/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-api-client/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-api-client/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-api-client/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-api-client/node_modules/jose": { + "version": "4.15.5", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "packages/cactus-test-api-client/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-test-api-client/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-test-api-client/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-test-api-client/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-api-client/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-test-api-client/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-api-client/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-api-client/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-api-client/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-api-client/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-api-client/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-api-client/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-api-client/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/raw-body": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-test-api-client/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-api-client/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-api-client/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-test-api-client/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-api-client/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-api-client/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-api-client/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-api-client/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-test-api-client/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-api-client/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-api-client/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-api-client/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-test-api-client/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-api-client/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-api-client/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-api-client/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-api-client/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-test-api-client/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-api-client/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-test-api-client/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-test-api-client/node_modules/ws/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-test-api-client/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-test-api-client/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-test-api-client/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-test-api-client/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-test-api-client/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-test-cmd-api-server": { + "name": "@hyperledger/cactus-test-cmd-api-server", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-vault": "2.0.0-alpha.2", + "express-jwt-authz": "2.4.1", + "jose": "4.15.5", + "uuid": "9.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/uuid": "9.0.8" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-cmd-api-server/node_modules/express-jwt-authz": { + "version": "2.4.1", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "@types/express": "^4.0.0", + "express": "^4.0.0" + } + }, + "packages/cactus-test-cmd-api-server/node_modules/jose": { + "version": "4.15.5", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "packages/cactus-test-geth-ledger": { + "name": "@hyperledger/cactus-test-geth-ledger", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "dockerode": "3.3.0", + "internal-ip": "6.2.0", + "run-time-error-cjs": "1.4.0", + "web3": "4.0.3", + "web3-eth-accounts": "4.0.3" + }, + "devDependencies": { + "@types/dockerode": "3.2.7" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-geth-ledger/node_modules/@types/docker-modem": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/ssh2": "*" + } + }, + "packages/cactus-test-geth-ledger/node_modules/@types/dockerode": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/docker-modem": "*", + "@types/node": "*" + } + }, + "packages/cactus-test-geth-ledger/node_modules/@types/ssh2": { + "version": "0.5.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/ssh2-streams": "*" + } + }, + "packages/cactus-test-geth-ledger/node_modules/@types/ssh2-streams": { + "version": "0.1.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-geth-ledger/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-test-geth-ledger/node_modules/cpu-features": { + "version": "0.0.2", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "nan": "^2.14.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/default-gateway": { + "version": "6.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-test-geth-ledger/node_modules/docker-modem": { + "version": "3.0.3", + "license": "Apache-2.0", + "dependencies": { + "debug": "^4.1.1", + "readable-stream": "^3.5.0", + "split-ca": "^1.0.1", + "ssh2": "^1.4.0" + }, + "engines": { + "node": ">= 8.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/dockerode": { + "version": "3.3.0", + "license": "Apache-2.0", + "dependencies": { + "docker-modem": "^3.0.0", + "tar-fs": "~2.0.1" + }, + "engines": { + "node": ">= 8.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/fs-constants": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-geth-ledger/node_modules/generate-function": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "is-property": "^1.0.2" + } + }, + "packages/cactus-test-geth-ledger/node_modules/generate-object-property": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "is-property": "^1.0.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/internal-ip": { + "version": "6.2.0", + "license": "MIT", + "dependencies": { + "default-gateway": "^6.0.0", + "ipaddr.js": "^1.9.1", + "is-ip": "^3.1.0", + "p-event": "^4.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/internal-ip?sponsor=1" + } + }, + "packages/cactus-test-geth-ledger/node_modules/ip-regex": { + "version": "4.3.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-test-geth-ledger/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-geth-ledger/node_modules/is-ip": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ip-regex": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-test-geth-ledger/node_modules/is-my-ip-valid": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-geth-ledger/node_modules/is-my-json-valid": { + "version": "2.20.6", + "license": "MIT", + "dependencies": { + "generate-function": "^2.0.0", + "generate-object-property": "^1.1.0", + "is-my-ip-valid": "^1.0.0", + "jsonpointer": "^5.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/is-property": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-geth-ledger/node_modules/jsonpointer": { + "version": "5.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/mkdirp-classic": { + "version": "0.5.3", + "license": "MIT" + }, + "packages/cactus-test-geth-ledger/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "packages/cactus-test-geth-ledger/node_modules/split-ca": { + "version": "1.0.1", + "license": "ISC" + }, + "packages/cactus-test-geth-ledger/node_modules/ssh2": { + "version": "1.6.0", + "hasInstallScript": true, + "dependencies": { + "asn1": "^0.2.4", + "bcrypt-pbkdf": "^1.0.2" + }, + "engines": { + "node": ">=10.16.0" + }, + "optionalDependencies": { + "cpu-features": "0.0.2", + "nan": "^2.15.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/tar-fs": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.0.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/tar-fs/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-test-geth-ledger/node_modules/tar-stream": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-geth-ledger/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-test-geth-ledger/node_modules/web3": { + "version": "4.0.3", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.0.3", + "web3-errors": "^1.0.2", + "web3-eth": "^4.0.3", + "web3-eth-abi": "^4.0.3", + "web3-eth-accounts": "^4.0.3", + "web3-eth-contract": "^4.0.3", + "web3-eth-ens": "^4.0.3", + "web3-eth-iban": "^4.0.3", + "web3-eth-personal": "^4.0.3", + "web3-net": "^4.0.3", + "web3-providers-http": "^4.0.3", + "web3-providers-ws": "^4.0.3", + "web3-rpc-methods": "^1.0.2", + "web3-types": "^1.0.2", + "web3-utils": "^4.0.3", + "web3-validator": "^1.0.2" + }, + "engines": { + "node": ">=14.0.0", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/web3-eth-accounts": { + "version": "4.0.3", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "crc-32": "^1.2.2", + "ethereum-cryptography": "^2.0.0", + "web3-errors": "^1.0.2", + "web3-types": "^1.0.2", + "web3-utils": "^4.0.3", + "web3-validator": "^1.0.2" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/web3-eth-accounts/node_modules/web3-validator": { + "version": "1.0.2", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "is-my-json-valid": "^2.20.6", + "util": "^0.12.5", + "web3-errors": "^1.0.2", + "web3-types": "^1.0.2" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/web3/node_modules/web3-eth-accounts": { + "version": "4.0.5", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "crc-32": "^1.2.2", + "ethereum-cryptography": "^2.0.0", + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "web3-utils": "^4.0.5", + "web3-validator": "^2.0.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/web3/node_modules/web3-eth-accounts/node_modules/web3-validator": { + "version": "2.0.1", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.1", + "web3-types": "^1.1.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-geth-ledger/node_modules/web3/node_modules/web3-validator": { + "version": "1.0.2", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "is-my-json-valid": "^2.20.6", + "util": "^0.12.5", + "web3-errors": "^1.0.2", + "web3-types": "^1.0.2" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-consortium-manual": { + "name": "@hyperledger/cactus-test-plugin-consortium-manual", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-consortium-manual": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "axios": "1.6.0", + "jose": "4.15.5" + }, + "devDependencies": { + "@types/uuid": "9.0.8", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-plugin-consortium-manual/node_modules/jose": { + "version": "4.15.5", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu": { + "name": "@hyperledger/cactus-test-plugin-htlc-eth-besu", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-htlc-eth-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "axios": "1.6.0", + "key-encoder": "2.0.3", + "web3": "1.6.1", + "web3js-quorum": "22.4.0" + }, + "devDependencies": { + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "express": "4.19.2", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20": { + "name": "@hyperledger/cactus-test-plugin-htlc-eth-besu-erc20", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-htlc-eth-besu-erc20": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "axios": "1.6.0", + "express": "4.19.2", + "web3-eth-abi": "4.0.3", + "web3-utils": "4.2.1" + }, + "devDependencies": { + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/uuid": "9.0.8", + "body-parser": "1.20.2", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/web3-errors": { + "version": "1.2.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.6.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/web3-eth-abi": { + "version": "4.0.3", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "web3-errors": "^1.0.2", + "web3-types": "^1.0.2", + "web3-utils": "^4.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/web3-eth-abi/node_modules/web3-utils": { + "version": "4.3.0", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "eventemitter3": "^5.0.1", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "web3-validator": "^2.0.6" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/web3-types": { + "version": "1.6.0", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/web3-utils": { + "version": "4.2.1", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "eventemitter3": "^5.0.1", + "web3-errors": "^1.1.4", + "web3-types": "^1.5.0", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu-erc20/node_modules/web3-validator": { + "version": "2.0.6", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.2.0", + "web3-types": "^1.6.0", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/elliptic": { + "version": "6.4.14", + "license": "MIT", + "dependencies": { + "@types/bn.js": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethereumjs-common": { + "version": "1.5.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethereumjs-tx/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethereumjs-tx/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/fs-extra/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/fs-minipass/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/fs-minipass/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/key-encoder": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "@types/elliptic": "^6.4.9", + "asn1.js": "^5.0.1", + "bn.js": "^4.11.8", + "elliptic": "^6.4.1" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/request-promise-core": { + "version": "1.1.4", + "license": "ISC", + "dependencies": { + "lodash": "^4.17.19" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/request-promise-native": { + "version": "1.0.9", + "license": "ISC", + "dependencies": { + "request-promise-core": "1.1.4", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/stealthy-require": { + "version": "1.1.1", + "license": "ISC", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3js-quorum": { + "version": "22.4.0", + "license": "Apache-2.0", + "dependencies": { + "ethereumjs-tx": "^2.1.2", + "ethereumjs-util": "6.2.1", + "lodash": "^4.17.21", + "request-promise-native": "^1.0.9", + "rlp": "2.2.7" + }, + "peerDependencies": { + "web3": "^1.x" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3js-quorum/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/web3js-quorum/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/ws/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-test-plugin-htlc-eth-besu/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-test-plugin-keychain-memory": { + "name": "@hyperledger/cactus-test-plugin-keychain-memory", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "devDependencies": { + "@connectrpc/connect": "1.4.0", + "@connectrpc/connect-node": "1.4.0", + "@connectrpc/connect-web": "1.4.0", + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "express": "4.19.2", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/@connectrpc/connect-node": { + "version": "1.4.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "undici": "^5.28.3" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "@bufbuild/protobuf": "^1.4.2", + "@connectrpc/connect": "1.4.0" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/@connectrpc/connect-web": { + "version": "1.4.0", + "dev": true, + "license": "Apache-2.0", + "peerDependencies": { + "@bufbuild/protobuf": "^1.4.2", + "@connectrpc/connect": "1.4.0" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/@fastify/busboy": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/accepts": { + "version": "1.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/body-parser": { + "version": "1.20.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/bytes": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/content-disposition": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/content-type": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/cookie": { + "version": "0.6.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/depd": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/destroy": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/express": { + "version": "4.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/finalhandler": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/forwarded": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/http-errors": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/on-finished": { + "version": "2.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/proxy-addr": { + "version": "2.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/qs": { + "version": "6.11.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/raw-body": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/send": { + "version": "0.18.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/send/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/serve-static": { + "version": "1.15.0", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/setprototypeof": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/statuses": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/toidentifier": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/undici": { + "version": "5.28.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-test-plugin-keychain-memory/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu": { + "name": "@hyperledger/cactus-test-plugin-ledger-connector-besu", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "1.10.3", + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@hyperledger/cactus-verifier-client": "2.0.0-alpha.2", + "key-encoder": "2.0.3", + "socket.io": "4.5.4", + "web3": "1.6.1", + "web3js-quorum": "22.4.0" + }, + "devDependencies": { + "@types/express": "4.17.21", + "@types/uuid": "9.0.8", + "axios": "1.6.0", + "express": "4.19.2", + "uuid": "9.0.1", + "web3-core": "1.6.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/elliptic": { + "version": "6.4.14", + "license": "MIT", + "dependencies": { + "@types/bn.js": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethereumjs-common": { + "version": "1.5.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethereumjs-tx/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethereumjs-tx/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/fs-extra/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/key-encoder": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "@types/elliptic": "^6.4.9", + "asn1.js": "^5.0.1", + "bn.js": "^4.11.8", + "elliptic": "^6.4.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/request-promise-core": { + "version": "1.1.4", + "license": "ISC", + "dependencies": { + "lodash": "^4.17.19" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/request-promise-native": { + "version": "1.0.9", + "license": "ISC", + "dependencies": { + "request-promise-core": "1.1.4", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/stealthy-require": { + "version": "1.1.1", + "license": "ISC", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3js-quorum": { + "version": "22.4.0", + "license": "Apache-2.0", + "dependencies": { + "ethereumjs-tx": "^2.1.2", + "ethereumjs-util": "6.2.1", + "lodash": "^4.17.21", + "request-promise-native": "^1.0.9", + "rlp": "2.2.7" + }, + "peerDependencies": { + "web3": "^1.x" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3js-quorum/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/web3js-quorum/node_modules/ethereumjs-util": { + "version": "6.2.1", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-besu/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum": { + "name": "@hyperledger/cactus-test-plugin-ledger-connector-ethereum", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-ethereum": "2.0.0-alpha.2", + "@hyperledger/cactus-verifier-client": "2.0.0-alpha.2", + "web3-eth-contract": "4.2.0" + }, + "devDependencies": { + "@hyperledger/cactus-test-geth-ledger": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/lodash": "4.14.195", + "@types/uuid": "9.0.8", + "lodash": "4.17.21", + "uuid": "9.0.1", + "web3": "4.4.0" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/@types/lodash": { + "version": "4.14.195", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/abitype": { + "version": "0.7.1", + "license": "MIT", + "peerDependencies": { + "typescript": ">=4.9.4", + "zod": "^3 >=3.19.1" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + } + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/cross-fetch": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/node-fetch": { + "version": "2.6.12", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3": { + "version": "4.4.0", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.2", + "web3-errors": "^1.1.4", + "web3-eth": "^4.4.0", + "web3-eth-abi": "^4.2.0", + "web3-eth-accounts": "^4.1.1", + "web3-eth-contract": "^4.2.0", + "web3-eth-ens": "^4.0.8", + "web3-eth-iban": "^4.0.7", + "web3-eth-personal": "^4.0.8", + "web3-net": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-rpc-methods": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14.0.0", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-core": { + "version": "4.3.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.3", + "web3-eth-iban": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + }, + "optionalDependencies": { + "web3-providers-ipc": "^4.0.7" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-errors": { + "version": "1.1.3", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth": { + "version": "4.4.0", + "license": "LGPL-3.0", + "dependencies": { + "setimmediate": "^1.0.5", + "web3-core": "^4.3.2", + "web3-errors": "^1.1.4", + "web3-eth-abi": "^4.2.0", + "web3-eth-accounts": "^4.1.1", + "web3-net": "^4.0.7", + "web3-providers-ws": "^4.0.7", + "web3-rpc-methods": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-abi": { + "version": "4.2.0", + "license": "LGPL-3.0", + "dependencies": { + "abitype": "0.7.1", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-abi/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-abi/node_modules/web3-types": { + "version": "1.3.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-abi/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-accounts": { + "version": "4.1.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "crc-32": "^1.2.2", + "ethereum-cryptography": "^2.0.0", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-accounts/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-accounts/node_modules/web3-types": { + "version": "1.3.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-accounts/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract": { + "version": "4.2.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.2", + "web3-errors": "^1.1.4", + "web3-eth": "^4.4.0", + "web3-eth-abi": "^4.2.0", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract/node_modules/web3-core": { + "version": "4.3.2", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.4", + "web3-eth-accounts": "^4.1.0", + "web3-eth-iban": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + }, + "optionalDependencies": { + "web3-providers-ipc": "^4.0.7" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract/node_modules/web3-types": { + "version": "1.3.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-contract/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-ens": { + "version": "4.0.8", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "@adraffy/ens-normalize": "^1.8.8", + "web3-core": "^4.3.0", + "web3-errors": "^1.1.3", + "web3-eth": "^4.3.1", + "web3-eth-contract": "^4.1.2", + "web3-net": "^4.0.7", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-iban": { + "version": "4.0.7", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth-personal": { + "version": "4.0.8", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.0", + "web3-eth": "^4.3.1", + "web3-rpc-methods": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-core": { + "version": "4.3.2", + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.4", + "web3-eth-accounts": "^4.1.0", + "web3-eth-iban": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + }, + "optionalDependencies": { + "web3-providers-ipc": "^4.0.7" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-errors": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-rpc-methods": { + "version": "1.1.4", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.2", + "web3-types": "^1.3.1", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-types": { + "version": "1.3.1", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-eth/node_modules/web3-validator": { + "version": "2.0.4", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-net": { + "version": "4.0.7", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.0", + "web3-rpc-methods": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-providers-http": { + "version": "4.1.0", + "license": "LGPL-3.0", + "dependencies": { + "cross-fetch": "^4.0.0", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-providers-ipc": { + "version": "4.0.7", + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-providers-ws": { + "version": "4.0.7", + "license": "LGPL-3.0", + "dependencies": { + "@types/ws": "8.5.3", + "isomorphic-ws": "^5.0.0", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", + "ws": "^8.8.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-rpc-methods": { + "version": "1.1.3", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.0", + "web3-types": "^1.3.0", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-types": { + "version": "1.3.0", + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3-validator": { + "version": "2.0.3", + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-core": { + "version": "4.3.2", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-errors": "^1.1.4", + "web3-eth-accounts": "^4.1.0", + "web3-eth-iban": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + }, + "optionalDependencies": { + "web3-providers-ipc": "^4.0.7" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-errors": { + "version": "1.1.4", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-types": "^1.3.1" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-rpc-methods": { + "version": "1.1.4", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "^4.3.2", + "web3-types": "^1.3.1", + "web3-validator": "^2.0.3" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-types": { + "version": "1.3.1", + "dev": true, + "license": "LGPL-3.0", + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-ethereum/node_modules/web3/node_modules/web3-validator": { + "version": "2.0.4", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "util": "^0.12.5", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "zod": "^3.21.4" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum": { + "name": "@hyperledger/cactus-test-plugin-ledger-connector-quorum", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-cmd-api-server": "2.0.0-alpha.2", + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-keychain-memory": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-quorum": "2.0.0-alpha.2", + "@hyperledger/cactus-verifier-client": "2.0.0-alpha.2", + "web3": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-utils": "1.6.1" + }, + "devDependencies": { + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@types/convict": "6.1.1", + "@types/lodash": "4.14.195", + "@types/uuid": "9.0.8", + "convict": "6.2.4", + "lodash": "4.17.21", + "uuid": "9.0.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@types/convict": { + "version": "6.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@types/lodash": { + "version": "4.14.195", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/body-parser": { + "version": "1.20.0", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.10.3", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/body-parser/node_modules/qs": { + "version": "6.10.3", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/convict": { + "version": "6.2.4", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lodash.clonedeep": "^4.5.0", + "yargs-parser": "^20.2.7" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/cookie": { + "version": "0.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/express": { + "version": "4.18.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/fs-extra/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/lodash.clonedeep": { + "version": "4.5.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/raw-body": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/ws/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-test-plugin-ledger-connector-quorum/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-test-tooling": { + "name": "@hyperledger/cactus-test-tooling", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "axios": "1.6.0", + "compare-versions": "3.6.0", + "dockerode": "3.3.0", + "elliptic": "6.5.4", + "execa": "5.1.1", + "fabric-ca-client": "2.5.0-snapshot.23", + "fabric-network": "2.5.0-snapshot.23", + "fs-extra": "10.1.0", + "internal-ip": "6.2.0", + "is-port-reachable": "3.0.0", + "joi": "17.9.1", + "js-yaml": "4.1.0", + "keycloak-admin": "1.14.22", + "lodash": "4.17.21", + "node-forge": "1.3.0", + "node-ssh": "13.1.0", + "p-retry": "4.6.1", + "run-time-error-cjs": "1.4.0", + "socket.io": "4.5.4", + "socket.io-client-fixed-types": "4.5.4", + "tar-stream": "2.2.0", + "temp": "0.9.4", + "typescript-optional": "2.0.1", + "uuid": "9.0.1", + "web3": "1.6.1", + "web3-core": "1.6.1", + "web3-utils": "1.6.1" + }, + "devDependencies": { + "@aries-framework/askar": "0.5.0-alpha.58", + "@aries-framework/core": "0.5.0-alpha.58", + "@aries-framework/indy-vdr": "0.5.0-alpha.58", + "@aries-framework/node": "0.5.0-alpha.58", + "@hyperledger/aries-askar-nodejs": "0.2.0", + "@hyperledger/indy-vdr-nodejs": "0.2.0", + "@types/dockerode": "3.2.7", + "@types/esm": "3.2.0", + "@types/fs-extra": "9.0.13", + "@types/js-yaml": "4.0.3", + "@types/lodash": "4.14.172", + "@types/node": "18.11.9", + "@types/node-forge": "1.3.0", + "@types/ssh2": "0.5.47", + "@types/ssh2-streams": "0.1.9", + "@types/tar-stream": "2.2.1", + "@types/temp": "0.9.1", + "esm": "3.2.25", + "temp": "0.9.4" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-tooling/node_modules/@2060.io/ffi-napi": { + "version": "4.0.8", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@2060.io/ref-napi": "^3.0.6", + "debug": "^4.1.1", + "get-uv-event-loop-napi-h": "^1.0.5", + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.1", + "ref-struct-di": "^1.1.0" + }, + "engines": { + "node": ">=18" + } + }, + "packages/cactus-test-tooling/node_modules/@2060.io/ffi-napi/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/@2060.io/ffi-napi/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@2060.io/ffi-napi/node_modules/node-gyp-build": { + "version": "4.6.1", + "dev": true, + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "packages/cactus-test-tooling/node_modules/@2060.io/ref-napi": { + "version": "3.0.6", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.1", + "get-symbol-from-current-process-h": "^1.0.2", + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.1" + }, + "engines": { + "node": ">= 18.0" + } + }, + "packages/cactus-test-tooling/node_modules/@2060.io/ref-napi/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/@2060.io/ref-napi/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@2060.io/ref-napi/node_modules/node-gyp-build": { + "version": "4.6.1", + "dev": true, + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "packages/cactus-test-tooling/node_modules/@aries-framework/anoncreds": { + "version": "0.5.0-alpha.58+17854790", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/core": "0.5.0-alpha.58+17854790", + "bn.js": "^5.2.1", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "reflect-metadata": "^0.1.13" + } + }, + "packages/cactus-test-tooling/node_modules/@aries-framework/anoncreds/node_modules/bn.js": { + "version": "5.2.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@aries-framework/askar": { + "version": "0.5.0-alpha.58+17854790", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/core": "0.5.0-alpha.58+17854790", + "bn.js": "^5.2.1", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "rxjs": "^7.2.0", + "tsyringe": "^4.8.0" + }, + "peerDependencies": { + "@hyperledger/aries-askar-shared": "^0.2.0-dev.1" + } + }, + "packages/cactus-test-tooling/node_modules/@aries-framework/askar/node_modules/bn.js": { + "version": "5.2.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@aries-framework/core": { + "version": "0.5.0-alpha.58+17854790", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@digitalcredentials/jsonld": "^5.2.1", + "@digitalcredentials/jsonld-signatures": "^9.3.1", + "@digitalcredentials/vc": "^1.1.2", + "@multiformats/base-x": "^4.0.1", + "@stablelib/ed25519": "^1.0.2", + "@stablelib/random": "^1.0.1", + "@stablelib/sha256": "^1.0.1", + "@types/node-fetch": "2.6.2", + "@types/ws": "^8.5.4", + "abort-controller": "^3.0.0", + "big-integer": "^1.6.51", + "borc": "^3.0.0", + "buffer": "^6.0.3", + "class-transformer": "0.5.1", + "class-validator": "0.14.0", + "did-resolver": "^4.1.0", + "lru_map": "^0.4.1", + "luxon": "^3.3.0", + "make-error": "^1.3.6", + "object-inspect": "^1.10.3", + "query-string": "^7.0.1", + "reflect-metadata": "^0.1.13", + "rxjs": "^7.2.0", + "tsyringe": "^4.8.0", + "uuid": "^9.0.0", + "varint": "^6.0.0", + "web-did-resolver": "^2.0.21" + } + }, + "packages/cactus-test-tooling/node_modules/@aries-framework/core/node_modules/varint": { + "version": "6.0.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@aries-framework/indy-vdr": { + "version": "0.5.0-alpha.58+17854790", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@aries-framework/anoncreds": "0.5.0-alpha.58+17854790", + "@aries-framework/core": "0.5.0-alpha.58+17854790" + }, + "peerDependencies": { + "@hyperledger/indy-vdr-shared": "^0.2.0-dev.3" + } + }, + "packages/cactus-test-tooling/node_modules/@aries-framework/node": { + "version": "0.5.0-alpha.58+17854790", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "^4.0.8", + "@2060.io/ref-napi": "^3.0.6", + "@aries-framework/core": "0.5.0-alpha.58+17854790", + "@types/express": "^4.17.15", + "express": "^4.17.1", + "node-fetch": "^2.6.1", + "ws": "^8.13.0" + } + }, + "packages/cactus-test-tooling/node_modules/@digitalbazaar/security-context": { + "version": "1.0.1", + "dev": true, + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@digitalcredentials/http-client": { + "version": "1.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ky": "^0.25.1", + "ky-universal": "^0.8.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/@digitalcredentials/jsonld": { + "version": "5.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@digitalcredentials/http-client": "^1.0.0", + "@digitalcredentials/rdf-canonize": "^1.0.0", + "canonicalize": "^1.0.1", + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-test-tooling/node_modules/@digitalcredentials/jsonld-signatures": { + "version": "9.3.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@digitalbazaar/security-context": "^1.0.0", + "@digitalcredentials/jsonld": "^6.0.0", + "fast-text-encoding": "^1.0.3", + "isomorphic-webcrypto": "^2.3.8", + "serialize-error": "^8.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-test-tooling/node_modules/@digitalcredentials/jsonld-signatures/node_modules/@digitalcredentials/jsonld": { + "version": "6.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@digitalcredentials/http-client": "^1.0.0", + "@digitalcredentials/rdf-canonize": "^1.0.0", + "canonicalize": "^1.0.1", + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-test-tooling/node_modules/@digitalcredentials/rdf-canonize": { + "version": "1.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "fast-text-encoding": "^1.0.3", + "isomorphic-webcrypto": "^2.3.8" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-test-tooling/node_modules/@digitalcredentials/vc": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@digitalcredentials/jsonld": "^5.2.1", + "@digitalcredentials/jsonld-signatures": "^9.3.1", + "credentials-context": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "packages/cactus-test-tooling/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-test-tooling/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-tooling/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-tooling/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-test-tooling/node_modules/@grpc/grpc-js": { + "version": "1.7.3", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.0", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/@grpc/proto-loader": { + "version": "0.7.7", + "license": "Apache-2.0", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.0.0", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-tooling/node_modules/@hapi/hoek": { + "version": "9.2.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@hapi/topo": { + "version": "5.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/@hyperledger/aries-askar-nodejs": { + "version": "0.2.0", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "4.0.8", + "@2060.io/ref-napi": "3.0.6", + "@hyperledger/aries-askar-shared": "0.2.0", + "@mapbox/node-pre-gyp": "^1.0.10", + "node-cache": "^5.1.2", + "ref-array-di": "^1.2.2", + "ref-struct-di": "^1.1.1" + }, + "engines": { + "node": ">= 18" + } + }, + "packages/cactus-test-tooling/node_modules/@hyperledger/aries-askar-shared": { + "version": "0.2.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "buffer": "^6.0.3" + } + }, + "packages/cactus-test-tooling/node_modules/@hyperledger/indy-vdr-nodejs": { + "version": "0.2.0", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@2060.io/ffi-napi": "4.0.8", + "@2060.io/ref-napi": "3.0.6", + "@hyperledger/indy-vdr-shared": "0.2.0", + "@mapbox/node-pre-gyp": "^1.0.10", + "ref-array-di": "^1.2.2", + "ref-struct-di": "^1.1.1" + }, + "engines": { + "node": ">= 18" + } + }, + "packages/cactus-test-tooling/node_modules/@hyperledger/indy-vdr-shared": { + "version": "0.2.0", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-test-tooling/node_modules/@multiformats/base-x": { + "version": "4.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@peculiar/asn1-schema": { + "version": "2.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "asn1js": "^3.0.5", + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" + } + }, + "packages/cactus-test-tooling/node_modules/@peculiar/json-schema": { + "version": "1.1.12", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/@peculiar/webcrypto": { + "version": "1.4.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/json-schema": "^1.1.12", + "pvtsutils": "^1.3.2", + "tslib": "^2.5.0", + "webcrypto-core": "^1.7.7" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@sideway/address": { + "version": "4.1.4", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/@sideway/formula": { + "version": "3.0.1", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@sideway/pinpoint": { + "version": "2.0.0", + "license": "BSD-3-Clause" + }, + "packages/cactus-test-tooling/node_modules/@socket.io/base64-arraybuffer": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "packages/cactus-test-tooling/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@sovpro/delimited-stream": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-test-tooling/node_modules/@stablelib/binary": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/int": "^1.0.1" + } + }, + "packages/cactus-test-tooling/node_modules/@stablelib/ed25519": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/random": "^1.0.2", + "@stablelib/sha512": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "packages/cactus-test-tooling/node_modules/@stablelib/hash": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@stablelib/int": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@stablelib/random": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "packages/cactus-test-tooling/node_modules/@stablelib/sha256": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/hash": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "packages/cactus-test-tooling/node_modules/@stablelib/sha512": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/hash": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "packages/cactus-test-tooling/node_modules/@stablelib/wipe": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/docker-modem": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/ssh2": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/docker-modem/node_modules/@types/ssh2": { + "version": "0.5.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/ssh2-streams": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/dockerode": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/docker-modem": "*", + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/esm": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/express": { + "version": "4.17.20", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/js-yaml": { + "version": "4.0.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/lodash": { + "version": "4.14.172", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/long": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/node-fetch": { + "version": "2.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "form-data": "^3.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/@types/node-fetch/node_modules/form-data": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-test-tooling/node_modules/@types/node-forge": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/retry": { + "version": "0.12.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/ssh2": { + "version": "0.5.47", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/ssh2-streams": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/ssh2-streams": { + "version": "0.1.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/tar-stream": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/temp": { + "version": "0.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@types/validator": { + "version": "13.11.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/@types/ws": { + "version": "8.5.8", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/@unimodules/core": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "expo-modules-core": "~0.4.0" + } + }, + "packages/cactus-test-tooling/node_modules/@unimodules/react-native-adapter": { + "version": "6.5.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "expo-modules-autolinking": "^0.3.2", + "expo-modules-core": "~0.4.0" + } + }, + "packages/cactus-test-tooling/node_modules/accepts": { + "version": "1.3.7", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/accepts/node_modules/negotiator": { + "version": "0.6.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-test-tooling/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/array-index": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^2.2.0", + "es6-symbol": "^3.0.2" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/asmcrypto.js": { + "version": "0.22.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/asn1js": { + "version": "3.0.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "pvtsutils": "^1.3.2", + "pvutils": "^1.1.3", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-test-tooling/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/at-least-node": { + "version": "1.0.0", + "dev": true, + "license": "ISC", + "optional": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/axios": { + "version": "1.5.1", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/b64-lite": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "base-64": "^0.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/b64u-lite": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "b64-lite": "^1.4.0" + } + }, + "packages/cactus-test-tooling/node_modules/base-64": { + "version": "0.1.0", + "dev": true + }, + "packages/cactus-test-tooling/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-test-tooling/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-test-tooling/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-test-tooling/node_modules/big-integer": { + "version": "1.6.51", + "dev": true, + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-tooling/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-test-tooling/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/body-parser": { + "version": "1.20.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-tooling/node_modules/borc": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.0", + "buffer": "^6.0.3", + "commander": "^2.15.0", + "ieee754": "^1.1.13", + "iso-url": "^1.1.5", + "json-text-sequence": "~0.3.0", + "readable-stream": "^3.6.0" + }, + "bin": { + "cbor2comment": "bin/cbor2comment.js", + "cbor2diag": "bin/cbor2diag.js", + "cbor2json": "bin/cbor2json.js", + "json2cbor": "bin/json2cbor.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-tooling/node_modules/borc/node_modules/commander": { + "version": "2.20.3", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-test-tooling/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-test-tooling/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-tooling/node_modules/buildcheck": { + "version": "0.0.6", + "optional": true, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/camelize": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/canonicalize": { + "version": "1.0.8", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-test-tooling/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-test-tooling/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-test-tooling/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/cids/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-tooling/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/class-transformer": { + "version": "0.5.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/class-validator": { + "version": "0.14.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/validator": "^13.7.10", + "libphonenumber-js": "^1.10.14", + "validator": "^13.7.0" + } + }, + "packages/cactus-test-tooling/node_modules/clone": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-test-tooling/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "packages/cactus-test-tooling/node_modules/commander": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-test-tooling/node_modules/compare-versions": { + "version": "3.6.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-test-tooling/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/cookie": { + "version": "0.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-tooling/node_modules/cpu-features": { + "version": "0.0.2", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "nan": "^2.14.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/credentials-context": { + "version": "2.0.0", + "dev": true, + "license": "SEE LICENSE IN LICENSE.md" + }, + "packages/cactus-test-tooling/node_modules/cross-fetch": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "packages/cactus-test-tooling/node_modules/cross-fetch/node_modules/node-fetch": { + "version": "2.6.12", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-test-tooling/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-test-tooling/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-tooling/node_modules/data-uri-to-buffer": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-test-tooling/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-tooling/node_modules/default-gateway": { + "version": "6.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-test-tooling/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-tooling/node_modules/did-resolver": { + "version": "4.1.0", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-test-tooling/node_modules/docker-modem": { + "version": "3.0.3", + "license": "Apache-2.0", + "dependencies": { + "debug": "^4.1.1", + "readable-stream": "^3.5.0", + "split-ca": "^1.0.1", + "ssh2": "^1.4.0" + }, + "engines": { + "node": ">= 8.0" + } + }, + "packages/cactus-test-tooling/node_modules/docker-modem/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/docker-modem/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/dockerode": { + "version": "3.3.0", + "license": "Apache-2.0", + "dependencies": { + "docker-modem": "^3.0.0", + "tar-fs": "~2.0.1" + }, + "engines": { + "node": ">= 8.0" + } + }, + "packages/cactus-test-tooling/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-test-tooling/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-test-tooling/node_modules/engine.io-client": { + "version": "6.2.3", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.2.3", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/engine.io-client/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/engine.io-client/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/engine.io-client/node_modules/ws": { + "version": "8.2.3", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/engine.io-parser": { + "version": "5.0.3", + "license": "MIT", + "dependencies": { + "@socket.io/base64-arraybuffer": "~1.0.2" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/engine.io/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-test-tooling/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-test-tooling/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/esm": { + "version": "3.2.25", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-tooling/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-test-tooling/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-tooling/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-test-tooling/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-test-tooling/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-tooling/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/expo-modules-autolinking": { + "version": "0.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "chalk": "^4.1.0", + "commander": "^7.2.0", + "fast-glob": "^3.2.5", + "find-up": "~5.0.0", + "fs-extra": "^9.1.0" + }, + "bin": { + "expo-modules-autolinking": "bin/expo-modules-autolinking.js" + } + }, + "packages/cactus-test-tooling/node_modules/expo-modules-autolinking/node_modules/fs-extra": { + "version": "9.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-test-tooling/node_modules/expo-modules-core": { + "version": "0.4.10", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "compare-versions": "^3.4.0", + "invariant": "^2.2.4" + } + }, + "packages/cactus-test-tooling/node_modules/expo-random": { + "version": "13.5.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.0" + }, + "peerDependencies": { + "expo": "*" + } + }, + "packages/cactus-test-tooling/node_modules/express": { + "version": "4.18.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/express/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-test-tooling/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-test-tooling/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "packages/cactus-test-tooling/node_modules/fabric-ca-client": { + "version": "2.5.0-snapshot.23", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.5.0-snapshot.23", + "jsrsasign": "^10.5.25", + "url": "^0.11.0", + "winston": "^2.4.5" + }, + "engines": { + "node": ">=14.15.0" + } + }, + "packages/cactus-test-tooling/node_modules/fabric-common": { + "version": "2.5.0-snapshot.23", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.5.0-snapshot.23", + "js-sha3": "^0.8.0", + "jsrsasign": "^10.5.25", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=14.15.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.0.6" + } + }, + "packages/cactus-test-tooling/node_modules/fabric-network": { + "version": "2.5.0-snapshot.23", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.5.0-snapshot.23", + "fabric-protos": "2.5.0-snapshot.23", + "nano": "^10.0.0" + }, + "engines": { + "node": ">=14.15.0" + } + }, + "packages/cactus-test-tooling/node_modules/fabric-protos": { + "version": "2.5.0-snapshot.23", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.7.3", + "@grpc/proto-loader": "^0.7.0", + "protobufjs": "^7.0.0" + }, + "engines": { + "node": ">=14.15.0" + } + }, + "packages/cactus-test-tooling/node_modules/fast-glob": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "packages/cactus-test-tooling/node_modules/fast-text-encoding": { + "version": "1.0.6", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-test-tooling/node_modules/fetch-blob": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "^10.17.0 || >=12.3.0" + }, + "peerDependenciesMeta": { + "domexception": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/filter-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/fs-constants": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/get-symbol-from-current-process-h": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/get-uv-event-loop-napi-h": { + "version": "1.0.6", + "dev": true, + "license": "MIT", + "dependencies": { + "get-symbol-from-current-process-h": "^1.0.1" + } + }, + "packages/cactus-test-tooling/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-test-tooling/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-tooling/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-tooling/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-test-tooling/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-test-tooling/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-tooling/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-test-tooling/node_modules/internal-ip": { + "version": "6.2.0", + "license": "MIT", + "dependencies": { + "default-gateway": "^6.0.0", + "ipaddr.js": "^1.9.1", + "is-ip": "^3.1.0", + "p-event": "^4.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/internal-ip?sponsor=1" + } + }, + "packages/cactus-test-tooling/node_modules/invariant": { + "version": "2.2.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/ip-regex": { + "version": "4.3.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-test-tooling/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-tooling/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-tooling/node_modules/is-ip": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "ip-regex": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-test-tooling/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-tooling/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/is-port-reachable": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cactus-test-tooling/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/iso-url": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "packages/cactus-test-tooling/node_modules/isomorphic-webcrypto": { + "version": "2.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/webcrypto": "^1.0.22", + "asmcrypto.js": "^0.22.0", + "b64-lite": "^1.3.1", + "b64u-lite": "^1.0.1", + "msrcrypto": "^1.5.6", + "str2buf": "^1.3.0", + "webcrypto-shim": "^0.1.4" + }, + "optionalDependencies": { + "@unimodules/core": "*", + "@unimodules/react-native-adapter": "*", + "expo-random": "*", + "react-native-securerandom": "^0.1.1" + } + }, + "packages/cactus-test-tooling/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-tooling/node_modules/joi": { + "version": "17.9.1", + "license": "BSD-3-Clause", + "dependencies": { + "@hapi/hoek": "^9.0.0", + "@hapi/topo": "^5.0.0", + "@sideway/address": "^4.1.3", + "@sideway/formula": "^3.0.1", + "@sideway/pinpoint": "^2.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/js-sha256": { + "version": "0.9.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-test-tooling/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/json-text-sequence": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@sovpro/delimited-stream": "^1.1.0" + }, + "engines": { + "node": ">=10.18.0" + } + }, + "packages/cactus-test-tooling/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-test-tooling/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "packages/cactus-test-tooling/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/keccak/node_modules/node-addon-api": { + "version": "2.0.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/keycloak-admin": { + "version": "1.14.22", + "license": "Apache-2.0", + "dependencies": { + "axios": "^0.21.0", + "camelize": "^1.0.0", + "keycloak-js": "^11.0.3", + "lodash": "^4.17.21", + "query-string": "^6.13.7", + "url-join": "^4.0.0", + "url-template": "^2.0.8" + } + }, + "packages/cactus-test-tooling/node_modules/keycloak-admin/node_modules/query-string": { + "version": "6.14.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "filter-obj": "^1.1.0", + "split-on-first": "^1.0.0", + "strict-uri-encode": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-test-tooling/node_modules/keycloak-js": { + "version": "11.0.3", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "1.3.1", + "js-sha256": "0.9.0" + } + }, + "packages/cactus-test-tooling/node_modules/keycloak-js/node_modules/base64-js": { + "version": "1.3.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/ky": { + "version": "0.25.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky?sponsor=1" + } + }, + "packages/cactus-test-tooling/node_modules/ky-universal": { + "version": "0.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abort-controller": "^3.0.0", + "node-fetch": "3.0.0-beta.9" + }, + "engines": { + "node": ">=10.17" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky-universal?sponsor=1" + }, + "peerDependencies": { + "ky": ">=0.17.0", + "web-streams-polyfill": ">=2.0.0" + }, + "peerDependenciesMeta": { + "web-streams-polyfill": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/ky-universal/node_modules/node-fetch": { + "version": "3.0.0-beta.9", + "dev": true, + "license": "MIT", + "dependencies": { + "data-uri-to-buffer": "^3.0.1", + "fetch-blob": "^2.1.1" + }, + "engines": { + "node": "^10.17 || >=12.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, + "packages/cactus-test-tooling/node_modules/libphonenumber-js": { + "version": "1.10.49", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/long": { + "version": "4.0.0", + "license": "Apache-2.0" + }, + "packages/cactus-test-tooling/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/lru_map": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/luxon": { + "version": "3.4.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "packages/cactus-test-tooling/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-tooling/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/mkdirp-classic": { + "version": "0.5.3", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-tooling/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/msrcrypto": { + "version": "1.5.8", + "dev": true, + "license": "Apache-2.0" + }, + "packages/cactus-test-tooling/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-tooling/node_modules/multibase/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-tooling/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/multicodec/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-tooling/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/multihashes/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-tooling/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-tooling/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "packages/cactus-test-tooling/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "packages/cactus-test-tooling/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-tooling/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-test-tooling/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "packages/cactus-test-tooling/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/node-addon-api": { + "version": "3.2.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/node-cache": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "clone": "2.x" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/node-forge": { + "version": "1.3.1", + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "packages/cactus-test-tooling/node_modules/node-ssh": { + "version": "13.1.0", + "license": "MIT", + "dependencies": { + "@types/ssh2": "^1.11.9", + "is-stream": "^2.0.0", + "make-dir": "^3.1.0", + "sb-promise-queue": "^2.1.0", + "sb-scandir": "^3.1.0", + "shell-escape": "^0.2.0", + "ssh2": "^1.11.0" + }, + "engines": { + "node": ">= 10" + } + }, + "packages/cactus-test-tooling/node_modules/node-ssh/node_modules/@types/node": { + "version": "18.17.4", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/node-ssh/node_modules/@types/ssh2": { + "version": "1.11.13", + "license": "MIT", + "dependencies": { + "@types/node": "^18.11.18" + } + }, + "packages/cactus-test-tooling/node_modules/node-ssh/node_modules/cpu-features": { + "version": "0.0.8", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "buildcheck": "~0.0.6", + "nan": "^2.17.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/node-ssh/node_modules/nan": { + "version": "2.17.0", + "license": "MIT", + "optional": true + }, + "packages/cactus-test-tooling/node_modules/node-ssh/node_modules/ssh2": { + "version": "1.14.0", + "hasInstallScript": true, + "dependencies": { + "asn1": "^0.2.6", + "bcrypt-pbkdf": "^1.0.2" + }, + "engines": { + "node": ">=10.16.0" + }, + "optionalDependencies": { + "cpu-features": "~0.0.8", + "nan": "^2.17.0" + } + }, + "packages/cactus-test-tooling/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-tooling/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/object-inspect": { + "version": "1.13.1", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-tooling/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/p-retry": { + "version": "4.6.1", + "license": "MIT", + "dependencies": { + "@types/retry": "^0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "packages/cactus-test-tooling/node_modules/p-retry/node_modules/retry": { + "version": "0.13.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-tooling/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/pkcs11js": { + "version": "1.3.0", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "packages/cactus-test-tooling/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/protobufjs/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "packages/cactus-test-tooling/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-tooling/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/pvtsutils": { + "version": "1.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.6.1" + } + }, + "packages/cactus-test-tooling/node_modules/pvutils": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-tooling/node_modules/query-string": { + "version": "7.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.2", + "filter-obj": "^1.1.0", + "split-on-first": "^1.0.0", + "strict-uri-encode": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-test-tooling/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/raw-body": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/react-native-securerandom": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "*" + }, + "peerDependencies": { + "react-native": "*" + } + }, + "packages/cactus-test-tooling/node_modules/ref-array-di": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "array-index": "^1.0.0", + "debug": "^3.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/ref-array-di/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "packages/cactus-test-tooling/node_modules/ref-struct-di": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^3.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/ref-struct-di/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "packages/cactus-test-tooling/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-test-tooling/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-test-tooling/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-tooling/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-tooling/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-test-tooling/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/sb-promise-queue": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-test-tooling/node_modules/sb-scandir": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "sb-promise-queue": "^2.1.0" + }, + "engines": { + "node": ">= 8" + } + }, + "packages/cactus-test-tooling/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-tooling/node_modules/serialize-error": { + "version": "8.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-test-tooling/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-tooling/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-tooling/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-tooling/node_modules/shell-escape": { + "version": "0.2.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/socket.io-client-fixed-types": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.2.3", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/socket.io-client-fixed-types/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/socket.io-client-fixed-types/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/split-ca": { + "version": "1.0.1", + "license": "ISC" + }, + "packages/cactus-test-tooling/node_modules/split-on-first": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-tooling/node_modules/ssh2": { + "version": "1.6.0", + "hasInstallScript": true, + "dependencies": { + "asn1": "^0.2.4", + "bcrypt-pbkdf": "^1.0.2" + }, + "engines": { + "node": ">=10.16.0" + }, + "optionalDependencies": { + "cpu-features": "0.0.2", + "nan": "^2.15.0" + } + }, + "packages/cactus-test-tooling/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/str2buf": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/strict-uri-encode": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-tooling/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-test-tooling/node_modules/tar-fs": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/tar-stream": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-tooling/node_modules/temp": { + "version": "0.9.4", + "dev": true, + "license": "MIT", + "dependencies": { + "mkdirp": "^0.5.1", + "rimraf": "~2.6.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/temp/node_modules/mkdirp": { + "version": "0.5.6", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-test-tooling/node_modules/temp/node_modules/rimraf": { + "version": "2.6.3", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "packages/cactus-test-tooling/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-tooling/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-tooling/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/tsyringe": { + "version": "4.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^1.9.3" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/tsyringe/node_modules/tslib": { + "version": "1.14.1", + "dev": true, + "license": "0BSD" + }, + "packages/cactus-test-tooling/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-test-tooling/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-tooling/node_modules/type-fest": { + "version": "0.20.2", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cactus-test-tooling/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-tooling/node_modules/typescript-optional": { + "version": "2.0.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/url-join": { + "version": "4.0.1", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/url-template": { + "version": "2.0.8", + "license": "BSD" + }, + "packages/cactus-test-tooling/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-tooling/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-tooling/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-test-tooling/node_modules/validator": { + "version": "13.11.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-tooling/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-tooling/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-test-tooling/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/web-did-resolver": { + "version": "2.0.27", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "cross-fetch": "^4.0.0", + "did-resolver": "^4.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.6.1", + "web3-core": "1.6.1", + "web3-eth": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-shh": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-bzz": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/web3-core": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-requestmanager": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-core-helpers": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-core-method": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-core-promievent": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-core-requestmanager": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.6.1", + "web3-providers-http": "1.6.1", + "web3-providers-ipc": "1.6.1", + "web3-providers-ws": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-core-subscriptions": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/web3-eth": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-accounts": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-eth-ens": "1.6.1", + "web3-eth-iban": "1.6.1", + "web3-eth-personal": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-abi": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-accounts": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-contract": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-ens": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-promievent": "1.6.1", + "web3-eth-abi": "1.6.1", + "web3-eth-contract": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-iban": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-personal": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.6.1", + "web3-core-helpers": "1.6.1", + "web3-core-method": "1.6.1", + "web3-net": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/web3-net": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-utils": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-providers-http": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.6.1", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-providers-ipc": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-providers-ws": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.6.1", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-shh": { + "version": "1.6.1", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.6.1", + "web3-core-method": "1.6.1", + "web3-core-subscriptions": "1.6.1", + "web3-net": "1.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/web3-utils": { + "version": "1.6.1", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/webcrypto-core": { + "version": "1.7.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/json-schema": "^1.1.12", + "asn1js": "^3.0.1", + "pvtsutils": "^1.3.2", + "tslib": "^2.4.0" + } + }, + "packages/cactus-test-tooling/node_modules/webcrypto-shim": { + "version": "0.1.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-tooling/node_modules/ws": { + "version": "8.14.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-test-tooling/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-test-tooling/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-test-tooling/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-test-tooling/node_modules/xhr-request/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/xhr-request/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-tooling/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-test-tooling/node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "engines": { + "node": ">=0.4.0" + } + }, + "packages/cactus-test-tooling/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-test-tooling/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-test-tooling/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/cactus-test-verifier-client": { + "name": "@hyperledger/cactus-test-verifier-client", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-ethereum": "2.0.0-alpha.2", + "@hyperledger/cactus-test-geth-ledger": "2.0.0-alpha.2", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.2", + "@hyperledger/cactus-verifier-client": "2.0.0-alpha.2", + "body-parser": "1.20.2", + "express": "4.19.2", + "log4js": "6.4.1", + "socket.io": "4.5.4", + "web3": "1.7.3", + "web3-core": "1.7.3" + }, + "devDependencies": { + "@types/body-parser": "1.19.4", + "@types/express": "4.17.21", + "@types/node": "18.11.9", + "@types/uuid": "9.0.8", + "uuid": "9.0.1", + "web3-eth-accounts": "4.0.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "packages/cactus-test-verifier-client/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "packages/cactus-test-verifier-client/node_modules/@ethereumjs/tx": { + "version": "3.5.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.6.4", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-verifier-client/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.5", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.5" + } + }, + "packages/cactus-test-verifier-client/node_modules/@ethereumjs/tx/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/@ethereumjs/tx/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-test-verifier-client/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/@ethersproject/abi": { + "version": "5.0.7", + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.0.4", + "@ethersproject/bignumber": "^5.0.7", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.4", + "@ethersproject/hash": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.4" + } + }, + "packages/cactus-test-verifier-client/node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/@types/body-parser": { + "version": "1.19.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/@types/cookie": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/@types/cors": { + "version": "2.8.12", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/cactus-test-verifier-client/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "packages/cactus-test-verifier-client/node_modules/base64id": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "packages/cactus-test-verifier-client/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "packages/cactus-test-verifier-client/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "packages/cactus-test-verifier-client/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-verifier-client/node_modules/body-parser/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "packages/cactus-test-verifier-client/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "packages/cactus-test-verifier-client/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "packages/cactus-test-verifier-client/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-verifier-client/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "packages/cactus-test-verifier-client/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "packages/cactus-test-verifier-client/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/cookiejar": { + "version": "2.1.4", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-verifier-client/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "packages/cactus-test-verifier-client/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-verifier-client/node_modules/date-format": { + "version": "4.0.3", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "packages/cactus-test-verifier-client/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "packages/cactus-test-verifier-client/node_modules/dom-walk": { + "version": "0.1.2" + }, + "packages/cactus-test-verifier-client/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/engine.io": { + "version": "6.5.3", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/engine.io-parser": { + "version": "5.2.1", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/engine.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-verifier-client/node_modules/engine.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "packages/cactus-test-verifier-client/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "packages/cactus-test-verifier-client/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "packages/cactus-test-verifier-client/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-verifier-client/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/ethereumjs-util/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "packages/cactus-test-verifier-client/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-verifier-client/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "packages/cactus-test-verifier-client/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "packages/cactus-test-verifier-client/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/generate-function": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-property": "^1.0.2" + } + }, + "packages/cactus-test-verifier-client/node_modules/generate-object-property": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-property": "^1.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "packages/cactus-test-verifier-client/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-verifier-client/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-verifier-client/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "packages/cactus-test-verifier-client/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "packages/cactus-test-verifier-client/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-verifier-client/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-verifier-client/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-verifier-client/node_modules/is-my-ip-valid": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/is-my-json-valid": { + "version": "2.20.6", + "dev": true, + "license": "MIT", + "dependencies": { + "generate-function": "^2.0.0", + "generate-object-property": "^1.1.0", + "is-my-ip-valid": "^1.0.0", + "jsonpointer": "^5.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-verifier-client/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/is-property": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-verifier-client/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "packages/cactus-test-verifier-client/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/jsonpointer": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/log4js": { + "version": "6.4.1", + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.3.3", + "flatted": "^3.2.4", + "rfdc": "^1.3.0", + "streamroller": "^3.0.2" + }, + "engines": { + "node": ">=8.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/log4js/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-verifier-client/node_modules/log4js/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-verifier-client/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-verifier-client/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-verifier-client/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-verifier-client/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "packages/cactus-test-verifier-client/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "packages/cactus-test-verifier-client/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "packages/cactus-test-verifier-client/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-verifier-client/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "packages/cactus-test-verifier-client/node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-verifier-client/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-verifier-client/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/socket.io": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "debug": "~4.3.2", + "engine.io": "~6.2.1", + "socket.io-adapter": "~2.4.0", + "socket.io-parser": "~4.2.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/socket.io-adapter": { + "version": "2.4.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/socket.io-parser": { + "version": "4.2.4", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/socket.io-parser/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-verifier-client/node_modules/socket.io-parser/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/socket.io/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-verifier-client/node_modules/socket.io/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/streamroller": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "date-format": "^4.0.3", + "debug": "^4.1.1", + "fs-extra": "^10.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/streamroller/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "packages/cactus-test-verifier-client/node_modules/streamroller/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "packages/cactus-test-verifier-client/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "packages/cactus-test-verifier-client/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "packages/cactus-test-verifier-client/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "packages/cactus-test-verifier-client/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/cactus-test-verifier-client/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "packages/cactus-test-verifier-client/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "packages/cactus-test-verifier-client/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "packages/cactus-test-verifier-client/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/web3": { + "version": "1.7.3", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.7.3", + "web3-core": "1.7.3", + "web3-eth": "1.7.3", + "web3-eth-personal": "1.7.3", + "web3-net": "1.7.3", + "web3-shh": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-bzz": { + "version": "1.7.3", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/web3-core": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.7.3", + "web3-core-method": "1.7.3", + "web3-core-requestmanager": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-core-helpers": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-core-helpers/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-core-method": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "web3-core-helpers": "1.7.3", + "web3-core-promievent": "1.7.3", + "web3-core-subscriptions": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-core-method/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-core-promievent": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-core-requestmanager": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.0", + "web3-core-helpers": "1.7.3", + "web3-providers-http": "1.7.3", + "web3-providers-ipc": "1.7.3", + "web3-providers-ws": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-core-subscriptions": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/web3-core/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.7.3", + "web3-core-helpers": "1.7.3", + "web3-core-method": "1.7.3", + "web3-core-subscriptions": "1.7.3", + "web3-eth-abi": "1.7.3", + "web3-eth-accounts": "1.7.3", + "web3-eth-contract": "1.7.3", + "web3-eth-ens": "1.7.3", + "web3-eth-iban": "1.7.3", + "web3-eth-personal": "1.7.3", + "web3-net": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-abi": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "5.0.7", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-abi/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-accounts": { + "version": "4.0.3", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "crc-32": "^1.2.2", + "ethereum-cryptography": "^2.0.0", + "web3-errors": "^1.0.2", + "web3-types": "^1.0.2", + "web3-utils": "^4.0.3", + "web3-validator": "^1.0.2" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-accounts/node_modules/web3-validator": { + "version": "1.0.2", + "dev": true, + "license": "LGPL-3.0", + "dependencies": { + "ethereum-cryptography": "^2.0.0", + "is-my-json-valid": "^2.20.6", + "util": "^0.12.5", + "web3-errors": "^1.0.2", + "web3-types": "^1.0.2" + }, + "engines": { + "node": ">=14", + "npm": ">=6.12.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-contract": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^4.11.5", + "web3-core": "1.7.3", + "web3-core-helpers": "1.7.3", + "web3-core-method": "1.7.3", + "web3-core-promievent": "1.7.3", + "web3-core-subscriptions": "1.7.3", + "web3-eth-abi": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "4.11.6", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-contract/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-ens": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.7.3", + "web3-core-helpers": "1.7.3", + "web3-core-promievent": "1.7.3", + "web3-eth-abi": "1.7.3", + "web3-eth-contract": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-ens/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-iban": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-iban/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-personal": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.7.3", + "web3-core-helpers": "1.7.3", + "web3-core-method": "1.7.3", + "web3-net": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth-personal/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth/node_modules/uuid": { + "version": "3.3.2", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth/node_modules/web3-eth-accounts": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "@ethereumjs/tx": "^3.3.2", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.0.10", + "scrypt-js": "^3.0.1", + "uuid": "3.3.2", + "web3-core": "1.7.3", + "web3-core-helpers": "1.7.3", + "web3-core-method": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-eth/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-net": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.7.3", + "web3-core-method": "1.7.3", + "web3-utils": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-net/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-providers-http": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "web3-core-helpers": "1.7.3", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-providers-ipc": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-providers-ws": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.7.3", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3-shh": { + "version": "1.7.3", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.7.3", + "web3-core-method": "1.7.3", + "web3-core-subscriptions": "1.7.3", + "web3-net": "1.7.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/web3/node_modules/web3-utils": { + "version": "1.7.3", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/ws": { + "version": "8.11.0", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/cactus-test-verifier-client/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "packages/cactus-test-verifier-client/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "packages/cactus-test-verifier-client/node_modules/xhr2-cookies": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "packages/cactus-test-verifier-client/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "packages/cactus-verifier-client": { + "name": "@hyperledger/cactus-verifier-client", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.2", + "@hyperledger/cactus-core-api": "2.0.0-alpha.2" + }, + "devDependencies": { + "@hyperledger/cactus-api-client": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-corda": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-ethereum": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-iroha2": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-quorum": "2.0.0-alpha.2", + "@hyperledger/cactus-plugin-ledger-connector-sawtooth": "2.0.0-alpha.2", + "jest-extended": "4.0.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + }, + "peerDependencies": { + "@hyperledger/cactus-api-client": "2.x", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.x", + "@hyperledger/cactus-plugin-ledger-connector-corda": "2.x", + "@hyperledger/cactus-plugin-ledger-connector-ethereum": "2.x", + "@hyperledger/cactus-plugin-ledger-connector-fabric": "2.x", + "@hyperledger/cactus-plugin-ledger-connector-iroha2": "2.x", + "@hyperledger/cactus-plugin-ledger-connector-quorum": "2.x", + "@hyperledger/cactus-plugin-ledger-connector-sawtooth": "2.x" + }, + "peerDependenciesMeta": { + "@hyperledger/cactus-plugin-ledger-connector-besu": { + "optional": true + }, + "@hyperledger/cactus-plugin-ledger-connector-corda": { + "optional": true + }, + "@hyperledger/cactus-plugin-ledger-connector-ethereum": { + "optional": true + }, + "@hyperledger/cactus-plugin-ledger-connector-fabric": { + "optional": true + }, + "@hyperledger/cactus-plugin-ledger-connector-iroha2": { + "optional": true + }, + "@hyperledger/cactus-plugin-ledger-connector-quorum": { + "optional": true + }, + "@hyperledger/cactus-plugin-ledger-connector-sawtooth": { + "optional": true + } + } + }, + "weaver/common/protos-js": { + "name": "@hyperledger/cacti-weaver-protos-js", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "1.10.3", + "@grpc/proto-loader": "0.7.8", + "google-protobuf": "3.21.2", + "grpc-tools": "1.12.4" + }, + "devDependencies": { + "grpc_tools_node_protoc_ts": "5.3.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "weaver/common/protos-js/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "weaver/common/protos-js/node_modules/@grpc/grpc-js/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/common/protos-js/node_modules/@grpc/proto-loader": { + "version": "0.7.8", + "license": "Apache-2.0", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/common/protos-js/node_modules/@grpc/proto-loader/node_modules/@types/long": { + "version": "4.0.1", + "license": "MIT" + }, + "weaver/common/protos-js/node_modules/@grpc/proto-loader/node_modules/long": { + "version": "4.0.0", + "license": "Apache-2.0" + }, + "weaver/common/protos-js/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "weaver/common/protos-js/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/common/protos-js/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/common/protos-js/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "weaver/common/protos-js/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/common/protos-js/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "weaver/common/protos-js/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "weaver/common/protos-js/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/common/protos-js/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/common/protos-js/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/common/protos-js/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/common/protos-js/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "weaver/common/protos-js/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "weaver/core/drivers/fabric-driver": { + "name": "@hyperledger/cacti-weaver-driver-fabric", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@fidm/x509": "1.2.1", + "@grpc/grpc-js": "1.10.3", + "@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.2", + "@hyperledger/cacti-weaver-sdk-fabric": "2.0.0-alpha.2", + "dotenv": "8.6.0", + "fabric-ca-client": "2.2.20", + "fabric-common": "2.2.20", + "fabric-network": "2.2.20", + "fabric-protos": "2.2.20", + "level": "8.0.0", + "winston": "3.10.0" + }, + "devDependencies": { + "@types/node": "18.11.9", + "nodemon": "2.0.22", + "patch-package": "6.5.1", + "typedoc": "0.25.6", + "typescript": "5.3.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/@colors/colors": { + "version": "1.5.0", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/@fidm/asn1": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/@fidm/x509": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "@fidm/asn1": "^1.0.4", + "tweetnacl": "^1.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "dev": true, + "license": "BSD-2-Clause" + }, + "weaver/core/drivers/fabric-driver/node_modules/abstract-level": { + "version": "1.0.3", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "catering": "^2.1.0", + "is-buffer": "^2.0.5", + "level-supports": "^4.0.0", + "level-transcoder": "^1.0.1", + "module-error": "^1.0.1", + "queue-microtask": "^1.2.3" + }, + "engines": { + "node": ">=12" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/ansi-sequence-parser": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/at-least-node": { + "version": "1.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/browser-level": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "abstract-level": "^1.0.2", + "catering": "^2.1.1", + "module-error": "^1.0.2", + "run-parallel-limit": "^1.1.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/catering": { + "version": "2.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/classic-level": { + "version": "1.3.0", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "abstract-level": "^1.0.2", + "catering": "^2.1.0", + "module-error": "^1.0.1", + "napi-macros": "^2.2.2", + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=12" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/color": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/color-string": { + "version": "1.9.0", + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/colorspace": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/cross-spawn": { + "version": "6.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/cross-spawn/node_modules/which": { + "version": "1.3.1", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/dotenv": { + "version": "8.6.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=10" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/enabled": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/fabric-ca-client": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "jsrsasign": "^10.5.25", + "url": "^0.11.0", + "winston": "^2.4.5" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/fabric-ca-client/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/fabric-ca-client/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/fabric-common/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/fabric-common/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/fabric-protos/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/fecha": { + "version": "4.2.1", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/find-yarn-workspace-root": { + "version": "2.0.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "micromatch": "^4.0.2" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/fn.name": { + "version": "1.1.0", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/fs-extra": { + "version": "9.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/is-arrayish": { + "version": "0.3.2", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/is-buffer": { + "version": "2.0.5", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/is-docker": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/is-wsl": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/jsonc-parser": { + "version": "3.2.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/klaw-sync": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.11" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/kuler": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/level": { + "version": "8.0.0", + "license": "MIT", + "dependencies": { + "browser-level": "^1.0.1", + "classic-level": "^1.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/level" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/level-supports": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/level-transcoder": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "module-error": "^1.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/logform": { + "version": "2.4.0", + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "weaver/core/drivers/fabric-driver/node_modules/lunr": { + "version": "2.3.9", + "dev": true, + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/marked": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/micromatch": { + "version": "4.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/module-error": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "weaver/core/drivers/fabric-driver/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/napi-macros": { + "version": "2.2.2", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/nodemon": { + "version": "2.0.22", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^3.2.7", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.1.2", + "pstree.remy": "^1.1.8", + "semver": "^5.7.1", + "simple-update-notifier": "^1.0.7", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=8.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/nodemon/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/one-time": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/open": { + "version": "7.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/patch-package": { + "version": "6.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@yarnpkg/lockfile": "^1.1.0", + "chalk": "^4.1.2", + "cross-spawn": "^6.0.5", + "find-yarn-workspace-root": "^2.0.0", + "fs-extra": "^9.0.0", + "is-ci": "^2.0.0", + "klaw-sync": "^6.0.0", + "minimist": "^1.2.6", + "open": "^7.4.2", + "rimraf": "^2.6.3", + "semver": "^5.6.0", + "slash": "^2.0.0", + "tmp": "^0.0.33", + "yaml": "^1.10.2" + }, + "bin": { + "patch-package": "index.js" + }, + "engines": { + "node": ">=10", + "npm": ">5" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/patch-package/node_modules/rimraf": { + "version": "2.7.1", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/path-key": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/run-parallel-limit": { + "version": "1.1.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/safe-stable-stringify": { + "version": "2.3.1", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/shiki": { + "version": "0.14.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-sequence-parser": "^1.1.0", + "jsonc-parser": "^3.2.0", + "vscode-oniguruma": "^1.7.0", + "vscode-textmate": "^8.0.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/simple-swizzle": { + "version": "0.2.2", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/simple-update-notifier": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "~7.0.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/slash": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/text-hex": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/triple-beam": { + "version": "1.3.0", + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/tweetnacl": { + "version": "1.0.3", + "license": "Unlicense" + }, + "weaver/core/drivers/fabric-driver/node_modules/typedoc": { + "version": "0.25.6", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lunr": "^2.3.9", + "marked": "^4.3.0", + "minimatch": "^9.0.3", + "shiki": "^0.14.7" + }, + "bin": { + "typedoc": "bin/typedoc" + }, + "engines": { + "node": ">= 16" + }, + "peerDependencies": { + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/typedoc/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/vscode-oniguruma": { + "version": "1.7.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/vscode-textmate": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/drivers/fabric-driver/node_modules/winston": { + "version": "3.10.0", + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/winston-transport": { + "version": "4.5.0", + "license": "MIT", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/core/drivers/fabric-driver/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/core/identity-management/iin-agent": { + "name": "@hyperledger/cacti-weaver-iin-agent", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@fidm/x509": "1.2.1", + "@grpc/grpc-js": "1.10.3", + "@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.2", + "@hyperledger/cacti-weaver-sdk-fabric": "2.0.0-alpha.2", + "dotenv": "8.6.0", + "fabric-ca-client": "2.2.20", + "fabric-common": "2.2.20", + "fabric-network": "2.2.20", + "uuid": "9.0.1" + }, + "devDependencies": { + "@types/jsrsasign": "10.5.11", + "@types/node": "18.11.9", + "@types/uuid": "9.0.8", + "chai": "4.3.7", + "chai-as-promised": "7.1.1", + "jsrsasign": "11.0.0", + "mocha": "5.2.0", + "nodemon": "2.0.22", + "nyc": "12.0.2", + "patch-package": "6.5.1", + "proto3-json-serializer": "1.1.1", + "rewire": "4.0.1", + "sinon": "6.3.5", + "sinon-chai": "3.7.0", + "ts-node": "10.9.1", + "typedoc": "0.25.6", + "typescript": "5.3.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@babel/generator": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "7.0.0-beta.51", + "jsesc": "^2.5.1", + "lodash": "^4.17.5", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@babel/generator/node_modules/@babel/types": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@babel/highlight": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^3.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@babel/highlight/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@babel/parser": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@babel/template": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "7.0.0-beta.51", + "@babel/parser": "7.0.0-beta.51", + "@babel/types": "7.0.0-beta.51", + "lodash": "^4.17.5" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@babel/template/node_modules/@babel/code-frame": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/highlight": "7.0.0-beta.51" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@babel/template/node_modules/@babel/types": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@fidm/asn1": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@fidm/x509": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "@fidm/asn1": "^1.0.4", + "tweetnacl": "^1.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/@sinonjs/commons": { + "version": "1.8.6", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@sinonjs/formatio": { + "version": "3.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1", + "@sinonjs/samsam": "^3.1.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@sinonjs/samsam": { + "version": "3.3.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.3.0", + "array-from": "^2.1.1", + "lodash": "^4.17.15" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/@sinonjs/text-encoding": { + "version": "0.7.2", + "dev": true, + "license": "(Unlicense OR Apache-2.0)" + }, + "weaver/core/identity-management/iin-agent/node_modules/@types/jsrsasign": { + "version": "10.5.11", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "dev": true, + "license": "BSD-2-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/acorn": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/acorn-jsx": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^3.0.4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/ajv": { + "version": "5.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/ajv-keywords": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": "^5.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/ansi-escapes": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/ansi-regex": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/ansi-sequence-parser": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/append-transform": { + "version": "0.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-require-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/argparse": { + "version": "1.0.10", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/arr-diff": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/arr-flatten": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/arr-union": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/array-from": { + "version": "2.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/array-unique": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/assertion-error": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/assign-symbols": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/at-least-node": { + "version": "1.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/atob": { + "version": "2.1.2", + "dev": true, + "license": "(MIT OR Apache-2.0)", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/babel-code-frame": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/babel-code-frame/node_modules/ansi-styles": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/babel-code-frame/node_modules/chalk": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/babel-code-frame/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/babel-code-frame/node_modules/supports-color": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/base": { + "version": "0.11.2", + "dev": true, + "license": "MIT", + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/brace-expansion": { + "version": "1.1.11", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/browser-stdout": { + "version": "1.3.1", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/cache-base": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/caching-transform": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "md5-hex": "^1.2.0", + "mkdirp": "^0.5.1", + "write-file-atomic": "^1.1.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/caller-path": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/callsites": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/chai": { + "version": "4.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^4.1.2", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/chai-as-promised": { + "version": "7.1.1", + "dev": true, + "license": "WTFPL", + "dependencies": { + "check-error": "^1.0.2" + }, + "peerDependencies": { + "chai": ">= 2.1.2 < 5" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/chardet": { + "version": "0.4.2", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/check-error": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/circular-json": { + "version": "0.3.3", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/class-utils": { + "version": "0.3.6", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/cli-cursor": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/cli-width": { + "version": "2.2.1", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/code-point-at": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/collection-visit": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/commander": { + "version": "2.15.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/component-emitter": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/concat-stream": { + "version": "1.6.2", + "dev": true, + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/copy-descriptor": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/cross-spawn": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/cross-spawn/node_modules/lru-cache": { + "version": "4.1.5", + "dev": true, + "license": "ISC", + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/cross-spawn/node_modules/yallist": { + "version": "2.1.2", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/debug-log": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/decode-uri-component": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/deep-eql": { + "version": "4.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/default-require-extensions": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/define-property": { + "version": "0.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/define-property/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/define-property/node_modules/is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/define-property/node_modules/is-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/define-property/node_modules/is-descriptor/node_modules/kind-of": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/diff": { + "version": "3.5.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/dotenv": { + "version": "8.6.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=10" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint": { + "version": "4.19.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^5.3.0", + "babel-code-frame": "^6.22.0", + "chalk": "^2.1.0", + "concat-stream": "^1.6.0", + "cross-spawn": "^5.1.0", + "debug": "^3.1.0", + "doctrine": "^2.1.0", + "eslint-scope": "^3.7.1", + "eslint-visitor-keys": "^1.0.0", + "espree": "^3.5.4", + "esquery": "^1.0.0", + "esutils": "^2.0.2", + "file-entry-cache": "^2.0.0", + "functional-red-black-tree": "^1.0.1", + "glob": "^7.1.2", + "globals": "^11.0.1", + "ignore": "^3.3.3", + "imurmurhash": "^0.1.4", + "inquirer": "^3.0.6", + "is-resolvable": "^1.0.0", + "js-yaml": "^3.9.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.3.0", + "lodash": "^4.17.4", + "minimatch": "^3.0.2", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "optionator": "^0.8.2", + "path-is-inside": "^1.0.2", + "pluralize": "^7.0.0", + "progress": "^2.0.0", + "regexpp": "^1.0.1", + "require-uncached": "^1.0.3", + "semver": "^5.3.0", + "strip-ansi": "^4.0.0", + "strip-json-comments": "~2.0.1", + "table": "4.0.2", + "text-table": "~0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint-scope": { + "version": "3.7.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint/node_modules/ansi-regex": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint/node_modules/glob": { + "version": "7.2.3", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eslint/node_modules/strip-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/espree": { + "version": "3.5.4", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^5.5.0", + "acorn-jsx": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/espree/node_modules/acorn": { + "version": "5.7.4", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/execa": { + "version": "0.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/expand-brackets": { + "version": "2.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/expand-range": { + "version": "1.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/expand-range/node_modules/fill-range": { + "version": "2.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^2.1.0", + "isobject": "^2.0.0", + "randomatic": "^3.0.0", + "repeat-element": "^1.1.2", + "repeat-string": "^1.5.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/expand-range/node_modules/is-number": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/expand-range/node_modules/isobject": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/external-editor": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^0.4.0", + "iconv-lite": "^0.4.17", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=0.12" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/extglob": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/fabric-ca-client": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "jsrsasign": "^10.5.25", + "url": "^0.11.0", + "winston": "^2.4.5" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/fabric-protos/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/fast-deep-equal": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/figures": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/file-entry-cache": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^1.2.1", + "object-assign": "^4.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/filename-regex": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/find-cache-dir": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "commondir": "^1.0.1", + "mkdirp": "^0.5.1", + "pkg-dir": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/find-up": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/find-yarn-workspace-root": { + "version": "2.0.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "micromatch": "^4.0.2" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/find-yarn-workspace-root/node_modules/micromatch": { + "version": "4.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/flat-cache": { + "version": "1.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "circular-json": "^0.3.1", + "graceful-fs": "^4.1.2", + "rimraf": "~2.6.2", + "write": "^0.2.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/flat-cache/node_modules/rimraf": { + "version": "2.6.3", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/for-in": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/for-own": { + "version": "0.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "for-in": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/foreground-child": { + "version": "1.5.6", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^4", + "signal-exit": "^3.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/foreground-child/node_modules/cross-spawn": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/foreground-child/node_modules/lru-cache": { + "version": "4.1.5", + "dev": true, + "license": "ISC", + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/foreground-child/node_modules/yallist": { + "version": "2.1.2", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/fragment-cache": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/fs-extra": { + "version": "9.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/functional-red-black-tree": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/get-func-name": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/get-stream": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/get-value": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/glob-base": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "glob-parent": "^2.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/globals": { + "version": "11.12.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/growl": { + "version": "1.10.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.x" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/has-ansi": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/has-value": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/has-values": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/has-values/node_modules/kind-of": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/he": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/hosted-git-info": { + "version": "2.8.9", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/ignore": { + "version": "3.3.10", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/inquirer": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^3.0.0", + "chalk": "^2.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^2.0.4", + "figures": "^2.0.0", + "lodash": "^4.3.0", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rx-lite": "^4.0.8", + "rx-lite-aggregates": "^4.0.8", + "string-width": "^2.1.0", + "strip-ansi": "^4.0.0", + "through": "^2.3.6" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/inquirer/node_modules/ansi-regex": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/inquirer/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/inquirer/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/inquirer/node_modules/string-width": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/inquirer/node_modules/strip-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/invert-kv": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/is-data-descriptor": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-descriptor": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-descriptor/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-docker": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-dotfile": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-equal-shallow": { + "version": "0.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "is-primitive": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-extendable": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-extglob": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-glob": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-number": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-posix-bracket": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-primitive": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-resolvable": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/is-stream": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/is-utf8": { + "version": "0.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/is-wsl": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-coverage": { + "version": "1.2.1", + "dev": true, + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-hook": { + "version": "1.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "append-transform": "^0.4.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-instrument": { + "version": "2.3.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/generator": "7.0.0-beta.51", + "@babel/parser": "7.0.0-beta.51", + "@babel/template": "7.0.0-beta.51", + "@babel/traverse": "7.0.0-beta.51", + "@babel/types": "7.0.0-beta.51", + "istanbul-lib-coverage": "^2.0.1", + "semver": "^5.5.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-instrument/node_modules/@babel/types": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-instrument/node_modules/istanbul-lib-coverage": { + "version": "2.0.5", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=6" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-report": { + "version": "1.1.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^1.2.1", + "mkdirp": "^0.5.1", + "path-parse": "^1.0.5", + "supports-color": "^3.1.2" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "3.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^1.0.0" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-source-maps": { + "version": "1.2.6", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "debug": "^3.1.0", + "istanbul-lib-coverage": "^1.2.1", + "mkdirp": "^0.5.1", + "rimraf": "^2.6.1", + "source-map": "^0.5.3" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-lib-source-maps/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/istanbul-reports": { + "version": "1.5.1", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "handlebars": "^4.0.3" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/js-tokens": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/js-yaml": { + "version": "3.14.1", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/json-schema-traverse": { + "version": "0.3.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/jsonc-parser": { + "version": "3.2.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/just-extend": { + "version": "4.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/klaw-sync": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.11" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/lcid": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "invert-kv": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/levn": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/load-json-file": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/locate-path": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/locate-path/node_modules/path-exists": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/lodash.get": { + "version": "4.4.2", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/lolex": { + "version": "2.7.5", + "dev": true, + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "weaver/core/identity-management/iin-agent/node_modules/loupe": { + "version": "2.3.6", + "dev": true, + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/lunr": { + "version": "2.3.9", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/map-cache": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/map-visit": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/marked": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/math-random": { + "version": "1.0.4", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/md5-hex": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "md5-o-matic": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/md5-o-matic": { + "version": "0.1.1", + "dev": true + }, + "weaver/core/identity-management/iin-agent/node_modules/mem": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/merge-source-map": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "source-map": "^0.6.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/merge-source-map/node_modules/source-map": { + "version": "0.6.1", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch": { + "version": "3.1.10", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch/node_modules/braces": { + "version": "2.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch/node_modules/braces/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch/node_modules/extend-shallow/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch/node_modules/fill-range": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch/node_modules/fill-range/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/micromatch/node_modules/to-regex-range": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mimic-fn": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mixin-deep": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mixin-deep/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mkdirp": { + "version": "0.5.6", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mocha": { + "version": "5.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "browser-stdout": "1.3.1", + "commander": "2.15.1", + "debug": "3.1.0", + "diff": "3.5.0", + "escape-string-regexp": "1.0.5", + "glob": "7.1.2", + "growl": "1.10.5", + "he": "1.1.1", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "supports-color": "5.4.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mocha/node_modules/debug": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mocha/node_modules/glob": { + "version": "7.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mocha/node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mocha/node_modules/minimatch": { + "version": "3.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mocha/node_modules/mkdirp": { + "version": "0.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "0.0.8" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mocha/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/mocha/node_modules/supports-color": { + "version": "5.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/mute-stream": { + "version": "0.0.7", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "weaver/core/identity-management/iin-agent/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nanomatch": { + "version": "1.2.13", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nanomatch/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nanomatch/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nanomatch/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nanomatch/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nise": { + "version": "1.5.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/formatio": "^3.2.1", + "@sinonjs/text-encoding": "^0.7.1", + "just-extend": "^4.0.2", + "lolex": "^5.0.1", + "path-to-regexp": "^1.7.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nise/node_modules/lolex": { + "version": "5.1.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.7.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/nodemon": { + "version": "2.0.22", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^3.2.7", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.1.2", + "pstree.remy": "^1.1.8", + "semver": "^5.7.1", + "simple-update-notifier": "^1.0.7", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=8.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nodemon/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/normalize-package-data": { + "version": "2.5.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/npm-run-path": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/number-is-nan": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc": { + "version": "12.0.2", + "bundleDependencies": [ + "archy", + "arrify", + "caching-transform", + "convert-source-map", + "debug-log", + "default-require-extensions", + "find-cache-dir", + "find-up", + "foreground-child", + "glob", + "istanbul-lib-coverage", + "istanbul-lib-hook", + "istanbul-lib-report", + "istanbul-lib-source-maps", + "istanbul-reports", + "md5-hex", + "merge-source-map", + "micromatch", + "mkdirp", + "resolve-from", + "rimraf", + "signal-exit", + "spawn-wrap", + "test-exclude", + "yargs", + "yargs-parser" + ], + "dev": true, + "license": "ISC", + "dependencies": { + "archy": "^1.0.0", + "arrify": "^1.0.1", + "caching-transform": "^1.0.0", + "convert-source-map": "^1.5.1", + "debug-log": "^1.0.1", + "default-require-extensions": "^1.0.0", + "find-cache-dir": "^0.1.1", + "find-up": "^2.1.0", + "foreground-child": "^1.5.3", + "glob": "^7.0.6", + "istanbul-lib-coverage": "^1.2.0", + "istanbul-lib-hook": "^1.1.0", + "istanbul-lib-instrument": "^2.1.0", + "istanbul-lib-report": "^1.1.3", + "istanbul-lib-source-maps": "^1.2.5", + "istanbul-reports": "^1.4.1", + "md5-hex": "^1.2.0", + "merge-source-map": "^1.1.0", + "micromatch": "^3.1.10", + "mkdirp": "^0.5.0", + "resolve-from": "^2.0.0", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.1", + "spawn-wrap": "^1.4.2", + "test-exclude": "^4.2.0", + "yargs": "11.1.0", + "yargs-parser": "^8.0.0" + }, + "bin": { + "nyc": "bin/nyc.js" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/cliui": { + "version": "4.1.0", + "extraneous": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", + "wrap-ansi": "^2.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/find-up": { + "version": "2.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/get-caller-file": { + "version": "1.0.3", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/string-width": { + "version": "2.1.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/strip-ansi": { + "version": "4.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/strip-ansi/node_modules/ansi-regex": { + "version": "3.0.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/wrap-ansi": { + "version": "2.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/wrap-ansi/node_modules/string-width": { + "version": "1.0.2", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "3.0.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/y18n": { + "version": "3.2.2", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/nyc/node_modules/yargs": { + "version": "11.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "cliui": "^4.0.0", + "decamelize": "^1.1.1", + "find-up": "^2.1.0", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^9.0.2" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/object-copy": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/object-visit": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/object.omit": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "for-own": "^0.1.4", + "is-extendable": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/object.pick": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/onetime": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/open": { + "version": "7.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/optionator": { + "version": "0.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/os-homedir": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/os-locale": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/p-limit": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/p-locate": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/p-try": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/parse-glob": { + "version": "3.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "glob-base": "^0.3.0", + "is-dotfile": "^1.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/parse-json": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/pascalcase": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/patch-package": { + "version": "6.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@yarnpkg/lockfile": "^1.1.0", + "chalk": "^4.1.2", + "cross-spawn": "^6.0.5", + "find-yarn-workspace-root": "^2.0.0", + "fs-extra": "^9.0.0", + "is-ci": "^2.0.0", + "klaw-sync": "^6.0.0", + "minimist": "^1.2.6", + "open": "^7.4.2", + "rimraf": "^2.6.3", + "semver": "^5.6.0", + "slash": "^2.0.0", + "tmp": "^0.0.33", + "yaml": "^1.10.2" + }, + "bin": { + "patch-package": "index.js" + }, + "engines": { + "node": ">=10", + "npm": ">5" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/patch-package/node_modules/cross-spawn": { + "version": "6.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/path-exists": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/path-is-inside": { + "version": "1.0.2", + "dev": true, + "license": "(WTFPL OR MIT)" + }, + "weaver/core/identity-management/iin-agent/node_modules/path-key": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/path-to-regexp": { + "version": "1.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "0.0.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/path-to-regexp/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/path-type": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/pathval": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/pify": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/pinkie": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/pinkie-promise": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/pkg-dir": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/pluralize": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/posix-character-classes": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/prelude-ls": { + "version": "1.1.2", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/preserve": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/process-nextick-args": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/progress": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/proto3-json-serializer": { + "version": "1.1.1", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "protobufjs": "^7.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/pseudomap": { + "version": "1.0.2", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/randomatic": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^4.0.0", + "kind-of": "^6.0.0", + "math-random": "^1.0.1" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/randomatic/node_modules/is-number": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/randomatic/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/read-pkg": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/read-pkg-up": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/regex-cache": { + "version": "0.4.4", + "dev": true, + "license": "MIT", + "dependencies": { + "is-equal-shallow": "^0.1.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/regex-not": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/regex-not/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/regex-not/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/regexpp": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/remove-trailing-separator": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/repeat-element": { + "version": "1.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/require-main-filename": { + "version": "1.0.1", + "dev": true, + "license": "ISC" + }, + "weaver/core/identity-management/iin-agent/node_modules/require-uncached": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "caller-path": "^0.1.0", + "resolve-from": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/require-uncached/node_modules/resolve-from": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/resolve-from": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/resolve-url": { + "version": "0.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/restore-cursor": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/ret": { + "version": "0.1.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/rewire": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint": "^4.19.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/rimraf": { + "version": "2.7.1", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/rx-lite": { + "version": "4.0.8", + "dev": true + }, + "weaver/core/identity-management/iin-agent/node_modules/rx-lite-aggregates": { + "version": "4.0.8", + "dev": true, + "dependencies": { + "rx-lite": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/safe-regex": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ret": "~0.1.10" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/set-value": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/shiki": { + "version": "0.14.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-sequence-parser": "^1.1.0", + "jsonc-parser": "^3.2.0", + "vscode-oniguruma": "^1.7.0", + "vscode-textmate": "^8.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/simple-update-notifier": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "~7.0.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/sinon": { + "version": "6.3.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.0.2", + "@sinonjs/formatio": "^3.0.0", + "@sinonjs/samsam": "^2.1.2", + "diff": "^3.5.0", + "lodash.get": "^4.4.2", + "lolex": "^2.7.5", + "nise": "^1.4.5", + "supports-color": "^5.5.0", + "type-detect": "^4.0.8" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/sinon-chai": { + "version": "3.7.0", + "dev": true, + "license": "(BSD-2-Clause OR WTFPL)", + "peerDependencies": { + "chai": "^4.0.0", + "sinon": ">=4.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/sinon/node_modules/@sinonjs/samsam": { + "version": "2.1.3", + "dev": true, + "license": "BSD-3-Clause" + }, + "weaver/core/identity-management/iin-agent/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/slash": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/slice-ansi": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/slide": { + "version": "1.1.6", + "dev": true, + "license": "ISC", + "engines": { + "node": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/snapdragon": { + "version": "0.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/snapdragon-node": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/snapdragon-util": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/source-map": { + "version": "0.5.7", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/source-map-resolve": { + "version": "0.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/source-map-url": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/spawn-wrap": { + "version": "1.4.3", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^1.5.6", + "mkdirp": "^0.5.0", + "os-homedir": "^1.0.1", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.2", + "which": "^1.3.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/split-string": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/split-string/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/split-string/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/static-extend": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/strip-bom": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/strip-eof": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/strip-json-comments": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/table": { + "version": "4.0.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ajv": "^5.2.3", + "ajv-keywords": "^2.1.0", + "chalk": "^2.1.0", + "lodash": "^4.17.4", + "slice-ansi": "1.0.0", + "string-width": "^2.1.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/table/node_modules/ansi-regex": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/table/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/table/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/table/node_modules/string-width": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/table/node_modules/strip-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/test-exclude": { + "version": "4.2.3", + "dev": true, + "license": "ISC", + "dependencies": { + "arrify": "^1.0.1", + "micromatch": "^2.3.11", + "object-assign": "^4.1.0", + "read-pkg-up": "^1.0.1", + "require-main-filename": "^1.0.1" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/test-exclude/node_modules/arr-diff": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-flatten": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/test-exclude/node_modules/array-unique": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/test-exclude/node_modules/braces": { + "version": "1.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/test-exclude/node_modules/expand-brackets": { + "version": "0.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-posix-bracket": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/test-exclude/node_modules/extglob": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/test-exclude/node_modules/micromatch": { + "version": "2.3.11", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/test-exclude/node_modules/normalize-path": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "remove-trailing-separator": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/to-object-path": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/to-regex": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/to-regex/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/to-regex/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/to-regex/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/trim-right": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/tweetnacl": { + "version": "1.0.3", + "license": "Unlicense" + }, + "weaver/core/identity-management/iin-agent/node_modules/type-check": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/typedarray": { + "version": "0.0.6", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/typedoc": { + "version": "0.25.6", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lunr": "^2.3.9", + "marked": "^4.3.0", + "minimatch": "^9.0.3", + "shiki": "^0.14.7" + }, + "bin": { + "typedoc": "bin/typedoc" + }, + "engines": { + "node": ">= 16" + }, + "peerDependencies": { + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/typedoc/node_modules/brace-expansion": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/typedoc/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/union-value": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/unset-value": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/urix": { + "version": "0.1.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/use": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/vscode-oniguruma": { + "version": "1.7.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/vscode-textmate": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/which": { + "version": "1.3.1", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/core/identity-management/iin-agent/node_modules/word-wrap": { + "version": "1.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/write": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "mkdirp": "^0.5.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/write-file-atomic": { + "version": "1.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "slide": "^1.1.5" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/core/identity-management/iin-agent/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/besu-cli": { + "name": "@hyperledger/cacti-weaver-besu-cli", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.2", + "@hyperledger/cacti-weaver-sdk-besu": "2.0.0-alpha.2", + "@truffle/contract": "4.6.28", + "gluegun": "5.1.6", + "web3": "1.10.0", + "winston": "3.10.0" + }, + "bin": { + "besu-cli": "bin/besu-cli" + }, + "devDependencies": { + "@types/jest": "29.5.3", + "@types/node": "18.11.9", + "jest": "29.6.2", + "ts-jest": "29.1.1", + "ts-node": "10.9.1", + "typescript": "5.3.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@babel/runtime": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@colors/colors": { + "version": "1.5.0", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ensdomains/address-encoder": { + "version": "0.1.9", + "license": "BSD", + "dependencies": { + "bech32": "^1.1.3", + "blakejs": "^1.1.0", + "bn.js": "^4.11.8", + "bs58": "^4.0.1", + "crypto-addr-codec": "^0.1.7", + "nano-base32": "^1.0.1", + "ripemd160": "^2.0.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ensdomains/address-encoder/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/@ensdomains/ens": { + "version": "0.4.5", + "license": "CC0-1.0", + "dependencies": { + "bluebird": "^3.5.2", + "eth-ens-namehash": "^2.0.8", + "solc": "^0.4.20", + "testrpc": "0.0.1", + "web3-utils": "^1.0.0-beta.31" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ensdomains/ens/node_modules/web3-utils": { + "version": "1.10.4", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/util": "^8.1.0", + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereum-cryptography": "^2.1.2", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ensdomains/ensjs": { + "version": "2.1.0", + "license": "ISC", + "dependencies": { + "@babel/runtime": "^7.4.4", + "@ensdomains/address-encoder": "^0.1.7", + "@ensdomains/ens": "0.4.5", + "@ensdomains/resolver": "0.2.4", + "content-hash": "^2.5.2", + "eth-ens-namehash": "^2.0.8", + "ethers": "^5.0.13", + "js-sha3": "^0.8.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ensdomains/ensjs/node_modules/ethers": { + "version": "5.7.2", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ensdomains/resolver": { + "version": "0.2.4" + }, + "weaver/samples/besu/besu-cli/node_modules/@ethereumjs/common": { + "version": "2.5.0", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethereumjs/tx": { + "version": "3.3.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "ethereumjs-util": "^7.1.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethereumjs/tx/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethereumjs/util": { + "version": "8.1.0", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "ethereum-cryptography": "^2.0.0", + "micro-ftch": "^0.3.1" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/basex": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/contracts": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/hdnode": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/json-wallets": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/pbkdf2": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/sha2": "^5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/providers": { + "version": "5.7.2", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/random": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/sha2": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "hash.js": "1.1.7" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/solidity": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/units": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/wallet": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/json-wallets": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@ethersproject/wordlists": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@sindresorhus/is": { + "version": "4.6.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/abi-utils": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "change-case": "3.0.2", + "fast-check": "3.1.1", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/blockchain-utils": { + "version": "0.1.8", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/codec": { + "version": "0.17.2", + "license": "MIT", + "dependencies": { + "@truffle/abi-utils": "^1.0.2", + "@truffle/compile-common": "^0.9.7", + "big.js": "^6.0.3", + "bn.js": "^5.1.3", + "cbor": "^5.2.0", + "debug": "^4.3.1", + "lodash": "^4.17.21", + "semver": "7.5.2", + "utf8": "^3.0.0", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/codec/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/codec/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/compile-common": { + "version": "0.9.7", + "license": "MIT", + "dependencies": { + "@truffle/error": "^0.2.1", + "colors": "1.4.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/contract": { + "version": "4.6.28", + "license": "MIT", + "dependencies": { + "@ensdomains/ensjs": "^2.1.0", + "@truffle/blockchain-utils": "^0.1.8", + "@truffle/contract-schema": "^3.4.15", + "@truffle/debug-utils": "^6.0.56", + "@truffle/error": "^0.2.1", + "@truffle/interface-adapter": "^0.5.35", + "bignumber.js": "^7.2.1", + "debug": "^4.3.1", + "ethers": "^4.0.32", + "web3": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/contract-schema": { + "version": "3.4.15", + "license": "MIT", + "dependencies": { + "ajv": "^6.10.0", + "debug": "^4.3.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/contract-schema/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/contract-schema/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/contract/node_modules/bignumber.js": { + "version": "7.2.1", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/contract/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/contract/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/debug-utils": { + "version": "6.0.56", + "license": "MIT", + "dependencies": { + "@truffle/codec": "^0.17.2", + "@trufflesuite/chromafi": "^3.0.0", + "bn.js": "^5.1.3", + "chalk": "^2.4.2", + "debug": "^4.3.1", + "highlightjs-solidity": "^2.0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/debug-utils/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/debug-utils/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/debug-utils/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/debug-utils/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/debug-utils/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/debug-utils/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/error": { + "version": "0.2.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/@truffle/interface-adapter": { + "version": "0.5.35", + "license": "MIT", + "dependencies": { + "bn.js": "^5.1.3", + "ethers": "^4.0.32", + "web3": "1.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@trufflesuite/chromafi": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "camelcase": "^4.1.0", + "chalk": "^2.3.2", + "cheerio": "^1.0.0-rc.2", + "detect-indent": "^5.0.0", + "highlight.js": "^10.4.1", + "lodash.merge": "^4.6.2", + "strip-ansi": "^4.0.0", + "strip-indent": "^2.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@trufflesuite/chromafi/node_modules/ansi-regex": { + "version": "3.0.1", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@trufflesuite/chromafi/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@trufflesuite/chromafi/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@trufflesuite/chromafi/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@trufflesuite/chromafi/node_modules/strip-ansi": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@trufflesuite/chromafi/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@types/cacheable-request": { + "version": "6.0.3", + "license": "MIT", + "dependencies": { + "@types/http-cache-semantics": "*", + "@types/keyv": "^3.1.4", + "@types/node": "*", + "@types/responselike": "^1.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@types/http-cache-semantics": { + "version": "4.0.3", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/abortcontroller-polyfill": { + "version": "1.7.5", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/aes-js": { + "version": "3.0.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ansi-regex": { + "version": "2.1.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/apisauce": { + "version": "2.1.6", + "license": "MIT", + "dependencies": { + "axios": "^0.21.4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/app-module-path": { + "version": "2.2.0", + "license": "BSD-2-Clause" + }, + "weaver/samples/besu/besu-cli/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/async": { + "version": "3.2.3", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/axios": { + "version": "1.5.1", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "weaver/samples/besu/besu-cli/node_modules/bech32": { + "version": "1.1.4", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/big-integer": { + "version": "1.6.36", + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/big.js": { + "version": "6.2.1", + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/bigjs" + } + }, + "weaver/samples/besu/besu-cli/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "weaver/samples/besu/besu-cli/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/body-parser": { + "version": "1.20.0", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.10.3", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/besu/besu-cli/node_modules/body-parser/node_modules/qs": { + "version": "6.10.3", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/besu-cli/node_modules/boolbase": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cacheable-lookup": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10.6.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cacheable-request": { + "version": "7.0.4", + "license": "MIT", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cacheable-request/node_modules/get-stream": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/besu-cli/node_modules/camel-case": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/camelcase": { + "version": "4.1.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "weaver/samples/besu/besu-cli/node_modules/cbor": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.1", + "nofilter": "^1.0.4" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/change-case": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "camel-case": "^3.0.0", + "constant-case": "^2.0.0", + "dot-case": "^2.1.0", + "header-case": "^1.0.0", + "is-lower-case": "^1.1.0", + "is-upper-case": "^1.1.0", + "lower-case": "^1.1.1", + "lower-case-first": "^1.0.0", + "no-case": "^2.3.2", + "param-case": "^2.1.0", + "pascal-case": "^2.0.0", + "path-case": "^2.1.0", + "sentence-case": "^2.1.0", + "snake-case": "^2.1.0", + "swap-case": "^1.1.0", + "title-case": "^2.1.0", + "upper-case": "^1.1.1", + "upper-case-first": "^1.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cheerio": { + "version": "1.0.0-rc.12", + "license": "MIT", + "dependencies": { + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "htmlparser2": "^8.0.1", + "parse5": "^7.0.0", + "parse5-htmlparser2-tree-adapter": "^7.0.0" + }, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/cheeriojs/cheerio?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cheerio-select": { + "version": "2.1.0", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cids/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/besu-cli/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/cli-spinners": { + "version": "2.9.0", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cli-table3": { + "version": "0.6.0", + "license": "MIT", + "dependencies": { + "object-assign": "^4.1.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": "10.* || >= 12.*" + }, + "optionalDependencies": { + "colors": "^1.1.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cliui": { + "version": "3.2.0", + "license": "ISC", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cliui/node_modules/string-width": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cliui/node_modules/strip-ansi": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/code-point-at": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/color": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/color-string": { + "version": "1.9.0", + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/colors": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/samples/besu/besu-cli/node_modules/colorspace": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "weaver/samples/besu/besu-cli/node_modules/constant-case": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "snake-case": "^2.1.0", + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "weaver/samples/besu/besu-cli/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cookie": { + "version": "0.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cosmiconfig": { + "version": "7.0.1", + "license": "MIT", + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/cosmiconfig/node_modules/path-type": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/crypto-addr-codec": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "big-integer": "1.6.36", + "blakejs": "^1.1.0", + "bs58": "^4.0.1", + "ripemd160-min": "0.0.6", + "safe-buffer": "^5.2.0", + "sha3": "^2.1.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/css-select": { + "version": "5.1.0", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "weaver/samples/besu/besu-cli/node_modules/css-what": { + "version": "6.1.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "weaver/samples/besu/besu-cli/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/besu/besu-cli/node_modules/detect-indent": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/dom-serializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/dom-walk": { + "version": "0.1.2" + }, + "weaver/samples/besu/besu-cli/node_modules/domelementtype": { + "version": "2.3.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "weaver/samples/besu/besu-cli/node_modules/domhandler": { + "version": "5.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/domutils": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/dot-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/ejs": { + "version": "3.1.8", + "license": "Apache-2.0", + "dependencies": { + "jake": "^10.8.5" + }, + "bin": { + "ejs": "bin/cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/enabled": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/entities": { + "version": "4.4.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/es6-promise": { + "version": "4.2.8", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "weaver/samples/besu/besu-cli/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/eth-lib/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ethereumjs-util/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ethers": { + "version": "4.0.49", + "license": "MIT", + "dependencies": { + "aes-js": "3.0.0", + "bn.js": "^4.11.9", + "elliptic": "6.5.4", + "hash.js": "1.1.3", + "js-sha3": "0.5.7", + "scrypt-js": "2.0.4", + "setimmediate": "1.0.4", + "uuid": "2.0.1", + "xmlhttprequest": "1.8.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ethers/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/ethers/node_modules/hash.js": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ethers/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/ethers/node_modules/scrypt-js": { + "version": "2.0.4", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/ethers/node_modules/setimmediate": { + "version": "1.0.4", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/ethers/node_modules/uuid": { + "version": "2.0.1" + }, + "weaver/samples/besu/besu-cli/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/express": { + "version": "4.18.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/fast-check": { + "version": "3.1.1", + "license": "MIT", + "dependencies": { + "pure-rand": "^5.0.1" + }, + "engines": { + "node": ">=8.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + }, + "weaver/samples/besu/besu-cli/node_modules/fecha": { + "version": "4.2.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/filelist": { + "version": "1.0.4", + "license": "Apache-2.0", + "dependencies": { + "minimatch": "^5.0.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/filelist/node_modules/minimatch": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/fn.name": { + "version": "1.1.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/form-data-encoder": { + "version": "1.7.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/fs-extra": { + "version": "0.30.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/fs-jetpack": { + "version": "4.3.1", + "license": "MIT", + "dependencies": { + "minimatch": "^3.0.2", + "rimraf": "^2.6.3" + } + }, + "weaver/samples/besu/besu-cli/node_modules/get-caller-file": { + "version": "1.0.3", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/gluegun": { + "version": "5.1.6", + "license": "MIT", + "dependencies": { + "apisauce": "^2.1.5", + "app-module-path": "^2.2.0", + "cli-table3": "0.6.0", + "colors": "1.4.0", + "cosmiconfig": "7.0.1", + "cross-spawn": "7.0.3", + "ejs": "3.1.8", + "enquirer": "2.3.6", + "execa": "5.1.1", + "fs-jetpack": "4.3.1", + "lodash.camelcase": "^4.3.0", + "lodash.kebabcase": "^4.1.1", + "lodash.lowercase": "^4.3.0", + "lodash.lowerfirst": "^4.3.1", + "lodash.pad": "^4.5.1", + "lodash.padend": "^4.6.1", + "lodash.padstart": "^4.6.1", + "lodash.repeat": "^4.1.0", + "lodash.snakecase": "^4.1.1", + "lodash.startcase": "^4.4.0", + "lodash.trim": "^4.5.1", + "lodash.trimend": "^4.5.1", + "lodash.trimstart": "^4.5.1", + "lodash.uppercase": "^4.3.0", + "lodash.upperfirst": "^4.3.1", + "ora": "4.0.2", + "pluralize": "^8.0.0", + "semver": "7.3.5", + "which": "2.0.2", + "yargs-parser": "^21.0.0" + }, + "bin": { + "gluegun": "bin/gluegun" + } + }, + "weaver/samples/besu/besu-cli/node_modules/got": { + "version": "12.1.0", + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^4.6.0", + "@szmarczak/http-timer": "^5.0.1", + "@types/cacheable-request": "^6.0.2", + "@types/responselike": "^1.0.0", + "cacheable-lookup": "^6.0.4", + "cacheable-request": "^7.0.2", + "decompress-response": "^6.0.0", + "form-data-encoder": "1.7.1", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/got/node_modules/decompress-response": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/besu-cli/node_modules/got/node_modules/lowercase-keys": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/besu-cli/node_modules/got/node_modules/mimic-response": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/besu-cli/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/header-case": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.3" + } + }, + "weaver/samples/besu/besu-cli/node_modules/highlight.js": { + "version": "10.7.3", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/highlightjs-solidity": { + "version": "2.0.6", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/hosted-git-info": { + "version": "2.8.9", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/htmlparser2": { + "version": "8.0.1", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "entities": "^4.3.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "weaver/samples/besu/besu-cli/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/invert-kv": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/besu-cli/node_modules/is-lower-case": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/besu-cli/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/is-upper-case": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "upper-case": "^1.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/is-utf8": { + "version": "0.2.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/jake": { + "version": "10.8.7", + "license": "Apache-2.0", + "dependencies": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.4", + "minimatch": "^3.1.2" + }, + "bin": { + "jake": "bin/cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "weaver/samples/besu/besu-cli/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/jsonfile": { + "version": "2.4.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/keyv": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/klaw": { + "version": "1.3.1", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.9" + } + }, + "weaver/samples/besu/besu-cli/node_modules/kuler": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lcid": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "invert-kv": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/load-json-file": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/load-json-file/node_modules/parse-json": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.assign": { + "version": "4.2.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.lowercase": { + "version": "4.3.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.lowerfirst": { + "version": "4.3.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.pad": { + "version": "4.5.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.padend": { + "version": "4.6.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.padstart": { + "version": "4.6.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.repeat": { + "version": "4.1.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.trim": { + "version": "4.5.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.trimend": { + "version": "4.5.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.trimstart": { + "version": "4.5.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lodash.uppercase": { + "version": "4.3.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/log-symbols": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/log-symbols/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/log-symbols/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/log-symbols/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/log-symbols/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/logform": { + "version": "2.4.0", + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/lower-case": { + "version": "1.1.4", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/lower-case-first": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/lowercase-keys": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/micro-ftch": { + "version": "0.3.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/multibase/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/besu-cli/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/multicodec/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/besu-cli/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/multihashes/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/besu-cli/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/nano-base32": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/no-case": { + "version": "2.3.2", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/nofilter": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/normalize-package-data": { + "version": "2.5.0", + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/normalize-url": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/besu-cli/node_modules/nth-check": { + "version": "2.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/number-is-nan": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/besu-cli/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/one-time": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ora": { + "version": "4.0.2", + "license": "MIT", + "dependencies": { + "chalk": "^2.4.2", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.2.0", + "is-interactive": "^1.0.0", + "log-symbols": "^3.0.0", + "strip-ansi": "^5.2.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ora/node_modules/ansi-regex": { + "version": "4.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ora/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ora/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ora/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ora/node_modules/strip-ansi": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ora/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/os-locale": { + "version": "1.4.0", + "license": "MIT", + "dependencies": { + "lcid": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/param-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/parse5": { + "version": "7.1.2", + "license": "MIT", + "dependencies": { + "entities": "^4.4.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/parse5-htmlparser2-tree-adapter": { + "version": "7.0.0", + "license": "MIT", + "dependencies": { + "domhandler": "^5.0.2", + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/pascal-case": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "camel-case": "^3.0.0", + "upper-case-first": "^1.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/path-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/path-exists": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/path-type": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/pify": { + "version": "2.3.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/pinkie": { + "version": "2.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/pinkie-promise": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/pluralize": { + "version": "8.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/pure-rand": { + "version": "5.0.5", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/besu-cli/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/raw-body": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/read-pkg": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/read-pkg-up": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/read-pkg-up/node_modules/find-up": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "weaver/samples/besu/besu-cli/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "weaver/samples/besu/besu-cli/node_modules/require-from-string": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/require-main-filename": { + "version": "1.0.1", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/responselike": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "lowercase-keys": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/besu-cli/node_modules/rimraf": { + "version": "2.7.1", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ripemd160-min": { + "version": "0.0.6", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "weaver/samples/besu/besu-cli/node_modules/safe-stable-stringify": { + "version": "2.3.1", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/besu-cli/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/sentence-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case-first": "^1.1.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/sha3": { + "version": "2.1.4", + "license": "MIT", + "dependencies": { + "buffer": "6.0.3" + } + }, + "weaver/samples/besu/besu-cli/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/simple-swizzle": { + "version": "0.2.2", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/snake-case": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/solc": { + "version": "0.4.26", + "license": "MIT", + "dependencies": { + "fs-extra": "^0.30.0", + "memorystream": "^0.3.1", + "require-from-string": "^1.1.0", + "semver": "^5.3.0", + "yargs": "^4.7.1" + }, + "bin": { + "solcjs": "solcjs" + } + }, + "weaver/samples/besu/besu-cli/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/strip-bom": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/besu-cli/node_modules/strip-indent": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swap-case": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.1", + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/testrpc": { + "version": "0.0.1" + }, + "weaver/samples/besu/besu-cli/node_modules/text-hex": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/title-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.0.3" + } + }, + "weaver/samples/besu/besu-cli/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/triple-beam": { + "version": "1.3.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "weaver/samples/besu/besu-cli/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/upper-case": { + "version": "1.1.3", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/upper-case-first": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/besu-cli/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/web3": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.10.0", + "web3-core": "1.10.0", + "web3-eth": "1.10.0", + "web3-eth-personal": "1.10.0", + "web3-net": "1.10.0", + "web3-shh": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-bzz": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "12.1.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/web3-core": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-requestmanager": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-core-helpers": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-core-method": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.6.2", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-core-promievent": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-core-requestmanager": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.5", + "web3-core-helpers": "1.10.0", + "web3-providers-http": "1.10.0", + "web3-providers-ipc": "1.10.0", + "web3-providers-ws": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-core-subscriptions": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-eth-accounts": "1.10.0", + "web3-eth-contract": "1.10.0", + "web3-eth-ens": "1.10.0", + "web3-eth-iban": "1.10.0", + "web3-eth-personal": "1.10.0", + "web3-net": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-abi": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "^5.6.3", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-accounts": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "2.5.0", + "@ethereumjs/tx": "3.3.2", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.1.5", + "scrypt-js": "^3.0.1", + "uuid": "^9.0.0", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-accounts/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-accounts/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-accounts/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-accounts/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-contract": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-ens": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-eth-contract": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-iban": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-personal": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-net": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/samples/besu/besu-cli/node_modules/web3-net": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-method": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-providers-http": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "abortcontroller-polyfill": "^1.7.3", + "cross-fetch": "^3.1.4", + "es6-promise": "^4.2.8", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-providers-ipc": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-providers-ws": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.0", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-shh": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-net": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/web3-utils": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/which-module": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/window-size": { + "version": "0.2.0", + "license": "MIT", + "bin": { + "window-size": "cli.js" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/winston": { + "version": "3.10.0", + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/winston-transport": { + "version": "4.5.0", + "license": "MIT", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/wrap-ansi": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/wrap-ansi/node_modules/string-width": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/ws": { + "version": "7.4.6", + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "weaver/samples/besu/besu-cli/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "weaver/samples/besu/besu-cli/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/xmlhttprequest": { + "version": "1.8.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/y18n": { + "version": "3.2.2", + "license": "ISC" + }, + "weaver/samples/besu/besu-cli/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "weaver/samples/besu/besu-cli/node_modules/yargs": { + "version": "4.8.1", + "license": "MIT", + "dependencies": { + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "lodash.assign": "^4.0.3", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.1", + "which-module": "^1.0.0", + "window-size": "^0.2.0", + "y18n": "^3.2.1", + "yargs-parser": "^2.4.1" + } + }, + "weaver/samples/besu/besu-cli/node_modules/yargs/node_modules/string-width": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/besu-cli/node_modules/yargs/node_modules/strip-ansi": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset": { + "name": "@hyperledger/cacti-weaver-besu-simpleasset", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@lazyledger/protobuf3-solidity-lib": "0.6.0", + "@openzeppelin/contracts": "4.9.6", + "@truffle/contract": "4.6.28", + "chai": "4.3.7", + "dotenv": "16.3.1", + "ganache-cli": "6.12.2", + "solc": "0.8.21", + "web3": "1.10.0" + }, + "devDependencies": { + "truffle": "5.11.2", + "typescript": "5.3.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/protobufjs": { + "version": "1.2.6", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.0", + "@types/node": "^10.1.0", + "long": "^4.0.0" + }, + "bin": { + "apollo-pbjs": "bin/pbjs", + "apollo-pbts": "bin/pbts" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/protobufjs/node_modules/@types/node": { + "version": "10.17.60", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/usage-reporting-protobuf": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/protobufjs": "1.2.7" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/usage-reporting-protobuf/node_modules/@apollo/protobufjs": { + "version": "1.2.7", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.0", + "long": "^4.0.0" + }, + "bin": { + "apollo-pbjs": "bin/pbjs", + "apollo-pbts": "bin/pbts" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/utils.dropunuseddefinitions": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/utils.keyvaluecache": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/utils.logger": "^1.0.0", + "lru-cache": "7.10.1 - 7.13.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/utils.keyvaluecache/node_modules/lru-cache": { + "version": "7.13.1", + "dev": true, + "license": "ISC", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/utils.logger": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/utils.printwithreducedwhitespace": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/utils.removealiases": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/utils.sortast": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "lodash.sortby": "^4.7.0" + }, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/utils.stripsensitiveliterals": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollo/utils.usagereporting": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/usage-reporting-protobuf": "^4.0.0", + "@apollo/utils.dropunuseddefinitions": "^1.1.0", + "@apollo/utils.printwithreducedwhitespace": "^1.1.0", + "@apollo/utils.removealiases": "1.0.0", + "@apollo/utils.sortast": "^1.1.0", + "@apollo/utils.stripsensitiveliterals": "^1.2.0" + }, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollographql/apollo-tools": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8", + "npm": ">=6" + }, + "peerDependencies": { + "graphql": "^14.2.1 || ^15.0.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@apollographql/graphql-playground-html": { + "version": "1.6.29", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "xss": "^1.0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@babel/runtime": { + "version": "7.22.6", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.13.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@babel/runtime/node_modules/regenerator-runtime": { + "version": "0.13.11", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/address-encoder": { + "version": "0.1.9", + "license": "BSD", + "dependencies": { + "bech32": "^1.1.3", + "blakejs": "^1.1.0", + "bn.js": "^4.11.8", + "bs58": "^4.0.1", + "crypto-addr-codec": "^0.1.7", + "nano-base32": "^1.0.1", + "ripemd160": "^2.0.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/address-encoder/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/ens": { + "version": "0.4.5", + "license": "CC0-1.0", + "dependencies": { + "bluebird": "^3.5.2", + "eth-ens-namehash": "^2.0.8", + "solc": "^0.4.20", + "testrpc": "0.0.1", + "web3-utils": "^1.0.0-beta.31" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/ens/node_modules/ethereum-cryptography": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "@noble/curves": "1.1.0", + "@noble/hashes": "1.3.1", + "@scure/bip32": "1.3.1", + "@scure/bip39": "1.2.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/ens/node_modules/solc": { + "version": "0.4.26", + "license": "MIT", + "dependencies": { + "fs-extra": "^0.30.0", + "memorystream": "^0.3.1", + "require-from-string": "^1.1.0", + "semver": "^5.3.0", + "yargs": "^4.7.1" + }, + "bin": { + "solcjs": "solcjs" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/ens/node_modules/web3-utils": { + "version": "1.10.4", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/util": "^8.1.0", + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereum-cryptography": "^2.1.2", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/ensjs": { + "version": "2.1.0", + "license": "ISC", + "dependencies": { + "@babel/runtime": "^7.4.4", + "@ensdomains/address-encoder": "^0.1.7", + "@ensdomains/ens": "0.4.5", + "@ensdomains/resolver": "0.2.4", + "content-hash": "^2.5.2", + "eth-ens-namehash": "^2.0.8", + "ethers": "^5.0.13", + "js-sha3": "^0.8.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/ensjs/node_modules/@babel/runtime": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/ensjs/node_modules/ethers": { + "version": "5.7.2", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ensdomains/resolver": { + "version": "0.2.4" + }, + "weaver/samples/besu/simpleasset/node_modules/@ethereumjs/common": { + "version": "2.5.0", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethereumjs/tx": { + "version": "3.3.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "ethereumjs-util": "^7.1.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethereumjs/util": { + "version": "8.1.0", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "ethereum-cryptography": "^2.0.0", + "micro-ftch": "^0.3.1" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethereumjs/util/node_modules/ethereum-cryptography": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "@noble/curves": "1.1.0", + "@noble/hashes": "1.3.1", + "@scure/bip32": "1.3.1", + "@scure/bip39": "1.2.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/basex": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/contracts": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/hdnode": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/json-wallets": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/pbkdf2": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/sha2": "^5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/providers": { + "version": "5.7.2", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/providers/node_modules/ws": { + "version": "7.4.6", + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/random": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/sha2": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "hash.js": "1.1.7" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/solidity": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/units": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/wallet": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/json-wallets": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@ethersproject/wordlists": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/batch-execute": { + "version": "8.5.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/utils": "8.9.0", + "dataloader": "2.1.0", + "tslib": "^2.4.0", + "value-or-promise": "1.0.11" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/delegate": { + "version": "8.8.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/batch-execute": "8.5.1", + "@graphql-tools/schema": "8.5.1", + "@graphql-tools/utils": "8.9.0", + "dataloader": "2.1.0", + "tslib": "~2.4.0", + "value-or-promise": "1.0.11" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/delegate/node_modules/tslib": { + "version": "2.4.1", + "dev": true, + "license": "0BSD", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/merge": { + "version": "8.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/utils": "8.9.0", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/mock": { + "version": "8.7.20", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/schema": "^9.0.18", + "@graphql-tools/utils": "^9.2.1", + "fast-json-stable-stringify": "^2.1.0", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/mock/node_modules/@graphql-tools/merge": { + "version": "8.4.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/utils": "^9.2.1", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/mock/node_modules/@graphql-tools/schema": { + "version": "9.0.19", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/merge": "^8.4.1", + "@graphql-tools/utils": "^9.2.1", + "tslib": "^2.4.0", + "value-or-promise": "^1.0.12" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/mock/node_modules/@graphql-tools/utils": { + "version": "9.2.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-typed-document-node/core": "^3.1.1", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/mock/node_modules/value-or-promise": { + "version": "1.0.12", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/schema": { + "version": "8.5.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/merge": "8.3.1", + "@graphql-tools/utils": "8.9.0", + "tslib": "^2.4.0", + "value-or-promise": "1.0.11" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-tools/utils": { + "version": "8.9.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@graphql-typed-document-node/core": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@josephg/resolvable": { + "version": "1.0.1", + "dev": true, + "license": "ISC", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@lazyledger/protobuf3-solidity-lib": { + "version": "0.6.0", + "license": "Apache-2.0" + }, + "weaver/samples/besu/simpleasset/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/float": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/path": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@redux-saga/core": { + "version": "1.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.6.3", + "@redux-saga/deferred": "^1.2.1", + "@redux-saga/delay-p": "^1.2.1", + "@redux-saga/is": "^1.1.3", + "@redux-saga/symbols": "^1.1.3", + "@redux-saga/types": "^1.2.1", + "redux": "^4.0.4", + "typescript-tuple": "^2.2.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/redux-saga" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@redux-saga/deferred": { + "version": "1.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@redux-saga/delay-p": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@redux-saga/symbols": "^1.1.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@redux-saga/is": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@redux-saga/symbols": "^1.1.3", + "@redux-saga/types": "^1.2.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@redux-saga/symbols": { + "version": "1.1.3", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@redux-saga/types": { + "version": "1.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@sindresorhus/is": { + "version": "4.6.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/abi-utils": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "change-case": "3.0.2", + "fast-check": "3.1.1", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/blockchain-utils": { + "version": "0.1.8", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/code-utils": { + "version": "3.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "cbor": "^5.2.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/codec": { + "version": "0.17.2", + "license": "MIT", + "dependencies": { + "@truffle/abi-utils": "^1.0.2", + "@truffle/compile-common": "^0.9.7", + "big.js": "^6.0.3", + "bn.js": "^5.1.3", + "cbor": "^5.2.0", + "debug": "^4.3.1", + "lodash": "^4.17.21", + "semver": "7.5.2", + "utf8": "^3.0.0", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/codec/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/codec/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/compile-common": { + "version": "0.9.7", + "license": "MIT", + "dependencies": { + "@truffle/error": "^0.2.1", + "colors": "1.4.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/config": { + "version": "1.3.59", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@truffle/error": "^0.2.1", + "@truffle/events": "^0.1.24", + "@truffle/provider": "^0.3.11", + "conf": "^10.1.2", + "debug": "^4.3.1", + "find-up": "^2.1.0", + "lodash": "^4.17.21", + "original-require": "^1.0.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/config/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/config/node_modules/find-up": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/config/node_modules/locate-path": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/config/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/config/node_modules/p-limit": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/config/node_modules/p-locate": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/config/node_modules/p-try": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/contract": { + "version": "4.6.28", + "license": "MIT", + "dependencies": { + "@ensdomains/ensjs": "^2.1.0", + "@truffle/blockchain-utils": "^0.1.8", + "@truffle/contract-schema": "^3.4.15", + "@truffle/debug-utils": "^6.0.56", + "@truffle/error": "^0.2.1", + "@truffle/interface-adapter": "^0.5.35", + "bignumber.js": "^7.2.1", + "debug": "^4.3.1", + "ethers": "^4.0.32", + "web3": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/contract-schema": { + "version": "3.4.15", + "license": "MIT", + "dependencies": { + "ajv": "^6.10.0", + "debug": "^4.3.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/contract-schema/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/contract-schema/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/contract-schema/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/contract/node_modules/bignumber.js": { + "version": "7.2.1", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/contract/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/contract/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/dashboard-message-bus-client": { + "version": "0.1.11", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@truffle/dashboard-message-bus-common": "^0.1.6", + "@truffle/promise-tracker": "^0.1.6", + "axios": "1.2.4", + "debug": "^4.3.1", + "delay": "^5.0.0", + "isomorphic-ws": "^4.0.1", + "node-abort-controller": "^3.0.1", + "tiny-typed-emitter": "^2.1.0", + "ws": "^7.2.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/dashboard-message-bus-client/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/dashboard-message-bus-client/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/dashboard-message-bus-common": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/db": { + "version": "2.0.33", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/delegate": "^8.4.3", + "@graphql-tools/schema": "^8.3.1", + "@truffle/abi-utils": "^1.0.2", + "@truffle/code-utils": "^3.0.3", + "@truffle/config": "^1.3.59", + "abstract-leveldown": "^7.2.0", + "apollo-server": "^3.11.0", + "debug": "^4.3.1", + "fs-extra": "^9.1.0", + "graphql": "^15.3.0", + "graphql-tag": "^2.12.6", + "json-stable-stringify": "^1.0.1", + "pascal-case": "^2.0.1", + "pluralize": "^8.0.0", + "pouchdb": "7.3.0", + "pouchdb-adapter-memory": "^7.1.1", + "pouchdb-debug": "^7.1.1", + "pouchdb-find": "^7.0.0", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/db-loader": { + "version": "0.2.33", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "@truffle/db": "^2.0.33" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/db/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/db/node_modules/fs-extra": { + "version": "9.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/db/node_modules/jsonfile": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/db/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debug-utils": { + "version": "6.0.56", + "license": "MIT", + "dependencies": { + "@truffle/codec": "^0.17.2", + "@trufflesuite/chromafi": "^3.0.0", + "bn.js": "^5.1.3", + "chalk": "^2.4.2", + "debug": "^4.3.1", + "highlightjs-solidity": "^2.0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debug-utils/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debug-utils/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debug-utils/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debug-utils/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debug-utils/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debugger": { + "version": "12.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@ensdomains/ensjs": "^2.1.0", + "@truffle/abi-utils": "^1.0.2", + "@truffle/codec": "^0.17.2", + "@truffle/source-map-utils": "^1.3.118", + "bn.js": "^5.1.3", + "debug": "^4.3.1", + "json-pointer": "^0.6.1", + "json-stable-stringify": "^1.0.1", + "lodash": "^4.17.21", + "redux": "^3.7.2", + "redux-saga": "1.0.0", + "reselect-tree": "^1.3.7", + "semver": "7.5.2", + "web3": "1.10.0", + "web3-eth-abi": "1.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debugger/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debugger/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/debugger/node_modules/redux": { + "version": "3.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.2.1", + "lodash-es": "^4.2.1", + "loose-envify": "^1.1.0", + "symbol-observable": "^1.0.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/error": { + "version": "0.2.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/events": { + "version": "0.1.24", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "@truffle/dashboard-message-bus-client": "^0.1.11", + "@truffle/spinners": "^0.2.4", + "debug": "^4.3.1", + "emittery": "^0.4.1", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/events/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/events/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/interface-adapter": { + "version": "0.5.35", + "license": "MIT", + "dependencies": { + "bn.js": "^5.1.3", + "ethers": "^4.0.32", + "web3": "1.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/promise-tracker": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/provider": { + "version": "0.3.11", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@truffle/error": "^0.2.1", + "@truffle/interface-adapter": "^0.5.35", + "debug": "^4.3.1", + "web3": "1.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/provider/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/provider/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/source-map-utils": { + "version": "1.3.118", + "dev": true, + "license": "MIT", + "dependencies": { + "@truffle/code-utils": "^3.0.3", + "@truffle/codec": "^0.17.2", + "debug": "^4.3.1", + "json-pointer": "^0.6.1", + "node-interval-tree": "^1.3.3", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/source-map-utils/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/source-map-utils/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@truffle/spinners": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@trufflesuite/spinnies": "^0.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/bigint-buffer": { + "version": "1.1.10", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "node-gyp-build": "4.4.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/bigint-buffer/node_modules/node-gyp-build": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/chromafi": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "camelcase": "^4.1.0", + "chalk": "^2.3.2", + "cheerio": "^1.0.0-rc.2", + "detect-indent": "^5.0.0", + "highlight.js": "^10.4.1", + "lodash.merge": "^4.6.2", + "strip-ansi": "^4.0.0", + "strip-indent": "^2.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/chromafi/node_modules/ansi-regex": { + "version": "3.0.1", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/chromafi/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/chromafi/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/chromafi/node_modules/strip-ansi": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/chromafi/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/spinnies": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "chalk": "^4.1.2", + "cli-cursor": "^3.1.0", + "strip-ansi": "^6.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/uws-js-unofficial": { + "version": "20.10.0-unofficial.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "ws": "8.2.3" + }, + "optionalDependencies": { + "bufferutil": "4.0.5", + "utf-8-validate": "5.0.7" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@trufflesuite/uws-js-unofficial/node_modules/ws": { + "version": "8.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/accepts": { + "version": "1.3.5", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/cacheable-request": { + "version": "6.0.3", + "license": "MIT", + "dependencies": { + "@types/http-cache-semantics": "*", + "@types/keyv": "^3.1.4", + "@types/node": "*", + "@types/responselike": "^1.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@types/express": { + "version": "4.17.14", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.18", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/express-serve-static-core": { + "version": "4.17.28", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/http-cache-semantics": { + "version": "4.0.3", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@types/long": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@types/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/@types/seedrandom": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/abortcontroller-polyfill": { + "version": "1.7.5", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/abstract-level": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "catering": "^2.1.0", + "is-buffer": "^2.0.5", + "level-supports": "^4.0.0", + "level-transcoder": "^1.0.1", + "module-error": "^1.0.1", + "queue-microtask": "^1.2.3" + }, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/abstract-level/node_modules/level-supports": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/abstract-leveldown": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "catering": "^2.0.0", + "is-buffer": "^2.0.5", + "level-concat-iterator": "^3.0.0", + "level-supports": "^2.0.1", + "queue-microtask": "^1.2.3" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/abstract-leveldown/node_modules/level-concat-iterator": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "catering": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/abstract-leveldown/node_modules/level-supports": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/aes-js": { + "version": "3.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/ajv-formats": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/ansi-regex": { + "version": "2.1.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-datasource": { + "version": "3.3.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/utils.keyvaluecache": "^1.0.1", + "apollo-server-env": "^4.2.1" + }, + "engines": { + "node": ">=12.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-reporting-protobuf": { + "version": "3.4.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/protobufjs": "1.2.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-server": { + "version": "3.12.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/express": "4.17.14", + "apollo-server-core": "^3.12.0", + "apollo-server-express": "^3.12.0", + "express": "^4.17.1" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-server-core": { + "version": "3.12.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/utils.keyvaluecache": "^1.0.1", + "@apollo/utils.logger": "^1.0.0", + "@apollo/utils.usagereporting": "^1.0.0", + "@apollographql/apollo-tools": "^0.5.3", + "@apollographql/graphql-playground-html": "1.6.29", + "@graphql-tools/mock": "^8.1.2", + "@graphql-tools/schema": "^8.0.0", + "@josephg/resolvable": "^1.0.0", + "apollo-datasource": "^3.3.2", + "apollo-reporting-protobuf": "^3.4.0", + "apollo-server-env": "^4.2.1", + "apollo-server-errors": "^3.3.1", + "apollo-server-plugin-base": "^3.7.2", + "apollo-server-types": "^3.8.0", + "async-retry": "^1.2.1", + "fast-json-stable-stringify": "^2.1.0", + "graphql-tag": "^2.11.0", + "loglevel": "^1.6.8", + "lru-cache": "^6.0.0", + "node-abort-controller": "^3.0.1", + "sha.js": "^2.4.11", + "uuid": "^9.0.0", + "whatwg-mimetype": "^3.0.0" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-server-env": { + "version": "4.2.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-fetch": "^2.6.7" + }, + "engines": { + "node": ">=12.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-server-errors": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-server-express": { + "version": "3.12.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/accepts": "^1.3.5", + "@types/body-parser": "1.19.2", + "@types/cors": "2.8.12", + "@types/express": "4.17.14", + "@types/express-serve-static-core": "4.17.31", + "accepts": "^1.3.5", + "apollo-server-core": "^3.12.0", + "apollo-server-types": "^3.8.0", + "body-parser": "^1.19.0", + "cors": "^2.8.5", + "parseurl": "^1.3.3" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "express": "^4.17.1", + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-server-express/node_modules/@types/express-serve-static-core": { + "version": "4.17.31", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-server-plugin-base": { + "version": "3.7.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "apollo-server-types": "^3.8.0" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/apollo-server-types": { + "version": "3.8.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/utils.keyvaluecache": "^1.0.1", + "@apollo/utils.logger": "^1.0.0", + "apollo-reporting-protobuf": "^3.4.0", + "apollo-server-env": "^4.2.1" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/app-module-path": { + "version": "2.2.0", + "dev": true, + "license": "BSD-2-Clause" + }, + "weaver/samples/besu/simpleasset/node_modules/argsarray": { + "version": "0.0.1", + "dev": true, + "license": "WTFPL", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/assertion-error": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/async": { + "version": "2.6.4", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.17.14" + } + }, + "weaver/samples/besu/simpleasset/node_modules/async-eventemitter": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^2.4.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/async-retry": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "retry": "0.13.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/async-retry/node_modules/retry": { + "version": "0.13.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/at-least-node": { + "version": "1.0.0", + "dev": true, + "license": "ISC", + "optional": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/atomically": { + "version": "1.7.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=10.12.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/axios": { + "version": "1.5.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/bech32": { + "version": "1.1.4", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/big-integer": { + "version": "1.6.36", + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/big.js": { + "version": "6.2.1", + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/bigjs" + } + }, + "weaver/samples/besu/simpleasset/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "weaver/samples/besu/simpleasset/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/body-parser": { + "version": "1.20.0", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.10.3", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/besu/simpleasset/node_modules/body-parser/node_modules/qs": { + "version": "6.10.3", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simpleasset/node_modules/boolbase": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/browser-stdout": { + "version": "1.3.1", + "dev": true, + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/bufferutil": { + "version": "4.0.5", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cacheable-lookup": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10.6.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cacheable-request": { + "version": "7.0.4", + "license": "MIT", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/camel-case": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/camelcase": { + "version": "4.1.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "weaver/samples/besu/simpleasset/node_modules/catering": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cbor": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.1", + "nofilter": "^1.0.4" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/chai": { + "version": "4.3.7", + "license": "MIT", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^4.1.2", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/change-case": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "camel-case": "^3.0.0", + "constant-case": "^2.0.0", + "dot-case": "^2.1.0", + "header-case": "^1.0.0", + "is-lower-case": "^1.1.0", + "is-upper-case": "^1.1.0", + "lower-case": "^1.1.1", + "lower-case-first": "^1.0.0", + "no-case": "^2.3.2", + "param-case": "^2.1.0", + "pascal-case": "^2.0.0", + "path-case": "^2.1.0", + "sentence-case": "^2.1.0", + "snake-case": "^2.1.0", + "swap-case": "^1.1.0", + "title-case": "^2.1.0", + "upper-case": "^1.1.1", + "upper-case-first": "^1.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/check-error": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cheerio": { + "version": "1.0.0-rc.12", + "license": "MIT", + "dependencies": { + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "htmlparser2": "^8.0.1", + "parse5": "^7.0.0", + "parse5-htmlparser2-tree-adapter": "^7.0.0" + }, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/cheeriojs/cheerio?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cheerio-select": { + "version": "2.1.0", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cids/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/cliui": { + "version": "3.2.0", + "license": "ISC", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cliui/node_modules/string-width": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cliui/node_modules/strip-ansi": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/clone-buffer": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/code-point-at": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/colors": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/samples/besu/simpleasset/node_modules/command-exists": { + "version": "1.2.9", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/commander": { + "version": "8.3.0", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/conf": { + "version": "10.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ajv": "^8.6.3", + "ajv-formats": "^2.1.1", + "atomically": "^1.7.0", + "debounce-fn": "^4.0.0", + "dot-prop": "^6.0.1", + "env-paths": "^2.2.1", + "json-schema-typed": "^7.0.3", + "onetime": "^5.1.2", + "pkg-up": "^3.1.0", + "semver": "^7.3.5" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/constant-case": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "snake-case": "^2.1.0", + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "weaver/samples/besu/simpleasset/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cookie": { + "version": "0.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cross-spawn": { + "version": "6.0.5", + "license": "MIT", + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cross-spawn/node_modules/which": { + "version": "1.3.1", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "weaver/samples/besu/simpleasset/node_modules/crypto-addr-codec": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "big-integer": "1.6.36", + "blakejs": "^1.1.0", + "bs58": "^4.0.1", + "ripemd160-min": "0.0.6", + "safe-buffer": "^5.2.0", + "sha3": "^2.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/css-select": { + "version": "5.1.0", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "weaver/samples/besu/simpleasset/node_modules/css-what": { + "version": "6.1.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "weaver/samples/besu/simpleasset/node_modules/cssfilter": { + "version": "0.0.10", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/dataloader": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/debounce-fn": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "mimic-fn": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/debounce-fn/node_modules/mimic-fn": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/deep-eql": { + "version": "4.1.3", + "license": "MIT", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/deferred-leveldown": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "~6.2.1", + "inherits": "^2.0.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/deferred-leveldown/node_modules/abstract-leveldown": { + "version": "6.2.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/deferred-leveldown/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/delay": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/besu/simpleasset/node_modules/detect-indent": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/diff": { + "version": "5.0.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/dom-serializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/dom-walk": { + "version": "0.1.2" + }, + "weaver/samples/besu/simpleasset/node_modules/domelementtype": { + "version": "2.3.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "weaver/samples/besu/simpleasset/node_modules/domhandler": { + "version": "5.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/domutils": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/dot-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/dot-prop": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/double-ended-queue": { + "version": "2.1.0-0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/emittery": { + "version": "0.4.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/encoding-down": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "^6.2.1", + "inherits": "^2.0.3", + "level-codec": "^9.0.0", + "level-errors": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/encoding-down/node_modules/abstract-leveldown": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/encoding-down/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/end-stream": { + "version": "0.1.0", + "dev": true, + "optional": true, + "dependencies": { + "write-stream": "~0.4.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/entities": { + "version": "4.4.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/errno": { + "version": "0.1.8", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "weaver/samples/besu/simpleasset/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/es6-promise": { + "version": "4.2.8", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "weaver/samples/besu/simpleasset/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/eth-lib/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ethers": { + "version": "4.0.49", + "license": "MIT", + "dependencies": { + "aes-js": "3.0.0", + "bn.js": "^4.11.9", + "elliptic": "6.5.4", + "hash.js": "1.1.3", + "js-sha3": "0.5.7", + "scrypt-js": "2.0.4", + "setimmediate": "1.0.4", + "uuid": "2.0.1", + "xmlhttprequest": "1.8.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ethers/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/ethers/node_modules/hash.js": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ethers/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/ethers/node_modules/scrypt-js": { + "version": "2.0.4", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/ethers/node_modules/setimmediate": { + "version": "1.0.4", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/ethers/node_modules/uuid": { + "version": "2.0.1" + }, + "weaver/samples/besu/simpleasset/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/execa": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "cross-spawn": "^6.0.0", + "get-stream": "^4.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/execa/node_modules/get-stream": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/express": { + "version": "4.18.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/fast-check": { + "version": "3.1.1", + "license": "MIT", + "dependencies": { + "pure-rand": "^5.0.1" + }, + "engines": { + "node": ">=8.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + }, + "weaver/samples/besu/simpleasset/node_modules/fetch-cookie": { + "version": "0.11.0", + "dev": true, + "license": "Unlicense", + "optional": true, + "dependencies": { + "tough-cookie": "^2.3.3 || ^3.0.1 || ^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/find-up": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/flat": { + "version": "5.0.2", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "weaver/samples/besu/simpleasset/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/form-data-encoder": { + "version": "1.7.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/fs-extra": { + "version": "0.30.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/functional-red-black-tree": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/ganache": { + "version": "7.9.0", + "bundleDependencies": [ + "@trufflesuite/bigint-buffer", + "keccak", + "leveldown", + "secp256k1" + ], + "dev": true, + "license": "MIT", + "dependencies": { + "@trufflesuite/bigint-buffer": "1.1.10", + "@trufflesuite/uws-js-unofficial": "20.10.0-unofficial.2", + "@types/bn.js": "^5.1.0", + "@types/lru-cache": "5.1.1", + "@types/seedrandom": "3.0.1", + "abstract-level": "1.0.3", + "abstract-leveldown": "7.2.0", + "async-eventemitter": "0.2.4", + "emittery": "0.10.0", + "keccak": "3.0.2", + "leveldown": "6.1.0", + "secp256k1": "4.0.3" + }, + "bin": { + "ganache": "dist/node/cli.js", + "ganache-cli": "dist/node/cli.js" + }, + "optionalDependencies": { + "bufferutil": "4.0.5", + "utf-8-validate": "5.0.7" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli": { + "version": "6.12.2", + "bundleDependencies": [ + "source-map-support", + "yargs", + "ethereumjs-util" + ], + "license": "MIT", + "dependencies": { + "ethereumjs-util": "6.2.1", + "source-map-support": "0.5.12", + "yargs": "13.2.4" + }, + "bin": { + "ganache-cli": "cli.js" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/@types/bn.js": { + "version": "4.11.6", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/ansi-regex": { + "version": "4.1.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/ansi-styles": { + "version": "3.2.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/bn.js": { + "version": "4.12.0", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/cliui": { + "version": "5.0.0", + "extraneous": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/color-convert": { + "version": "1.9.3", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/color-name": { + "version": "1.1.3", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/elliptic": { + "version": "6.5.5", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/emoji-regex": { + "version": "7.0.3", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/ethereumjs-util": { + "version": "6.2.1", + "extraneous": true, + "inBundle": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/invert-kv": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/lcid": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "invert-kv": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/os-locale": { + "version": "3.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "execa": "^1.0.0", + "lcid": "^2.0.0", + "mem": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/require-main-filename": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/string-width": { + "version": "3.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/strip-ansi": { + "version": "5.2.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/which-module": { + "version": "2.0.1", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/wrap-ansi": { + "version": "5.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache-cli/node_modules/yargs": { + "version": "13.2.4", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "os-locale": "^3.1.0", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache/node_modules/emittery": { + "version": "0.10.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache/node_modules/keccak": { + "version": "3.0.2", + "extraneous": true, + "hasInstallScript": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ganache/node_modules/leveldown": { + "version": "6.1.0", + "extraneous": true, + "hasInstallScript": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "^7.2.0", + "napi-macros": "~2.0.0", + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/get-func-name": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/get-stream": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/got": { + "version": "12.1.0", + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^4.6.0", + "@szmarczak/http-timer": "^5.0.1", + "@types/cacheable-request": "^6.0.2", + "@types/responselike": "^1.0.0", + "cacheable-lookup": "^6.0.4", + "cacheable-request": "^7.0.2", + "decompress-response": "^6.0.0", + "form-data-encoder": "1.7.1", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/got/node_modules/decompress-response": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/got/node_modules/get-stream": { + "version": "6.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/got/node_modules/lowercase-keys": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/got/node_modules/mimic-response": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/graphql": { + "version": "15.8.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 10.x" + } + }, + "weaver/samples/besu/simpleasset/node_modules/graphql-tag": { + "version": "2.12.6", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.1.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/har-validator/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "weaver/samples/besu/simpleasset/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/he": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "weaver/samples/besu/simpleasset/node_modules/header-case": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/highlight.js": { + "version": "10.7.3", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/highlightjs-solidity": { + "version": "2.0.6", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/hosted-git-info": { + "version": "2.8.9", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/htmlparser2": { + "version": "8.0.1", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "entities": "^4.3.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "weaver/samples/besu/simpleasset/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/immediate": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/invert-kv": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-buffer": { + "version": "2.0.5", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-lower-case": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-upper-case": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "upper-case": "^1.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/is-utf8": { + "version": "0.2.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/isomorphic-ws": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "peerDependencies": { + "ws": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/json-pointer": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "foreach": "^2.0.4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/json-pointer/node_modules/foreach": { + "version": "2.0.6", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "weaver/samples/besu/simpleasset/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/json-schema-typed": { + "version": "7.0.3", + "dev": true, + "license": "BSD-2-Clause", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/json-stable-stringify": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonify": "^0.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simpleasset/node_modules/jsonfile": { + "version": "2.4.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/jsonify": { + "version": "0.0.1", + "dev": true, + "license": "Public Domain", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simpleasset/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/keyv": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/klaw": { + "version": "1.3.1", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.9" + } + }, + "weaver/samples/besu/simpleasset/node_modules/lcid": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "invert-kv": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "level-js": "^5.0.0", + "level-packager": "^5.1.0", + "leveldown": "^5.4.0" + }, + "engines": { + "node": ">=8.6.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/level" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-codec": { + "version": "9.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-codec/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-concat-iterator": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-errors": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "errno": "~0.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-iterator-stream": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.4.0", + "xtend": "^4.0.2" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-js": { + "version": "5.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "~6.2.3", + "buffer": "^5.5.0", + "inherits": "^2.0.3", + "ltgt": "^2.1.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-js/node_modules/abstract-leveldown": { + "version": "6.2.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-js/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-packager": { + "version": "5.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "encoding-down": "^6.3.0", + "levelup": "^4.3.2" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-supports": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "xtend": "^4.0.2" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-transcoder": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "module-error": "^1.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/level-write-stream": { + "version": "1.0.0", + "dev": true, + "optional": true, + "dependencies": { + "end-stream": "~0.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/leveldown": { + "version": "5.6.0", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "~6.2.1", + "napi-macros": "~2.0.0", + "node-gyp-build": "~4.1.0" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/leveldown/node_modules/abstract-leveldown": { + "version": "6.2.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/leveldown/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/leveldown/node_modules/node-gyp-build": { + "version": "4.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "weaver/samples/besu/simpleasset/node_modules/levelup": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "deferred-leveldown": "~5.3.0", + "level-errors": "~2.0.0", + "level-iterator-stream": "~4.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/load-json-file": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/locate-path": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/lodash-es": { + "version": "4.17.21", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/lodash.assign": { + "version": "4.2.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/lodash.sortby": { + "version": "4.7.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/loglevel": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6.0" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/loglevel" + } + }, + "weaver/samples/besu/simpleasset/node_modules/long": { + "version": "4.0.0", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/loupe": { + "version": "2.3.6", + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/lower-case": { + "version": "1.1.4", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/lower-case-first": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/lowercase-keys": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/map-age-cleaner": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "p-defer": "^1.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mem": { + "version": "4.3.0", + "license": "MIT", + "dependencies": { + "map-age-cleaner": "^0.1.1", + "mimic-fn": "^2.0.0", + "p-is-promise": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/memdown": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/memdown/node_modules/abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "xtend": "~4.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/memdown/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/micro-ftch": { + "version": "0.3.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha": { + "version": "10.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": ">= 14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/ansi-styles": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/cliui": { + "version": "7.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/color-convert": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/find-up": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/locate-path": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/minimatch": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/p-limit": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/p-locate": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/path-exists": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/wrap-ansi": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/y18n": { + "version": "5.0.8", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mocha/node_modules/yargs": { + "version": "16.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/module-error": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/multibase/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/multicodec/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/multihashes/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/nano-base32": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/nanoid": { + "version": "3.3.3", + "dev": true, + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/napi-macros": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/no-case": { + "version": "2.3.2", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/node-abort-controller": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/node-interval-tree": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "shallowequal": "^1.0.2" + }, + "engines": { + "node": ">= 7.6.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/nofilter": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/normalize-package-data": { + "version": "2.5.0", + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/normalize-url": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/npm-run-path": { + "version": "2.0.2", + "license": "MIT", + "dependencies": { + "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/nth-check": { + "version": "2.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/number-is-nan": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/original-require": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/os-locale": { + "version": "1.4.0", + "license": "MIT", + "dependencies": { + "lcid": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/p-defer": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/p-is-promise": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/p-limit": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/p-locate": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/param-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/parse-json": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/parse5": { + "version": "7.1.2", + "license": "MIT", + "dependencies": { + "entities": "^4.4.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/parse5-htmlparser2-tree-adapter": { + "version": "7.0.0", + "license": "MIT", + "dependencies": { + "domhandler": "^5.0.2", + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pascal-case": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "camel-case": "^3.0.0", + "upper-case-first": "^1.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/path-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/path-exists": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/path-key": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/path-type": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pathval": { + "version": "1.1.1", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/pify": { + "version": "2.3.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pinkie": { + "version": "2.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pinkie-promise": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pkg-up": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "find-up": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pluralize": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb": { + "version": "7.3.0", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "abort-controller": "3.0.0", + "argsarray": "0.0.1", + "buffer-from": "1.1.2", + "clone-buffer": "1.0.0", + "double-ended-queue": "2.1.0-0", + "fetch-cookie": "0.11.0", + "immediate": "3.3.0", + "inherits": "2.0.4", + "level": "6.0.1", + "level-codec": "9.0.2", + "level-write-stream": "1.0.0", + "leveldown": "5.6.0", + "levelup": "4.4.0", + "ltgt": "2.2.1", + "node-fetch": "2.6.7", + "readable-stream": "1.1.14", + "spark-md5": "3.0.2", + "through2": "3.0.2", + "uuid": "8.3.2", + "vuvuzela": "1.0.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-abstract-mapreduce": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-binary-utils": "7.3.1", + "pouchdb-collate": "7.3.1", + "pouchdb-collections": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-fetch": "7.3.1", + "pouchdb-mapreduce-utils": "7.3.1", + "pouchdb-md5": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-adapter-leveldb-core": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "argsarray": "0.0.1", + "buffer-from": "1.1.2", + "double-ended-queue": "2.1.0-0", + "levelup": "4.4.0", + "pouchdb-adapter-utils": "7.3.1", + "pouchdb-binary-utils": "7.3.1", + "pouchdb-collections": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-json": "7.3.1", + "pouchdb-md5": "7.3.1", + "pouchdb-merge": "7.3.1", + "pouchdb-utils": "7.3.1", + "sublevel-pouchdb": "7.3.1", + "through2": "3.0.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-adapter-memory": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "memdown": "1.4.1", + "pouchdb-adapter-leveldb-core": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-adapter-utils": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-binary-utils": "7.3.1", + "pouchdb-collections": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-md5": "7.3.1", + "pouchdb-merge": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-binary-utils": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "buffer-from": "1.1.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-collate": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-collections": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-debug": { + "version": "7.2.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "debug": "3.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-debug/node_modules/debug": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-errors": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "inherits": "2.0.4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-fetch": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "abort-controller": "3.0.0", + "fetch-cookie": "0.11.0", + "node-fetch": "2.6.7" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-find": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-abstract-mapreduce": "7.3.1", + "pouchdb-collate": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-fetch": "7.3.1", + "pouchdb-md5": "7.3.1", + "pouchdb-selector-core": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-json": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "vuvuzela": "1.0.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-mapreduce-utils": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "argsarray": "0.0.1", + "inherits": "2.0.4", + "pouchdb-collections": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-md5": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-binary-utils": "7.3.1", + "spark-md5": "3.0.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-merge": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-selector-core": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-collate": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-utils": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "argsarray": "0.0.1", + "clone-buffer": "1.0.0", + "immediate": "3.3.0", + "inherits": "2.0.4", + "pouchdb-collections": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-md5": "7.3.1", + "uuid": "8.3.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb-utils/node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb/node_modules/core-util-is": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/pouchdb/node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "weaver/samples/besu/simpleasset/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/prr": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/pure-rand": { + "version": "5.0.5", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simpleasset/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/raw-body": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/read-pkg": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/read-pkg-up": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/read-pkg-up/node_modules/find-up": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/read-pkg-up/node_modules/path-exists": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/redux": { + "version": "4.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.9.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/redux-saga": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@redux-saga/core": "^1.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "weaver/samples/besu/simpleasset/node_modules/require-from-string": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/require-main-filename": { + "version": "1.0.1", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/reselect": { + "version": "4.1.8", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/reselect-tree": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^3.1.0", + "json-pointer": "^0.6.1", + "reselect": "^4.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/reselect-tree/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/responselike": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "lowercase-keys": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/rimraf": { + "version": "2.7.1", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ripemd160-min": { + "version": "0.0.6", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "weaver/samples/besu/simpleasset/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/sentence-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case-first": "^1.1.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/serialize-javascript": { + "version": "6.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/sha3": { + "version": "2.1.4", + "license": "MIT", + "dependencies": { + "buffer": "6.0.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/shallowequal": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/snake-case": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/solc": { + "version": "0.8.21", + "license": "MIT", + "dependencies": { + "command-exists": "^1.2.8", + "commander": "^8.1.0", + "follow-redirects": "^1.12.1", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "bin": { + "solcjs": "solc.js" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/source-map-support": { + "version": "0.5.12", + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/spark-md5": { + "version": "3.0.2", + "dev": true, + "license": "(WTFPL OR MIT)", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/strip-bom": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/strip-eof": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/strip-indent": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/sublevel-pouchdb": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "inherits": "2.0.4", + "level-codec": "9.0.2", + "ltgt": "2.2.1", + "readable-stream": "1.1.14" + } + }, + "weaver/samples/besu/simpleasset/node_modules/sublevel-pouchdb/node_modules/core-util-is": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/sublevel-pouchdb/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "weaver/samples/besu/simpleasset/node_modules/sublevel-pouchdb/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/swap-case": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.1", + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/symbol-observable": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/testrpc": { + "version": "0.0.1" + }, + "weaver/samples/besu/simpleasset/node_modules/through2": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/through2/node_modules/readable-stream": { + "version": "3.6.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/tiny-typed-emitter": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/title-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.0.3" + } + }, + "weaver/samples/besu/simpleasset/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/truffle": { + "version": "5.11.2", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@truffle/db-loader": "^0.2.33", + "@truffle/debugger": "^12.1.2", + "app-module-path": "^2.2.0", + "ganache": "7.9.0", + "mocha": "10.1.0", + "original-require": "^1.0.1" + }, + "bin": { + "truffle": "build/cli.bundled.js" + }, + "optionalDependencies": { + "@truffle/db": "^2.0.33" + } + }, + "weaver/samples/besu/simpleasset/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "weaver/samples/besu/simpleasset/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simpleasset/node_modules/typescript-compare": { + "version": "0.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "typescript-logic": "^0.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/typescript-logic": { + "version": "0.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/typescript-tuple": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "typescript-compare": "^0.0.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/upper-case": { + "version": "1.1.3", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/upper-case-first": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/utf-8-validate": { + "version": "5.0.7", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/value-or-promise": { + "version": "1.0.11", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/vuvuzela": { + "version": "1.0.3", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/web3": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.10.0", + "web3-core": "1.10.0", + "web3-eth": "1.10.0", + "web3-eth-personal": "1.10.0", + "web3-net": "1.10.0", + "web3-shh": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-bzz": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "12.1.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/web3-core": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-requestmanager": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-core-helpers": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-core-method": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.6.2", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-core-promievent": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-core-requestmanager": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.5", + "web3-core-helpers": "1.10.0", + "web3-providers-http": "1.10.0", + "web3-providers-ipc": "1.10.0", + "web3-providers-ws": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-core-subscriptions": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-eth-accounts": "1.10.0", + "web3-eth-contract": "1.10.0", + "web3-eth-ens": "1.10.0", + "web3-eth-iban": "1.10.0", + "web3-eth-personal": "1.10.0", + "web3-net": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-abi": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "^5.6.3", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-accounts": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "2.5.0", + "@ethereumjs/tx": "3.3.2", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.1.5", + "scrypt-js": "^3.0.1", + "uuid": "^9.0.0", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-accounts/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-accounts/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-accounts/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-contract": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-ens": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-eth-contract": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-iban": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-personal": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-net": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/samples/besu/simpleasset/node_modules/web3-net": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-method": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-providers-http": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "abortcontroller-polyfill": "^1.7.3", + "cross-fetch": "^3.1.4", + "es6-promise": "^4.2.8", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-providers-ipc": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-providers-ws": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.0", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-shh": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-net": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/web3-utils": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/websocket/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/websocket/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/whatwg-mimetype": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simpleasset/node_modules/which-module": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/window-size": { + "version": "0.2.0", + "license": "MIT", + "bin": { + "window-size": "cli.js" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/workerpool": { + "version": "6.2.1", + "dev": true, + "license": "Apache-2.0" + }, + "weaver/samples/besu/simpleasset/node_modules/wrap-ansi": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/wrap-ansi/node_modules/string-width": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/write-stream": { + "version": "0.4.3", + "dev": true, + "optional": true, + "dependencies": { + "readable-stream": "~0.0.2" + } + }, + "weaver/samples/besu/simpleasset/node_modules/write-stream/node_modules/readable-stream": { + "version": "0.0.4", + "dev": true, + "license": "BSD", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/ws": { + "version": "7.5.9", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "weaver/samples/besu/simpleasset/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "weaver/samples/besu/simpleasset/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/xmlhttprequest": { + "version": "1.8.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/xss": { + "version": "1.0.14", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "commander": "^2.20.3", + "cssfilter": "0.0.10" + }, + "bin": { + "xss": "bin/xss" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/xss/node_modules/commander": { + "version": "2.20.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simpleasset/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "weaver/samples/besu/simpleasset/node_modules/yargs": { + "version": "4.8.1", + "license": "MIT", + "dependencies": { + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "lodash.assign": "^4.0.3", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.1", + "which-module": "^1.0.0", + "window-size": "^0.2.0", + "y18n": "^3.2.1", + "yargs-parser": "^2.4.1" + } + }, + "weaver/samples/besu/simpleasset/node_modules/yargs-unparser": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simpleasset/node_modules/yargs-unparser/node_modules/camelcase": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/yargs-unparser/node_modules/decamelize": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simpleasset/node_modules/yargs-unparser/node_modules/is-plain-obj": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simpleasset/node_modules/yargs/node_modules/get-caller-file": { + "version": "1.0.3", + "license": "ISC" + }, + "weaver/samples/besu/simpleasset/node_modules/yargs/node_modules/string-width": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/yargs/node_modules/strip-ansi": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simpleasset/node_modules/yargs/node_modules/y18n": { + "version": "3.2.2", + "license": "ISC" + }, + "weaver/samples/besu/simplestate": { + "name": "@hyperledger/cacti-weaver-besu-simplestate", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@openzeppelin/contracts": "4.9.6", + "@truffle/contract": "4.6.28", + "chai": "4.3.7", + "dotenv": "16.3.1", + "ganache-cli": "6.12.2", + "solc": "0.8.21", + "web3": "1.10.0" + }, + "devDependencies": { + "truffle": "5.11.2" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/protobufjs": { + "version": "1.2.6", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.0", + "@types/node": "^10.1.0", + "long": "^4.0.0" + }, + "bin": { + "apollo-pbjs": "bin/pbjs", + "apollo-pbts": "bin/pbts" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/protobufjs/node_modules/@types/node": { + "version": "10.17.60", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/usage-reporting-protobuf": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/protobufjs": "1.2.7" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/usage-reporting-protobuf/node_modules/@apollo/protobufjs": { + "version": "1.2.7", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/long": "^4.0.0", + "long": "^4.0.0" + }, + "bin": { + "apollo-pbjs": "bin/pbjs", + "apollo-pbts": "bin/pbts" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/utils.dropunuseddefinitions": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/utils.keyvaluecache": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/utils.logger": "^1.0.0", + "lru-cache": "7.10.1 - 7.13.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/utils.keyvaluecache/node_modules/lru-cache": { + "version": "7.13.1", + "dev": true, + "license": "ISC", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/utils.logger": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/utils.printwithreducedwhitespace": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/utils.removealiases": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/utils.sortast": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "lodash.sortby": "^4.7.0" + }, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/utils.stripsensitiveliterals": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollo/utils.usagereporting": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/usage-reporting-protobuf": "^4.0.0", + "@apollo/utils.dropunuseddefinitions": "^1.1.0", + "@apollo/utils.printwithreducedwhitespace": "^1.1.0", + "@apollo/utils.removealiases": "1.0.0", + "@apollo/utils.sortast": "^1.1.0", + "@apollo/utils.stripsensitiveliterals": "^1.2.0" + }, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "14.x || 15.x || 16.x" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollographql/apollo-tools": { + "version": "0.5.4", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8", + "npm": ">=6" + }, + "peerDependencies": { + "graphql": "^14.2.1 || ^15.0.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@apollographql/graphql-playground-html": { + "version": "1.6.29", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "xss": "^1.0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/@babel/runtime": { + "version": "7.22.6", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.13.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@babel/runtime/node_modules/regenerator-runtime": { + "version": "0.13.11", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/address-encoder": { + "version": "0.1.9", + "license": "BSD", + "dependencies": { + "bech32": "^1.1.3", + "blakejs": "^1.1.0", + "bn.js": "^4.11.8", + "bs58": "^4.0.1", + "crypto-addr-codec": "^0.1.7", + "nano-base32": "^1.0.1", + "ripemd160": "^2.0.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/address-encoder/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/ens": { + "version": "0.4.5", + "license": "CC0-1.0", + "dependencies": { + "bluebird": "^3.5.2", + "eth-ens-namehash": "^2.0.8", + "solc": "^0.4.20", + "testrpc": "0.0.1", + "web3-utils": "^1.0.0-beta.31" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/ens/node_modules/ethereum-cryptography": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "@noble/curves": "1.1.0", + "@noble/hashes": "1.3.1", + "@scure/bip32": "1.3.1", + "@scure/bip39": "1.2.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/ens/node_modules/solc": { + "version": "0.4.26", + "license": "MIT", + "dependencies": { + "fs-extra": "^0.30.0", + "memorystream": "^0.3.1", + "require-from-string": "^1.1.0", + "semver": "^5.3.0", + "yargs": "^4.7.1" + }, + "bin": { + "solcjs": "solcjs" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/ens/node_modules/web3-utils": { + "version": "1.10.4", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/util": "^8.1.0", + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereum-cryptography": "^2.1.2", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/ensjs": { + "version": "2.1.0", + "license": "ISC", + "dependencies": { + "@babel/runtime": "^7.4.4", + "@ensdomains/address-encoder": "^0.1.7", + "@ensdomains/ens": "0.4.5", + "@ensdomains/resolver": "0.2.4", + "content-hash": "^2.5.2", + "eth-ens-namehash": "^2.0.8", + "ethers": "^5.0.13", + "js-sha3": "^0.8.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/ensjs/node_modules/@babel/runtime": { + "version": "7.22.10", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/ensjs/node_modules/ethers": { + "version": "5.7.2", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ensdomains/resolver": { + "version": "0.2.4" + }, + "weaver/samples/besu/simplestate/node_modules/@ethereumjs/common": { + "version": "2.5.0", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethereumjs/tx": { + "version": "3.3.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "ethereumjs-util": "^7.1.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethereumjs/util": { + "version": "8.1.0", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "ethereum-cryptography": "^2.0.0", + "micro-ftch": "^0.3.1" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethereumjs/util/node_modules/ethereum-cryptography": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "@noble/curves": "1.1.0", + "@noble/hashes": "1.3.1", + "@scure/bip32": "1.3.1", + "@scure/bip39": "1.2.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/basex": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/contracts": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/hdnode": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/json-wallets": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/pbkdf2": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/sha2": "^5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/providers": { + "version": "5.7.2", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/providers/node_modules/ws": { + "version": "7.4.6", + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/random": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/sha2": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "hash.js": "1.1.7" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/solidity": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/units": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/wallet": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/json-wallets": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@ethersproject/wordlists": { + "version": "5.7.0", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/batch-execute": { + "version": "8.5.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/utils": "8.9.0", + "dataloader": "2.1.0", + "tslib": "^2.4.0", + "value-or-promise": "1.0.11" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/delegate": { + "version": "8.8.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/batch-execute": "8.5.1", + "@graphql-tools/schema": "8.5.1", + "@graphql-tools/utils": "8.9.0", + "dataloader": "2.1.0", + "tslib": "~2.4.0", + "value-or-promise": "1.0.11" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/delegate/node_modules/tslib": { + "version": "2.4.1", + "dev": true, + "license": "0BSD", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/merge": { + "version": "8.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/utils": "8.9.0", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/mock": { + "version": "8.7.20", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/schema": "^9.0.18", + "@graphql-tools/utils": "^9.2.1", + "fast-json-stable-stringify": "^2.1.0", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/mock/node_modules/@graphql-tools/merge": { + "version": "8.4.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/utils": "^9.2.1", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/mock/node_modules/@graphql-tools/schema": { + "version": "9.0.19", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/merge": "^8.4.1", + "@graphql-tools/utils": "^9.2.1", + "tslib": "^2.4.0", + "value-or-promise": "^1.0.12" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/mock/node_modules/@graphql-tools/utils": { + "version": "9.2.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-typed-document-node/core": "^3.1.1", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/mock/node_modules/value-or-promise": { + "version": "1.0.12", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/schema": { + "version": "8.5.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/merge": "8.3.1", + "@graphql-tools/utils": "8.9.0", + "tslib": "^2.4.0", + "value-or-promise": "1.0.11" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-tools/utils": { + "version": "8.9.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@graphql-typed-document-node/core": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@josephg/resolvable": { + "version": "1.0.1", + "dev": true, + "license": "ISC", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/float": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/path": { + "version": "1.1.2", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@redux-saga/core": { + "version": "1.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.6.3", + "@redux-saga/deferred": "^1.2.1", + "@redux-saga/delay-p": "^1.2.1", + "@redux-saga/is": "^1.1.3", + "@redux-saga/symbols": "^1.1.3", + "@redux-saga/types": "^1.2.1", + "redux": "^4.0.4", + "typescript-tuple": "^2.2.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/redux-saga" + } + }, + "weaver/samples/besu/simplestate/node_modules/@redux-saga/deferred": { + "version": "1.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@redux-saga/delay-p": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@redux-saga/symbols": "^1.1.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/@redux-saga/is": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@redux-saga/symbols": "^1.1.3", + "@redux-saga/types": "^1.2.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@redux-saga/symbols": { + "version": "1.1.3", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@redux-saga/types": { + "version": "1.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@sindresorhus/is": { + "version": "4.6.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/abi-utils": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "change-case": "3.0.2", + "fast-check": "3.1.1", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/blockchain-utils": { + "version": "0.1.8", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/code-utils": { + "version": "3.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "cbor": "^5.2.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/codec": { + "version": "0.17.2", + "license": "MIT", + "dependencies": { + "@truffle/abi-utils": "^1.0.2", + "@truffle/compile-common": "^0.9.7", + "big.js": "^6.0.3", + "bn.js": "^5.1.3", + "cbor": "^5.2.0", + "debug": "^4.3.1", + "lodash": "^4.17.21", + "semver": "7.5.2", + "utf8": "^3.0.0", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/codec/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/codec/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/compile-common": { + "version": "0.9.7", + "license": "MIT", + "dependencies": { + "@truffle/error": "^0.2.1", + "colors": "1.4.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/config": { + "version": "1.3.59", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@truffle/error": "^0.2.1", + "@truffle/events": "^0.1.24", + "@truffle/provider": "^0.3.11", + "conf": "^10.1.2", + "debug": "^4.3.1", + "find-up": "^2.1.0", + "lodash": "^4.17.21", + "original-require": "^1.0.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/config/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/config/node_modules/find-up": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/config/node_modules/locate-path": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/config/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/config/node_modules/p-limit": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/config/node_modules/p-locate": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/config/node_modules/p-try": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/contract": { + "version": "4.6.28", + "license": "MIT", + "dependencies": { + "@ensdomains/ensjs": "^2.1.0", + "@truffle/blockchain-utils": "^0.1.8", + "@truffle/contract-schema": "^3.4.15", + "@truffle/debug-utils": "^6.0.56", + "@truffle/error": "^0.2.1", + "@truffle/interface-adapter": "^0.5.35", + "bignumber.js": "^7.2.1", + "debug": "^4.3.1", + "ethers": "^4.0.32", + "web3": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/contract-schema": { + "version": "3.4.15", + "license": "MIT", + "dependencies": { + "ajv": "^6.10.0", + "debug": "^4.3.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/contract-schema/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/contract-schema/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/contract-schema/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/contract/node_modules/bignumber.js": { + "version": "7.2.1", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/contract/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/contract/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/dashboard-message-bus-client": { + "version": "0.1.11", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@truffle/dashboard-message-bus-common": "^0.1.6", + "@truffle/promise-tracker": "^0.1.6", + "axios": "1.2.4", + "debug": "^4.3.1", + "delay": "^5.0.0", + "isomorphic-ws": "^4.0.1", + "node-abort-controller": "^3.0.1", + "tiny-typed-emitter": "^2.1.0", + "ws": "^7.2.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/dashboard-message-bus-client/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/dashboard-message-bus-client/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/dashboard-message-bus-common": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/db": { + "version": "2.0.33", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@graphql-tools/delegate": "^8.4.3", + "@graphql-tools/schema": "^8.3.1", + "@truffle/abi-utils": "^1.0.2", + "@truffle/code-utils": "^3.0.3", + "@truffle/config": "^1.3.59", + "abstract-leveldown": "^7.2.0", + "apollo-server": "^3.11.0", + "debug": "^4.3.1", + "fs-extra": "^9.1.0", + "graphql": "^15.3.0", + "graphql-tag": "^2.12.6", + "json-stable-stringify": "^1.0.1", + "pascal-case": "^2.0.1", + "pluralize": "^8.0.0", + "pouchdb": "7.3.0", + "pouchdb-adapter-memory": "^7.1.1", + "pouchdb-debug": "^7.1.1", + "pouchdb-find": "^7.0.0", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/db-loader": { + "version": "0.2.33", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "@truffle/db": "^2.0.33" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/db/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/db/node_modules/fs-extra": { + "version": "9.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/db/node_modules/jsonfile": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/db/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debug-utils": { + "version": "6.0.56", + "license": "MIT", + "dependencies": { + "@truffle/codec": "^0.17.2", + "@trufflesuite/chromafi": "^3.0.0", + "bn.js": "^5.1.3", + "chalk": "^2.4.2", + "debug": "^4.3.1", + "highlightjs-solidity": "^2.0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debug-utils/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debug-utils/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debug-utils/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debug-utils/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debug-utils/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debugger": { + "version": "12.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@ensdomains/ensjs": "^2.1.0", + "@truffle/abi-utils": "^1.0.2", + "@truffle/codec": "^0.17.2", + "@truffle/source-map-utils": "^1.3.118", + "bn.js": "^5.1.3", + "debug": "^4.3.1", + "json-pointer": "^0.6.1", + "json-stable-stringify": "^1.0.1", + "lodash": "^4.17.21", + "redux": "^3.7.2", + "redux-saga": "1.0.0", + "reselect-tree": "^1.3.7", + "semver": "7.5.2", + "web3": "1.10.0", + "web3-eth-abi": "1.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debugger/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debugger/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/debugger/node_modules/redux": { + "version": "3.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.2.1", + "lodash-es": "^4.2.1", + "loose-envify": "^1.1.0", + "symbol-observable": "^1.0.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/error": { + "version": "0.2.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/events": { + "version": "0.1.24", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "@truffle/dashboard-message-bus-client": "^0.1.11", + "@truffle/spinners": "^0.2.4", + "debug": "^4.3.1", + "emittery": "^0.4.1", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/events/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/events/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/interface-adapter": { + "version": "0.5.35", + "license": "MIT", + "dependencies": { + "bn.js": "^5.1.3", + "ethers": "^4.0.32", + "web3": "1.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/promise-tracker": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/provider": { + "version": "0.3.11", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@truffle/error": "^0.2.1", + "@truffle/interface-adapter": "^0.5.35", + "debug": "^4.3.1", + "web3": "1.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/provider/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/provider/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/source-map-utils": { + "version": "1.3.118", + "dev": true, + "license": "MIT", + "dependencies": { + "@truffle/code-utils": "^3.0.3", + "@truffle/codec": "^0.17.2", + "debug": "^4.3.1", + "json-pointer": "^0.6.1", + "node-interval-tree": "^1.3.3", + "web3-utils": "1.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/source-map-utils/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/source-map-utils/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@truffle/spinners": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@trufflesuite/spinnies": "^0.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/bigint-buffer": { + "version": "1.1.10", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "node-gyp-build": "4.4.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/bigint-buffer/node_modules/node-gyp-build": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/chromafi": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "camelcase": "^4.1.0", + "chalk": "^2.3.2", + "cheerio": "^1.0.0-rc.2", + "detect-indent": "^5.0.0", + "highlight.js": "^10.4.1", + "lodash.merge": "^4.6.2", + "strip-ansi": "^4.0.0", + "strip-indent": "^2.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/chromafi/node_modules/ansi-regex": { + "version": "3.0.1", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/chromafi/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/chromafi/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/chromafi/node_modules/strip-ansi": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/chromafi/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/spinnies": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "chalk": "^4.1.2", + "cli-cursor": "^3.1.0", + "strip-ansi": "^6.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/uws-js-unofficial": { + "version": "20.10.0-unofficial.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "ws": "8.2.3" + }, + "optionalDependencies": { + "bufferutil": "4.0.5", + "utf-8-validate": "5.0.7" + } + }, + "weaver/samples/besu/simplestate/node_modules/@trufflesuite/uws-js-unofficial/node_modules/ws": { + "version": "8.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/accepts": { + "version": "1.3.5", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/cacheable-request": { + "version": "6.0.3", + "license": "MIT", + "dependencies": { + "@types/http-cache-semantics": "*", + "@types/keyv": "^3.1.4", + "@types/node": "*", + "@types/responselike": "^1.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/cors": { + "version": "2.8.12", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@types/express": { + "version": "4.17.14", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.18", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/express-serve-static-core": { + "version": "4.17.28", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/http-cache-semantics": { + "version": "4.0.3", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@types/long": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@types/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/@types/seedrandom": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/abortcontroller-polyfill": { + "version": "1.7.5", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/abstract-level": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "catering": "^2.1.0", + "is-buffer": "^2.0.5", + "level-supports": "^4.0.0", + "level-transcoder": "^1.0.1", + "module-error": "^1.0.1", + "queue-microtask": "^1.2.3" + }, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simplestate/node_modules/abstract-level/node_modules/level-supports": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simplestate/node_modules/abstract-leveldown": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "catering": "^2.0.0", + "is-buffer": "^2.0.5", + "level-concat-iterator": "^3.0.0", + "level-supports": "^2.0.1", + "queue-microtask": "^1.2.3" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simplestate/node_modules/abstract-leveldown/node_modules/level-concat-iterator": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "catering": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simplestate/node_modules/abstract-leveldown/node_modules/level-supports": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simplestate/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/aes-js": { + "version": "3.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/ajv-formats": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/ansi-regex": { + "version": "2.1.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-datasource": { + "version": "3.3.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/utils.keyvaluecache": "^1.0.1", + "apollo-server-env": "^4.2.1" + }, + "engines": { + "node": ">=12.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-reporting-protobuf": { + "version": "3.4.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/protobufjs": "1.2.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-server": { + "version": "3.12.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/express": "4.17.14", + "apollo-server-core": "^3.12.0", + "apollo-server-express": "^3.12.0", + "express": "^4.17.1" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-server-core": { + "version": "3.12.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/utils.keyvaluecache": "^1.0.1", + "@apollo/utils.logger": "^1.0.0", + "@apollo/utils.usagereporting": "^1.0.0", + "@apollographql/apollo-tools": "^0.5.3", + "@apollographql/graphql-playground-html": "1.6.29", + "@graphql-tools/mock": "^8.1.2", + "@graphql-tools/schema": "^8.0.0", + "@josephg/resolvable": "^1.0.0", + "apollo-datasource": "^3.3.2", + "apollo-reporting-protobuf": "^3.4.0", + "apollo-server-env": "^4.2.1", + "apollo-server-errors": "^3.3.1", + "apollo-server-plugin-base": "^3.7.2", + "apollo-server-types": "^3.8.0", + "async-retry": "^1.2.1", + "fast-json-stable-stringify": "^2.1.0", + "graphql-tag": "^2.11.0", + "loglevel": "^1.6.8", + "lru-cache": "^6.0.0", + "node-abort-controller": "^3.0.1", + "sha.js": "^2.4.11", + "uuid": "^9.0.0", + "whatwg-mimetype": "^3.0.0" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-server-env": { + "version": "4.2.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-fetch": "^2.6.7" + }, + "engines": { + "node": ">=12.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-server-errors": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-server-express": { + "version": "3.12.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/accepts": "^1.3.5", + "@types/body-parser": "1.19.2", + "@types/cors": "2.8.12", + "@types/express": "4.17.14", + "@types/express-serve-static-core": "4.17.31", + "accepts": "^1.3.5", + "apollo-server-core": "^3.12.0", + "apollo-server-types": "^3.8.0", + "body-parser": "^1.19.0", + "cors": "^2.8.5", + "parseurl": "^1.3.3" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "express": "^4.17.1", + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-server-express/node_modules/@types/express-serve-static-core": { + "version": "4.17.31", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-server-plugin-base": { + "version": "3.7.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "apollo-server-types": "^3.8.0" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/apollo-server-types": { + "version": "3.8.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@apollo/utils.keyvaluecache": "^1.0.1", + "@apollo/utils.logger": "^1.0.0", + "apollo-reporting-protobuf": "^3.4.0", + "apollo-server-env": "^4.2.1" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "graphql": "^15.3.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/app-module-path": { + "version": "2.2.0", + "dev": true, + "license": "BSD-2-Clause" + }, + "weaver/samples/besu/simplestate/node_modules/argsarray": { + "version": "0.0.1", + "dev": true, + "license": "WTFPL", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/assertion-error": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/async": { + "version": "2.6.4", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.17.14" + } + }, + "weaver/samples/besu/simplestate/node_modules/async-eventemitter": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^2.4.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/async-retry": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "retry": "0.13.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/async-retry/node_modules/retry": { + "version": "0.13.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 4" + } + }, + "weaver/samples/besu/simplestate/node_modules/at-least-node": { + "version": "1.0.0", + "dev": true, + "license": "ISC", + "optional": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/atomically": { + "version": "1.7.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=10.12.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/axios": { + "version": "1.5.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/bech32": { + "version": "1.1.4", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/big-integer": { + "version": "1.6.36", + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/big.js": { + "version": "6.2.1", + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/bigjs" + } + }, + "weaver/samples/besu/simplestate/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "weaver/samples/besu/simplestate/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/body-parser": { + "version": "1.20.0", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.10.3", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/besu/simplestate/node_modules/body-parser/node_modules/qs": { + "version": "6.10.3", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simplestate/node_modules/boolbase": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/browser-stdout": { + "version": "1.3.1", + "dev": true, + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/bufferutil": { + "version": "4.0.5", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/cacheable-lookup": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10.6.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/cacheable-request": { + "version": "7.0.4", + "license": "MIT", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/camel-case": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/camelcase": { + "version": "4.1.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "weaver/samples/besu/simplestate/node_modules/catering": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/cbor": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.1", + "nofilter": "^1.0.4" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/chai": { + "version": "4.3.7", + "license": "MIT", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^4.1.2", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/change-case": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "camel-case": "^3.0.0", + "constant-case": "^2.0.0", + "dot-case": "^2.1.0", + "header-case": "^1.0.0", + "is-lower-case": "^1.1.0", + "is-upper-case": "^1.1.0", + "lower-case": "^1.1.1", + "lower-case-first": "^1.0.0", + "no-case": "^2.3.2", + "param-case": "^2.1.0", + "pascal-case": "^2.0.0", + "path-case": "^2.1.0", + "sentence-case": "^2.1.0", + "snake-case": "^2.1.0", + "swap-case": "^1.1.0", + "title-case": "^2.1.0", + "upper-case": "^1.1.1", + "upper-case-first": "^1.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/check-error": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/cheerio": { + "version": "1.0.0-rc.12", + "license": "MIT", + "dependencies": { + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "htmlparser2": "^8.0.1", + "parse5": "^7.0.0", + "parse5-htmlparser2-tree-adapter": "^7.0.0" + }, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/cheeriojs/cheerio?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/cheerio-select": { + "version": "2.1.0", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "weaver/samples/besu/simplestate/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/cids/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/cliui": { + "version": "3.2.0", + "license": "ISC", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/cliui/node_modules/string-width": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/cliui/node_modules/strip-ansi": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/clone-buffer": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/simplestate/node_modules/code-point-at": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/colors": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/samples/besu/simplestate/node_modules/command-exists": { + "version": "1.2.9", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/commander": { + "version": "8.3.0", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "weaver/samples/besu/simplestate/node_modules/conf": { + "version": "10.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ajv": "^8.6.3", + "ajv-formats": "^2.1.1", + "atomically": "^1.7.0", + "debounce-fn": "^4.0.0", + "dot-prop": "^6.0.1", + "env-paths": "^2.2.1", + "json-schema-typed": "^7.0.3", + "onetime": "^5.1.2", + "pkg-up": "^3.1.0", + "semver": "^7.3.5" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/constant-case": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "snake-case": "^2.1.0", + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "weaver/samples/besu/simplestate/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/cookie": { + "version": "0.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/simplestate/node_modules/cross-spawn": { + "version": "6.0.5", + "license": "MIT", + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/cross-spawn/node_modules/which": { + "version": "1.3.1", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "weaver/samples/besu/simplestate/node_modules/crypto-addr-codec": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "big-integer": "1.6.36", + "blakejs": "^1.1.0", + "bs58": "^4.0.1", + "ripemd160-min": "0.0.6", + "safe-buffer": "^5.2.0", + "sha3": "^2.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/css-select": { + "version": "5.1.0", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "weaver/samples/besu/simplestate/node_modules/css-what": { + "version": "6.1.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "weaver/samples/besu/simplestate/node_modules/cssfilter": { + "version": "0.0.10", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "weaver/samples/besu/simplestate/node_modules/dataloader": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/debounce-fn": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "mimic-fn": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/debounce-fn/node_modules/mimic-fn": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "weaver/samples/besu/simplestate/node_modules/deep-eql": { + "version": "4.1.3", + "license": "MIT", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/deferred-leveldown": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "~6.2.1", + "inherits": "^2.0.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/deferred-leveldown/node_modules/abstract-leveldown": { + "version": "6.2.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/deferred-leveldown/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/delay": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/besu/simplestate/node_modules/detect-indent": { + "version": "5.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/diff": { + "version": "5.0.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/dom-serializer": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/dom-walk": { + "version": "0.1.2" + }, + "weaver/samples/besu/simplestate/node_modules/domelementtype": { + "version": "2.3.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "weaver/samples/besu/simplestate/node_modules/domhandler": { + "version": "5.0.3", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/domutils": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/dot-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/dot-prop": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/double-ended-queue": { + "version": "2.1.0-0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/emittery": { + "version": "0.4.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/encoding-down": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "^6.2.1", + "inherits": "^2.0.3", + "level-codec": "^9.0.0", + "level-errors": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/encoding-down/node_modules/abstract-leveldown": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/encoding-down/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/end-stream": { + "version": "0.1.0", + "dev": true, + "optional": true, + "dependencies": { + "write-stream": "~0.4.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/entities": { + "version": "4.4.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/errno": { + "version": "0.1.8", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "weaver/samples/besu/simplestate/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/es6-promise": { + "version": "4.2.8", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "weaver/samples/besu/simplestate/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/eth-lib/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/eth-lib/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/eth-lib/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "weaver/samples/besu/simplestate/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ethers": { + "version": "4.0.49", + "license": "MIT", + "dependencies": { + "aes-js": "3.0.0", + "bn.js": "^4.11.9", + "elliptic": "6.5.4", + "hash.js": "1.1.3", + "js-sha3": "0.5.7", + "scrypt-js": "2.0.4", + "setimmediate": "1.0.4", + "uuid": "2.0.1", + "xmlhttprequest": "1.8.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ethers/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/ethers/node_modules/hash.js": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ethers/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/ethers/node_modules/scrypt-js": { + "version": "2.0.4", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/ethers/node_modules/setimmediate": { + "version": "1.0.4", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/ethers/node_modules/uuid": { + "version": "2.0.1" + }, + "weaver/samples/besu/simplestate/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simplestate/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/ethjs-util": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simplestate/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/execa": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "cross-spawn": "^6.0.0", + "get-stream": "^4.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/execa/node_modules/get-stream": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/express": { + "version": "4.18.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/besu/simplestate/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/fast-check": { + "version": "3.1.1", + "license": "MIT", + "dependencies": { + "pure-rand": "^5.0.1" + }, + "engines": { + "node": ">=8.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + }, + "weaver/samples/besu/simplestate/node_modules/fetch-cookie": { + "version": "0.11.0", + "dev": true, + "license": "Unlicense", + "optional": true, + "dependencies": { + "tough-cookie": "^2.3.3 || ^3.0.1 || ^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/find-up": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/flat": { + "version": "5.0.2", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "weaver/samples/besu/simplestate/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/form-data-encoder": { + "version": "1.7.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/fs-extra": { + "version": "0.30.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/functional-red-black-tree": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/ganache": { + "version": "7.9.0", + "bundleDependencies": [ + "@trufflesuite/bigint-buffer", + "keccak", + "leveldown", + "secp256k1" + ], + "dev": true, + "license": "MIT", + "dependencies": { + "@trufflesuite/bigint-buffer": "1.1.10", + "@trufflesuite/uws-js-unofficial": "20.10.0-unofficial.2", + "@types/bn.js": "^5.1.0", + "@types/lru-cache": "5.1.1", + "@types/seedrandom": "3.0.1", + "abstract-level": "1.0.3", + "abstract-leveldown": "7.2.0", + "async-eventemitter": "0.2.4", + "emittery": "0.10.0", + "keccak": "3.0.2", + "leveldown": "6.1.0", + "secp256k1": "4.0.3" + }, + "bin": { + "ganache": "dist/node/cli.js", + "ganache-cli": "dist/node/cli.js" + }, + "optionalDependencies": { + "bufferutil": "4.0.5", + "utf-8-validate": "5.0.7" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli": { + "version": "6.12.2", + "bundleDependencies": [ + "source-map-support", + "yargs", + "ethereumjs-util" + ], + "license": "MIT", + "dependencies": { + "ethereumjs-util": "6.2.1", + "source-map-support": "0.5.12", + "yargs": "13.2.4" + }, + "bin": { + "ganache-cli": "cli.js" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/@types/bn.js": { + "version": "4.11.6", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/ansi-regex": { + "version": "4.1.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/ansi-styles": { + "version": "3.2.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/bn.js": { + "version": "4.12.0", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/cliui": { + "version": "5.0.0", + "extraneous": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/color-convert": { + "version": "1.9.3", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/color-name": { + "version": "1.1.3", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/elliptic": { + "version": "6.5.5", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/emoji-regex": { + "version": "7.0.3", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/ethereumjs-util": { + "version": "6.2.1", + "extraneous": true, + "inBundle": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/invert-kv": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/lcid": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "invert-kv": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/os-locale": { + "version": "3.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "execa": "^1.0.0", + "lcid": "^2.0.0", + "mem": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/require-main-filename": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/string-width": { + "version": "3.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/strip-ansi": { + "version": "5.2.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/which-module": { + "version": "2.0.1", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/wrap-ansi": { + "version": "5.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache-cli/node_modules/yargs": { + "version": "13.2.4", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "os-locale": "^3.1.0", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache/node_modules/emittery": { + "version": "0.10.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache/node_modules/keccak": { + "version": "3.0.2", + "extraneous": true, + "hasInstallScript": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ganache/node_modules/leveldown": { + "version": "6.1.0", + "extraneous": true, + "hasInstallScript": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "^7.2.0", + "napi-macros": "~2.0.0", + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/get-func-name": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "weaver/samples/besu/simplestate/node_modules/get-stream": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "weaver/samples/besu/simplestate/node_modules/got": { + "version": "12.1.0", + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^4.6.0", + "@szmarczak/http-timer": "^5.0.1", + "@types/cacheable-request": "^6.0.2", + "@types/responselike": "^1.0.0", + "cacheable-lookup": "^6.0.4", + "cacheable-request": "^7.0.2", + "decompress-response": "^6.0.0", + "form-data-encoder": "1.7.1", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/got/node_modules/decompress-response": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/got/node_modules/get-stream": { + "version": "6.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/got/node_modules/lowercase-keys": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/got/node_modules/mimic-response": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/graphql": { + "version": "15.8.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 10.x" + } + }, + "weaver/samples/besu/simplestate/node_modules/graphql-tag": { + "version": "2.12.6", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.1.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/har-validator/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "weaver/samples/besu/simplestate/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/he": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "weaver/samples/besu/simplestate/node_modules/header-case": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/highlight.js": { + "version": "10.7.3", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/highlightjs-solidity": { + "version": "2.0.6", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/hosted-git-info": { + "version": "2.8.9", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/htmlparser2": { + "version": "8.0.1", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "entities": "^4.3.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "weaver/samples/besu/simplestate/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/immediate": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/invert-kv": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-buffer": { + "version": "2.0.5", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-lower-case": { + "version": "1.1.3", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-upper-case": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "upper-case": "^1.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/is-utf8": { + "version": "0.2.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/isomorphic-ws": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "peerDependencies": { + "ws": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "weaver/samples/besu/simplestate/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/json-pointer": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "foreach": "^2.0.4" + } + }, + "weaver/samples/besu/simplestate/node_modules/json-pointer/node_modules/foreach": { + "version": "2.0.6", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "weaver/samples/besu/simplestate/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/json-schema-typed": { + "version": "7.0.3", + "dev": true, + "license": "BSD-2-Clause", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/json-stable-stringify": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonify": "^0.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simplestate/node_modules/jsonfile": { + "version": "2.4.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/jsonify": { + "version": "0.0.1", + "dev": true, + "license": "Public Domain", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simplestate/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/keyv": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/klaw": { + "version": "1.3.1", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.9" + } + }, + "weaver/samples/besu/simplestate/node_modules/lcid": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "invert-kv": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/level": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "level-js": "^5.0.0", + "level-packager": "^5.1.0", + "leveldown": "^5.4.0" + }, + "engines": { + "node": ">=8.6.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/level" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-codec": { + "version": "9.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-codec/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-concat-iterator": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-errors": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "errno": "~0.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-iterator-stream": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.4.0", + "xtend": "^4.0.2" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-js": { + "version": "5.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "~6.2.3", + "buffer": "^5.5.0", + "inherits": "^2.0.3", + "ltgt": "^2.1.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-js/node_modules/abstract-leveldown": { + "version": "6.2.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-js/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-packager": { + "version": "5.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "encoding-down": "^6.3.0", + "levelup": "^4.3.2" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-supports": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "xtend": "^4.0.2" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-transcoder": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3", + "module-error": "^1.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simplestate/node_modules/level-write-stream": { + "version": "1.0.0", + "dev": true, + "optional": true, + "dependencies": { + "end-stream": "~0.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/leveldown": { + "version": "5.6.0", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "~6.2.1", + "napi-macros": "~2.0.0", + "node-gyp-build": "~4.1.0" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/leveldown/node_modules/abstract-leveldown": { + "version": "6.2.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/leveldown/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/leveldown/node_modules/node-gyp-build": { + "version": "4.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "weaver/samples/besu/simplestate/node_modules/levelup": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "deferred-leveldown": "~5.3.0", + "level-errors": "~2.0.0", + "level-iterator-stream": "~4.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/load-json-file": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/locate-path": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/lodash-es": { + "version": "4.17.21", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/lodash.assign": { + "version": "4.2.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/lodash.sortby": { + "version": "4.7.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/loglevel": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6.0" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/loglevel" + } + }, + "weaver/samples/besu/simplestate/node_modules/long": { + "version": "4.0.0", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/loupe": { + "version": "2.3.6", + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/lower-case": { + "version": "1.1.4", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/lower-case-first": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/lowercase-keys": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/map-age-cleaner": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "p-defer": "^1.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/mem": { + "version": "4.3.0", + "license": "MIT", + "dependencies": { + "map-age-cleaner": "^0.1.1", + "mimic-fn": "^2.0.0", + "p-is-promise": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/memdown": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/memdown/node_modules/abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "xtend": "~4.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/memdown/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/micro-ftch": { + "version": "0.3.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha": { + "version": "10.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": ">= 14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/ansi-styles": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/cliui": { + "version": "7.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/color-convert": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/find-up": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/locate-path": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/minimatch": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/p-limit": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/p-locate": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/path-exists": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/wrap-ansi": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/y18n": { + "version": "5.0.8", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simplestate/node_modules/mocha/node_modules/yargs": { + "version": "16.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simplestate/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/module-error": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simplestate/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/multibase/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/multicodec/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/multihashes/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/nano-base32": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/nanoid": { + "version": "3.3.3", + "dev": true, + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/napi-macros": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/no-case": { + "version": "2.3.2", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/node-abort-controller": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/node-interval-tree": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "shallowequal": "^1.0.2" + }, + "engines": { + "node": ">= 7.6.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/nofilter": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/normalize-package-data": { + "version": "2.5.0", + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/normalize-url": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/npm-run-path": { + "version": "2.0.2", + "license": "MIT", + "dependencies": { + "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/nth-check": { + "version": "2.0.1", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/number-is-nan": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simplestate/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/original-require": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/os-locale": { + "version": "1.4.0", + "license": "MIT", + "dependencies": { + "lcid": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/p-defer": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/p-is-promise": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/p-limit": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/p-locate": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/param-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/parse-json": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/parse5": { + "version": "7.1.2", + "license": "MIT", + "dependencies": { + "entities": "^4.4.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/parse5-htmlparser2-tree-adapter": { + "version": "7.0.0", + "license": "MIT", + "dependencies": { + "domhandler": "^5.0.2", + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "weaver/samples/besu/simplestate/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/pascal-case": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "camel-case": "^3.0.0", + "upper-case-first": "^1.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/path-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/path-exists": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/path-key": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/path-type": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/pathval": { + "version": "1.1.1", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/pify": { + "version": "2.3.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/pinkie": { + "version": "2.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/pinkie-promise": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/pkg-up": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "find-up": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/pluralize": { + "version": "8.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb": { + "version": "7.3.0", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "abort-controller": "3.0.0", + "argsarray": "0.0.1", + "buffer-from": "1.1.2", + "clone-buffer": "1.0.0", + "double-ended-queue": "2.1.0-0", + "fetch-cookie": "0.11.0", + "immediate": "3.3.0", + "inherits": "2.0.4", + "level": "6.0.1", + "level-codec": "9.0.2", + "level-write-stream": "1.0.0", + "leveldown": "5.6.0", + "levelup": "4.4.0", + "ltgt": "2.2.1", + "node-fetch": "2.6.7", + "readable-stream": "1.1.14", + "spark-md5": "3.0.2", + "through2": "3.0.2", + "uuid": "8.3.2", + "vuvuzela": "1.0.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-abstract-mapreduce": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-binary-utils": "7.3.1", + "pouchdb-collate": "7.3.1", + "pouchdb-collections": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-fetch": "7.3.1", + "pouchdb-mapreduce-utils": "7.3.1", + "pouchdb-md5": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-adapter-leveldb-core": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "argsarray": "0.0.1", + "buffer-from": "1.1.2", + "double-ended-queue": "2.1.0-0", + "levelup": "4.4.0", + "pouchdb-adapter-utils": "7.3.1", + "pouchdb-binary-utils": "7.3.1", + "pouchdb-collections": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-json": "7.3.1", + "pouchdb-md5": "7.3.1", + "pouchdb-merge": "7.3.1", + "pouchdb-utils": "7.3.1", + "sublevel-pouchdb": "7.3.1", + "through2": "3.0.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-adapter-memory": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "memdown": "1.4.1", + "pouchdb-adapter-leveldb-core": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-adapter-utils": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-binary-utils": "7.3.1", + "pouchdb-collections": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-md5": "7.3.1", + "pouchdb-merge": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-binary-utils": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "buffer-from": "1.1.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-collate": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-collections": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-debug": { + "version": "7.2.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "debug": "3.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-debug/node_modules/debug": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-errors": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "inherits": "2.0.4" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-fetch": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "abort-controller": "3.0.0", + "fetch-cookie": "0.11.0", + "node-fetch": "2.6.7" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-find": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-abstract-mapreduce": "7.3.1", + "pouchdb-collate": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-fetch": "7.3.1", + "pouchdb-md5": "7.3.1", + "pouchdb-selector-core": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-json": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "vuvuzela": "1.0.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-mapreduce-utils": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "argsarray": "0.0.1", + "inherits": "2.0.4", + "pouchdb-collections": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-md5": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-binary-utils": "7.3.1", + "spark-md5": "3.0.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-merge": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-selector-core": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "pouchdb-collate": "7.3.1", + "pouchdb-utils": "7.3.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-utils": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "argsarray": "0.0.1", + "clone-buffer": "1.0.0", + "immediate": "3.3.0", + "inherits": "2.0.4", + "pouchdb-collections": "7.3.1", + "pouchdb-errors": "7.3.1", + "pouchdb-md5": "7.3.1", + "uuid": "8.3.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb-utils/node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb/node_modules/core-util-is": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/pouchdb/node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "weaver/samples/besu/simplestate/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/besu/simplestate/node_modules/prr": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/pure-rand": { + "version": "5.0.5", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/besu/simplestate/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/raw-body": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/read-pkg": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/read-pkg-up": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/read-pkg-up/node_modules/find-up": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/read-pkg-up/node_modules/path-exists": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/redux": { + "version": "4.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.9.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/redux-saga": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@redux-saga/core": "^1.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/regenerator-runtime": { + "version": "0.14.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "weaver/samples/besu/simplestate/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "weaver/samples/besu/simplestate/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "weaver/samples/besu/simplestate/node_modules/require-from-string": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/require-main-filename": { + "version": "1.0.1", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/reselect": { + "version": "4.1.8", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/reselect-tree": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^3.1.0", + "json-pointer": "^0.6.1", + "reselect": "^4.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/reselect-tree/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/responselike": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "lowercase-keys": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/rimraf": { + "version": "2.7.1", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/samples/besu/simplestate/node_modules/ripemd160-min": { + "version": "0.0.6", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "weaver/samples/besu/simplestate/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/sentence-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case-first": "^1.1.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/serialize-javascript": { + "version": "6.0.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/sha3": { + "version": "2.1.4", + "license": "MIT", + "dependencies": { + "buffer": "6.0.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/shallowequal": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/snake-case": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/solc": { + "version": "0.8.21", + "license": "MIT", + "dependencies": { + "command-exists": "^1.2.8", + "commander": "^8.1.0", + "follow-redirects": "^1.12.1", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "bin": { + "solcjs": "solc.js" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/source-map-support": { + "version": "0.5.12", + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/spark-md5": { + "version": "3.0.2", + "dev": true, + "license": "(WTFPL OR MIT)", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/strip-bom": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/strip-eof": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/samples/besu/simplestate/node_modules/strip-indent": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/sublevel-pouchdb": { + "version": "7.3.1", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "inherits": "2.0.4", + "level-codec": "9.0.2", + "ltgt": "2.2.1", + "readable-stream": "1.1.14" + } + }, + "weaver/samples/besu/simplestate/node_modules/sublevel-pouchdb/node_modules/core-util-is": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/sublevel-pouchdb/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "weaver/samples/besu/simplestate/node_modules/sublevel-pouchdb/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/swap-case": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.1", + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/symbol-observable": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/testrpc": { + "version": "0.0.1" + }, + "weaver/samples/besu/simplestate/node_modules/through2": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + }, + "weaver/samples/besu/simplestate/node_modules/through2/node_modules/readable-stream": { + "version": "3.6.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "weaver/samples/besu/simplestate/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/tiny-typed-emitter": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/title-case": { + "version": "2.1.1", + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.0.3" + } + }, + "weaver/samples/besu/simplestate/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/besu/simplestate/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/truffle": { + "version": "5.11.2", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@truffle/db-loader": "^0.2.33", + "@truffle/debugger": "^12.1.2", + "app-module-path": "^2.2.0", + "ganache": "7.9.0", + "mocha": "10.1.0", + "original-require": "^1.0.1" + }, + "bin": { + "truffle": "build/cli.bundled.js" + }, + "optionalDependencies": { + "@truffle/db": "^2.0.33" + } + }, + "weaver/samples/besu/simplestate/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "weaver/samples/besu/simplestate/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/besu/simplestate/node_modules/typescript-compare": { + "version": "0.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "typescript-logic": "^0.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/typescript-logic": { + "version": "0.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/typescript-tuple": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "typescript-compare": "^0.0.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/upper-case": { + "version": "1.1.3", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/upper-case-first": { + "version": "1.1.2", + "license": "MIT", + "dependencies": { + "upper-case": "^1.1.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "weaver/samples/besu/simplestate/node_modules/utf-8-validate": { + "version": "5.0.7", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/value-or-promise": { + "version": "1.0.11", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simplestate/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/besu/simplestate/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/vuvuzela": { + "version": "1.0.3", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/web3": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.10.0", + "web3-core": "1.10.0", + "web3-eth": "1.10.0", + "web3-eth-personal": "1.10.0", + "web3-net": "1.10.0", + "web3-shh": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-bzz": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "12.1.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/web3-core": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-requestmanager": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-core-helpers": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-core-method": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.6.2", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-core-promievent": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-core-requestmanager": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.5", + "web3-core-helpers": "1.10.0", + "web3-providers-http": "1.10.0", + "web3-providers-ipc": "1.10.0", + "web3-providers-ws": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-core-subscriptions": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-eth-accounts": "1.10.0", + "web3-eth-contract": "1.10.0", + "web3-eth-ens": "1.10.0", + "web3-eth-iban": "1.10.0", + "web3-eth-personal": "1.10.0", + "web3-net": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-abi": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "^5.6.3", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-accounts": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "2.5.0", + "@ethereumjs/tx": "3.3.2", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.1.5", + "scrypt-js": "^3.0.1", + "uuid": "^9.0.0", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-accounts/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-accounts/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-accounts/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-contract": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-ens": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-eth-contract": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-iban": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-personal": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-net": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/samples/besu/simplestate/node_modules/web3-net": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-method": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-providers-http": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "abortcontroller-polyfill": "^1.7.3", + "cross-fetch": "^3.1.4", + "es6-promise": "^4.2.8", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-providers-ipc": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-providers-ws": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.0", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-shh": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-net": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/web3-utils": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/websocket/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/websocket/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/whatwg-mimetype": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12" + } + }, + "weaver/samples/besu/simplestate/node_modules/which-module": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/window-size": { + "version": "0.2.0", + "license": "MIT", + "bin": { + "window-size": "cli.js" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/workerpool": { + "version": "6.2.1", + "dev": true, + "license": "Apache-2.0" + }, + "weaver/samples/besu/simplestate/node_modules/wrap-ansi": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/wrap-ansi/node_modules/string-width": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/write-stream": { + "version": "0.4.3", + "dev": true, + "optional": true, + "dependencies": { + "readable-stream": "~0.0.2" + } + }, + "weaver/samples/besu/simplestate/node_modules/write-stream/node_modules/readable-stream": { + "version": "0.0.4", + "dev": true, + "license": "BSD", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/ws": { + "version": "7.5.9", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "weaver/samples/besu/simplestate/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "weaver/samples/besu/simplestate/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/xmlhttprequest": { + "version": "1.8.0", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/xss": { + "version": "1.0.14", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "commander": "^2.20.3", + "cssfilter": "0.0.10" + }, + "bin": { + "xss": "bin/xss" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/xss/node_modules/commander": { + "version": "2.20.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "weaver/samples/besu/simplestate/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "weaver/samples/besu/simplestate/node_modules/yargs": { + "version": "4.8.1", + "license": "MIT", + "dependencies": { + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "lodash.assign": "^4.0.3", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.1", + "which-module": "^1.0.0", + "window-size": "^0.2.0", + "y18n": "^3.2.1", + "yargs-parser": "^2.4.1" + } + }, + "weaver/samples/besu/simplestate/node_modules/yargs-unparser": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/besu/simplestate/node_modules/yargs-unparser/node_modules/camelcase": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/yargs-unparser/node_modules/decamelize": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/besu/simplestate/node_modules/yargs-unparser/node_modules/is-plain-obj": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/besu/simplestate/node_modules/yargs/node_modules/get-caller-file": { + "version": "1.0.3", + "license": "ISC" + }, + "weaver/samples/besu/simplestate/node_modules/yargs/node_modules/string-width": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/yargs/node_modules/strip-ansi": { + "version": "3.0.1", + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/besu/simplestate/node_modules/yargs/node_modules/y18n": { + "version": "3.2.2", + "license": "ISC" + }, + "weaver/samples/fabric/fabric-cli": { + "name": "@hyperledger/cacti-weaver-fabric-cli", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@fidm/x509": "1.2.1", + "@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.2", + "@hyperledger/cacti-weaver-sdk-fabric": "2.0.0-alpha.2", + "body-parser": "1.20.2", + "crypto": "1.0.1", + "dotenv": "8.6.0", + "elliptic": "6.5.4", + "express": "4.19.2", + "fabric-ca-client": "2.2.20", + "fabric-common": "2.2.20", + "fabric-network": "2.2.20", + "gluegun": "5.1.6", + "grpc-tools": "1.12.4", + "ini": "1.3.8", + "node-notifier": "8.0.2", + "uuid": "9.0.1", + "winston": "3.10.0", + "y18n": "4.0.3" + }, + "bin": { + "fabric-cli": "bin/fabric-cli" + }, + "devDependencies": { + "@grpc/grpc-js": "1.10.3", + "@grpc/proto-loader": "0.7.8", + "@types/express": "4.17.21", + "@types/jest": "29.5.3", + "@types/node": "18.11.9", + "google-protobuf": "3.21.2", + "jest": "29.6.2", + "pkg": "4.5.1", + "protobufjs": "7.2.5", + "ts-jest": "29.1.1", + "ts-node": "10.9.1", + "typescript": "5.3.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@babel/runtime": { + "version": "7.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.13.4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@colors/colors": { + "version": "1.5.0", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@fidm/asn1": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@fidm/x509": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "@fidm/asn1": "^1.0.4", + "tweetnacl": "^1.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@fidm/x509/node_modules/tweetnacl": { + "version": "1.0.3", + "license": "Unlicense" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@grpc/grpc-js/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@grpc/proto-loader": { + "version": "0.7.8", + "license": "Apache-2.0", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@grpc/proto-loader/node_modules/long": { + "version": "4.0.0", + "license": "Apache-2.0" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@types/body-parser": { + "version": "1.19.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@types/connect": { + "version": "3.4.35", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@types/express": { + "version": "4.17.21", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@types/express-serve-static-core": { + "version": "4.17.33", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/@types/long": { + "version": "4.0.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@types/mime": { + "version": "1.3.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@types/qs": { + "version": "6.9.7", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@types/range-parser": { + "version": "1.2.4", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/@types/serve-static": { + "version": "1.13.10", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ajv": { + "version": "6.12.6", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/apisauce": { + "version": "2.1.6", + "license": "MIT", + "dependencies": { + "axios": "^0.21.4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/app-module-path": { + "version": "2.2.0", + "license": "BSD-2-Clause" + }, + "weaver/samples/fabric/fabric-cli/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/asn1": { + "version": "0.2.6", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/assert-plus": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/async": { + "version": "3.2.3", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/aws-sign2": { + "version": "0.7.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/aws4": { + "version": "1.11.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/axios": { + "version": "1.5.1", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/body-parser": { + "version": "1.20.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/byline": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/caseless": { + "version": "0.12.0", + "dev": true, + "license": "Apache-2.0" + }, + "weaver/samples/fabric/fabric-cli/node_modules/cli-spinners": { + "version": "2.9.0", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/cli-table3": { + "version": "0.6.0", + "license": "MIT", + "dependencies": { + "object-assign": "^4.1.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": "10.* || >= 12.*" + }, + "optionalDependencies": { + "colors": "^1.1.2" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/code-point-at": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/color": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/color-string": { + "version": "1.9.0", + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/colors": { + "version": "1.4.0", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/colorspace": { + "version": "1.1.4", + "license": "MIT", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/content-type": { + "version": "1.0.5", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/cookie": { + "version": "0.6.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/cosmiconfig": { + "version": "7.0.1", + "license": "MIT", + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/crypto": { + "version": "1.0.1", + "license": "ISC" + }, + "weaver/samples/fabric/fabric-cli/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/dashdash": { + "version": "1.14.1", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/decompress-response": { + "version": "4.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-response": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/dotenv": { + "version": "8.6.0", + "license": "BSD-2-Clause", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ecc-jsbn": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/ejs": { + "version": "3.1.8", + "license": "Apache-2.0", + "dependencies": { + "jake": "^10.8.5" + }, + "bin": { + "ejs": "bin/cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/enabled": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/escodegen": { + "version": "1.14.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/estraverse": { + "version": "4.3.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/expand-template": { + "version": "2.0.3", + "dev": true, + "license": "(MIT OR WTFPL)", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/express": { + "version": "4.19.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/extend": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/extsprintf": { + "version": "1.3.0", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-ca-client": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "jsrsasign": "^10.5.25", + "url": "^0.11.0", + "winston": "^2.4.5" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-ca-client/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-ca-client/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-ca-client/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-common/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-common/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-common/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-protos/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fabric-protos/node_modules/@grpc/grpc-js/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fecha": { + "version": "4.2.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/filelist": { + "version": "1.0.4", + "license": "Apache-2.0", + "dependencies": { + "minimatch": "^5.0.1" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/filelist/node_modules/minimatch": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fn.name": { + "version": "1.1.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/forever-agent": { + "version": "0.6.1", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/from2": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/from2/node_modules/readable-stream": { + "version": "2.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/from2/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/fs-constants": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/fs-extra": { + "version": "8.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fs-jetpack": { + "version": "4.3.1", + "license": "MIT", + "dependencies": { + "minimatch": "^3.0.2", + "rimraf": "^2.6.3" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/fs-jetpack/node_modules/rimraf": { + "version": "2.7.1", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/getpass": { + "version": "0.1.7", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/github-from-package": { + "version": "0.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/globby": { + "version": "11.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/gluegun": { + "version": "5.1.6", + "license": "MIT", + "dependencies": { + "apisauce": "^2.1.5", + "app-module-path": "^2.2.0", + "cli-table3": "0.6.0", + "colors": "1.4.0", + "cosmiconfig": "7.0.1", + "cross-spawn": "7.0.3", + "ejs": "3.1.8", + "enquirer": "2.3.6", + "execa": "5.1.1", + "fs-jetpack": "4.3.1", + "lodash.camelcase": "^4.3.0", + "lodash.kebabcase": "^4.1.1", + "lodash.lowercase": "^4.3.0", + "lodash.lowerfirst": "^4.3.1", + "lodash.pad": "^4.5.1", + "lodash.padend": "^4.6.1", + "lodash.padstart": "^4.6.1", + "lodash.repeat": "^4.1.0", + "lodash.snakecase": "^4.1.1", + "lodash.startcase": "^4.4.0", + "lodash.trim": "^4.5.1", + "lodash.trimend": "^4.5.1", + "lodash.trimstart": "^4.5.1", + "lodash.uppercase": "^4.3.0", + "lodash.upperfirst": "^4.3.1", + "ora": "4.0.2", + "pluralize": "^8.0.0", + "semver": "7.3.5", + "which": "2.0.2", + "yargs-parser": "^21.0.0" + }, + "bin": { + "gluegun": "bin/gluegun" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/growly": { + "version": "1.3.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/har-schema": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/har-validator": { + "version": "5.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/http-signature": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/into-stream": { + "version": "5.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "from2": "^2.3.0", + "p-is-promise": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/is-docker": { + "version": "2.2.1", + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/is-wsl": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/jake": { + "version": "10.8.7", + "license": "Apache-2.0", + "dependencies": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.4", + "minimatch": "^3.1.2" + }, + "bin": { + "jake": "bin/cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/jsbn": { + "version": "0.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/json-schema": { + "version": "0.4.0", + "dev": true, + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "weaver/samples/fabric/fabric-cli/node_modules/json-schema-traverse": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/jsonfile": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/jsprim": { + "version": "1.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/kuler": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/levn": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.lowercase": { + "version": "4.3.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.lowerfirst": { + "version": "4.3.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.pad": { + "version": "4.5.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.padend": { + "version": "4.6.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.padstart": { + "version": "4.6.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.repeat": { + "version": "4.1.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.trim": { + "version": "4.5.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.trimend": { + "version": "4.5.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.trimstart": { + "version": "4.5.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/lodash.uppercase": { + "version": "4.3.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/log-symbols": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/log-symbols/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/log-symbols/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/log-symbols/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/log-symbols/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/logform": { + "version": "2.4.0", + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "weaver/samples/fabric/fabric-cli/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/mimic-response": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/mkdirp-classic": { + "version": "0.5.3", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/multistream": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.5" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/multistream/node_modules/readable-stream": { + "version": "2.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/multistream/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/nan": { + "version": "2.15.0", + "license": "MIT", + "optional": true + }, + "weaver/samples/fabric/fabric-cli/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/nano/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/napi-build-utils": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/nconf/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/nconf/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/nconf/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/node-abi": { + "version": "2.30.1", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^5.4.1" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/node-notifier": { + "version": "8.0.2", + "license": "MIT", + "dependencies": { + "growly": "^1.3.0", + "is-wsl": "^2.2.0", + "semver": "^7.3.2", + "shellwords": "^0.1.1", + "uuid": "^8.3.0", + "which": "^2.0.2" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/node-notifier/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/noop-logger": { + "version": "0.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/number-is-nan": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/oauth-sign": { + "version": "0.9.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/one-time": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/optionator": { + "version": "0.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ora": { + "version": "4.0.2", + "license": "MIT", + "dependencies": { + "chalk": "^2.4.2", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.2.0", + "is-interactive": "^1.0.0", + "log-symbols": "^3.0.0", + "strip-ansi": "^5.2.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ora/node_modules/ansi-regex": { + "version": "4.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ora/node_modules/ansi-styles": { + "version": "3.2.1", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ora/node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ora/node_modules/has-flag": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ora/node_modules/strip-ansi": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/ora/node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/p-is-promise": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/performance-now": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/pkg": { + "version": "4.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "7.13.12", + "@babel/runtime": "7.13.10", + "chalk": "^3.0.0", + "escodegen": "^1.14.1", + "fs-extra": "^8.1.0", + "globby": "^11.0.0", + "into-stream": "^5.1.1", + "minimist": "^1.2.5", + "multistream": "^2.1.1", + "pkg-fetch": "2.6.9", + "prebuild-install": "6.0.1", + "progress": "^2.0.3", + "resolve": "^1.15.1", + "stream-meter": "^1.0.4" + }, + "bin": { + "pkg": "lib-es5/bin.js" + }, + "peerDependencies": { + "node-notifier": ">=6.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/pkg-fetch": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.9.2", + "byline": "^5.0.0", + "chalk": "^3.0.0", + "expand-template": "^2.0.3", + "fs-extra": "^8.1.0", + "minimist": "^1.2.5", + "progress": "^2.0.3", + "request": "^2.88.0", + "request-progress": "^3.0.0", + "semver": "^6.3.0", + "unique-temp-dir": "^1.0.0" + }, + "bin": { + "pkg-fetch": "lib-es5/bin.js" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/pkg-fetch/node_modules/@babel/runtime": { + "version": "7.22.6", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.13.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/pkg-fetch/node_modules/chalk": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/pkg/node_modules/@babel/parser": { + "version": "7.13.12", + "dev": true, + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/pkg/node_modules/chalk": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/pluralize": { + "version": "8.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-libc": "^1.0.3", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.3", + "mkdirp-classic": "^0.5.3", + "napi-build-utils": "^1.0.1", + "node-abi": "^2.7.0", + "noop-logger": "^0.1.1", + "npmlog": "^4.0.1", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^3.0.3", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0", + "which-pm-runs": "^1.0.0" + }, + "bin": { + "prebuild-install": "bin.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/ansi-regex": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/aproba": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/are-we-there-yet": { + "version": "1.1.7", + "dev": true, + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/detect-libc": { + "version": "1.0.3", + "dev": true, + "license": "Apache-2.0", + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/gauge": { + "version": "2.7.4", + "dev": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/npmlog": { + "version": "4.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/string-width": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prebuild-install/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/prelude-ls": { + "version": "1.1.2", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/process-nextick-args": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/progress": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/psl": { + "version": "1.8.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/querystringify": { + "version": "2.2.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/raw-body": { + "version": "2.5.2", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/regenerator-runtime": { + "version": "0.13.11", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/request": { + "version": "2.88.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/request-progress": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "throttleit": "^1.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/requires-port": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/safe-stable-stringify": { + "version": "2.3.1", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "weaver/samples/fabric/fabric-cli/node_modules/shellwords": { + "version": "0.1.1", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/simple-concat": { + "version": "1.0.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/simple-get": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "decompress-response": "^4.2.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/simple-swizzle": { + "version": "0.2.2", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/sshpk": { + "version": "1.17.0", + "dev": true, + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/stream-meter": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "^2.1.4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/stream-meter/node_modules/readable-stream": { + "version": "2.3.8", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/stream-meter/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/supports-color": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/tar-fs": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/tar-fs/node_modules/chownr": { + "version": "1.1.4", + "dev": true, + "license": "ISC" + }, + "weaver/samples/fabric/fabric-cli/node_modules/tar-stream": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/text-hex": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/throttleit": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/tough-cookie": { + "version": "4.1.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/triple-beam": { + "version": "1.3.0", + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/tunnel-agent": { + "version": "0.6.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/tweetnacl": { + "version": "0.14.5", + "dev": true, + "license": "Unlicense" + }, + "weaver/samples/fabric/fabric-cli/node_modules/type-check": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/uid2": { + "version": "0.0.3", + "dev": true + }, + "weaver/samples/fabric/fabric-cli/node_modules/unique-temp-dir": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "mkdirp": "^0.5.1", + "os-tmpdir": "^1.0.1", + "uid2": "0.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/unique-temp-dir/node_modules/mkdirp": { + "version": "0.5.6", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/universalify": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/url-parse": { + "version": "1.5.10", + "dev": true, + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/verror": { + "version": "1.10.0", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/verror/node_modules/core-util-is": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/samples/fabric/fabric-cli/node_modules/which-pm-runs": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/winston": { + "version": "3.10.0", + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.5.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/winston-transport": { + "version": "4.5.0", + "license": "MIT", + "dependencies": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 6.4.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/word-wrap": { + "version": "1.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/samples/fabric/fabric-cli/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "weaver/sdks/besu/node": { + "name": "@hyperledger/cacti-weaver-sdk-besu", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.2", + "log4js": "6.9.1", + "web3": "1.10.0", + "web3-utils": "1.10.0" + }, + "devDependencies": { + "@types/node": "18.11.9", + "chai": "4.3.7", + "chai-as-promised": "7.1.1", + "mocha": "5.2.0", + "nyc": "12.0.2", + "rewire": "4.0.1", + "sinon": "6.3.5", + "sinon-chai": "3.7.0", + "ts-node": "10.9.1", + "typedoc": "0.25.6", + "typescript": "5.3.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "weaver/sdks/besu/node/node_modules/@babel/generator": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "7.0.0-beta.51", + "jsesc": "^2.5.1", + "lodash": "^4.17.5", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/@babel/generator/node_modules/@babel/types": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/@babel/highlight": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^3.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/@babel/parser": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/@babel/template": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "7.0.0-beta.51", + "@babel/parser": "7.0.0-beta.51", + "@babel/types": "7.0.0-beta.51", + "lodash": "^4.17.5" + } + }, + "weaver/sdks/besu/node/node_modules/@babel/template/node_modules/@babel/code-frame": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/highlight": "7.0.0-beta.51" + } + }, + "weaver/sdks/besu/node/node_modules/@babel/template/node_modules/@babel/types": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/@ethereumjs/common": { + "version": "2.5.0", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.1" + } + }, + "weaver/sdks/besu/node/node_modules/@ethereumjs/tx": { + "version": "3.3.2", + "license": "MPL-2.0", + "dependencies": { + "@ethereumjs/common": "^2.5.0", + "ethereumjs-util": "^7.1.2" + } + }, + "weaver/sdks/besu/node/node_modules/@ethereumjs/tx/node_modules/@ethereumjs/common": { + "version": "2.6.4", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "weaver/sdks/besu/node/node_modules/@ethereumjs/tx/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/@sindresorhus/is": { + "version": "4.6.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "weaver/sdks/besu/node/node_modules/@sinonjs/commons": { + "version": "1.8.6", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "weaver/sdks/besu/node/node_modules/@sinonjs/formatio": { + "version": "3.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1", + "@sinonjs/samsam": "^3.1.0" + } + }, + "weaver/sdks/besu/node/node_modules/@sinonjs/samsam": { + "version": "3.3.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.3.0", + "array-from": "^2.1.1", + "lodash": "^4.17.15" + } + }, + "weaver/sdks/besu/node/node_modules/@sinonjs/text-encoding": { + "version": "0.7.2", + "dev": true, + "license": "(Unlicense OR Apache-2.0)" + }, + "weaver/sdks/besu/node/node_modules/@types/bn.js": { + "version": "5.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/@types/cacheable-request": { + "version": "6.0.3", + "license": "MIT", + "dependencies": { + "@types/http-cache-semantics": "*", + "@types/keyv": "^3.1.4", + "@types/node": "*", + "@types/responselike": "^1.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/@types/http-cache-semantics": { + "version": "4.0.3", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/@types/secp256k1": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/abortcontroller-polyfill": { + "version": "1.7.5", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/accepts": { + "version": "1.3.8", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/acorn": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/sdks/besu/node/node_modules/acorn-jsx": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^3.0.4" + } + }, + "weaver/sdks/besu/node/node_modules/ajv": { + "version": "5.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, + "weaver/sdks/besu/node/node_modules/ajv-keywords": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": "^5.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/ansi-escapes": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/ansi-regex": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/ansi-sequence-parser": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/append-transform": { + "version": "0.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-require-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/argparse": { + "version": "1.0.10", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "weaver/sdks/besu/node/node_modules/arr-diff": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/arr-flatten": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/arr-union": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/array-flatten": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/array-from": { + "version": "2.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/array-unique": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "weaver/sdks/besu/node/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "weaver/sdks/besu/node/node_modules/assertion-error": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/assign-symbols": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/async-limiter": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/atob": { + "version": "2.1.2", + "dev": true, + "license": "(MIT OR Apache-2.0)", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "weaver/sdks/besu/node/node_modules/aws-sign2": { + "version": "0.7.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/aws4": { + "version": "1.11.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/babel-code-frame": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "weaver/sdks/besu/node/node_modules/babel-code-frame/node_modules/ansi-styles": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/babel-code-frame/node_modules/chalk": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/babel-code-frame/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/babel-code-frame/node_modules/supports-color": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "weaver/sdks/besu/node/node_modules/base": { + "version": "0.11.2", + "dev": true, + "license": "MIT", + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/base-x": { + "version": "3.0.9", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "weaver/sdks/besu/node/node_modules/bignumber.js": { + "version": "9.0.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/blakejs": { + "version": "1.1.1", + "license": "CC0-1.0" + }, + "weaver/sdks/besu/node/node_modules/bluebird": { + "version": "3.7.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/bn.js": { + "version": "5.2.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/body-parser": { + "version": "1.20.0", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.10.3", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/sdks/besu/node/node_modules/body-parser/node_modules/qs": { + "version": "6.10.3", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/sdks/besu/node/node_modules/brace-expansion": { + "version": "1.1.11", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/braces": { + "version": "2.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/browser-stdout": { + "version": "1.3.1", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/bs58": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "weaver/sdks/besu/node/node_modules/bs58check": { + "version": "2.1.2", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "weaver/sdks/besu/node/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "weaver/sdks/besu/node/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/bufferutil": { + "version": "4.0.6", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/sdks/besu/node/node_modules/bytes": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/cache-base": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/cacheable-lookup": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10.6.0" + } + }, + "weaver/sdks/besu/node/node_modules/cacheable-request": { + "version": "7.0.4", + "license": "MIT", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^4.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^6.0.1", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "weaver/sdks/besu/node/node_modules/cacheable-request/node_modules/get-stream": { + "version": "5.2.0", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/sdks/besu/node/node_modules/caching-transform": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "md5-hex": "^1.2.0", + "mkdirp": "^0.5.1", + "write-file-atomic": "^1.1.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/caller-path": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/callsites": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/caseless": { + "version": "0.12.0", + "license": "Apache-2.0" + }, + "weaver/sdks/besu/node/node_modules/chai": { + "version": "4.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^4.1.2", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/chai-as-promised": { + "version": "7.1.1", + "dev": true, + "license": "WTFPL", + "dependencies": { + "check-error": "^1.0.2" + }, + "peerDependencies": { + "chai": ">= 2.1.2 < 5" + } + }, + "weaver/sdks/besu/node/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/chalk/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/chardet": { + "version": "0.4.2", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/check-error": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/cids": { + "version": "0.7.5", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/circular-json": { + "version": "0.3.3", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/class-is": { + "version": "1.1.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/class-utils": { + "version": "0.3.6", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/cli-cursor": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/cli-width": { + "version": "2.2.1", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/cliui": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", + "wrap-ansi": "^2.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/code-point-at": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/collection-visit": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/commander": { + "version": "2.15.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/component-emitter": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/concat-stream": { + "version": "1.6.2", + "dev": true, + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "weaver/sdks/besu/node/node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/content-disposition": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/content-hash": { + "version": "2.5.2", + "license": "ISC", + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "weaver/sdks/besu/node/node_modules/content-hash/node_modules/multicodec": { + "version": "0.5.7", + "license": "MIT", + "dependencies": { + "varint": "^5.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/content-type": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/cookie": { + "version": "0.5.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/cookie-signature": { + "version": "1.0.6", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/copy-descriptor": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/cors": { + "version": "2.8.5", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/sdks/besu/node/node_modules/cross-spawn": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "weaver/sdks/besu/node/node_modules/cross-spawn/node_modules/lru-cache": { + "version": "4.1.5", + "dev": true, + "license": "ISC", + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "weaver/sdks/besu/node/node_modules/cross-spawn/node_modules/yallist": { + "version": "2.1.2", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/d": { + "version": "1.0.1", + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "weaver/sdks/besu/node/node_modules/date-format": { + "version": "4.0.14", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "weaver/sdks/besu/node/node_modules/debug": { + "version": "2.6.9", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/debug-log": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/decode-uri-component": { + "version": "0.2.2", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "weaver/sdks/besu/node/node_modules/deep-eql": { + "version": "4.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/besu/node/node_modules/default-require-extensions": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/define-property": { + "version": "0.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/define-property/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/define-property/node_modules/is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/define-property/node_modules/is-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/define-property/node_modules/is-descriptor/node_modules/kind-of": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/depd": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/destroy": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/sdks/besu/node/node_modules/diff": { + "version": "3.5.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "weaver/sdks/besu/node/node_modules/dom-walk": { + "version": "0.1.2" + }, + "weaver/sdks/besu/node/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "weaver/sdks/besu/node/node_modules/ee-first": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/encodeurl": { + "version": "1.0.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/es5-ext": { + "version": "0.10.53", + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/es6-iterator": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "weaver/sdks/besu/node/node_modules/es6-promise": { + "version": "4.2.8", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/es6-symbol": { + "version": "3.1.3", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "weaver/sdks/besu/node/node_modules/escape-html": { + "version": "1.0.3", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/eslint": { + "version": "4.19.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^5.3.0", + "babel-code-frame": "^6.22.0", + "chalk": "^2.1.0", + "concat-stream": "^1.6.0", + "cross-spawn": "^5.1.0", + "debug": "^3.1.0", + "doctrine": "^2.1.0", + "eslint-scope": "^3.7.1", + "eslint-visitor-keys": "^1.0.0", + "espree": "^3.5.4", + "esquery": "^1.0.0", + "esutils": "^2.0.2", + "file-entry-cache": "^2.0.0", + "functional-red-black-tree": "^1.0.1", + "glob": "^7.1.2", + "globals": "^11.0.1", + "ignore": "^3.3.3", + "imurmurhash": "^0.1.4", + "inquirer": "^3.0.6", + "is-resolvable": "^1.0.0", + "js-yaml": "^3.9.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.3.0", + "lodash": "^4.17.4", + "minimatch": "^3.0.2", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "optionator": "^0.8.2", + "path-is-inside": "^1.0.2", + "pluralize": "^7.0.0", + "progress": "^2.0.0", + "regexpp": "^1.0.1", + "require-uncached": "^1.0.3", + "semver": "^5.3.0", + "strip-ansi": "^4.0.0", + "strip-json-comments": "~2.0.1", + "table": "4.0.2", + "text-table": "~0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/eslint-scope": { + "version": "3.7.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "weaver/sdks/besu/node/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/eslint/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/sdks/besu/node/node_modules/eslint/node_modules/glob": { + "version": "7.2.3", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "weaver/sdks/besu/node/node_modules/espree": { + "version": "3.5.4", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^5.5.0", + "acorn-jsx": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/espree/node_modules/acorn": { + "version": "5.7.4", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/sdks/besu/node/node_modules/etag": { + "version": "1.8.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "license": "ISC", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "weaver/sdks/besu/node/node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/eth-lib": { + "version": "0.1.29", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "weaver/sdks/besu/node/node_modules/eth-lib/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "weaver/sdks/besu/node/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "weaver/sdks/besu/node/node_modules/ethereumjs-util": { + "version": "7.1.4", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/ethjs-unit": { + "version": "0.1.6", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/sdks/besu/node/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/eventemitter3": { + "version": "4.0.4", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/execa": { + "version": "0.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/expand-brackets": { + "version": "2.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/expand-range": { + "version": "1.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/expand-range/node_modules/fill-range": { + "version": "2.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^2.1.0", + "isobject": "^2.0.0", + "randomatic": "^3.0.0", + "repeat-element": "^1.1.2", + "repeat-string": "^1.5.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/expand-range/node_modules/is-number": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/expand-range/node_modules/isobject": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/express": { + "version": "4.18.2", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/express/node_modules/body-parser": { + "version": "1.20.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "weaver/sdks/besu/node/node_modules/express/node_modules/path-to-regexp": { + "version": "0.1.7", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/ext": { + "version": "1.6.0", + "license": "ISC", + "dependencies": { + "type": "^2.5.0" + } + }, + "weaver/sdks/besu/node/node_modules/ext/node_modules/type": { + "version": "2.6.0", + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/extend": { + "version": "3.0.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/external-editor": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^0.4.0", + "iconv-lite": "^0.4.17", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=0.12" + } + }, + "weaver/sdks/besu/node/node_modules/extglob": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/extsprintf": { + "version": "1.3.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/fast-deep-equal": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/figures": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/file-entry-cache": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^1.2.1", + "object-assign": "^4.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/filename-regex": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/fill-range": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/finalhandler": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/find-cache-dir": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "commondir": "^1.0.1", + "mkdirp": "^0.5.1", + "pkg-dir": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/find-up": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/flat-cache": { + "version": "1.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "circular-json": "^0.3.1", + "graceful-fs": "^4.1.2", + "rimraf": "~2.6.2", + "write": "^0.2.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/flat-cache/node_modules/rimraf": { + "version": "2.6.3", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/sdks/besu/node/node_modules/flatted": { + "version": "3.2.7", + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/for-in": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/for-own": { + "version": "0.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "for-in": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/foreground-child": { + "version": "1.5.6", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^4", + "signal-exit": "^3.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/foreground-child/node_modules/cross-spawn": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "weaver/sdks/besu/node/node_modules/foreground-child/node_modules/lru-cache": { + "version": "4.1.5", + "dev": true, + "license": "ISC", + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "weaver/sdks/besu/node/node_modules/foreground-child/node_modules/yallist": { + "version": "2.1.2", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/forever-agent": { + "version": "0.6.1", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/form-data": { + "version": "2.3.3", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "weaver/sdks/besu/node/node_modules/form-data-encoder": { + "version": "1.7.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/forwarded": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/fragment-cache": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/fresh": { + "version": "0.5.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/fs-extra": { + "version": "8.1.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "weaver/sdks/besu/node/node_modules/functional-red-black-tree": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/get-caller-file": { + "version": "1.0.3", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/get-func-name": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "weaver/sdks/besu/node/node_modules/get-stream": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/get-value": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/glob-base": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "glob-parent": "^2.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/global": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "weaver/sdks/besu/node/node_modules/globals": { + "version": "11.12.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/got": { + "version": "12.1.0", + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^4.6.0", + "@szmarczak/http-timer": "^5.0.1", + "@types/cacheable-request": "^6.0.2", + "@types/responselike": "^1.0.0", + "cacheable-lookup": "^6.0.4", + "cacheable-request": "^7.0.2", + "decompress-response": "^6.0.0", + "form-data-encoder": "1.7.1", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^2.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "weaver/sdks/besu/node/node_modules/got/node_modules/decompress-response": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/sdks/besu/node/node_modules/got/node_modules/get-stream": { + "version": "6.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/sdks/besu/node/node_modules/got/node_modules/lowercase-keys": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/sdks/besu/node/node_modules/got/node_modules/mimic-response": { + "version": "3.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/sdks/besu/node/node_modules/growl": { + "version": "1.10.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.x" + } + }, + "weaver/sdks/besu/node/node_modules/har-schema": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/har-validator": { + "version": "5.1.5", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/besu/node/node_modules/har-validator/node_modules/ajv": { + "version": "6.12.6", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "weaver/sdks/besu/node/node_modules/har-validator/node_modules/fast-deep-equal": { + "version": "3.1.3", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/har-validator/node_modules/json-schema-traverse": { + "version": "0.4.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/has-ansi": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "license": "MIT", + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/has-value": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/has-values": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/has-values/node_modules/kind-of": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/he": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "weaver/sdks/besu/node/node_modules/hosted-git-info": { + "version": "2.8.9", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/http-errors": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/http-https": { + "version": "1.0.0", + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/http-signature": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "weaver/sdks/besu/node/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/besu/node/node_modules/ignore": { + "version": "3.3.10", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/inquirer": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^3.0.0", + "chalk": "^2.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^2.0.4", + "figures": "^2.0.0", + "lodash": "^4.3.0", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rx-lite": "^4.0.8", + "rx-lite-aggregates": "^4.0.8", + "string-width": "^2.1.0", + "strip-ansi": "^4.0.0", + "through": "^2.3.6" + } + }, + "weaver/sdks/besu/node/node_modules/invert-kv": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/ipaddr.js": { + "version": "1.9.1", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "weaver/sdks/besu/node/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/is-data-descriptor": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-descriptor": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-descriptor/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-dotfile": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-equal-shallow": { + "version": "0.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "is-primitive": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-extendable": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-extglob": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/is-function": { + "version": "1.0.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/is-glob": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/sdks/besu/node/node_modules/is-number": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-object": { + "version": "1.0.2", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/sdks/besu/node/node_modules/is-plain-obj": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-posix-bracket": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-primitive": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-resolvable": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/is-retry-allowed": { + "version": "1.2.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-stream": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/is-utf8": { + "version": "0.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-coverage": { + "version": "1.2.1", + "dev": true, + "license": "BSD-3-Clause" + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-hook": { + "version": "1.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "append-transform": "^0.4.0" + } + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-instrument": { + "version": "2.3.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/generator": "7.0.0-beta.51", + "@babel/parser": "7.0.0-beta.51", + "@babel/template": "7.0.0-beta.51", + "@babel/traverse": "7.0.0-beta.51", + "@babel/types": "7.0.0-beta.51", + "istanbul-lib-coverage": "^2.0.1", + "semver": "^5.5.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-instrument/node_modules/@babel/types": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-instrument/node_modules/istanbul-lib-coverage": { + "version": "2.0.5", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-report": { + "version": "1.1.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^1.2.1", + "mkdirp": "^0.5.1", + "path-parse": "^1.0.5", + "supports-color": "^3.1.2" + } + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "3.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^1.0.0" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-source-maps": { + "version": "1.2.6", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "debug": "^3.1.0", + "istanbul-lib-coverage": "^1.2.1", + "mkdirp": "^0.5.1", + "rimraf": "^2.6.1", + "source-map": "^0.5.3" + } + }, + "weaver/sdks/besu/node/node_modules/istanbul-lib-source-maps/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/sdks/besu/node/node_modules/istanbul-reports": { + "version": "1.5.1", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "handlebars": "^4.0.3" + } + }, + "weaver/sdks/besu/node/node_modules/isurl": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "weaver/sdks/besu/node/node_modules/js-tokens": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/js-yaml": { + "version": "3.14.1", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "weaver/sdks/besu/node/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/json-schema": { + "version": "0.4.0", + "license": "(AFL-2.1 OR BSD-3-Clause)" + }, + "weaver/sdks/besu/node/node_modules/json-schema-traverse": { + "version": "0.3.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/jsonc-parser": { + "version": "3.2.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/sdks/besu/node/node_modules/jsprim": { + "version": "1.4.2", + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "weaver/sdks/besu/node/node_modules/just-extend": { + "version": "4.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/keccak": { + "version": "3.0.2", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/keyv": { + "version": "4.5.4", + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/lcid": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "invert-kv": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/levn": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/besu/node/node_modules/load-json-file": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/locate-path": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/locate-path/node_modules/path-exists": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/lodash.get": { + "version": "4.4.2", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/log4js": { + "version": "6.9.1", + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "flatted": "^3.2.7", + "rfdc": "^1.3.0", + "streamroller": "^3.1.5" + }, + "engines": { + "node": ">=8.0" + } + }, + "weaver/sdks/besu/node/node_modules/log4js/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/sdks/besu/node/node_modules/log4js/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/lolex": { + "version": "2.7.5", + "dev": true, + "license": "BSD-3-Clause" + }, + "weaver/sdks/besu/node/node_modules/loupe": { + "version": "2.3.6", + "dev": true, + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/lowercase-keys": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "weaver/sdks/besu/node/node_modules/lunr": { + "version": "2.3.9", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/map-cache": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/map-visit": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/marked": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, + "weaver/sdks/besu/node/node_modules/math-random": { + "version": "1.0.4", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/md5-hex": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "md5-o-matic": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/md5-o-matic": { + "version": "0.1.1", + "dev": true + }, + "weaver/sdks/besu/node/node_modules/media-typer": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/mem": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/merge-descriptors": { + "version": "1.0.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/merge-source-map": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "source-map": "^0.6.1" + } + }, + "weaver/sdks/besu/node/node_modules/merge-source-map/node_modules/source-map": { + "version": "0.6.1", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/methods": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/micromatch": { + "version": "3.1.10", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/micromatch/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/micromatch/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/micromatch/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/micromatch/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/mime": { + "version": "1.6.0", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/mimic-fn": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/min-document": { + "version": "2.19.0", + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "weaver/sdks/besu/node/node_modules/mixin-deep": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/mixin-deep/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/sdks/besu/node/node_modules/mkdirp-promise": { + "version": "5.0.1", + "license": "ISC", + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/mkdirp-promise/node_modules/mkdirp": { + "version": "1.0.4", + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/sdks/besu/node/node_modules/mocha": { + "version": "5.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "browser-stdout": "1.3.1", + "commander": "2.15.1", + "debug": "3.1.0", + "diff": "3.5.0", + "escape-string-regexp": "1.0.5", + "glob": "7.1.2", + "growl": "1.10.5", + "he": "1.1.1", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "supports-color": "5.4.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/mocha/node_modules/debug": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/mocha/node_modules/glob": { + "version": "7.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/mocha/node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/mocha/node_modules/minimatch": { + "version": "3.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/mocha/node_modules/mkdirp": { + "version": "0.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "0.0.8" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/sdks/besu/node/node_modules/mocha/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/mock-fs": { + "version": "4.14.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/multibase": { + "version": "0.6.1", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "weaver/sdks/besu/node/node_modules/multicodec": { + "version": "1.0.4", + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/multihashes": { + "version": "0.4.21", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "weaver/sdks/besu/node/node_modules/mute-stream": { + "version": "0.0.7", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/nanomatch": { + "version": "1.2.13", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/nanomatch/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/nanomatch/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/nanomatch/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/nanomatch/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/next-tick": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/nise": { + "version": "1.5.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/formatio": "^3.2.1", + "@sinonjs/text-encoding": "^0.7.1", + "just-extend": "^4.0.2", + "lolex": "^5.0.1", + "path-to-regexp": "^1.7.0" + } + }, + "weaver/sdks/besu/node/node_modules/nise/node_modules/lolex": { + "version": "5.1.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.7.0" + } + }, + "weaver/sdks/besu/node/node_modules/normalize-package-data": { + "version": "2.5.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/normalize-path": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "remove-trailing-separator": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/normalize-url": { + "version": "6.1.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/sdks/besu/node/node_modules/npm-run-path": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/number-is-nan": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/number-to-bn": { + "version": "1.7.0", + "license": "MIT", + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/sdks/besu/node/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/nyc": { + "version": "12.0.2", + "bundleDependencies": [ + "archy", + "arrify", + "caching-transform", + "convert-source-map", + "debug-log", + "default-require-extensions", + "find-cache-dir", + "find-up", + "foreground-child", + "glob", + "istanbul-lib-coverage", + "istanbul-lib-hook", + "istanbul-lib-report", + "istanbul-lib-source-maps", + "istanbul-reports", + "md5-hex", + "merge-source-map", + "micromatch", + "mkdirp", + "resolve-from", + "rimraf", + "signal-exit", + "spawn-wrap", + "test-exclude", + "yargs", + "yargs-parser" + ], + "dev": true, + "license": "ISC", + "dependencies": { + "archy": "^1.0.0", + "arrify": "^1.0.1", + "caching-transform": "^1.0.0", + "convert-source-map": "^1.5.1", + "debug-log": "^1.0.1", + "default-require-extensions": "^1.0.0", + "find-cache-dir": "^0.1.1", + "find-up": "^2.1.0", + "foreground-child": "^1.5.3", + "glob": "^7.0.6", + "istanbul-lib-coverage": "^1.2.0", + "istanbul-lib-hook": "^1.1.0", + "istanbul-lib-instrument": "^2.1.0", + "istanbul-lib-report": "^1.1.3", + "istanbul-lib-source-maps": "^1.2.5", + "istanbul-reports": "^1.4.1", + "md5-hex": "^1.2.0", + "merge-source-map": "^1.1.0", + "micromatch": "^3.1.10", + "mkdirp": "^0.5.0", + "resolve-from": "^2.0.0", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.1", + "spawn-wrap": "^1.4.2", + "test-exclude": "^4.2.0", + "yargs": "11.1.0", + "yargs-parser": "^8.0.0" + }, + "bin": { + "nyc": "bin/nyc.js" + } + }, + "weaver/sdks/besu/node/node_modules/nyc/node_modules/find-up": { + "version": "2.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/oauth-sign": { + "version": "0.9.0", + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/object-copy": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/object-visit": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/object.omit": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "for-own": "^0.1.4", + "is-extendable": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/object.pick": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/oboe": { + "version": "2.1.5", + "license": "BSD", + "dependencies": { + "http-https": "^1.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/on-finished": { + "version": "2.4.1", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/onetime": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/optionator": { + "version": "0.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/besu/node/node_modules/os-homedir": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/os-locale": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/p-limit": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/p-locate": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/p-timeout": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/p-try": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/parse-glob": { + "version": "3.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "glob-base": "^0.3.0", + "is-dotfile": "^1.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/parse-headers": { + "version": "2.0.4", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/parse-json": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/parseurl": { + "version": "1.3.3", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/pascalcase": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/path-exists": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/path-is-inside": { + "version": "1.0.2", + "dev": true, + "license": "(WTFPL OR MIT)" + }, + "weaver/sdks/besu/node/node_modules/path-key": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/path-to-regexp": { + "version": "1.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "0.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/path-to-regexp/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/path-type": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/pathval": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/performance-now": { + "version": "2.1.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/pify": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/pinkie": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/pinkie-promise": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/pkg-dir": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/pluralize": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/posix-character-classes": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/prelude-ls": { + "version": "1.1.2", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/besu/node/node_modules/prepend-http": { + "version": "1.0.4", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/preserve": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/process-nextick-args": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/progress": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/sdks/besu/node/node_modules/proxy-addr": { + "version": "2.0.7", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "weaver/sdks/besu/node/node_modules/pseudomap": { + "version": "1.0.2", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/psl": { + "version": "1.8.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/qs": { + "version": "6.11.0", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/sdks/besu/node/node_modules/query-string": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/querystringify": { + "version": "2.2.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/randomatic": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^4.0.0", + "kind-of": "^6.0.0", + "math-random": "^1.0.1" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/randomatic/node_modules/is-number": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/randomatic/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/range-parser": { + "version": "1.2.1", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/raw-body": { + "version": "2.5.1", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/read-pkg": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/read-pkg-up": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/regex-cache": { + "version": "0.4.4", + "dev": true, + "license": "MIT", + "dependencies": { + "is-equal-shallow": "^0.1.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/regex-not": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/regex-not/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/regex-not/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/regexpp": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/remove-trailing-separator": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/repeat-element": { + "version": "1.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/request": { + "version": "2.88.2", + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "weaver/sdks/besu/node/node_modules/request/node_modules/qs": { + "version": "6.5.3", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "weaver/sdks/besu/node/node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "weaver/sdks/besu/node/node_modules/require-main-filename": { + "version": "1.0.1", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/require-uncached": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "caller-path": "^0.1.0", + "resolve-from": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/require-uncached/node_modules/resolve-from": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/requires-port": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/resolve-from": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/resolve-url": { + "version": "0.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/responselike": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "lowercase-keys": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "weaver/sdks/besu/node/node_modules/restore-cursor": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/ret": { + "version": "0.1.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12" + } + }, + "weaver/sdks/besu/node/node_modules/rewire": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint": "^4.19.1" + } + }, + "weaver/sdks/besu/node/node_modules/rimraf": { + "version": "2.7.1", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/sdks/besu/node/node_modules/rlp": { + "version": "2.2.7", + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "weaver/sdks/besu/node/node_modules/rx-lite": { + "version": "4.0.8", + "dev": true + }, + "weaver/sdks/besu/node/node_modules/rx-lite-aggregates": { + "version": "4.0.8", + "dev": true, + "dependencies": { + "rx-lite": "*" + } + }, + "weaver/sdks/besu/node/node_modules/safe-regex": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ret": "~0.1.10" + } + }, + "weaver/sdks/besu/node/node_modules/scrypt-js": { + "version": "3.0.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/send": { + "version": "0.18.0", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/besu/node/node_modules/serve-static": { + "version": "1.15.0", + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/besu/node/node_modules/servify": { + "version": "0.1.12", + "license": "MIT", + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/besu/node/node_modules/set-value": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/setprototypeof": { + "version": "1.2.0", + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/shiki": { + "version": "0.14.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-sequence-parser": "^1.1.0", + "jsonc-parser": "^3.2.0", + "vscode-oniguruma": "^1.7.0", + "vscode-textmate": "^8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/simple-concat": { + "version": "1.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/simple-get": { + "version": "2.8.2", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/sinon": { + "version": "6.3.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.0.2", + "@sinonjs/formatio": "^3.0.0", + "@sinonjs/samsam": "^2.1.2", + "diff": "^3.5.0", + "lodash.get": "^4.4.2", + "lolex": "^2.7.5", + "nise": "^1.4.5", + "supports-color": "^5.5.0", + "type-detect": "^4.0.8" + } + }, + "weaver/sdks/besu/node/node_modules/sinon-chai": { + "version": "3.7.0", + "dev": true, + "license": "(BSD-2-Clause OR WTFPL)", + "peerDependencies": { + "chai": "^4.0.0", + "sinon": ">=4.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/sinon/node_modules/@sinonjs/samsam": { + "version": "2.1.3", + "dev": true, + "license": "BSD-3-Clause" + }, + "weaver/sdks/besu/node/node_modules/sinon/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/slice-ansi": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/slide": { + "version": "1.1.6", + "dev": true, + "license": "ISC", + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/snapdragon": { + "version": "0.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/snapdragon-node": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/snapdragon-util": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/source-map": { + "version": "0.5.7", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/source-map-resolve": { + "version": "0.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "weaver/sdks/besu/node/node_modules/source-map-url": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/spawn-wrap": { + "version": "1.4.3", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^1.5.6", + "mkdirp": "^0.5.0", + "os-homedir": "^1.0.1", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.2", + "which": "^1.3.0" + } + }, + "weaver/sdks/besu/node/node_modules/split-string": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/split-string/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/split-string/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/static-extend": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/statuses": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/streamroller": { + "version": "3.1.5", + "license": "MIT", + "dependencies": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "fs-extra": "^8.1.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "weaver/sdks/besu/node/node_modules/streamroller/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/sdks/besu/node/node_modules/streamroller/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/strict-uri-encode": { + "version": "1.1.0", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "weaver/sdks/besu/node/node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/string-width": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/strip-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/strip-ansi/node_modules/ansi-regex": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/strip-bom": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/strip-eof": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "weaver/sdks/besu/node/node_modules/strip-json-comments": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/supports-color": { + "version": "5.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js": { + "version": "0.1.40", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/fs-minipass": { + "version": "1.2.7", + "license": "ISC", + "dependencies": { + "minipass": "^2.6.0" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "license": "MIT", + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/lowercase-keys": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/minipass": { + "version": "2.9.0", + "license": "ISC", + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/minizlib": { + "version": "1.3.3", + "license": "MIT", + "dependencies": { + "minipass": "^2.9.0" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/tar": { + "version": "4.4.19", + "license": "ISC", + "dependencies": { + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" + }, + "engines": { + "node": ">=4.5" + } + }, + "weaver/sdks/besu/node/node_modules/swarm-js/node_modules/yallist": { + "version": "3.1.1", + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/table": { + "version": "4.0.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ajv": "^5.2.3", + "ajv-keywords": "^2.1.0", + "chalk": "^2.1.0", + "lodash": "^4.17.4", + "slice-ansi": "1.0.0", + "string-width": "^2.1.1" + } + }, + "weaver/sdks/besu/node/node_modules/test-exclude": { + "version": "4.2.3", + "dev": true, + "license": "ISC", + "dependencies": { + "arrify": "^1.0.1", + "micromatch": "^2.3.11", + "object-assign": "^4.1.0", + "read-pkg-up": "^1.0.1", + "require-main-filename": "^1.0.1" + } + }, + "weaver/sdks/besu/node/node_modules/test-exclude/node_modules/arr-diff": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-flatten": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/test-exclude/node_modules/array-unique": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/test-exclude/node_modules/braces": { + "version": "1.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/test-exclude/node_modules/expand-brackets": { + "version": "0.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-posix-bracket": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/test-exclude/node_modules/extglob": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/test-exclude/node_modules/micromatch": { + "version": "2.3.11", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/timed-out": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/to-object-path": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/to-regex": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/to-regex-range": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/to-regex/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/to-regex/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/to-regex/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "weaver/sdks/besu/node/node_modules/tough-cookie": { + "version": "4.1.3", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/besu/node/node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/trim-right": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/tunnel-agent": { + "version": "0.6.0", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "weaver/sdks/besu/node/node_modules/type": { + "version": "1.2.0", + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/type-check": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/besu/node/node_modules/type-is": { + "version": "1.6.18", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "weaver/sdks/besu/node/node_modules/typedarray": { + "version": "0.0.6", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/typedoc": { + "version": "0.25.6", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lunr": "^2.3.9", + "marked": "^4.3.0", + "minimatch": "^9.0.3", + "shiki": "^0.14.7" + }, + "bin": { + "typedoc": "bin/typedoc" + }, + "engines": { + "node": ">= 16" + }, + "peerDependencies": { + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x" + } + }, + "weaver/sdks/besu/node/node_modules/typedoc/node_modules/brace-expansion": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/typedoc/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "weaver/sdks/besu/node/node_modules/ultron": { + "version": "1.1.1", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/union-value": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/unpipe": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/unset-value": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/urix": { + "version": "0.1.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/url-parse": { + "version": "1.5.10", + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/url-parse-lax": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/url-set-query": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/url-to-options": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "weaver/sdks/besu/node/node_modules/use": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/utf-8-validate": { + "version": "5.0.8", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "weaver/sdks/besu/node/node_modules/utf8": { + "version": "3.0.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/utils-merge": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "weaver/sdks/besu/node/node_modules/varint": { + "version": "5.0.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/vary": { + "version": "1.1.2", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "weaver/sdks/besu/node/node_modules/verror": { + "version": "1.10.0", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "weaver/sdks/besu/node/node_modules/verror/node_modules/core-util-is": { + "version": "1.0.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/verror/node_modules/extsprintf": { + "version": "1.4.1", + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/vscode-oniguruma": { + "version": "1.7.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/vscode-textmate": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/web3": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-bzz": "1.10.0", + "web3-core": "1.10.0", + "web3-eth": "1.10.0", + "web3-eth-personal": "1.10.0", + "web3-net": "1.10.0", + "web3-shh": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-bzz": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "got": "12.1.0", + "swarm-js": "^0.1.40" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/web3-core": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-requestmanager": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-core-helpers": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-eth-iban": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-core-method": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/transactions": "^5.6.2", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-core-promievent": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-core-requestmanager": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "util": "^0.12.5", + "web3-core-helpers": "1.10.0", + "web3-providers-http": "1.10.0", + "web3-providers-ipc": "1.10.0", + "web3-providers-ws": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-core-subscriptions": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-core/node_modules/@types/bn.js": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/web3-core/node_modules/@types/bn.js/node_modules/@types/node": { + "version": "17.0.32", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/web3-core/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/web3-eth": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-eth-accounts": "1.10.0", + "web3-eth-contract": "1.10.0", + "web3-eth-ens": "1.10.0", + "web3-eth-iban": "1.10.0", + "web3-eth-personal": "1.10.0", + "web3-net": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-abi": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethersproject/abi": "^5.6.3", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-accounts": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@ethereumjs/common": "2.5.0", + "@ethereumjs/tx": "3.3.2", + "eth-lib": "0.2.8", + "ethereumjs-util": "^7.1.5", + "scrypt-js": "^3.0.1", + "uuid": "^9.0.0", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-accounts/node_modules/bn.js": { + "version": "4.12.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-accounts/node_modules/ethereumjs-util": { + "version": "7.1.5", + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-accounts/node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/web3-eth-contract": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/bn.js": "^5.1.1", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-contract/node_modules/@types/bn.js": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-ens": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-promievent": "1.10.0", + "web3-eth-abi": "1.10.0", + "web3-eth-contract": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-iban": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-personal": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.10.0", + "web3-core-helpers": "1.10.0", + "web3-core-method": "1.10.0", + "web3-net": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.20.55", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/web3-net": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-method": "1.10.0", + "web3-utils": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-providers-http": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "abortcontroller-polyfill": "^1.7.3", + "cross-fetch": "^3.1.4", + "es6-promise": "^4.2.8", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-providers-ipc": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "oboe": "2.1.5", + "web3-core-helpers": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-providers-ws": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "eventemitter3": "4.0.4", + "web3-core-helpers": "1.10.0", + "websocket": "^1.0.32" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-shh": { + "version": "1.10.0", + "hasInstallScript": true, + "license": "LGPL-3.0", + "dependencies": { + "web3-core": "1.10.0", + "web3-core-method": "1.10.0", + "web3-core-subscriptions": "1.10.0", + "web3-net": "1.10.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/web3-utils": { + "version": "1.10.0", + "license": "LGPL-3.0", + "dependencies": { + "bn.js": "^5.2.1", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/websocket": { + "version": "1.0.34", + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/which": { + "version": "1.3.1", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "weaver/sdks/besu/node/node_modules/word-wrap": { + "version": "1.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/wrap-ansi": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/wrap-ansi/node_modules/string-width": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/write": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "mkdirp": "^0.5.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/besu/node/node_modules/write-file-atomic": { + "version": "1.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "slide": "^1.1.5" + } + }, + "weaver/sdks/besu/node/node_modules/ws": { + "version": "3.3.3", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "weaver/sdks/besu/node/node_modules/ws/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, + "weaver/sdks/besu/node/node_modules/xhr": { + "version": "2.6.0", + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "weaver/sdks/besu/node/node_modules/xhr-request": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "weaver/sdks/besu/node/node_modules/xhr-request-promise": { + "version": "0.1.3", + "license": "MIT", + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "weaver/sdks/besu/node/node_modules/y18n": { + "version": "3.2.2", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/besu/node/node_modules/yaeti": { + "version": "0.0.6", + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "weaver/sdks/besu/node/node_modules/yargs": { + "version": "11.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^4.0.0", + "decamelize": "^1.1.1", + "find-up": "^2.1.0", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^9.0.2" + } + }, + "weaver/sdks/besu/node/node_modules/yargs/node_modules/find-up": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk": { + "name": "@hyperledger/cacti-weaver-sdk-fabric", + "version": "2.0.0-alpha.2", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "1.10.3", + "@grpc/proto-loader": "0.7.8", + "@hyperledger/cacti-weaver-protos-js": "2.0.0-alpha.2", + "elliptic": "6.5.4", + "fabric-common": "2.2.20", + "fabric-network": "2.2.20", + "fabric-protos": "2.2.20", + "js-sha3": "0.8.0", + "jsrsasign": "11.0.0", + "log4js": "6.9.1", + "pkcs11js": "1.3.1", + "sjcl": "1.0.8", + "sshpk": "1.17.0", + "uuid": "9.0.1" + }, + "devDependencies": { + "@types/node": "18.11.9", + "chai": "4.3.7", + "chai-as-promised": "7.1.1", + "mocha": "5.2.0", + "nyc": "12.0.2", + "rewire": "4.0.1", + "sinon": "6.3.5", + "sinon-chai": "3.7.0", + "ts-node": "10.9.1", + "typedoc": "0.25.6", + "typescript": "5.3.3" + }, + "engines": { + "node": ">=18", + "npm": ">=8" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@babel/generator": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "7.0.0-beta.51", + "jsesc": "^2.5.1", + "lodash": "^4.17.5", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@babel/generator/node_modules/@babel/types": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@babel/highlight": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^3.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@babel/parser": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@babel/template": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "7.0.0-beta.51", + "@babel/parser": "7.0.0-beta.51", + "@babel/types": "7.0.0-beta.51", + "lodash": "^4.17.5" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@babel/template/node_modules/@babel/code-frame": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/highlight": "7.0.0-beta.51" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@babel/template/node_modules/@babel/types": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@grpc/grpc-js": { + "version": "1.10.3", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.10", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@grpc/grpc-js/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@grpc/proto-loader": { + "version": "0.7.8", + "license": "Apache-2.0", + "dependencies": { + "@types/long": "^4.0.1", + "lodash.camelcase": "^4.3.0", + "long": "^4.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@grpc/proto-loader/node_modules/long": { + "version": "4.0.0", + "license": "Apache-2.0" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/base64": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/float": { + "version": "1.0.2", + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/path": { + "version": "1.1.2", + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/pool": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@sinonjs/commons": { + "version": "1.8.6", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@sinonjs/formatio": { + "version": "3.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1", + "@sinonjs/samsam": "^3.1.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@sinonjs/samsam": { + "version": "3.3.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.3.0", + "array-from": "^2.1.1", + "lodash": "^4.17.15" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@sinonjs/text-encoding": { + "version": "0.7.2", + "dev": true, + "license": "(Unlicense OR Apache-2.0)" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/@types/long": { + "version": "4.0.1", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/acorn": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/acorn-jsx": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^3.0.4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/ajv": { + "version": "5.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/ajv-keywords": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": "^5.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/ansi-escapes": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/ansi-sequence-parser": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/append-transform": { + "version": "0.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "default-require-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/argparse": { + "version": "1.0.10", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/arr-diff": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/arr-flatten": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/arr-union": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/array-from": { + "version": "2.1.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/array-unique": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/asn1": { + "version": "0.2.6", + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/assertion-error": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/assign-symbols": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/async": { + "version": "3.2.4", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/atob": { + "version": "2.1.2", + "dev": true, + "license": "(MIT OR Apache-2.0)", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/babel-code-frame": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/babel-code-frame/node_modules/ansi-regex": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/babel-code-frame/node_modules/ansi-styles": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/babel-code-frame/node_modules/chalk": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/babel-code-frame/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/babel-code-frame/node_modules/supports-color": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/base": { + "version": "0.11.2", + "dev": true, + "license": "MIT", + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/brace-expansion": { + "version": "1.1.11", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/braces": { + "version": "2.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/browser-stdout": { + "version": "1.3.1", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/cache-base": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/caching-transform": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "md5-hex": "^1.2.0", + "mkdirp": "^0.5.1", + "write-file-atomic": "^1.1.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/caller-path": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/callsites": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/chai": { + "version": "4.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^4.1.2", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/chai-as-promised": { + "version": "7.1.1", + "dev": true, + "license": "WTFPL", + "dependencies": { + "check-error": "^1.0.2" + }, + "peerDependencies": { + "chai": ">= 2.1.2 < 5" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/chalk/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/chalk/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/chardet": { + "version": "0.4.2", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/check-error": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/circular-json": { + "version": "0.3.3", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/class-utils": { + "version": "0.3.6", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/cli-cursor": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/cli-width": { + "version": "2.2.1", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/code-point-at": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/collection-visit": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/colors": { + "version": "1.0.3", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/commander": { + "version": "2.15.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/component-emitter": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/concat-stream": { + "version": "1.6.2", + "dev": true, + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/copy-descriptor": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/cross-spawn": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/cross-spawn/node_modules/lru-cache": { + "version": "4.1.5", + "dev": true, + "license": "ISC", + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/cross-spawn/node_modules/yallist": { + "version": "2.1.2", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/cycle": { + "version": "1.0.3", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/dashdash": { + "version": "1.14.1", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/date-format": { + "version": "4.0.14", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/debug-log": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/decode-uri-component": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/deep-eql": { + "version": "4.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/default-require-extensions": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/define-property": { + "version": "0.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/define-property/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/define-property/node_modules/is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/define-property/node_modules/is-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/define-property/node_modules/is-descriptor/node_modules/kind-of": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/diff": { + "version": "3.5.0", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/ecc-jsbn": { + "version": "0.1.2", + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/eslint": { + "version": "4.19.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^5.3.0", + "babel-code-frame": "^6.22.0", + "chalk": "^2.1.0", + "concat-stream": "^1.6.0", + "cross-spawn": "^5.1.0", + "debug": "^3.1.0", + "doctrine": "^2.1.0", + "eslint-scope": "^3.7.1", + "eslint-visitor-keys": "^1.0.0", + "espree": "^3.5.4", + "esquery": "^1.0.0", + "esutils": "^2.0.2", + "file-entry-cache": "^2.0.0", + "functional-red-black-tree": "^1.0.1", + "glob": "^7.1.2", + "globals": "^11.0.1", + "ignore": "^3.3.3", + "imurmurhash": "^0.1.4", + "inquirer": "^3.0.6", + "is-resolvable": "^1.0.0", + "js-yaml": "^3.9.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.3.0", + "lodash": "^4.17.4", + "minimatch": "^3.0.2", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "optionator": "^0.8.2", + "path-is-inside": "^1.0.2", + "pluralize": "^7.0.0", + "progress": "^2.0.0", + "regexpp": "^1.0.1", + "require-uncached": "^1.0.3", + "semver": "^5.3.0", + "strip-ansi": "^4.0.0", + "strip-json-comments": "~2.0.1", + "table": "4.0.2", + "text-table": "~0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/eslint-scope": { + "version": "3.7.3", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/eslint/node_modules/ansi-regex": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/eslint/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/eslint/node_modules/glob": { + "version": "7.2.3", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/eslint/node_modules/strip-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/espree": { + "version": "3.5.4", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^5.5.0", + "acorn-jsx": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/espree/node_modules/acorn": { + "version": "5.7.4", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/execa": { + "version": "0.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/expand-brackets": { + "version": "2.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/expand-range": { + "version": "1.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/expand-range/node_modules/fill-range": { + "version": "2.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^2.1.0", + "isobject": "^2.0.0", + "randomatic": "^3.0.0", + "repeat-element": "^1.1.2", + "repeat-string": "^1.5.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/expand-range/node_modules/is-number": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/expand-range/node_modules/isobject": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/external-editor": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^0.4.0", + "iconv-lite": "^0.4.17", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=0.12" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/extglob": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/eyes": { + "version": "0.1.8", + "engines": { + "node": "> 0.1.90" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fabric-common": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "callsite": "^1.0.0", + "elliptic": "^6.5.4", + "fabric-protos": "2.2.20", + "js-sha3": "^0.9.2", + "jsrsasign": "^10.5.25", + "long": "^5.2.3", + "nconf": "^0.12.0", + "promise-settle": "^0.3.0", + "sjcl": "^1.0.8", + "winston": "^2.4.5", + "yn": "^4.0.0" + }, + "engines": { + "node": ">=10.13.0" + }, + "optionalDependencies": { + "pkcs11js": "^1.3.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fabric-common/node_modules/js-sha3": { + "version": "0.9.3", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fabric-network": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "fabric-common": "2.2.20", + "fabric-protos": "2.2.20", + "long": "^5.2.3", + "nano": "^10.1.2" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fabric-protos": { + "version": "2.2.20", + "license": "Apache-2.0", + "dependencies": { + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.0", + "long": "^5.2.3", + "protobufjs": "^7.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fabric-protos/node_modules/@grpc/grpc-js": { + "version": "1.9.6", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fabric-protos/node_modules/@grpc/grpc-js/node_modules/@grpc/proto-loader": { + "version": "0.7.10", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.4", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fast-deep-equal": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/figures": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/file-entry-cache": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^1.2.1", + "object-assign": "^4.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/filename-regex": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fill-range": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/find-cache-dir": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "commondir": "^1.0.1", + "mkdirp": "^0.5.1", + "pkg-dir": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/find-up": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/flat-cache": { + "version": "1.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "circular-json": "^0.3.1", + "graceful-fs": "^4.1.2", + "rimraf": "~2.6.2", + "write": "^0.2.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/flat-cache/node_modules/rimraf": { + "version": "2.6.3", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/flatted": { + "version": "3.2.7", + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/for-in": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/for-own": { + "version": "0.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "for-in": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/foreground-child": { + "version": "1.5.6", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^4", + "signal-exit": "^3.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/foreground-child/node_modules/cross-spawn": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/foreground-child/node_modules/lru-cache": { + "version": "4.1.5", + "dev": true, + "license": "ISC", + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/foreground-child/node_modules/yallist": { + "version": "2.1.2", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fragment-cache": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/fs-extra": { + "version": "8.1.0", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/functional-red-black-tree": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/get-func-name": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/get-stream": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/get-value": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/getpass": { + "version": "0.1.7", + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/glob-base": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "glob-parent": "^2.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/globals": { + "version": "11.12.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/growl": { + "version": "1.10.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.x" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/has-ansi": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/has-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/has-value": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/has-values": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/has-values/node_modules/kind-of": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/he": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/hosted-git-info": { + "version": "2.8.9", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/ignore": { + "version": "3.3.10", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/ini": { + "version": "2.0.0", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/inquirer": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^3.0.0", + "chalk": "^2.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^2.0.4", + "figures": "^2.0.0", + "lodash": "^4.3.0", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rx-lite": "^4.0.8", + "rx-lite-aggregates": "^4.0.8", + "string-width": "^2.1.0", + "strip-ansi": "^4.0.0", + "through": "^2.3.6" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/inquirer/node_modules/ansi-regex": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/inquirer/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/inquirer/node_modules/string-width": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/inquirer/node_modules/strip-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/invert-kv": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-data-descriptor": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-descriptor": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-descriptor/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-dotfile": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-equal-shallow": { + "version": "0.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "is-primitive": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-extendable": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-extglob": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-glob": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-number": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-posix-bracket": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-primitive": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-resolvable": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-stream": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/is-utf8": { + "version": "0.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/isstream": { + "version": "0.1.2", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-coverage": { + "version": "1.2.1", + "dev": true, + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-hook": { + "version": "1.2.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "append-transform": "^0.4.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-instrument": { + "version": "2.3.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/generator": "7.0.0-beta.51", + "@babel/parser": "7.0.0-beta.51", + "@babel/template": "7.0.0-beta.51", + "@babel/traverse": "7.0.0-beta.51", + "@babel/types": "7.0.0-beta.51", + "istanbul-lib-coverage": "^2.0.1", + "semver": "^5.5.0" + }, + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-instrument/node_modules/@babel/types": { + "version": "7.0.0-beta.51", + "dev": true, + "license": "MIT", + "dependencies": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-instrument/node_modules/istanbul-lib-coverage": { + "version": "2.0.5", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=6" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-report": { + "version": "1.1.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^1.2.1", + "mkdirp": "^0.5.1", + "path-parse": "^1.0.5", + "supports-color": "^3.1.2" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "3.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^1.0.0" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-source-maps": { + "version": "1.2.6", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "debug": "^3.1.0", + "istanbul-lib-coverage": "^1.2.1", + "mkdirp": "^0.5.1", + "rimraf": "^2.6.1", + "source-map": "^0.5.3" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-lib-source-maps/node_modules/debug": { + "version": "3.2.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/istanbul-reports": { + "version": "1.5.1", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "handlebars": "^4.0.3" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/js-tokens": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/js-yaml": { + "version": "3.14.1", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/jsbn": { + "version": "0.1.1", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/json-schema-traverse": { + "version": "0.3.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/jsonc-parser": { + "version": "3.2.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/jsrsasign": { + "version": "11.0.0", + "license": "MIT", + "funding": { + "url": "https://github.com/kjur/jsrsasign#donations" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/just-extend": { + "version": "4.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/lcid": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "invert-kv": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/levn": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/load-json-file": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/locate-path": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/locate-path/node_modules/path-exists": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/lodash.get": { + "version": "4.4.2", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/log4js": { + "version": "6.9.1", + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "flatted": "^3.2.7", + "rfdc": "^1.3.0", + "streamroller": "^3.1.5" + }, + "engines": { + "node": ">=8.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/log4js/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/log4js/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/lolex": { + "version": "2.7.5", + "dev": true, + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/long": { + "version": "5.2.3", + "license": "Apache-2.0" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/loupe": { + "version": "2.3.6", + "dev": true, + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/lunr": { + "version": "2.3.9", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/map-cache": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/map-visit": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/marked": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/math-random": { + "version": "1.0.4", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/md5-hex": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "md5-o-matic": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/md5-o-matic": { + "version": "0.1.1", + "dev": true + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mem": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/merge-source-map": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "source-map": "^0.6.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/merge-source-map/node_modules/source-map": { + "version": "0.6.1", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/micromatch": { + "version": "3.1.10", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/micromatch/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/micromatch/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/micromatch/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/micromatch/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mimic-fn": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mixin-deep": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mixin-deep/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mkdirp": { + "version": "0.5.6", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mocha": { + "version": "5.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "browser-stdout": "1.3.1", + "commander": "2.15.1", + "debug": "3.1.0", + "diff": "3.5.0", + "escape-string-regexp": "1.0.5", + "glob": "7.1.2", + "growl": "1.10.5", + "he": "1.1.1", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "supports-color": "5.4.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mocha/node_modules/debug": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mocha/node_modules/glob": { + "version": "7.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mocha/node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mocha/node_modules/minimatch": { + "version": "3.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mocha/node_modules/mkdirp": { + "version": "0.5.1", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "0.0.8" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mocha/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/mute-stream": { + "version": "0.0.7", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nan": { + "version": "2.15.0", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nano": { + "version": "10.1.2", + "license": "Apache-2.0", + "dependencies": { + "axios": "^1.2.2", + "node-abort-controller": "^3.0.1", + "qs": "^6.11.0" + }, + "engines": { + "node": ">=14" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nanomatch": { + "version": "1.2.13", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nanomatch/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nanomatch/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nanomatch/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nanomatch/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nconf": { + "version": "0.12.0", + "license": "MIT", + "dependencies": { + "async": "^3.0.0", + "ini": "^2.0.0", + "secure-keys": "^1.0.0", + "yargs": "^16.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nconf/node_modules/yargs": { + "version": "16.2.0", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nise": { + "version": "1.5.3", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/formatio": "^3.2.1", + "@sinonjs/text-encoding": "^0.7.1", + "just-extend": "^4.0.2", + "lolex": "^5.0.1", + "path-to-regexp": "^1.7.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nise/node_modules/lolex": { + "version": "5.1.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.7.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/node-abort-controller": { + "version": "3.1.1", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/normalize-package-data": { + "version": "2.5.0", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/normalize-path": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "remove-trailing-separator": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/npm-run-path": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/number-is-nan": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc": { + "version": "12.0.2", + "bundleDependencies": [ + "archy", + "arrify", + "caching-transform", + "convert-source-map", + "debug-log", + "default-require-extensions", + "find-cache-dir", + "find-up", + "foreground-child", + "glob", + "istanbul-lib-coverage", + "istanbul-lib-hook", + "istanbul-lib-report", + "istanbul-lib-source-maps", + "istanbul-reports", + "md5-hex", + "merge-source-map", + "micromatch", + "mkdirp", + "resolve-from", + "rimraf", + "signal-exit", + "spawn-wrap", + "test-exclude", + "yargs", + "yargs-parser" + ], + "dev": true, + "license": "ISC", + "dependencies": { + "archy": "^1.0.0", + "arrify": "^1.0.1", + "caching-transform": "^1.0.0", + "convert-source-map": "^1.5.1", + "debug-log": "^1.0.1", + "default-require-extensions": "^1.0.0", + "find-cache-dir": "^0.1.1", + "find-up": "^2.1.0", + "foreground-child": "^1.5.3", + "glob": "^7.0.6", + "istanbul-lib-coverage": "^1.2.0", + "istanbul-lib-hook": "^1.1.0", + "istanbul-lib-instrument": "^2.1.0", + "istanbul-lib-report": "^1.1.3", + "istanbul-lib-source-maps": "^1.2.5", + "istanbul-reports": "^1.4.1", + "md5-hex": "^1.2.0", + "merge-source-map": "^1.1.0", + "micromatch": "^3.1.10", + "mkdirp": "^0.5.0", + "resolve-from": "^2.0.0", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.1", + "spawn-wrap": "^1.4.2", + "test-exclude": "^4.2.0", + "yargs": "11.1.0", + "yargs-parser": "^8.0.0" + }, + "bin": { + "nyc": "bin/nyc.js" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/ansi-regex": { + "version": "3.0.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/cliui": { + "version": "4.1.0", + "extraneous": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", + "wrap-ansi": "^2.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/find-up": { + "version": "2.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/get-caller-file": { + "version": "1.0.3", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/string-width": { + "version": "2.1.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/strip-ansi": { + "version": "4.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/wrap-ansi": { + "version": "2.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/wrap-ansi/node_modules/string-width": { + "version": "1.0.2", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "3.0.1", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/y18n": { + "version": "3.2.2", + "extraneous": true, + "inBundle": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/nyc/node_modules/yargs": { + "version": "11.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "cliui": "^4.0.0", + "decamelize": "^1.1.1", + "find-up": "^2.1.0", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^9.0.2" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/object-copy": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/object-visit": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/object.omit": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "for-own": "^0.1.4", + "is-extendable": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/object.pick": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/onetime": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/optionator": { + "version": "0.8.3", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/os-homedir": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/os-locale": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/p-limit": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/p-locate": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/p-try": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/parse-glob": { + "version": "3.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "glob-base": "^0.3.0", + "is-dotfile": "^1.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/parse-json": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/pascalcase": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/path-exists": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/path-is-inside": { + "version": "1.0.2", + "dev": true, + "license": "(WTFPL OR MIT)" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/path-key": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/path-to-regexp": { + "version": "1.8.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "0.0.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/path-to-regexp/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/path-type": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/pathval": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/pify": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/pinkie": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/pinkie-promise": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/pkcs11js": { + "version": "1.3.1", + "license": "MIT", + "dependencies": { + "nan": "^2.15.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/PeculiarVentures" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/pkg-dir": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/pluralize": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/posix-character-classes": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/prelude-ls": { + "version": "1.1.2", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/preserve": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/process-nextick-args": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/progress": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/promise-settle": { + "version": "0.3.0", + "license": "MIT", + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/protobufjs": { + "version": "7.2.5", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/pseudomap": { + "version": "1.0.2", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/qs": { + "version": "6.11.2", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/randomatic": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^4.0.0", + "kind-of": "^6.0.0", + "math-random": "^1.0.1" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/randomatic/node_modules/is-number": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/randomatic/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/read-pkg": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/read-pkg-up": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/regex-cache": { + "version": "0.4.4", + "dev": true, + "license": "MIT", + "dependencies": { + "is-equal-shallow": "^0.1.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/regex-not": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/regex-not/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/regex-not/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/regexpp": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/remove-trailing-separator": { + "version": "1.1.0", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/repeat-element": { + "version": "1.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/require-main-filename": { + "version": "1.0.1", + "dev": true, + "license": "ISC" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/require-uncached": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "caller-path": "^0.1.0", + "resolve-from": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/require-uncached/node_modules/resolve-from": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/resolve-from": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/resolve-url": { + "version": "0.2.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/restore-cursor": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/ret": { + "version": "0.1.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/rewire": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint": "^4.19.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/rimraf": { + "version": "2.7.1", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/rx-lite": { + "version": "4.0.8", + "dev": true + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/rx-lite-aggregates": { + "version": "4.0.8", + "dev": true, + "dependencies": { + "rx-lite": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/safe-regex": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ret": "~0.1.10" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/secure-keys": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/set-value": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/shiki": { + "version": "0.14.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-sequence-parser": "^1.1.0", + "jsonc-parser": "^3.2.0", + "vscode-oniguruma": "^1.7.0", + "vscode-textmate": "^8.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/sinon": { + "version": "6.3.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^1.0.2", + "@sinonjs/formatio": "^3.0.0", + "@sinonjs/samsam": "^2.1.2", + "diff": "^3.5.0", + "lodash.get": "^4.4.2", + "lolex": "^2.7.5", + "nise": "^1.4.5", + "supports-color": "^5.5.0", + "type-detect": "^4.0.8" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/sinon-chai": { + "version": "3.7.0", + "dev": true, + "license": "(BSD-2-Clause OR WTFPL)", + "peerDependencies": { + "chai": "^4.0.0", + "sinon": ">=4.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/sinon/node_modules/@sinonjs/samsam": { + "version": "2.1.3", + "dev": true, + "license": "BSD-3-Clause" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/sinon/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/sjcl": { + "version": "1.0.8", + "license": "(BSD-2-Clause OR GPL-2.0-only)", + "engines": { + "node": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/slice-ansi": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/slice-ansi/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/slide": { + "version": "1.1.6", + "dev": true, + "license": "ISC", + "engines": { + "node": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/snapdragon": { + "version": "0.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/snapdragon-node": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/snapdragon-util": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/source-map": { + "version": "0.5.7", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/source-map-resolve": { + "version": "0.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/source-map-url": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/spawn-wrap": { + "version": "1.4.3", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^1.5.6", + "mkdirp": "^0.5.0", + "os-homedir": "^1.0.1", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.2", + "which": "^1.3.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/split-string": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/split-string/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/split-string/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/sshpk": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/stack-trace": { + "version": "0.0.10", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/static-extend": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/streamroller": { + "version": "3.1.5", + "license": "MIT", + "dependencies": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "fs-extra": "^8.1.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/streamroller/node_modules/debug": { + "version": "4.3.4", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/streamroller/node_modules/ms": { + "version": "2.1.2", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/strip-bom": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/strip-eof": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/strip-json-comments": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/supports-color": { + "version": "5.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/table": { + "version": "4.0.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ajv": "^5.2.3", + "ajv-keywords": "^2.1.0", + "chalk": "^2.1.0", + "lodash": "^4.17.4", + "slice-ansi": "1.0.0", + "string-width": "^2.1.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/table/node_modules/ansi-regex": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/table/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/table/node_modules/string-width": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/table/node_modules/strip-ansi": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/test-exclude": { + "version": "4.2.3", + "dev": true, + "license": "ISC", + "dependencies": { + "arrify": "^1.0.1", + "micromatch": "^2.3.11", + "object-assign": "^4.1.0", + "read-pkg-up": "^1.0.1", + "require-main-filename": "^1.0.1" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/test-exclude/node_modules/arr-diff": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-flatten": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/test-exclude/node_modules/array-unique": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/test-exclude/node_modules/braces": { + "version": "1.8.5", + "dev": true, + "license": "MIT", + "dependencies": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/test-exclude/node_modules/expand-brackets": { + "version": "0.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-posix-bracket": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/test-exclude/node_modules/extglob": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/test-exclude/node_modules/micromatch": { + "version": "2.3.11", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/to-object-path": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/to-regex": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/to-regex-range": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/to-regex/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/to-regex/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/to-regex/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/trim-right": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/tweetnacl": { + "version": "0.14.5", + "license": "Unlicense" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/type-check": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/typedarray": { + "version": "0.0.6", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/typedoc": { + "version": "0.25.6", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lunr": "^2.3.9", + "marked": "^4.3.0", + "minimatch": "^9.0.3", + "shiki": "^0.14.7" + }, + "bin": { + "typedoc": "bin/typedoc" + }, + "engines": { + "node": ">= 16" + }, + "peerDependencies": { + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/typedoc/node_modules/brace-expansion": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/typedoc/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/union-value": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/unset-value": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/urix": { + "version": "0.1.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/use": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/vscode-oniguruma": { + "version": "1.7.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/vscode-textmate": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/which": { + "version": "1.3.1", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/winston": { + "version": "2.4.5", + "license": "MIT", + "dependencies": { + "async": "~1.0.0", + "colors": "1.0.x", + "cycle": "1.0.x", + "eyes": "0.1.x", + "isstream": "0.1.x", + "stack-trace": "0.0.x" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/winston/node_modules/async": { + "version": "1.0.0", + "license": "MIT" + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/word-wrap": { + "version": "1.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/write": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "mkdirp": "^0.5.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/write-file-atomic": { + "version": "1.3.4", + "dev": true, + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "slide": "^1.1.5" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/y18n": { + "version": "5.0.8", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "weaver/sdks/fabric/interoperation-node-sdk/node_modules/yn": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + } + } + } +} diff --git a/package.json b/package.json index ef786c18641..c68c9e32d5c 100644 --- a/package.json +++ b/package.json @@ -172,6 +172,7 @@ "openapi-types": "12.1.3", "prettier": "3.2.5", "protoc-gen-ts": "0.8.7", + "replace": "1.2.2", "run-time-error": "1.4.0", "run-time-error-cjs": "1.4.0", "secp256k1": "4.0.3", diff --git a/packages/cactus-cmd-api-server/package.json b/packages/cactus-cmd-api-server/package.json index 64d74549f8c..93f17b65e31 100644 --- a/packages/cactus-cmd-api-server/package.json +++ b/packages/cactus-cmd-api-server/package.json @@ -50,6 +50,7 @@ "generate-sdk": "run-s 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "proto:openapi": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g protobuf-schema --model-name-suffix=PB --additional-properties=packageName=org.hyperledger.cactus.cmd_api_server -o ./src/main/proto/generated/openapi/ -t=./src/main/openapi-generator/templates/protobuf-schema/", "proto:protoc-gen-ts": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/ --proto_path ./src/main/proto/generated/openapi/ ./src/main/proto/generated/openapi/services/*.proto", "watch": "npm-watch", diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..cb1787cc1ac --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,14 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_health_check_response.go +model_memory_usage.go +model_watch_healthcheck_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..6652235c31b --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,116 @@ +# Go API client for cactus-cmd-api-server + +Interact with a Cactus deployment through HTTP. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-cmd-api-server "github.com/hyperledger/cactus-cmd-api-server/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-cmd-api-server.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-cmd-api-server.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-cmd-api-server.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-cmd-api-server.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**GetHealthCheckV1**](docs/DefaultApi.md#gethealthcheckv1) | **Get** /api/v1/api-server/healthcheck | Can be used to verify liveness of an API server instance +*DefaultApi* | [**GetOpenApiSpecV1**](docs/DefaultApi.md#getopenapispecv1) | **Get** /api/v1/api-server/get-open-api-spec | +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/api-server/get-prometheus-exporter-metrics | Get the Prometheus Metrics + + +## Documentation For Models + + - [HealthCheckResponse](docs/HealthCheckResponse.md) + - [MemoryUsage](docs/MemoryUsage.md) + - [WatchHealthcheckV1](docs/WatchHealthcheckV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..355d99b677a --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,129 @@ +openapi: 3.0.3 +info: + description: Interact with a Cactus deployment through HTTP. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus API + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/api-server/healthcheck: + get: + description: Returns the current timestamp of the API server as proof of health/liveness + operationId: getHealthCheckV1 + parameters: [] + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/HealthCheckResponse' + description: OK + summary: Can be used to verify liveness of an API server instance + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/api-server/healthcheck + /api/v1/api-server/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/api-server/get-prometheus-exporter-metrics + /api/v1/api-server/get-open-api-spec: + get: + description: Returns the openapi.json document of specific plugin. + operationId: getOpenApiSpecV1 + parameters: [] + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetOpenApiSpecV1EndpointResponse' + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/api-server/get-open-api-spec +components: + schemas: + WatchHealthcheckV1: + enum: + - org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Subscribe + - org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Next + - org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Unsubscribe + - org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Error + - org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Complete + type: string + x-enum-varnames: + - Subscribe + - Next + - Unsubscribe + - Error + - Complete + MemoryUsage: + example: + heapUsed: 1.4658129805029452 + external: 5.962133916683182 + rss: 0.8008281904610115 + heapTotal: 6.027456183070403 + arrayBuffers: 5.637376656633329 + properties: + rss: + title: Resident Set Size + type: number + heapTotal: + title: V8 memory usage - heap total + type: number + heapUsed: + title: V8 memory usage - heap used + type: number + external: + title: Memory usage of C++ objects bound to JavaScript objects managed by + V8 + type: number + arrayBuffers: + title: "Memory allocated for ArrayBuffers and SharedArrayBuffers, including\ + \ all Node.js Buffers" + type: number + type: object + HealthCheckResponse: + example: + createdAt: createdAt + memoryUsage: + heapUsed: 1.4658129805029452 + external: 5.962133916683182 + rss: 0.8008281904610115 + heapTotal: 6.027456183070403 + arrayBuffers: 5.637376656633329 + success: true + properties: + success: + type: boolean + createdAt: + type: string + memoryUsage: + $ref: '#/components/schemas/MemoryUsage' + required: + - createdAt + - memoryUsage + type: object + PrometheusExporterMetricsResponse: + nullable: false + type: string + GetOpenApiSpecV1EndpointResponse: + nullable: false + type: string diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..4b3aa35b03e --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,318 @@ +/* +Hyperledger Cactus API + +Interact with a Cactus deployment through HTTP. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-cmd-api-server + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiGetHealthCheckV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetHealthCheckV1Request) Execute() (*HealthCheckResponse, *http.Response, error) { + return r.ApiService.GetHealthCheckV1Execute(r) +} + +/* +GetHealthCheckV1 Can be used to verify liveness of an API server instance + +Returns the current timestamp of the API server as proof of health/liveness + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetHealthCheckV1Request +*/ +func (a *DefaultApiService) GetHealthCheckV1(ctx context.Context) ApiGetHealthCheckV1Request { + return ApiGetHealthCheckV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HealthCheckResponse +func (a *DefaultApiService) GetHealthCheckV1Execute(r ApiGetHealthCheckV1Request) (*HealthCheckResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HealthCheckResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetHealthCheckV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/api-server/healthcheck" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetOpenApiSpecV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetOpenApiSpecV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetOpenApiSpecV1Execute(r) +} + +/* +GetOpenApiSpecV1 Method for GetOpenApiSpecV1 + +Returns the openapi.json document of specific plugin. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetOpenApiSpecV1Request +*/ +func (a *DefaultApiService) GetOpenApiSpecV1(ctx context.Context) ApiGetOpenApiSpecV1Request { + return ApiGetOpenApiSpecV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetOpenApiSpecV1Execute(r ApiGetOpenApiSpecV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetOpenApiSpecV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/api-server/get-open-api-spec" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/api-server/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..46db3c98dde --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus API + +Interact with a Cactus deployment through HTTP. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-cmd-api-server + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus API API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..9ffd4406b19 --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus API + +Interact with a Cactus deployment through HTTP. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-cmd-api-server + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..cf6f7e9b4ab --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-cmd-api-server/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/model_health_check_response.go b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/model_health_check_response.go new file mode 100644 index 00000000000..a38d59d4c9b --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/model_health_check_response.go @@ -0,0 +1,180 @@ +/* +Hyperledger Cactus API + +Interact with a Cactus deployment through HTTP. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-cmd-api-server + +import ( + "encoding/json" +) + +// checks if the HealthCheckResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HealthCheckResponse{} + +// HealthCheckResponse struct for HealthCheckResponse +type HealthCheckResponse struct { + Success *bool `json:"success,omitempty"` + CreatedAt string `json:"createdAt"` + MemoryUsage MemoryUsage `json:"memoryUsage"` +} + +// NewHealthCheckResponse instantiates a new HealthCheckResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHealthCheckResponse(createdAt string, memoryUsage MemoryUsage) *HealthCheckResponse { + this := HealthCheckResponse{} + this.CreatedAt = createdAt + this.MemoryUsage = memoryUsage + return &this +} + +// NewHealthCheckResponseWithDefaults instantiates a new HealthCheckResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHealthCheckResponseWithDefaults() *HealthCheckResponse { + this := HealthCheckResponse{} + return &this +} + +// GetSuccess returns the Success field value if set, zero value otherwise. +func (o *HealthCheckResponse) GetSuccess() bool { + if o == nil || IsNil(o.Success) { + var ret bool + return ret + } + return *o.Success +} + +// GetSuccessOk returns a tuple with the Success field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HealthCheckResponse) GetSuccessOk() (*bool, bool) { + if o == nil || IsNil(o.Success) { + return nil, false + } + return o.Success, true +} + +// HasSuccess returns a boolean if a field has been set. +func (o *HealthCheckResponse) HasSuccess() bool { + if o != nil && !IsNil(o.Success) { + return true + } + + return false +} + +// SetSuccess gets a reference to the given bool and assigns it to the Success field. +func (o *HealthCheckResponse) SetSuccess(v bool) { + o.Success = &v +} + +// GetCreatedAt returns the CreatedAt field value +func (o *HealthCheckResponse) GetCreatedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value +// and a boolean to check if the value has been set. +func (o *HealthCheckResponse) GetCreatedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CreatedAt, true +} + +// SetCreatedAt sets field value +func (o *HealthCheckResponse) SetCreatedAt(v string) { + o.CreatedAt = v +} + +// GetMemoryUsage returns the MemoryUsage field value +func (o *HealthCheckResponse) GetMemoryUsage() MemoryUsage { + if o == nil { + var ret MemoryUsage + return ret + } + + return o.MemoryUsage +} + +// GetMemoryUsageOk returns a tuple with the MemoryUsage field value +// and a boolean to check if the value has been set. +func (o *HealthCheckResponse) GetMemoryUsageOk() (*MemoryUsage, bool) { + if o == nil { + return nil, false + } + return &o.MemoryUsage, true +} + +// SetMemoryUsage sets field value +func (o *HealthCheckResponse) SetMemoryUsage(v MemoryUsage) { + o.MemoryUsage = v +} + +func (o HealthCheckResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HealthCheckResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Success) { + toSerialize["success"] = o.Success + } + toSerialize["createdAt"] = o.CreatedAt + toSerialize["memoryUsage"] = o.MemoryUsage + return toSerialize, nil +} + +type NullableHealthCheckResponse struct { + value *HealthCheckResponse + isSet bool +} + +func (v NullableHealthCheckResponse) Get() *HealthCheckResponse { + return v.value +} + +func (v *NullableHealthCheckResponse) Set(val *HealthCheckResponse) { + v.value = val + v.isSet = true +} + +func (v NullableHealthCheckResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableHealthCheckResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHealthCheckResponse(val *HealthCheckResponse) *NullableHealthCheckResponse { + return &NullableHealthCheckResponse{value: val, isSet: true} +} + +func (v NullableHealthCheckResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHealthCheckResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/model_memory_usage.go b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/model_memory_usage.go new file mode 100644 index 00000000000..e1076e04599 --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/model_memory_usage.go @@ -0,0 +1,270 @@ +/* +Hyperledger Cactus API + +Interact with a Cactus deployment through HTTP. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-cmd-api-server + +import ( + "encoding/json" +) + +// checks if the MemoryUsage type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &MemoryUsage{} + +// MemoryUsage struct for MemoryUsage +type MemoryUsage struct { + Rss *float32 `json:"rss,omitempty"` + HeapTotal *float32 `json:"heapTotal,omitempty"` + HeapUsed *float32 `json:"heapUsed,omitempty"` + External *float32 `json:"external,omitempty"` + ArrayBuffers *float32 `json:"arrayBuffers,omitempty"` +} + +// NewMemoryUsage instantiates a new MemoryUsage object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMemoryUsage() *MemoryUsage { + this := MemoryUsage{} + return &this +} + +// NewMemoryUsageWithDefaults instantiates a new MemoryUsage object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMemoryUsageWithDefaults() *MemoryUsage { + this := MemoryUsage{} + return &this +} + +// GetRss returns the Rss field value if set, zero value otherwise. +func (o *MemoryUsage) GetRss() float32 { + if o == nil || IsNil(o.Rss) { + var ret float32 + return ret + } + return *o.Rss +} + +// GetRssOk returns a tuple with the Rss field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MemoryUsage) GetRssOk() (*float32, bool) { + if o == nil || IsNil(o.Rss) { + return nil, false + } + return o.Rss, true +} + +// HasRss returns a boolean if a field has been set. +func (o *MemoryUsage) HasRss() bool { + if o != nil && !IsNil(o.Rss) { + return true + } + + return false +} + +// SetRss gets a reference to the given float32 and assigns it to the Rss field. +func (o *MemoryUsage) SetRss(v float32) { + o.Rss = &v +} + +// GetHeapTotal returns the HeapTotal field value if set, zero value otherwise. +func (o *MemoryUsage) GetHeapTotal() float32 { + if o == nil || IsNil(o.HeapTotal) { + var ret float32 + return ret + } + return *o.HeapTotal +} + +// GetHeapTotalOk returns a tuple with the HeapTotal field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MemoryUsage) GetHeapTotalOk() (*float32, bool) { + if o == nil || IsNil(o.HeapTotal) { + return nil, false + } + return o.HeapTotal, true +} + +// HasHeapTotal returns a boolean if a field has been set. +func (o *MemoryUsage) HasHeapTotal() bool { + if o != nil && !IsNil(o.HeapTotal) { + return true + } + + return false +} + +// SetHeapTotal gets a reference to the given float32 and assigns it to the HeapTotal field. +func (o *MemoryUsage) SetHeapTotal(v float32) { + o.HeapTotal = &v +} + +// GetHeapUsed returns the HeapUsed field value if set, zero value otherwise. +func (o *MemoryUsage) GetHeapUsed() float32 { + if o == nil || IsNil(o.HeapUsed) { + var ret float32 + return ret + } + return *o.HeapUsed +} + +// GetHeapUsedOk returns a tuple with the HeapUsed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MemoryUsage) GetHeapUsedOk() (*float32, bool) { + if o == nil || IsNil(o.HeapUsed) { + return nil, false + } + return o.HeapUsed, true +} + +// HasHeapUsed returns a boolean if a field has been set. +func (o *MemoryUsage) HasHeapUsed() bool { + if o != nil && !IsNil(o.HeapUsed) { + return true + } + + return false +} + +// SetHeapUsed gets a reference to the given float32 and assigns it to the HeapUsed field. +func (o *MemoryUsage) SetHeapUsed(v float32) { + o.HeapUsed = &v +} + +// GetExternal returns the External field value if set, zero value otherwise. +func (o *MemoryUsage) GetExternal() float32 { + if o == nil || IsNil(o.External) { + var ret float32 + return ret + } + return *o.External +} + +// GetExternalOk returns a tuple with the External field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MemoryUsage) GetExternalOk() (*float32, bool) { + if o == nil || IsNil(o.External) { + return nil, false + } + return o.External, true +} + +// HasExternal returns a boolean if a field has been set. +func (o *MemoryUsage) HasExternal() bool { + if o != nil && !IsNil(o.External) { + return true + } + + return false +} + +// SetExternal gets a reference to the given float32 and assigns it to the External field. +func (o *MemoryUsage) SetExternal(v float32) { + o.External = &v +} + +// GetArrayBuffers returns the ArrayBuffers field value if set, zero value otherwise. +func (o *MemoryUsage) GetArrayBuffers() float32 { + if o == nil || IsNil(o.ArrayBuffers) { + var ret float32 + return ret + } + return *o.ArrayBuffers +} + +// GetArrayBuffersOk returns a tuple with the ArrayBuffers field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MemoryUsage) GetArrayBuffersOk() (*float32, bool) { + if o == nil || IsNil(o.ArrayBuffers) { + return nil, false + } + return o.ArrayBuffers, true +} + +// HasArrayBuffers returns a boolean if a field has been set. +func (o *MemoryUsage) HasArrayBuffers() bool { + if o != nil && !IsNil(o.ArrayBuffers) { + return true + } + + return false +} + +// SetArrayBuffers gets a reference to the given float32 and assigns it to the ArrayBuffers field. +func (o *MemoryUsage) SetArrayBuffers(v float32) { + o.ArrayBuffers = &v +} + +func (o MemoryUsage) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o MemoryUsage) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Rss) { + toSerialize["rss"] = o.Rss + } + if !IsNil(o.HeapTotal) { + toSerialize["heapTotal"] = o.HeapTotal + } + if !IsNil(o.HeapUsed) { + toSerialize["heapUsed"] = o.HeapUsed + } + if !IsNil(o.External) { + toSerialize["external"] = o.External + } + if !IsNil(o.ArrayBuffers) { + toSerialize["arrayBuffers"] = o.ArrayBuffers + } + return toSerialize, nil +} + +type NullableMemoryUsage struct { + value *MemoryUsage + isSet bool +} + +func (v NullableMemoryUsage) Get() *MemoryUsage { + return v.value +} + +func (v *NullableMemoryUsage) Set(val *MemoryUsage) { + v.value = val + v.isSet = true +} + +func (v NullableMemoryUsage) IsSet() bool { + return v.isSet +} + +func (v *NullableMemoryUsage) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMemoryUsage(val *MemoryUsage) *NullableMemoryUsage { + return &NullableMemoryUsage{value: val, isSet: true} +} + +func (v NullableMemoryUsage) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMemoryUsage) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/model_watch_healthcheck_v1.go b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/model_watch_healthcheck_v1.go new file mode 100644 index 00000000000..86d9f434bf3 --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/model_watch_healthcheck_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus API + +Interact with a Cactus deployment through HTTP. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-cmd-api-server + +import ( + "encoding/json" + "fmt" +) + +// WatchHealthcheckV1 the model 'WatchHealthcheckV1' +type WatchHealthcheckV1 string + +// List of WatchHealthcheckV1 +const ( + Subscribe WatchHealthcheckV1 = "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Subscribe" + Next WatchHealthcheckV1 = "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Next" + Unsubscribe WatchHealthcheckV1 = "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Unsubscribe" + Error WatchHealthcheckV1 = "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Error" + Complete WatchHealthcheckV1 = "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Complete" +) + +// All allowed values of WatchHealthcheckV1 enum +var AllowedWatchHealthcheckV1EnumValues = []WatchHealthcheckV1{ + "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Subscribe", + "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Next", + "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Unsubscribe", + "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Error", + "org.hyperledger.cactus.api.async.besu.WatchHealthcheckV1.Complete", +} + +func (v *WatchHealthcheckV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchHealthcheckV1(value) + for _, existing := range AllowedWatchHealthcheckV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchHealthcheckV1", value) +} + +// NewWatchHealthcheckV1FromValue returns a pointer to a valid WatchHealthcheckV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchHealthcheckV1FromValue(v string) (*WatchHealthcheckV1, error) { + ev := WatchHealthcheckV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchHealthcheckV1: valid values are %v", v, AllowedWatchHealthcheckV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchHealthcheckV1) IsValid() bool { + for _, existing := range AllowedWatchHealthcheckV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchHealthcheckV1 value +func (v WatchHealthcheckV1) Ptr() *WatchHealthcheckV1 { + return &v +} + +type NullableWatchHealthcheckV1 struct { + value *WatchHealthcheckV1 + isSet bool +} + +func (v NullableWatchHealthcheckV1) Get() *WatchHealthcheckV1 { + return v.value +} + +func (v *NullableWatchHealthcheckV1) Set(val *WatchHealthcheckV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchHealthcheckV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchHealthcheckV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchHealthcheckV1(val *WatchHealthcheckV1) *NullableWatchHealthcheckV1 { + return &NullableWatchHealthcheckV1{value: val, isSet: true} +} + +func (v NullableWatchHealthcheckV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchHealthcheckV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..f5fa6c50596 --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus API + +Interact with a Cactus deployment through HTTP. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-cmd-api-server + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..6631815e841 --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,61 @@ +/* +Hyperledger Cactus API + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-cmd-api-server + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-cmd-api-server/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-cmd-api-server_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService GetHealthCheckV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetHealthCheckV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetOpenApiSpecV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetOpenApiSpecV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..40599c80fcb --- /dev/null +++ b/packages/cactus-cmd-api-server/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus API + +Interact with a Cactus deployment through HTTP. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-cmd-api-server + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-core-api/package.json b/packages/cactus-core-api/package.json index bbf3eb7af7a..fc3271f29ae 100644 --- a/packages/cactus-core-api/package.json +++ b/packages/cactus-core-api/package.json @@ -49,6 +49,7 @@ "generate-sdk": "run-s 'generate-sdk:*'", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "proto:protoc-gen-ts": "run-s proto:protoc-gen-ts:make-dir proto:protoc-gen-ts:grpc_tools_node_protoc", "proto:protoc-gen-ts:make-dir": "make-dir ./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/", "proto:protoc-gen-ts:grpc_tools_node_protoc": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/ --proto_path ./src/main/proto/weaver/common/protos/ ./src/main/proto/weaver/common/protos/common/*.proto ./src/main/proto/weaver/common/protos/corda/*.proto ./src/main/proto/weaver/common/protos/driver/*.proto ./src/main/proto/weaver/common/protos/networks/*.proto ./src/main/proto/weaver/common/protos/relay/*.proto", diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..c284722caae --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,41 @@ +.travis.yml +README.md +api/openapi.yaml +client.go +configuration.go +go.mod +go.sum +model_cactus_node.go +model_cactus_node_all_of.go +model_cactus_node_meta.go +model_consensus_algorithm_families_with_out_tx_finality.go +model_consensus_algorithm_families_with_tx_finality.go +model_consensus_algorithm_family.go +model_consortium.go +model_consortium_database.go +model_consortium_member.go +model_constants.go +model_delete_keychain_entry_request_v1.go +model_delete_keychain_entry_response_v1.go +model_get_keychain_entry_request_v1.go +model_get_keychain_entry_response_v1.go +model_get_object_request_v1.go +model_get_object_response_v1.go +model_has_keychain_entry_request_v1.go +model_has_keychain_entry_response_v1.go +model_has_object_request_v1.go +model_has_object_response_v1.go +model_jws_general.go +model_jws_recipient.go +model_ledger.go +model_ledger_type.go +model_plugin_import.go +model_plugin_import_action.go +model_plugin_import_type.go +model_plugin_instance.go +model_set_keychain_entry_request_v1.go +model_set_keychain_entry_response_v1.go +model_set_object_request_v1.go +model_set_object_response_v1.go +response.go +utils.go diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..64389fb3092 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,141 @@ +# Go API client for cactus-core-api + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-core-api "github.com/hyperledger/cactus-core-api/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-core-api.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-core-api.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-core-api.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-core-api.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- + + +## Documentation For Models + + - [CactusNode](docs/CactusNode.md) + - [CactusNodeAllOf](docs/CactusNodeAllOf.md) + - [CactusNodeMeta](docs/CactusNodeMeta.md) + - [ConsensusAlgorithmFamiliesWithOutTxFinality](docs/ConsensusAlgorithmFamiliesWithOutTxFinality.md) + - [ConsensusAlgorithmFamiliesWithTxFinality](docs/ConsensusAlgorithmFamiliesWithTxFinality.md) + - [ConsensusAlgorithmFamily](docs/ConsensusAlgorithmFamily.md) + - [Consortium](docs/Consortium.md) + - [ConsortiumDatabase](docs/ConsortiumDatabase.md) + - [ConsortiumMember](docs/ConsortiumMember.md) + - [Constants](docs/Constants.md) + - [DeleteKeychainEntryRequestV1](docs/DeleteKeychainEntryRequestV1.md) + - [DeleteKeychainEntryResponseV1](docs/DeleteKeychainEntryResponseV1.md) + - [GetKeychainEntryRequestV1](docs/GetKeychainEntryRequestV1.md) + - [GetKeychainEntryResponseV1](docs/GetKeychainEntryResponseV1.md) + - [GetObjectRequestV1](docs/GetObjectRequestV1.md) + - [GetObjectResponseV1](docs/GetObjectResponseV1.md) + - [HasKeychainEntryRequestV1](docs/HasKeychainEntryRequestV1.md) + - [HasKeychainEntryResponseV1](docs/HasKeychainEntryResponseV1.md) + - [HasObjectRequestV1](docs/HasObjectRequestV1.md) + - [HasObjectResponseV1](docs/HasObjectResponseV1.md) + - [JWSGeneral](docs/JWSGeneral.md) + - [JWSRecipient](docs/JWSRecipient.md) + - [Ledger](docs/Ledger.md) + - [LedgerType](docs/LedgerType.md) + - [PluginImport](docs/PluginImport.md) + - [PluginImportAction](docs/PluginImportAction.md) + - [PluginImportType](docs/PluginImportType.md) + - [PluginInstance](docs/PluginInstance.md) + - [SetKeychainEntryRequestV1](docs/SetKeychainEntryRequestV1.md) + - [SetKeychainEntryResponseV1](docs/SetKeychainEntryResponseV1.md) + - [SetObjectRequestV1](docs/SetObjectRequestV1.md) + - [SetObjectResponseV1](docs/SetObjectResponseV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..12b5808786d --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,712 @@ +openapi: 3.0.3 +info: + description: "Contains/describes the core API types for Cactus. Does not describe\ + \ actual endpoints on its own as this is left to the implementing plugins who\ + \ can import and re-use commonly needed type definitions from this specification.\ + \ One example of said commonly used type definitions would be the types related\ + \ to consortium management, cactus nodes, ledgers, etc.." + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Core API + version: v2.0.0-alpha.2 +servers: +- url: / +paths: {} +components: + requestBodies: + object_store_get_object_v1_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetObjectRequestV1' + description: Request body to obtain an object via its key. + required: true + object_store_set_object_v1_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetObjectRequestV1' + description: Request body to set an object under a key. + required: true + object_store_has_object_v1_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasObjectRequestV1' + description: Request body to check presence of an object under a key. + required: true + keychain_get_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryRequestV1' + description: Request body to obtain a keychain entry via its key + required: true + keychain_set_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryRequestV1' + description: Request body to write/update a keychain entry via its key + required: true + keychain_has_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryRequestV1' + description: Request body for checking a keychain entry via its key + required: true + keychain_delete_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryRequestV1' + description: Request body to delete a keychain entry via its key + required: true + responses: + object_store_get_object_v1_response_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetObjectResponseV1' + description: OK + object_store_set_object_v1_response_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetObjectResponseV1' + description: OK + object_store_has_object_v1_response_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasObjectResponseV1' + description: OK + keychain_get_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + keychain_get_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_get_entry_401: + description: Authorization information is missing or invalid. + keychain_get_entry_404: + description: A keychain item with the specified key was not found. + keychain_get_entry_500: + description: Unexpected error. + keychain_set_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + keychain_set_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_set_entry_401: + description: Authorization information is missing or invalid. + keychain_set_entry_500: + description: Unexpected error. + keychain_has_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + keychain_has_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_has_entry_401: + description: Authorization information is missing or invalid. + keychain_has_entry_500: + description: Unexpected error. + keychain_delete_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + keychain_delete_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_delete_entry_401: + description: Authorization information is missing or invalid. + keychain_delete_entry_500: + description: Unexpected error. + schemas: + Constants: + enum: + - /api/v1/async/socket-io/connect + type: string + x-enum-varnames: + - SocketIoConnectionPathV1 + PluginImport: + properties: + packageName: + maxLength: 1024 + minLength: 1 + nullable: false + type: string + type: + $ref: '#/components/schemas/PluginImportType' + action: + $ref: '#/components/schemas/PluginImportAction' + options: {} + required: + - action + - packageName + - type + type: object + PluginImportType: + enum: + - org.hyperledger.cactus.plugin_import_type.LOCAL + - org.hyperledger.cactus.plugin_import_type.REMOTE + type: string + PluginImportAction: + enum: + - org.hyperledger.cactus.plugin_import_action.INSTANTIATE + - org.hyperledger.cactus.plugin_import_action.INSTALL + type: string + ConsensusAlgorithmFamily: + description: "Enumerates a list of consensus algorithm families in existence.\ + \ Does not intend to be an exhaustive list, just a practical one, meaning\ + \ that we only include items here that are relevant to Hyperledger Cactus\ + \ in fulfilling its own duties. This can be extended later as more sophisticated\ + \ features of Cactus get implemented. This enum is meant to be first and foremost\ + \ a useful abstraction for achieving practical tasks, not an encyclopedia\ + \ and therefore we ask of everyone that this to be extended only in ways that\ + \ serve a practical purpose for the runtime behavior of Cactus or Cactus plugins\ + \ in general. The bottom line is that we can accept this enum being not 100%\ + \ accurate as long as it 100% satisfies what it was designed to do." + enum: + - org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY + - org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE + - org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK + type: string + ConsensusAlgorithmFamiliesWithTxFinality: + description: Enumerates a list of consensus algorithm families that provide + immediate finality + enum: + - org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY + - org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE + type: string + ConsensusAlgorithmFamiliesWithOutTxFinality: + description: Enumerates a list of consensus algorithm families that do not provide + immediate finality + enum: + - org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK + type: string + x-enum-varnames: + - WORK + PrimaryKey: + maxLength: 128 + minLength: 1 + nullable: false + type: string + ConsortiumMemberId: + $ref: '#/components/schemas/PrimaryKey' + CactusNodeId: + $ref: '#/components/schemas/PrimaryKey' + ConsortiumId: + $ref: '#/components/schemas/PrimaryKey' + LedgerId: + $ref: '#/components/schemas/PrimaryKey' + PluginInstanceId: + $ref: '#/components/schemas/PrimaryKey' + ConsortiumDatabase: + properties: + consortium: + default: [] + description: "A collection of Consortium entities. In practice this should\ + \ only ever contain a single consortium, but we defined it as an array\ + \ to keep the convention up with the rest of the collections defined in\ + \ the Consortium data in general. Also, if we ever decide to somehow have\ + \ some sort of consortium to consortium integration (which does not make\ + \ much sense in the current frame of mind of the author in the year 2020)\ + \ then having this as an array will have proven itself to be an excellent\ + \ long term compatibility/extensibility decision indeed." + items: + $ref: '#/components/schemas/Consortium' + maxItems: 2048 + minItems: 0 + type: array + ledger: + default: [] + description: The complete collection of all ledger entities in existence + within the consortium. + items: + $ref: '#/components/schemas/Ledger' + maxItems: 2048 + minItems: 0 + type: array + consortiumMember: + default: [] + description: The complete collection of all consortium member entities in + existence within the consortium. + items: + $ref: '#/components/schemas/ConsortiumMember' + maxItems: 2048 + minItems: 0 + type: array + cactusNode: + default: [] + description: The complete collection of all cactus nodes entities in existence + within the consortium. + items: + $ref: '#/components/schemas/CactusNode' + maxItems: 2048 + minItems: 0 + type: array + pluginInstance: + default: [] + description: The complete collection of all plugin instance entities in + existence within the consortium. + items: + $ref: '#/components/schemas/PluginInstance' + maxItems: 2048 + minItems: 0 + type: array + required: + - cactusNode + - consortium + - consortiumMember + - ledger + - pluginInstance + Ledger: + properties: + id: + maxLength: 128 + minLength: 1 + nullable: false + type: string + ledgerType: + $ref: '#/components/schemas/LedgerType' + consortiumMemberId: + maxLength: 128 + minLength: 1 + nullable: false + type: string + required: + - id + - ledgerType + type: object + LedgerType: + description: "Enumerates the different ledger vendors and their major versions\ + \ encoded within the name of the LedgerType. For example \"BESU_1X\" involves\ + \ all of the [1.0.0;2.0.0) where 1.0.0 is included and anything up until,\ + \ but not 2.0.0. See: https://stackoverflow.com/a/4396303/698470 for further\ + \ explanation." + enum: + - BESU_1X + - BESU_2X + - BURROW_0X + - CORDA_4X + - FABRIC_14X + - FABRIC_2 + - QUORUM_2X + - SAWTOOTH_1X + type: string + Consortium: + properties: + id: + maxLength: 128 + minLength: 1 + nullable: false + type: string + name: + type: string + mainApiHost: + type: string + memberIds: + default: [] + description: The collection (array) of primary keys of consortium member + entities that belong to this Consortium. + items: + $ref: '#/components/schemas/ConsortiumMemberId' + maxItems: 2048 + minItems: 1 + nullable: false + type: array + required: + - id + - mainApiHost + - memberIds + - name + type: object + ConsortiumMember: + properties: + id: + maxLength: 128 + minLength: 1 + nullable: false + type: string + name: + description: The human readable name a Consortium member can be referred + to while making it easy for humans to distinguish this particular consortium + member entity from any other ones. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + nodeIds: + default: [] + items: + $ref: '#/components/schemas/CactusNodeId' + maxItems: 2048 + minItems: 1 + nullable: false + type: array + required: + - id + - name + - nodeIds + type: object + CactusNodeMeta: + description: A Cactus node meta information + properties: + nodeApiHost: + maxLength: 1024 + minLength: 1 + nullable: false + type: string + publicKeyPem: + description: The PEM encoded public key that was used to generate the JWS + included in the response (the jws property) + format: "Must only contain the public key, never include here the PEM that\ + \ also contains a private key. See PEM format: https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail" + maxLength: 65535 + minLength: 1 + nullable: false + type: string + required: + - nodeApiHost + - publicKeyPem + type: object + CactusNode: + allOf: + - $ref: '#/components/schemas/CactusNodeMeta' + - $ref: '#/components/schemas/CactusNode_allOf' + description: "A Cactus node can be a single server, or a set of servers behind\ + \ a load balancer acting as one." + type: object + PluginInstance: + properties: + id: + maxLength: 128 + minLength: 1 + nullable: false + type: string + packageName: + maxLength: 4096 + minLength: 1 + nullable: false + type: string + required: + - id + - packageName + type: object + JWSCompact: + description: "A JSON Web Signature. See: https://tools.ietf.org/html/rfc7515\ + \ for info about standard." + example: eyJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoiSm9obiBEb2UiLCJpYXQiOjE1MTYyMzkwMjJ9.DOCNCqEMN7CQ_z-RMndiyldljXOk6WFIZxRzNF5Ylg4 + maxLength: 65535 + minLength: 5 + pattern: "/^[a-zA-Z0-9-_]+?.[a-zA-Z0-9-_]+?.([a-zA-Z0-9-_]+)?$/" + type: string + JWSRecipient: + description: "A JSON Web Signature. See: https://tools.ietf.org/html/rfc7515\ + \ for info about standard." + properties: + signature: + type: string + protected: + type: string + header: + additionalProperties: true + type: object + required: + - signature + type: object + JWSGeneral: + properties: + payload: + maxLength: 65535 + minLength: 1 + type: string + signatures: + items: + $ref: '#/components/schemas/JWSRecipient' + type: array + required: + - payload + - signatures + type: object + GetObjectRequestV1: + additionalProperties: false + properties: + key: + description: The key for the entry to get from the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetObjectResponseV1: + properties: + key: + description: The key that was used to retrieve the value from the object + store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value associated with the requested key in the object store + as a string. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + HasObjectRequestV1: + additionalProperties: false + properties: + key: + description: The key to check for presence in the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasObjectResponseV1: + properties: + key: + description: The key that was used to check the presence of the value in + the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + checkedAt: + description: Date and time encoded as JSON when the presence check was performed + by the plugin backend. + nullable: false + type: string + isPresent: + description: The boolean true or false indicating the presence or absence + of an object under 'key'. + nullable: false + type: boolean + required: + - checkedAt + - isPresent + - key + type: object + SetObjectRequestV1: + additionalProperties: false + properties: + key: + description: The key for the entry to set in the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value that will be associated with the key in the object + store. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetObjectResponseV1: + properties: + key: + description: The key that was used to set the value in the object store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetKeychainEntryRequestV1: + additionalProperties: false + properties: + key: + description: The key for the entry to get from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetKeychainEntryResponseV1: + properties: + key: + description: The key that was used to retrieve the value from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value associated with the requested key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryRequestV1: + additionalProperties: false + properties: + key: + description: The key for the entry to set on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value that will be associated with the key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryResponseV1: + properties: + key: + description: The key that was used to set the value on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryRequestV1: + additionalProperties: false + properties: + key: + description: The key for the entry to check the presence of on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryResponseV1: + properties: + key: + description: The key that was deleted from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryRequestV1: + additionalProperties: false + properties: + key: + description: The key to check for presence in the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryResponseV1: + properties: + key: + description: The key that was used to check the presence of the value in + the entry store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + checkedAt: + description: Date and time encoded as JSON when the presence check was performed + by the plugin backend. + nullable: false + type: string + isPresent: + description: The boolean true or false indicating the presence or absence + of an entry under 'key'. + nullable: false + type: boolean + required: + - checkedAt + - isPresent + - key + type: object + CactusNode_allOf: + properties: + id: + maxLength: 128 + minLength: 1 + nullable: false + type: string + consortiumId: + maxLength: 128 + minLength: 1 + nullable: false + type: string + memberId: + maxLength: 128 + minLength: 1 + nullable: false + type: string + ledgerIds: + default: [] + description: Stores an array of Ledger entity IDs that are reachable (routable) + via this Cactus Node. This information is used by the client side SDK + API client to figure out at runtime where to send API requests that are + specific to a certain ledger such as requests to execute transactions. + items: + $ref: '#/components/schemas/LedgerId' + maxItems: 2048 + minItems: 0 + nullable: false + type: array + pluginInstanceIds: + default: [] + items: + $ref: '#/components/schemas/PluginInstanceId' + maxItems: 2048 + minItems: 0 + nullable: false + type: array + required: + - consortiumId + - id + - ledgerIds + - memberId + - nodeApiHost + - pluginInstanceIds + - publicKeyPem + type: object + example: null diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..ec644e291c7 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,653 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Core API API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..398c2655a54 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..8571b08d86d --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-core-api/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_cactus_node.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_cactus_node.go new file mode 100644 index 00000000000..40756fb619d --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_cactus_node.go @@ -0,0 +1,281 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the CactusNode type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CactusNode{} + +// CactusNode A Cactus node can be a single server, or a set of servers behind a load balancer acting as one. +type CactusNode struct { + NodeApiHost string `json:"nodeApiHost"` + // The PEM encoded public key that was used to generate the JWS included in the response (the jws property) + PublicKeyPem string `json:"publicKeyPem"` + Id string `json:"id"` + ConsortiumId string `json:"consortiumId"` + MemberId string `json:"memberId"` + // Stores an array of Ledger entity IDs that are reachable (routable) via this Cactus Node. This information is used by the client side SDK API client to figure out at runtime where to send API requests that are specific to a certain ledger such as requests to execute transactions. + LedgerIds []string `json:"ledgerIds"` + PluginInstanceIds []string `json:"pluginInstanceIds"` +} + +// NewCactusNode instantiates a new CactusNode object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCactusNode(nodeApiHost string, publicKeyPem string, id string, consortiumId string, memberId string, ledgerIds []string, pluginInstanceIds []string) *CactusNode { + this := CactusNode{} + this.NodeApiHost = nodeApiHost + this.PublicKeyPem = publicKeyPem + this.Id = id + this.ConsortiumId = consortiumId + this.MemberId = memberId + this.LedgerIds = ledgerIds + this.PluginInstanceIds = pluginInstanceIds + return &this +} + +// NewCactusNodeWithDefaults instantiates a new CactusNode object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCactusNodeWithDefaults() *CactusNode { + this := CactusNode{} + return &this +} + +// GetNodeApiHost returns the NodeApiHost field value +func (o *CactusNode) GetNodeApiHost() string { + if o == nil { + var ret string + return ret + } + + return o.NodeApiHost +} + +// GetNodeApiHostOk returns a tuple with the NodeApiHost field value +// and a boolean to check if the value has been set. +func (o *CactusNode) GetNodeApiHostOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NodeApiHost, true +} + +// SetNodeApiHost sets field value +func (o *CactusNode) SetNodeApiHost(v string) { + o.NodeApiHost = v +} + +// GetPublicKeyPem returns the PublicKeyPem field value +func (o *CactusNode) GetPublicKeyPem() string { + if o == nil { + var ret string + return ret + } + + return o.PublicKeyPem +} + +// GetPublicKeyPemOk returns a tuple with the PublicKeyPem field value +// and a boolean to check if the value has been set. +func (o *CactusNode) GetPublicKeyPemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PublicKeyPem, true +} + +// SetPublicKeyPem sets field value +func (o *CactusNode) SetPublicKeyPem(v string) { + o.PublicKeyPem = v +} + +// GetId returns the Id field value +func (o *CactusNode) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *CactusNode) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *CactusNode) SetId(v string) { + o.Id = v +} + +// GetConsortiumId returns the ConsortiumId field value +func (o *CactusNode) GetConsortiumId() string { + if o == nil { + var ret string + return ret + } + + return o.ConsortiumId +} + +// GetConsortiumIdOk returns a tuple with the ConsortiumId field value +// and a boolean to check if the value has been set. +func (o *CactusNode) GetConsortiumIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConsortiumId, true +} + +// SetConsortiumId sets field value +func (o *CactusNode) SetConsortiumId(v string) { + o.ConsortiumId = v +} + +// GetMemberId returns the MemberId field value +func (o *CactusNode) GetMemberId() string { + if o == nil { + var ret string + return ret + } + + return o.MemberId +} + +// GetMemberIdOk returns a tuple with the MemberId field value +// and a boolean to check if the value has been set. +func (o *CactusNode) GetMemberIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MemberId, true +} + +// SetMemberId sets field value +func (o *CactusNode) SetMemberId(v string) { + o.MemberId = v +} + +// GetLedgerIds returns the LedgerIds field value +func (o *CactusNode) GetLedgerIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.LedgerIds +} + +// GetLedgerIdsOk returns a tuple with the LedgerIds field value +// and a boolean to check if the value has been set. +func (o *CactusNode) GetLedgerIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.LedgerIds, true +} + +// SetLedgerIds sets field value +func (o *CactusNode) SetLedgerIds(v []string) { + o.LedgerIds = v +} + +// GetPluginInstanceIds returns the PluginInstanceIds field value +func (o *CactusNode) GetPluginInstanceIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.PluginInstanceIds +} + +// GetPluginInstanceIdsOk returns a tuple with the PluginInstanceIds field value +// and a boolean to check if the value has been set. +func (o *CactusNode) GetPluginInstanceIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.PluginInstanceIds, true +} + +// SetPluginInstanceIds sets field value +func (o *CactusNode) SetPluginInstanceIds(v []string) { + o.PluginInstanceIds = v +} + +func (o CactusNode) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CactusNode) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["nodeApiHost"] = o.NodeApiHost + toSerialize["publicKeyPem"] = o.PublicKeyPem + toSerialize["id"] = o.Id + toSerialize["consortiumId"] = o.ConsortiumId + toSerialize["memberId"] = o.MemberId + toSerialize["ledgerIds"] = o.LedgerIds + toSerialize["pluginInstanceIds"] = o.PluginInstanceIds + return toSerialize, nil +} + +type NullableCactusNode struct { + value *CactusNode + isSet bool +} + +func (v NullableCactusNode) Get() *CactusNode { + return v.value +} + +func (v *NullableCactusNode) Set(val *CactusNode) { + v.value = val + v.isSet = true +} + +func (v NullableCactusNode) IsSet() bool { + return v.isSet +} + +func (v *NullableCactusNode) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCactusNode(val *CactusNode) *NullableCactusNode { + return &NullableCactusNode{value: val, isSet: true} +} + +func (v NullableCactusNode) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCactusNode) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_cactus_node_all_of.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_cactus_node_all_of.go new file mode 100644 index 00000000000..a102d58ae68 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_cactus_node_all_of.go @@ -0,0 +1,226 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the CactusNodeAllOf type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CactusNodeAllOf{} + +// CactusNodeAllOf struct for CactusNodeAllOf +type CactusNodeAllOf struct { + Id string `json:"id"` + ConsortiumId string `json:"consortiumId"` + MemberId string `json:"memberId"` + // Stores an array of Ledger entity IDs that are reachable (routable) via this Cactus Node. This information is used by the client side SDK API client to figure out at runtime where to send API requests that are specific to a certain ledger such as requests to execute transactions. + LedgerIds []string `json:"ledgerIds"` + PluginInstanceIds []string `json:"pluginInstanceIds"` +} + +// NewCactusNodeAllOf instantiates a new CactusNodeAllOf object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCactusNodeAllOf(id string, consortiumId string, memberId string, ledgerIds []string, pluginInstanceIds []string) *CactusNodeAllOf { + this := CactusNodeAllOf{} + this.Id = id + this.ConsortiumId = consortiumId + this.MemberId = memberId + this.LedgerIds = ledgerIds + this.PluginInstanceIds = pluginInstanceIds + return &this +} + +// NewCactusNodeAllOfWithDefaults instantiates a new CactusNodeAllOf object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCactusNodeAllOfWithDefaults() *CactusNodeAllOf { + this := CactusNodeAllOf{} + return &this +} + +// GetId returns the Id field value +func (o *CactusNodeAllOf) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *CactusNodeAllOf) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *CactusNodeAllOf) SetId(v string) { + o.Id = v +} + +// GetConsortiumId returns the ConsortiumId field value +func (o *CactusNodeAllOf) GetConsortiumId() string { + if o == nil { + var ret string + return ret + } + + return o.ConsortiumId +} + +// GetConsortiumIdOk returns a tuple with the ConsortiumId field value +// and a boolean to check if the value has been set. +func (o *CactusNodeAllOf) GetConsortiumIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConsortiumId, true +} + +// SetConsortiumId sets field value +func (o *CactusNodeAllOf) SetConsortiumId(v string) { + o.ConsortiumId = v +} + +// GetMemberId returns the MemberId field value +func (o *CactusNodeAllOf) GetMemberId() string { + if o == nil { + var ret string + return ret + } + + return o.MemberId +} + +// GetMemberIdOk returns a tuple with the MemberId field value +// and a boolean to check if the value has been set. +func (o *CactusNodeAllOf) GetMemberIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MemberId, true +} + +// SetMemberId sets field value +func (o *CactusNodeAllOf) SetMemberId(v string) { + o.MemberId = v +} + +// GetLedgerIds returns the LedgerIds field value +func (o *CactusNodeAllOf) GetLedgerIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.LedgerIds +} + +// GetLedgerIdsOk returns a tuple with the LedgerIds field value +// and a boolean to check if the value has been set. +func (o *CactusNodeAllOf) GetLedgerIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.LedgerIds, true +} + +// SetLedgerIds sets field value +func (o *CactusNodeAllOf) SetLedgerIds(v []string) { + o.LedgerIds = v +} + +// GetPluginInstanceIds returns the PluginInstanceIds field value +func (o *CactusNodeAllOf) GetPluginInstanceIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.PluginInstanceIds +} + +// GetPluginInstanceIdsOk returns a tuple with the PluginInstanceIds field value +// and a boolean to check if the value has been set. +func (o *CactusNodeAllOf) GetPluginInstanceIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.PluginInstanceIds, true +} + +// SetPluginInstanceIds sets field value +func (o *CactusNodeAllOf) SetPluginInstanceIds(v []string) { + o.PluginInstanceIds = v +} + +func (o CactusNodeAllOf) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CactusNodeAllOf) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["consortiumId"] = o.ConsortiumId + toSerialize["memberId"] = o.MemberId + toSerialize["ledgerIds"] = o.LedgerIds + toSerialize["pluginInstanceIds"] = o.PluginInstanceIds + return toSerialize, nil +} + +type NullableCactusNodeAllOf struct { + value *CactusNodeAllOf + isSet bool +} + +func (v NullableCactusNodeAllOf) Get() *CactusNodeAllOf { + return v.value +} + +func (v *NullableCactusNodeAllOf) Set(val *CactusNodeAllOf) { + v.value = val + v.isSet = true +} + +func (v NullableCactusNodeAllOf) IsSet() bool { + return v.isSet +} + +func (v *NullableCactusNodeAllOf) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCactusNodeAllOf(val *CactusNodeAllOf) *NullableCactusNodeAllOf { + return &NullableCactusNodeAllOf{value: val, isSet: true} +} + +func (v NullableCactusNodeAllOf) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCactusNodeAllOf) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_cactus_node_meta.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_cactus_node_meta.go new file mode 100644 index 00000000000..dc0285e20a8 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_cactus_node_meta.go @@ -0,0 +1,145 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the CactusNodeMeta type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CactusNodeMeta{} + +// CactusNodeMeta A Cactus node meta information +type CactusNodeMeta struct { + NodeApiHost string `json:"nodeApiHost"` + // The PEM encoded public key that was used to generate the JWS included in the response (the jws property) + PublicKeyPem string `json:"publicKeyPem"` +} + +// NewCactusNodeMeta instantiates a new CactusNodeMeta object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCactusNodeMeta(nodeApiHost string, publicKeyPem string) *CactusNodeMeta { + this := CactusNodeMeta{} + this.NodeApiHost = nodeApiHost + this.PublicKeyPem = publicKeyPem + return &this +} + +// NewCactusNodeMetaWithDefaults instantiates a new CactusNodeMeta object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCactusNodeMetaWithDefaults() *CactusNodeMeta { + this := CactusNodeMeta{} + return &this +} + +// GetNodeApiHost returns the NodeApiHost field value +func (o *CactusNodeMeta) GetNodeApiHost() string { + if o == nil { + var ret string + return ret + } + + return o.NodeApiHost +} + +// GetNodeApiHostOk returns a tuple with the NodeApiHost field value +// and a boolean to check if the value has been set. +func (o *CactusNodeMeta) GetNodeApiHostOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NodeApiHost, true +} + +// SetNodeApiHost sets field value +func (o *CactusNodeMeta) SetNodeApiHost(v string) { + o.NodeApiHost = v +} + +// GetPublicKeyPem returns the PublicKeyPem field value +func (o *CactusNodeMeta) GetPublicKeyPem() string { + if o == nil { + var ret string + return ret + } + + return o.PublicKeyPem +} + +// GetPublicKeyPemOk returns a tuple with the PublicKeyPem field value +// and a boolean to check if the value has been set. +func (o *CactusNodeMeta) GetPublicKeyPemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PublicKeyPem, true +} + +// SetPublicKeyPem sets field value +func (o *CactusNodeMeta) SetPublicKeyPem(v string) { + o.PublicKeyPem = v +} + +func (o CactusNodeMeta) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CactusNodeMeta) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["nodeApiHost"] = o.NodeApiHost + toSerialize["publicKeyPem"] = o.PublicKeyPem + return toSerialize, nil +} + +type NullableCactusNodeMeta struct { + value *CactusNodeMeta + isSet bool +} + +func (v NullableCactusNodeMeta) Get() *CactusNodeMeta { + return v.value +} + +func (v *NullableCactusNodeMeta) Set(val *CactusNodeMeta) { + v.value = val + v.isSet = true +} + +func (v NullableCactusNodeMeta) IsSet() bool { + return v.isSet +} + +func (v *NullableCactusNodeMeta) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCactusNodeMeta(val *CactusNodeMeta) *NullableCactusNodeMeta { + return &NullableCactusNodeMeta{value: val, isSet: true} +} + +func (v NullableCactusNodeMeta) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCactusNodeMeta) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consensus_algorithm_families_with_out_tx_finality.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consensus_algorithm_families_with_out_tx_finality.go new file mode 100644 index 00000000000..e7be3f89472 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consensus_algorithm_families_with_out_tx_finality.go @@ -0,0 +1,109 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" + "fmt" +) + +// ConsensusAlgorithmFamiliesWithOutTxFinality Enumerates a list of consensus algorithm families that do not provide immediate finality +type ConsensusAlgorithmFamiliesWithOutTxFinality string + +// List of ConsensusAlgorithmFamiliesWithOutTxFinality +const ( + WORK ConsensusAlgorithmFamiliesWithOutTxFinality = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK" +) + +// All allowed values of ConsensusAlgorithmFamiliesWithOutTxFinality enum +var AllowedConsensusAlgorithmFamiliesWithOutTxFinalityEnumValues = []ConsensusAlgorithmFamiliesWithOutTxFinality{ + "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK", +} + +func (v *ConsensusAlgorithmFamiliesWithOutTxFinality) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ConsensusAlgorithmFamiliesWithOutTxFinality(value) + for _, existing := range AllowedConsensusAlgorithmFamiliesWithOutTxFinalityEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ConsensusAlgorithmFamiliesWithOutTxFinality", value) +} + +// NewConsensusAlgorithmFamiliesWithOutTxFinalityFromValue returns a pointer to a valid ConsensusAlgorithmFamiliesWithOutTxFinality +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewConsensusAlgorithmFamiliesWithOutTxFinalityFromValue(v string) (*ConsensusAlgorithmFamiliesWithOutTxFinality, error) { + ev := ConsensusAlgorithmFamiliesWithOutTxFinality(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ConsensusAlgorithmFamiliesWithOutTxFinality: valid values are %v", v, AllowedConsensusAlgorithmFamiliesWithOutTxFinalityEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ConsensusAlgorithmFamiliesWithOutTxFinality) IsValid() bool { + for _, existing := range AllowedConsensusAlgorithmFamiliesWithOutTxFinalityEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ConsensusAlgorithmFamiliesWithOutTxFinality value +func (v ConsensusAlgorithmFamiliesWithOutTxFinality) Ptr() *ConsensusAlgorithmFamiliesWithOutTxFinality { + return &v +} + +type NullableConsensusAlgorithmFamiliesWithOutTxFinality struct { + value *ConsensusAlgorithmFamiliesWithOutTxFinality + isSet bool +} + +func (v NullableConsensusAlgorithmFamiliesWithOutTxFinality) Get() *ConsensusAlgorithmFamiliesWithOutTxFinality { + return v.value +} + +func (v *NullableConsensusAlgorithmFamiliesWithOutTxFinality) Set(val *ConsensusAlgorithmFamiliesWithOutTxFinality) { + v.value = val + v.isSet = true +} + +func (v NullableConsensusAlgorithmFamiliesWithOutTxFinality) IsSet() bool { + return v.isSet +} + +func (v *NullableConsensusAlgorithmFamiliesWithOutTxFinality) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConsensusAlgorithmFamiliesWithOutTxFinality(val *ConsensusAlgorithmFamiliesWithOutTxFinality) *NullableConsensusAlgorithmFamiliesWithOutTxFinality { + return &NullableConsensusAlgorithmFamiliesWithOutTxFinality{value: val, isSet: true} +} + +func (v NullableConsensusAlgorithmFamiliesWithOutTxFinality) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConsensusAlgorithmFamiliesWithOutTxFinality) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consensus_algorithm_families_with_tx_finality.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consensus_algorithm_families_with_tx_finality.go new file mode 100644 index 00000000000..8cafd667f91 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consensus_algorithm_families_with_tx_finality.go @@ -0,0 +1,111 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" + "fmt" +) + +// ConsensusAlgorithmFamiliesWithTxFinality Enumerates a list of consensus algorithm families that provide immediate finality +type ConsensusAlgorithmFamiliesWithTxFinality string + +// List of ConsensusAlgorithmFamiliesWithTxFinality +const ( + AUTHORITY ConsensusAlgorithmFamiliesWithTxFinality = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY" + STAKE ConsensusAlgorithmFamiliesWithTxFinality = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE" +) + +// All allowed values of ConsensusAlgorithmFamiliesWithTxFinality enum +var AllowedConsensusAlgorithmFamiliesWithTxFinalityEnumValues = []ConsensusAlgorithmFamiliesWithTxFinality{ + "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY", + "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE", +} + +func (v *ConsensusAlgorithmFamiliesWithTxFinality) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ConsensusAlgorithmFamiliesWithTxFinality(value) + for _, existing := range AllowedConsensusAlgorithmFamiliesWithTxFinalityEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ConsensusAlgorithmFamiliesWithTxFinality", value) +} + +// NewConsensusAlgorithmFamiliesWithTxFinalityFromValue returns a pointer to a valid ConsensusAlgorithmFamiliesWithTxFinality +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewConsensusAlgorithmFamiliesWithTxFinalityFromValue(v string) (*ConsensusAlgorithmFamiliesWithTxFinality, error) { + ev := ConsensusAlgorithmFamiliesWithTxFinality(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ConsensusAlgorithmFamiliesWithTxFinality: valid values are %v", v, AllowedConsensusAlgorithmFamiliesWithTxFinalityEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ConsensusAlgorithmFamiliesWithTxFinality) IsValid() bool { + for _, existing := range AllowedConsensusAlgorithmFamiliesWithTxFinalityEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ConsensusAlgorithmFamiliesWithTxFinality value +func (v ConsensusAlgorithmFamiliesWithTxFinality) Ptr() *ConsensusAlgorithmFamiliesWithTxFinality { + return &v +} + +type NullableConsensusAlgorithmFamiliesWithTxFinality struct { + value *ConsensusAlgorithmFamiliesWithTxFinality + isSet bool +} + +func (v NullableConsensusAlgorithmFamiliesWithTxFinality) Get() *ConsensusAlgorithmFamiliesWithTxFinality { + return v.value +} + +func (v *NullableConsensusAlgorithmFamiliesWithTxFinality) Set(val *ConsensusAlgorithmFamiliesWithTxFinality) { + v.value = val + v.isSet = true +} + +func (v NullableConsensusAlgorithmFamiliesWithTxFinality) IsSet() bool { + return v.isSet +} + +func (v *NullableConsensusAlgorithmFamiliesWithTxFinality) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConsensusAlgorithmFamiliesWithTxFinality(val *ConsensusAlgorithmFamiliesWithTxFinality) *NullableConsensusAlgorithmFamiliesWithTxFinality { + return &NullableConsensusAlgorithmFamiliesWithTxFinality{value: val, isSet: true} +} + +func (v NullableConsensusAlgorithmFamiliesWithTxFinality) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConsensusAlgorithmFamiliesWithTxFinality) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consensus_algorithm_family.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consensus_algorithm_family.go new file mode 100644 index 00000000000..f57749641dc --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consensus_algorithm_family.go @@ -0,0 +1,113 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" + "fmt" +) + +// ConsensusAlgorithmFamily Enumerates a list of consensus algorithm families in existence. Does not intend to be an exhaustive list, just a practical one, meaning that we only include items here that are relevant to Hyperledger Cactus in fulfilling its own duties. This can be extended later as more sophisticated features of Cactus get implemented. This enum is meant to be first and foremost a useful abstraction for achieving practical tasks, not an encyclopedia and therefore we ask of everyone that this to be extended only in ways that serve a practical purpose for the runtime behavior of Cactus or Cactus plugins in general. The bottom line is that we can accept this enum being not 100% accurate as long as it 100% satisfies what it was designed to do. +type ConsensusAlgorithmFamily string + +// List of ConsensusAlgorithmFamily +const ( + AUTHORITY ConsensusAlgorithmFamily = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY" + STAKE ConsensusAlgorithmFamily = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE" + WORK ConsensusAlgorithmFamily = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK" +) + +// All allowed values of ConsensusAlgorithmFamily enum +var AllowedConsensusAlgorithmFamilyEnumValues = []ConsensusAlgorithmFamily{ + "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY", + "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE", + "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK", +} + +func (v *ConsensusAlgorithmFamily) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ConsensusAlgorithmFamily(value) + for _, existing := range AllowedConsensusAlgorithmFamilyEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ConsensusAlgorithmFamily", value) +} + +// NewConsensusAlgorithmFamilyFromValue returns a pointer to a valid ConsensusAlgorithmFamily +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewConsensusAlgorithmFamilyFromValue(v string) (*ConsensusAlgorithmFamily, error) { + ev := ConsensusAlgorithmFamily(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ConsensusAlgorithmFamily: valid values are %v", v, AllowedConsensusAlgorithmFamilyEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ConsensusAlgorithmFamily) IsValid() bool { + for _, existing := range AllowedConsensusAlgorithmFamilyEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ConsensusAlgorithmFamily value +func (v ConsensusAlgorithmFamily) Ptr() *ConsensusAlgorithmFamily { + return &v +} + +type NullableConsensusAlgorithmFamily struct { + value *ConsensusAlgorithmFamily + isSet bool +} + +func (v NullableConsensusAlgorithmFamily) Get() *ConsensusAlgorithmFamily { + return v.value +} + +func (v *NullableConsensusAlgorithmFamily) Set(val *ConsensusAlgorithmFamily) { + v.value = val + v.isSet = true +} + +func (v NullableConsensusAlgorithmFamily) IsSet() bool { + return v.isSet +} + +func (v *NullableConsensusAlgorithmFamily) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConsensusAlgorithmFamily(val *ConsensusAlgorithmFamily) *NullableConsensusAlgorithmFamily { + return &NullableConsensusAlgorithmFamily{value: val, isSet: true} +} + +func (v NullableConsensusAlgorithmFamily) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConsensusAlgorithmFamily) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consortium.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consortium.go new file mode 100644 index 00000000000..a5bbdf41401 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consortium.go @@ -0,0 +1,199 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the Consortium type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Consortium{} + +// Consortium struct for Consortium +type Consortium struct { + Id string `json:"id"` + Name string `json:"name"` + MainApiHost string `json:"mainApiHost"` + // The collection (array) of primary keys of consortium member entities that belong to this Consortium. + MemberIds []string `json:"memberIds"` +} + +// NewConsortium instantiates a new Consortium object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewConsortium(id string, name string, mainApiHost string, memberIds []string) *Consortium { + this := Consortium{} + this.Id = id + this.Name = name + this.MainApiHost = mainApiHost + this.MemberIds = memberIds + return &this +} + +// NewConsortiumWithDefaults instantiates a new Consortium object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewConsortiumWithDefaults() *Consortium { + this := Consortium{} + return &this +} + +// GetId returns the Id field value +func (o *Consortium) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *Consortium) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *Consortium) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value +func (o *Consortium) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *Consortium) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *Consortium) SetName(v string) { + o.Name = v +} + +// GetMainApiHost returns the MainApiHost field value +func (o *Consortium) GetMainApiHost() string { + if o == nil { + var ret string + return ret + } + + return o.MainApiHost +} + +// GetMainApiHostOk returns a tuple with the MainApiHost field value +// and a boolean to check if the value has been set. +func (o *Consortium) GetMainApiHostOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MainApiHost, true +} + +// SetMainApiHost sets field value +func (o *Consortium) SetMainApiHost(v string) { + o.MainApiHost = v +} + +// GetMemberIds returns the MemberIds field value +func (o *Consortium) GetMemberIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.MemberIds +} + +// GetMemberIdsOk returns a tuple with the MemberIds field value +// and a boolean to check if the value has been set. +func (o *Consortium) GetMemberIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.MemberIds, true +} + +// SetMemberIds sets field value +func (o *Consortium) SetMemberIds(v []string) { + o.MemberIds = v +} + +func (o Consortium) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Consortium) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["name"] = o.Name + toSerialize["mainApiHost"] = o.MainApiHost + toSerialize["memberIds"] = o.MemberIds + return toSerialize, nil +} + +type NullableConsortium struct { + value *Consortium + isSet bool +} + +func (v NullableConsortium) Get() *Consortium { + return v.value +} + +func (v *NullableConsortium) Set(val *Consortium) { + v.value = val + v.isSet = true +} + +func (v NullableConsortium) IsSet() bool { + return v.isSet +} + +func (v *NullableConsortium) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConsortium(val *Consortium) *NullableConsortium { + return &NullableConsortium{value: val, isSet: true} +} + +func (v NullableConsortium) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConsortium) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consortium_database.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consortium_database.go new file mode 100644 index 00000000000..6e25b01ebf5 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consortium_database.go @@ -0,0 +1,230 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the ConsortiumDatabase type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ConsortiumDatabase{} + +// ConsortiumDatabase struct for ConsortiumDatabase +type ConsortiumDatabase struct { + // A collection of Consortium entities. In practice this should only ever contain a single consortium, but we defined it as an array to keep the convention up with the rest of the collections defined in the Consortium data in general. Also, if we ever decide to somehow have some sort of consortium to consortium integration (which does not make much sense in the current frame of mind of the author in the year 2020) then having this as an array will have proven itself to be an excellent long term compatibility/extensibility decision indeed. + Consortium []Consortium `json:"consortium"` + // The complete collection of all ledger entities in existence within the consortium. + Ledger []Ledger `json:"ledger"` + // The complete collection of all consortium member entities in existence within the consortium. + ConsortiumMember []ConsortiumMember `json:"consortiumMember"` + // The complete collection of all cactus nodes entities in existence within the consortium. + CactusNode []CactusNode `json:"cactusNode"` + // The complete collection of all plugin instance entities in existence within the consortium. + PluginInstance []PluginInstance `json:"pluginInstance"` +} + +// NewConsortiumDatabase instantiates a new ConsortiumDatabase object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewConsortiumDatabase(consortium []Consortium, ledger []Ledger, consortiumMember []ConsortiumMember, cactusNode []CactusNode, pluginInstance []PluginInstance) *ConsortiumDatabase { + this := ConsortiumDatabase{} + this.Consortium = consortium + this.Ledger = ledger + this.ConsortiumMember = consortiumMember + this.CactusNode = cactusNode + this.PluginInstance = pluginInstance + return &this +} + +// NewConsortiumDatabaseWithDefaults instantiates a new ConsortiumDatabase object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewConsortiumDatabaseWithDefaults() *ConsortiumDatabase { + this := ConsortiumDatabase{} + return &this +} + +// GetConsortium returns the Consortium field value +func (o *ConsortiumDatabase) GetConsortium() []Consortium { + if o == nil { + var ret []Consortium + return ret + } + + return o.Consortium +} + +// GetConsortiumOk returns a tuple with the Consortium field value +// and a boolean to check if the value has been set. +func (o *ConsortiumDatabase) GetConsortiumOk() ([]Consortium, bool) { + if o == nil { + return nil, false + } + return o.Consortium, true +} + +// SetConsortium sets field value +func (o *ConsortiumDatabase) SetConsortium(v []Consortium) { + o.Consortium = v +} + +// GetLedger returns the Ledger field value +func (o *ConsortiumDatabase) GetLedger() []Ledger { + if o == nil { + var ret []Ledger + return ret + } + + return o.Ledger +} + +// GetLedgerOk returns a tuple with the Ledger field value +// and a boolean to check if the value has been set. +func (o *ConsortiumDatabase) GetLedgerOk() ([]Ledger, bool) { + if o == nil { + return nil, false + } + return o.Ledger, true +} + +// SetLedger sets field value +func (o *ConsortiumDatabase) SetLedger(v []Ledger) { + o.Ledger = v +} + +// GetConsortiumMember returns the ConsortiumMember field value +func (o *ConsortiumDatabase) GetConsortiumMember() []ConsortiumMember { + if o == nil { + var ret []ConsortiumMember + return ret + } + + return o.ConsortiumMember +} + +// GetConsortiumMemberOk returns a tuple with the ConsortiumMember field value +// and a boolean to check if the value has been set. +func (o *ConsortiumDatabase) GetConsortiumMemberOk() ([]ConsortiumMember, bool) { + if o == nil { + return nil, false + } + return o.ConsortiumMember, true +} + +// SetConsortiumMember sets field value +func (o *ConsortiumDatabase) SetConsortiumMember(v []ConsortiumMember) { + o.ConsortiumMember = v +} + +// GetCactusNode returns the CactusNode field value +func (o *ConsortiumDatabase) GetCactusNode() []CactusNode { + if o == nil { + var ret []CactusNode + return ret + } + + return o.CactusNode +} + +// GetCactusNodeOk returns a tuple with the CactusNode field value +// and a boolean to check if the value has been set. +func (o *ConsortiumDatabase) GetCactusNodeOk() ([]CactusNode, bool) { + if o == nil { + return nil, false + } + return o.CactusNode, true +} + +// SetCactusNode sets field value +func (o *ConsortiumDatabase) SetCactusNode(v []CactusNode) { + o.CactusNode = v +} + +// GetPluginInstance returns the PluginInstance field value +func (o *ConsortiumDatabase) GetPluginInstance() []PluginInstance { + if o == nil { + var ret []PluginInstance + return ret + } + + return o.PluginInstance +} + +// GetPluginInstanceOk returns a tuple with the PluginInstance field value +// and a boolean to check if the value has been set. +func (o *ConsortiumDatabase) GetPluginInstanceOk() ([]PluginInstance, bool) { + if o == nil { + return nil, false + } + return o.PluginInstance, true +} + +// SetPluginInstance sets field value +func (o *ConsortiumDatabase) SetPluginInstance(v []PluginInstance) { + o.PluginInstance = v +} + +func (o ConsortiumDatabase) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ConsortiumDatabase) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["consortium"] = o.Consortium + toSerialize["ledger"] = o.Ledger + toSerialize["consortiumMember"] = o.ConsortiumMember + toSerialize["cactusNode"] = o.CactusNode + toSerialize["pluginInstance"] = o.PluginInstance + return toSerialize, nil +} + +type NullableConsortiumDatabase struct { + value *ConsortiumDatabase + isSet bool +} + +func (v NullableConsortiumDatabase) Get() *ConsortiumDatabase { + return v.value +} + +func (v *NullableConsortiumDatabase) Set(val *ConsortiumDatabase) { + v.value = val + v.isSet = true +} + +func (v NullableConsortiumDatabase) IsSet() bool { + return v.isSet +} + +func (v *NullableConsortiumDatabase) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConsortiumDatabase(val *ConsortiumDatabase) *NullableConsortiumDatabase { + return &NullableConsortiumDatabase{value: val, isSet: true} +} + +func (v NullableConsortiumDatabase) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConsortiumDatabase) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consortium_member.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consortium_member.go new file mode 100644 index 00000000000..8b457b910df --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_consortium_member.go @@ -0,0 +1,172 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the ConsortiumMember type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ConsortiumMember{} + +// ConsortiumMember struct for ConsortiumMember +type ConsortiumMember struct { + Id string `json:"id"` + // The human readable name a Consortium member can be referred to while making it easy for humans to distinguish this particular consortium member entity from any other ones. + Name string `json:"name"` + NodeIds []string `json:"nodeIds"` +} + +// NewConsortiumMember instantiates a new ConsortiumMember object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewConsortiumMember(id string, name string, nodeIds []string) *ConsortiumMember { + this := ConsortiumMember{} + this.Id = id + this.Name = name + this.NodeIds = nodeIds + return &this +} + +// NewConsortiumMemberWithDefaults instantiates a new ConsortiumMember object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewConsortiumMemberWithDefaults() *ConsortiumMember { + this := ConsortiumMember{} + return &this +} + +// GetId returns the Id field value +func (o *ConsortiumMember) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *ConsortiumMember) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *ConsortiumMember) SetId(v string) { + o.Id = v +} + +// GetName returns the Name field value +func (o *ConsortiumMember) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *ConsortiumMember) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *ConsortiumMember) SetName(v string) { + o.Name = v +} + +// GetNodeIds returns the NodeIds field value +func (o *ConsortiumMember) GetNodeIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.NodeIds +} + +// GetNodeIdsOk returns a tuple with the NodeIds field value +// and a boolean to check if the value has been set. +func (o *ConsortiumMember) GetNodeIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.NodeIds, true +} + +// SetNodeIds sets field value +func (o *ConsortiumMember) SetNodeIds(v []string) { + o.NodeIds = v +} + +func (o ConsortiumMember) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ConsortiumMember) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["name"] = o.Name + toSerialize["nodeIds"] = o.NodeIds + return toSerialize, nil +} + +type NullableConsortiumMember struct { + value *ConsortiumMember + isSet bool +} + +func (v NullableConsortiumMember) Get() *ConsortiumMember { + return v.value +} + +func (v *NullableConsortiumMember) Set(val *ConsortiumMember) { + v.value = val + v.isSet = true +} + +func (v NullableConsortiumMember) IsSet() bool { + return v.isSet +} + +func (v *NullableConsortiumMember) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConsortiumMember(val *ConsortiumMember) *NullableConsortiumMember { + return &NullableConsortiumMember{value: val, isSet: true} +} + +func (v NullableConsortiumMember) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConsortiumMember) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_constants.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_constants.go new file mode 100644 index 00000000000..977da8fea4c --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_constants.go @@ -0,0 +1,109 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" + "fmt" +) + +// Constants the model 'Constants' +type Constants string + +// List of Constants +const ( + SocketIoConnectionPathV1 Constants = "/api/v1/async/socket-io/connect" +) + +// All allowed values of Constants enum +var AllowedConstantsEnumValues = []Constants{ + "/api/v1/async/socket-io/connect", +} + +func (v *Constants) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Constants(value) + for _, existing := range AllowedConstantsEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Constants", value) +} + +// NewConstantsFromValue returns a pointer to a valid Constants +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewConstantsFromValue(v string) (*Constants, error) { + ev := Constants(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Constants: valid values are %v", v, AllowedConstantsEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Constants) IsValid() bool { + for _, existing := range AllowedConstantsEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Constants value +func (v Constants) Ptr() *Constants { + return &v +} + +type NullableConstants struct { + value *Constants + isSet bool +} + +func (v NullableConstants) Get() *Constants { + return v.value +} + +func (v *NullableConstants) Set(val *Constants) { + v.value = val + v.isSet = true +} + +func (v NullableConstants) IsSet() bool { + return v.isSet +} + +func (v *NullableConstants) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConstants(val *Constants) *NullableConstants { + return &NullableConstants{value: val, isSet: true} +} + +func (v NullableConstants) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConstants) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go new file mode 100644 index 00000000000..a8faaaa7ee3 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryRequestV1{} + +// DeleteKeychainEntryRequestV1 struct for DeleteKeychainEntryRequestV1 +type DeleteKeychainEntryRequestV1 struct { + // The key for the entry to check the presence of on the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryRequestV1 instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryRequestV1(key string) *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryRequestV1WithDefaults instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryRequestV1WithDefaults() *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryRequestV1 struct { + value *DeleteKeychainEntryRequestV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryRequestV1) Get() *DeleteKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryRequestV1) Set(val *DeleteKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryRequestV1(val *DeleteKeychainEntryRequestV1) *NullableDeleteKeychainEntryRequestV1 { + return &NullableDeleteKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go new file mode 100644 index 00000000000..67314473544 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryResponseV1{} + +// DeleteKeychainEntryResponseV1 struct for DeleteKeychainEntryResponseV1 +type DeleteKeychainEntryResponseV1 struct { + // The key that was deleted from the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryResponseV1 instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryResponseV1(key string) *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryResponseV1WithDefaults instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryResponseV1WithDefaults() *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryResponseV1 struct { + value *DeleteKeychainEntryResponseV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryResponseV1) Get() *DeleteKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryResponseV1) Set(val *DeleteKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryResponseV1(val *DeleteKeychainEntryResponseV1) *NullableDeleteKeychainEntryResponseV1 { + return &NullableDeleteKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go new file mode 100644 index 00000000000..31573563b75 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryRequestV1{} + +// GetKeychainEntryRequestV1 struct for GetKeychainEntryRequestV1 +type GetKeychainEntryRequestV1 struct { + // The key for the entry to get from the keychain. + Key string `json:"key"` +} + +// NewGetKeychainEntryRequestV1 instantiates a new GetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryRequestV1(key string) *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewGetKeychainEntryRequestV1WithDefaults instantiates a new GetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryRequestV1WithDefaults() *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o GetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableGetKeychainEntryRequestV1 struct { + value *GetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableGetKeychainEntryRequestV1) Get() *GetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableGetKeychainEntryRequestV1) Set(val *GetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryRequestV1(val *GetKeychainEntryRequestV1) *NullableGetKeychainEntryRequestV1 { + return &NullableGetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go new file mode 100644 index 00000000000..bebaa7db019 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryResponseV1{} + +// GetKeychainEntryResponseV1 struct for GetKeychainEntryResponseV1 +type GetKeychainEntryResponseV1 struct { + // The key that was used to retrieve the value from the keychain. + Key string `json:"key"` + // The value associated with the requested key on the keychain. + Value string `json:"value"` +} + +// NewGetKeychainEntryResponseV1 instantiates a new GetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryResponseV1(key string, value string) *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + this.Key = key + this.Value = value + return &this +} + +// NewGetKeychainEntryResponseV1WithDefaults instantiates a new GetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryResponseV1WithDefaults() *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *GetKeychainEntryResponseV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *GetKeychainEntryResponseV1) SetValue(v string) { + o.Value = v +} + +func (o GetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableGetKeychainEntryResponseV1 struct { + value *GetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableGetKeychainEntryResponseV1) Get() *GetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableGetKeychainEntryResponseV1) Set(val *GetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryResponseV1(val *GetKeychainEntryResponseV1) *NullableGetKeychainEntryResponseV1 { + return &NullableGetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_object_request_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_object_request_v1.go new file mode 100644 index 00000000000..119d21b600b --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_object_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the GetObjectRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetObjectRequestV1{} + +// GetObjectRequestV1 struct for GetObjectRequestV1 +type GetObjectRequestV1 struct { + // The key for the entry to get from the object store. + Key string `json:"key"` +} + +// NewGetObjectRequestV1 instantiates a new GetObjectRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetObjectRequestV1(key string) *GetObjectRequestV1 { + this := GetObjectRequestV1{} + this.Key = key + return &this +} + +// NewGetObjectRequestV1WithDefaults instantiates a new GetObjectRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetObjectRequestV1WithDefaults() *GetObjectRequestV1 { + this := GetObjectRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetObjectRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetObjectRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetObjectRequestV1) SetKey(v string) { + o.Key = v +} + +func (o GetObjectRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetObjectRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableGetObjectRequestV1 struct { + value *GetObjectRequestV1 + isSet bool +} + +func (v NullableGetObjectRequestV1) Get() *GetObjectRequestV1 { + return v.value +} + +func (v *NullableGetObjectRequestV1) Set(val *GetObjectRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetObjectRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetObjectRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetObjectRequestV1(val *GetObjectRequestV1) *NullableGetObjectRequestV1 { + return &NullableGetObjectRequestV1{value: val, isSet: true} +} + +func (v NullableGetObjectRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetObjectRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_object_response_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_object_response_v1.go new file mode 100644 index 00000000000..284460c6223 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_get_object_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the GetObjectResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetObjectResponseV1{} + +// GetObjectResponseV1 struct for GetObjectResponseV1 +type GetObjectResponseV1 struct { + // The key that was used to retrieve the value from the object store. + Key string `json:"key"` + // The value associated with the requested key in the object store as a string. + Value string `json:"value"` +} + +// NewGetObjectResponseV1 instantiates a new GetObjectResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetObjectResponseV1(key string, value string) *GetObjectResponseV1 { + this := GetObjectResponseV1{} + this.Key = key + this.Value = value + return &this +} + +// NewGetObjectResponseV1WithDefaults instantiates a new GetObjectResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetObjectResponseV1WithDefaults() *GetObjectResponseV1 { + this := GetObjectResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetObjectResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetObjectResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetObjectResponseV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *GetObjectResponseV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *GetObjectResponseV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *GetObjectResponseV1) SetValue(v string) { + o.Value = v +} + +func (o GetObjectResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetObjectResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableGetObjectResponseV1 struct { + value *GetObjectResponseV1 + isSet bool +} + +func (v NullableGetObjectResponseV1) Get() *GetObjectResponseV1 { + return v.value +} + +func (v *NullableGetObjectResponseV1) Set(val *GetObjectResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetObjectResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetObjectResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetObjectResponseV1(val *GetObjectResponseV1) *NullableGetObjectResponseV1 { + return &NullableGetObjectResponseV1{value: val, isSet: true} +} + +func (v NullableGetObjectResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetObjectResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go new file mode 100644 index 00000000000..30ac931db8c --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryRequestV1{} + +// HasKeychainEntryRequestV1 struct for HasKeychainEntryRequestV1 +type HasKeychainEntryRequestV1 struct { + // The key to check for presence in the keychain. + Key string `json:"key"` +} + +// NewHasKeychainEntryRequestV1 instantiates a new HasKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryRequestV1(key string) *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewHasKeychainEntryRequestV1WithDefaults instantiates a new HasKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryRequestV1WithDefaults() *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o HasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableHasKeychainEntryRequestV1 struct { + value *HasKeychainEntryRequestV1 + isSet bool +} + +func (v NullableHasKeychainEntryRequestV1) Get() *HasKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableHasKeychainEntryRequestV1) Set(val *HasKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryRequestV1(val *HasKeychainEntryRequestV1) *NullableHasKeychainEntryRequestV1 { + return &NullableHasKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go new file mode 100644 index 00000000000..7e4394e2568 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go @@ -0,0 +1,174 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryResponseV1{} + +// HasKeychainEntryResponseV1 struct for HasKeychainEntryResponseV1 +type HasKeychainEntryResponseV1 struct { + // The key that was used to check the presence of the value in the entry store. + Key string `json:"key"` + // Date and time encoded as JSON when the presence check was performed by the plugin backend. + CheckedAt string `json:"checkedAt"` + // The boolean true or false indicating the presence or absence of an entry under 'key'. + IsPresent bool `json:"isPresent"` +} + +// NewHasKeychainEntryResponseV1 instantiates a new HasKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryResponseV1(key string, checkedAt string, isPresent bool) *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + this.Key = key + this.CheckedAt = checkedAt + this.IsPresent = isPresent + return &this +} + +// NewHasKeychainEntryResponseV1WithDefaults instantiates a new HasKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryResponseV1WithDefaults() *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetCheckedAt returns the CheckedAt field value +func (o *HasKeychainEntryResponseV1) GetCheckedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CheckedAt +} + +// GetCheckedAtOk returns a tuple with the CheckedAt field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetCheckedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CheckedAt, true +} + +// SetCheckedAt sets field value +func (o *HasKeychainEntryResponseV1) SetCheckedAt(v string) { + o.CheckedAt = v +} + +// GetIsPresent returns the IsPresent field value +func (o *HasKeychainEntryResponseV1) GetIsPresent() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsPresent +} + +// GetIsPresentOk returns a tuple with the IsPresent field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetIsPresentOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsPresent, true +} + +// SetIsPresent sets field value +func (o *HasKeychainEntryResponseV1) SetIsPresent(v bool) { + o.IsPresent = v +} + +func (o HasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["checkedAt"] = o.CheckedAt + toSerialize["isPresent"] = o.IsPresent + return toSerialize, nil +} + +type NullableHasKeychainEntryResponseV1 struct { + value *HasKeychainEntryResponseV1 + isSet bool +} + +func (v NullableHasKeychainEntryResponseV1) Get() *HasKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableHasKeychainEntryResponseV1) Set(val *HasKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryResponseV1(val *HasKeychainEntryResponseV1) *NullableHasKeychainEntryResponseV1 { + return &NullableHasKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_object_request_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_object_request_v1.go new file mode 100644 index 00000000000..01915fca99c --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_object_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the HasObjectRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasObjectRequestV1{} + +// HasObjectRequestV1 struct for HasObjectRequestV1 +type HasObjectRequestV1 struct { + // The key to check for presence in the object store. + Key string `json:"key"` +} + +// NewHasObjectRequestV1 instantiates a new HasObjectRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasObjectRequestV1(key string) *HasObjectRequestV1 { + this := HasObjectRequestV1{} + this.Key = key + return &this +} + +// NewHasObjectRequestV1WithDefaults instantiates a new HasObjectRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasObjectRequestV1WithDefaults() *HasObjectRequestV1 { + this := HasObjectRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasObjectRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasObjectRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasObjectRequestV1) SetKey(v string) { + o.Key = v +} + +func (o HasObjectRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasObjectRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableHasObjectRequestV1 struct { + value *HasObjectRequestV1 + isSet bool +} + +func (v NullableHasObjectRequestV1) Get() *HasObjectRequestV1 { + return v.value +} + +func (v *NullableHasObjectRequestV1) Set(val *HasObjectRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasObjectRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasObjectRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasObjectRequestV1(val *HasObjectRequestV1) *NullableHasObjectRequestV1 { + return &NullableHasObjectRequestV1{value: val, isSet: true} +} + +func (v NullableHasObjectRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasObjectRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_object_response_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_object_response_v1.go new file mode 100644 index 00000000000..d7794cf7fd4 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_has_object_response_v1.go @@ -0,0 +1,174 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the HasObjectResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasObjectResponseV1{} + +// HasObjectResponseV1 struct for HasObjectResponseV1 +type HasObjectResponseV1 struct { + // The key that was used to check the presence of the value in the object store. + Key string `json:"key"` + // Date and time encoded as JSON when the presence check was performed by the plugin backend. + CheckedAt string `json:"checkedAt"` + // The boolean true or false indicating the presence or absence of an object under 'key'. + IsPresent bool `json:"isPresent"` +} + +// NewHasObjectResponseV1 instantiates a new HasObjectResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasObjectResponseV1(key string, checkedAt string, isPresent bool) *HasObjectResponseV1 { + this := HasObjectResponseV1{} + this.Key = key + this.CheckedAt = checkedAt + this.IsPresent = isPresent + return &this +} + +// NewHasObjectResponseV1WithDefaults instantiates a new HasObjectResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasObjectResponseV1WithDefaults() *HasObjectResponseV1 { + this := HasObjectResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasObjectResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasObjectResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasObjectResponseV1) SetKey(v string) { + o.Key = v +} + +// GetCheckedAt returns the CheckedAt field value +func (o *HasObjectResponseV1) GetCheckedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CheckedAt +} + +// GetCheckedAtOk returns a tuple with the CheckedAt field value +// and a boolean to check if the value has been set. +func (o *HasObjectResponseV1) GetCheckedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CheckedAt, true +} + +// SetCheckedAt sets field value +func (o *HasObjectResponseV1) SetCheckedAt(v string) { + o.CheckedAt = v +} + +// GetIsPresent returns the IsPresent field value +func (o *HasObjectResponseV1) GetIsPresent() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsPresent +} + +// GetIsPresentOk returns a tuple with the IsPresent field value +// and a boolean to check if the value has been set. +func (o *HasObjectResponseV1) GetIsPresentOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsPresent, true +} + +// SetIsPresent sets field value +func (o *HasObjectResponseV1) SetIsPresent(v bool) { + o.IsPresent = v +} + +func (o HasObjectResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasObjectResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["checkedAt"] = o.CheckedAt + toSerialize["isPresent"] = o.IsPresent + return toSerialize, nil +} + +type NullableHasObjectResponseV1 struct { + value *HasObjectResponseV1 + isSet bool +} + +func (v NullableHasObjectResponseV1) Get() *HasObjectResponseV1 { + return v.value +} + +func (v *NullableHasObjectResponseV1) Set(val *HasObjectResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasObjectResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasObjectResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasObjectResponseV1(val *HasObjectResponseV1) *NullableHasObjectResponseV1 { + return &NullableHasObjectResponseV1{value: val, isSet: true} +} + +func (v NullableHasObjectResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasObjectResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_jws_general.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_jws_general.go new file mode 100644 index 00000000000..fcd0b37c391 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_jws_general.go @@ -0,0 +1,144 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the JWSGeneral type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JWSGeneral{} + +// JWSGeneral struct for JWSGeneral +type JWSGeneral struct { + Payload string `json:"payload"` + Signatures []JWSRecipient `json:"signatures"` +} + +// NewJWSGeneral instantiates a new JWSGeneral object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewJWSGeneral(payload string, signatures []JWSRecipient) *JWSGeneral { + this := JWSGeneral{} + this.Payload = payload + this.Signatures = signatures + return &this +} + +// NewJWSGeneralWithDefaults instantiates a new JWSGeneral object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewJWSGeneralWithDefaults() *JWSGeneral { + this := JWSGeneral{} + return &this +} + +// GetPayload returns the Payload field value +func (o *JWSGeneral) GetPayload() string { + if o == nil { + var ret string + return ret + } + + return o.Payload +} + +// GetPayloadOk returns a tuple with the Payload field value +// and a boolean to check if the value has been set. +func (o *JWSGeneral) GetPayloadOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Payload, true +} + +// SetPayload sets field value +func (o *JWSGeneral) SetPayload(v string) { + o.Payload = v +} + +// GetSignatures returns the Signatures field value +func (o *JWSGeneral) GetSignatures() []JWSRecipient { + if o == nil { + var ret []JWSRecipient + return ret + } + + return o.Signatures +} + +// GetSignaturesOk returns a tuple with the Signatures field value +// and a boolean to check if the value has been set. +func (o *JWSGeneral) GetSignaturesOk() ([]JWSRecipient, bool) { + if o == nil { + return nil, false + } + return o.Signatures, true +} + +// SetSignatures sets field value +func (o *JWSGeneral) SetSignatures(v []JWSRecipient) { + o.Signatures = v +} + +func (o JWSGeneral) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JWSGeneral) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["payload"] = o.Payload + toSerialize["signatures"] = o.Signatures + return toSerialize, nil +} + +type NullableJWSGeneral struct { + value *JWSGeneral + isSet bool +} + +func (v NullableJWSGeneral) Get() *JWSGeneral { + return v.value +} + +func (v *NullableJWSGeneral) Set(val *JWSGeneral) { + v.value = val + v.isSet = true +} + +func (v NullableJWSGeneral) IsSet() bool { + return v.isSet +} + +func (v *NullableJWSGeneral) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJWSGeneral(val *JWSGeneral) *NullableJWSGeneral { + return &NullableJWSGeneral{value: val, isSet: true} +} + +func (v NullableJWSGeneral) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJWSGeneral) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_jws_recipient.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_jws_recipient.go new file mode 100644 index 00000000000..a4e375586e6 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_jws_recipient.go @@ -0,0 +1,189 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the JWSRecipient type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JWSRecipient{} + +// JWSRecipient A JSON Web Signature. See: https://tools.ietf.org/html/rfc7515 for info about standard. +type JWSRecipient struct { + Signature string `json:"signature"` + Protected *string `json:"protected,omitempty"` + Header map[string]interface{} `json:"header,omitempty"` +} + +// NewJWSRecipient instantiates a new JWSRecipient object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewJWSRecipient(signature string) *JWSRecipient { + this := JWSRecipient{} + this.Signature = signature + return &this +} + +// NewJWSRecipientWithDefaults instantiates a new JWSRecipient object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewJWSRecipientWithDefaults() *JWSRecipient { + this := JWSRecipient{} + return &this +} + +// GetSignature returns the Signature field value +func (o *JWSRecipient) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *JWSRecipient) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *JWSRecipient) SetSignature(v string) { + o.Signature = v +} + +// GetProtected returns the Protected field value if set, zero value otherwise. +func (o *JWSRecipient) GetProtected() string { + if o == nil || IsNil(o.Protected) { + var ret string + return ret + } + return *o.Protected +} + +// GetProtectedOk returns a tuple with the Protected field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JWSRecipient) GetProtectedOk() (*string, bool) { + if o == nil || IsNil(o.Protected) { + return nil, false + } + return o.Protected, true +} + +// HasProtected returns a boolean if a field has been set. +func (o *JWSRecipient) HasProtected() bool { + if o != nil && !IsNil(o.Protected) { + return true + } + + return false +} + +// SetProtected gets a reference to the given string and assigns it to the Protected field. +func (o *JWSRecipient) SetProtected(v string) { + o.Protected = &v +} + +// GetHeader returns the Header field value if set, zero value otherwise. +func (o *JWSRecipient) GetHeader() map[string]interface{} { + if o == nil || IsNil(o.Header) { + var ret map[string]interface{} + return ret + } + return o.Header +} + +// GetHeaderOk returns a tuple with the Header field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JWSRecipient) GetHeaderOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Header) { + return map[string]interface{}{}, false + } + return o.Header, true +} + +// HasHeader returns a boolean if a field has been set. +func (o *JWSRecipient) HasHeader() bool { + if o != nil && !IsNil(o.Header) { + return true + } + + return false +} + +// SetHeader gets a reference to the given map[string]interface{} and assigns it to the Header field. +func (o *JWSRecipient) SetHeader(v map[string]interface{}) { + o.Header = v +} + +func (o JWSRecipient) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JWSRecipient) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["signature"] = o.Signature + if !IsNil(o.Protected) { + toSerialize["protected"] = o.Protected + } + if !IsNil(o.Header) { + toSerialize["header"] = o.Header + } + return toSerialize, nil +} + +type NullableJWSRecipient struct { + value *JWSRecipient + isSet bool +} + +func (v NullableJWSRecipient) Get() *JWSRecipient { + return v.value +} + +func (v *NullableJWSRecipient) Set(val *JWSRecipient) { + v.value = val + v.isSet = true +} + +func (v NullableJWSRecipient) IsSet() bool { + return v.isSet +} + +func (v *NullableJWSRecipient) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJWSRecipient(val *JWSRecipient) *NullableJWSRecipient { + return &NullableJWSRecipient{value: val, isSet: true} +} + +func (v NullableJWSRecipient) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJWSRecipient) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_ledger.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_ledger.go new file mode 100644 index 00000000000..26791a2fdfe --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_ledger.go @@ -0,0 +1,180 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the Ledger type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Ledger{} + +// Ledger struct for Ledger +type Ledger struct { + Id string `json:"id"` + LedgerType LedgerType `json:"ledgerType"` + ConsortiumMemberId *string `json:"consortiumMemberId,omitempty"` +} + +// NewLedger instantiates a new Ledger object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLedger(id string, ledgerType LedgerType) *Ledger { + this := Ledger{} + this.Id = id + this.LedgerType = ledgerType + return &this +} + +// NewLedgerWithDefaults instantiates a new Ledger object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLedgerWithDefaults() *Ledger { + this := Ledger{} + return &this +} + +// GetId returns the Id field value +func (o *Ledger) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *Ledger) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *Ledger) SetId(v string) { + o.Id = v +} + +// GetLedgerType returns the LedgerType field value +func (o *Ledger) GetLedgerType() LedgerType { + if o == nil { + var ret LedgerType + return ret + } + + return o.LedgerType +} + +// GetLedgerTypeOk returns a tuple with the LedgerType field value +// and a boolean to check if the value has been set. +func (o *Ledger) GetLedgerTypeOk() (*LedgerType, bool) { + if o == nil { + return nil, false + } + return &o.LedgerType, true +} + +// SetLedgerType sets field value +func (o *Ledger) SetLedgerType(v LedgerType) { + o.LedgerType = v +} + +// GetConsortiumMemberId returns the ConsortiumMemberId field value if set, zero value otherwise. +func (o *Ledger) GetConsortiumMemberId() string { + if o == nil || IsNil(o.ConsortiumMemberId) { + var ret string + return ret + } + return *o.ConsortiumMemberId +} + +// GetConsortiumMemberIdOk returns a tuple with the ConsortiumMemberId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Ledger) GetConsortiumMemberIdOk() (*string, bool) { + if o == nil || IsNil(o.ConsortiumMemberId) { + return nil, false + } + return o.ConsortiumMemberId, true +} + +// HasConsortiumMemberId returns a boolean if a field has been set. +func (o *Ledger) HasConsortiumMemberId() bool { + if o != nil && !IsNil(o.ConsortiumMemberId) { + return true + } + + return false +} + +// SetConsortiumMemberId gets a reference to the given string and assigns it to the ConsortiumMemberId field. +func (o *Ledger) SetConsortiumMemberId(v string) { + o.ConsortiumMemberId = &v +} + +func (o Ledger) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Ledger) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["ledgerType"] = o.LedgerType + if !IsNil(o.ConsortiumMemberId) { + toSerialize["consortiumMemberId"] = o.ConsortiumMemberId + } + return toSerialize, nil +} + +type NullableLedger struct { + value *Ledger + isSet bool +} + +func (v NullableLedger) Get() *Ledger { + return v.value +} + +func (v *NullableLedger) Set(val *Ledger) { + v.value = val + v.isSet = true +} + +func (v NullableLedger) IsSet() bool { + return v.isSet +} + +func (v *NullableLedger) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLedger(val *Ledger) *NullableLedger { + return &NullableLedger{value: val, isSet: true} +} + +func (v NullableLedger) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLedger) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_ledger_type.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_ledger_type.go new file mode 100644 index 00000000000..656e762843e --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_ledger_type.go @@ -0,0 +1,123 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" + "fmt" +) + +// LedgerType Enumerates the different ledger vendors and their major versions encoded within the name of the LedgerType. For example \"BESU_1X\" involves all of the [1.0.0;2.0.0) where 1.0.0 is included and anything up until, but not 2.0.0. See: https://stackoverflow.com/a/4396303/698470 for further explanation. +type LedgerType string + +// List of LedgerType +const ( + BESU_1_X LedgerType = "BESU_1X" + BESU_2_X LedgerType = "BESU_2X" + BURROW_0_X LedgerType = "BURROW_0X" + CORDA_4_X LedgerType = "CORDA_4X" + FABRIC_14_X LedgerType = "FABRIC_14X" + FABRIC_2 LedgerType = "FABRIC_2" + QUORUM_2_X LedgerType = "QUORUM_2X" + SAWTOOTH_1_X LedgerType = "SAWTOOTH_1X" +) + +// All allowed values of LedgerType enum +var AllowedLedgerTypeEnumValues = []LedgerType{ + "BESU_1X", + "BESU_2X", + "BURROW_0X", + "CORDA_4X", + "FABRIC_14X", + "FABRIC_2", + "QUORUM_2X", + "SAWTOOTH_1X", +} + +func (v *LedgerType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := LedgerType(value) + for _, existing := range AllowedLedgerTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid LedgerType", value) +} + +// NewLedgerTypeFromValue returns a pointer to a valid LedgerType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewLedgerTypeFromValue(v string) (*LedgerType, error) { + ev := LedgerType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for LedgerType: valid values are %v", v, AllowedLedgerTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v LedgerType) IsValid() bool { + for _, existing := range AllowedLedgerTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to LedgerType value +func (v LedgerType) Ptr() *LedgerType { + return &v +} + +type NullableLedgerType struct { + value *LedgerType + isSet bool +} + +func (v NullableLedgerType) Get() *LedgerType { + return v.value +} + +func (v *NullableLedgerType) Set(val *LedgerType) { + v.value = val + v.isSet = true +} + +func (v NullableLedgerType) IsSet() bool { + return v.isSet +} + +func (v *NullableLedgerType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLedgerType(val *LedgerType) *NullableLedgerType { + return &NullableLedgerType{value: val, isSet: true} +} + +func (v NullableLedgerType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLedgerType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_import.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_import.go new file mode 100644 index 00000000000..ff7a60d7bac --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_import.go @@ -0,0 +1,208 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the PluginImport type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PluginImport{} + +// PluginImport struct for PluginImport +type PluginImport struct { + PackageName string `json:"packageName"` + Type PluginImportType `json:"type"` + Action PluginImportAction `json:"action"` + Options interface{} `json:"options,omitempty"` +} + +// NewPluginImport instantiates a new PluginImport object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPluginImport(packageName string, type_ PluginImportType, action PluginImportAction) *PluginImport { + this := PluginImport{} + this.PackageName = packageName + this.Type = type_ + this.Action = action + return &this +} + +// NewPluginImportWithDefaults instantiates a new PluginImport object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPluginImportWithDefaults() *PluginImport { + this := PluginImport{} + return &this +} + +// GetPackageName returns the PackageName field value +func (o *PluginImport) GetPackageName() string { + if o == nil { + var ret string + return ret + } + + return o.PackageName +} + +// GetPackageNameOk returns a tuple with the PackageName field value +// and a boolean to check if the value has been set. +func (o *PluginImport) GetPackageNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageName, true +} + +// SetPackageName sets field value +func (o *PluginImport) SetPackageName(v string) { + o.PackageName = v +} + +// GetType returns the Type field value +func (o *PluginImport) GetType() PluginImportType { + if o == nil { + var ret PluginImportType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *PluginImport) GetTypeOk() (*PluginImportType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *PluginImport) SetType(v PluginImportType) { + o.Type = v +} + +// GetAction returns the Action field value +func (o *PluginImport) GetAction() PluginImportAction { + if o == nil { + var ret PluginImportAction + return ret + } + + return o.Action +} + +// GetActionOk returns a tuple with the Action field value +// and a boolean to check if the value has been set. +func (o *PluginImport) GetActionOk() (*PluginImportAction, bool) { + if o == nil { + return nil, false + } + return &o.Action, true +} + +// SetAction sets field value +func (o *PluginImport) SetAction(v PluginImportAction) { + o.Action = v +} + +// GetOptions returns the Options field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PluginImport) GetOptions() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Options +} + +// GetOptionsOk returns a tuple with the Options field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PluginImport) GetOptionsOk() (*interface{}, bool) { + if o == nil || IsNil(o.Options) { + return nil, false + } + return &o.Options, true +} + +// HasOptions returns a boolean if a field has been set. +func (o *PluginImport) HasOptions() bool { + if o != nil && IsNil(o.Options) { + return true + } + + return false +} + +// SetOptions gets a reference to the given interface{} and assigns it to the Options field. +func (o *PluginImport) SetOptions(v interface{}) { + o.Options = v +} + +func (o PluginImport) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PluginImport) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["packageName"] = o.PackageName + toSerialize["type"] = o.Type + toSerialize["action"] = o.Action + if o.Options != nil { + toSerialize["options"] = o.Options + } + return toSerialize, nil +} + +type NullablePluginImport struct { + value *PluginImport + isSet bool +} + +func (v NullablePluginImport) Get() *PluginImport { + return v.value +} + +func (v *NullablePluginImport) Set(val *PluginImport) { + v.value = val + v.isSet = true +} + +func (v NullablePluginImport) IsSet() bool { + return v.isSet +} + +func (v *NullablePluginImport) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePluginImport(val *PluginImport) *NullablePluginImport { + return &NullablePluginImport{value: val, isSet: true} +} + +func (v NullablePluginImport) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePluginImport) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_import_action.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_import_action.go new file mode 100644 index 00000000000..0bda1df94ee --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_import_action.go @@ -0,0 +1,111 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" + "fmt" +) + +// PluginImportAction the model 'PluginImportAction' +type PluginImportAction string + +// List of PluginImportAction +const ( + INSTANTIATE PluginImportAction = "org.hyperledger.cactus.plugin_import_action.INSTANTIATE" + INSTALL PluginImportAction = "org.hyperledger.cactus.plugin_import_action.INSTALL" +) + +// All allowed values of PluginImportAction enum +var AllowedPluginImportActionEnumValues = []PluginImportAction{ + "org.hyperledger.cactus.plugin_import_action.INSTANTIATE", + "org.hyperledger.cactus.plugin_import_action.INSTALL", +} + +func (v *PluginImportAction) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PluginImportAction(value) + for _, existing := range AllowedPluginImportActionEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PluginImportAction", value) +} + +// NewPluginImportActionFromValue returns a pointer to a valid PluginImportAction +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPluginImportActionFromValue(v string) (*PluginImportAction, error) { + ev := PluginImportAction(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PluginImportAction: valid values are %v", v, AllowedPluginImportActionEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PluginImportAction) IsValid() bool { + for _, existing := range AllowedPluginImportActionEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PluginImportAction value +func (v PluginImportAction) Ptr() *PluginImportAction { + return &v +} + +type NullablePluginImportAction struct { + value *PluginImportAction + isSet bool +} + +func (v NullablePluginImportAction) Get() *PluginImportAction { + return v.value +} + +func (v *NullablePluginImportAction) Set(val *PluginImportAction) { + v.value = val + v.isSet = true +} + +func (v NullablePluginImportAction) IsSet() bool { + return v.isSet +} + +func (v *NullablePluginImportAction) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePluginImportAction(val *PluginImportAction) *NullablePluginImportAction { + return &NullablePluginImportAction{value: val, isSet: true} +} + +func (v NullablePluginImportAction) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePluginImportAction) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_import_type.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_import_type.go new file mode 100644 index 00000000000..057ec5b0375 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_import_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" + "fmt" +) + +// PluginImportType the model 'PluginImportType' +type PluginImportType string + +// List of PluginImportType +const ( + LOCAL PluginImportType = "org.hyperledger.cactus.plugin_import_type.LOCAL" + REMOTE PluginImportType = "org.hyperledger.cactus.plugin_import_type.REMOTE" +) + +// All allowed values of PluginImportType enum +var AllowedPluginImportTypeEnumValues = []PluginImportType{ + "org.hyperledger.cactus.plugin_import_type.LOCAL", + "org.hyperledger.cactus.plugin_import_type.REMOTE", +} + +func (v *PluginImportType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PluginImportType(value) + for _, existing := range AllowedPluginImportTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PluginImportType", value) +} + +// NewPluginImportTypeFromValue returns a pointer to a valid PluginImportType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPluginImportTypeFromValue(v string) (*PluginImportType, error) { + ev := PluginImportType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PluginImportType: valid values are %v", v, AllowedPluginImportTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PluginImportType) IsValid() bool { + for _, existing := range AllowedPluginImportTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PluginImportType value +func (v PluginImportType) Ptr() *PluginImportType { + return &v +} + +type NullablePluginImportType struct { + value *PluginImportType + isSet bool +} + +func (v NullablePluginImportType) Get() *PluginImportType { + return v.value +} + +func (v *NullablePluginImportType) Set(val *PluginImportType) { + v.value = val + v.isSet = true +} + +func (v NullablePluginImportType) IsSet() bool { + return v.isSet +} + +func (v *NullablePluginImportType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePluginImportType(val *PluginImportType) *NullablePluginImportType { + return &NullablePluginImportType{value: val, isSet: true} +} + +func (v NullablePluginImportType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePluginImportType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_instance.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_instance.go new file mode 100644 index 00000000000..008b14aced8 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_plugin_instance.go @@ -0,0 +1,144 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the PluginInstance type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PluginInstance{} + +// PluginInstance struct for PluginInstance +type PluginInstance struct { + Id string `json:"id"` + PackageName string `json:"packageName"` +} + +// NewPluginInstance instantiates a new PluginInstance object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPluginInstance(id string, packageName string) *PluginInstance { + this := PluginInstance{} + this.Id = id + this.PackageName = packageName + return &this +} + +// NewPluginInstanceWithDefaults instantiates a new PluginInstance object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPluginInstanceWithDefaults() *PluginInstance { + this := PluginInstance{} + return &this +} + +// GetId returns the Id field value +func (o *PluginInstance) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PluginInstance) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PluginInstance) SetId(v string) { + o.Id = v +} + +// GetPackageName returns the PackageName field value +func (o *PluginInstance) GetPackageName() string { + if o == nil { + var ret string + return ret + } + + return o.PackageName +} + +// GetPackageNameOk returns a tuple with the PackageName field value +// and a boolean to check if the value has been set. +func (o *PluginInstance) GetPackageNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageName, true +} + +// SetPackageName sets field value +func (o *PluginInstance) SetPackageName(v string) { + o.PackageName = v +} + +func (o PluginInstance) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PluginInstance) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["packageName"] = o.PackageName + return toSerialize, nil +} + +type NullablePluginInstance struct { + value *PluginInstance + isSet bool +} + +func (v NullablePluginInstance) Get() *PluginInstance { + return v.value +} + +func (v *NullablePluginInstance) Set(val *PluginInstance) { + v.value = val + v.isSet = true +} + +func (v NullablePluginInstance) IsSet() bool { + return v.isSet +} + +func (v *NullablePluginInstance) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePluginInstance(val *PluginInstance) *NullablePluginInstance { + return &NullablePluginInstance{value: val, isSet: true} +} + +func (v NullablePluginInstance) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePluginInstance) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go new file mode 100644 index 00000000000..2b235b8f2f0 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryRequestV1{} + +// SetKeychainEntryRequestV1 struct for SetKeychainEntryRequestV1 +type SetKeychainEntryRequestV1 struct { + // The key for the entry to set on the keychain. + Key string `json:"key"` + // The value that will be associated with the key on the keychain. + Value string `json:"value"` +} + +// NewSetKeychainEntryRequestV1 instantiates a new SetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryRequestV1(key string, value string) *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + this.Key = key + this.Value = value + return &this +} + +// NewSetKeychainEntryRequestV1WithDefaults instantiates a new SetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryRequestV1WithDefaults() *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *SetKeychainEntryRequestV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *SetKeychainEntryRequestV1) SetValue(v string) { + o.Value = v +} + +func (o SetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableSetKeychainEntryRequestV1 struct { + value *SetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableSetKeychainEntryRequestV1) Get() *SetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableSetKeychainEntryRequestV1) Set(val *SetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryRequestV1(val *SetKeychainEntryRequestV1) *NullableSetKeychainEntryRequestV1 { + return &NullableSetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go new file mode 100644 index 00000000000..7406c924a90 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryResponseV1{} + +// SetKeychainEntryResponseV1 struct for SetKeychainEntryResponseV1 +type SetKeychainEntryResponseV1 struct { + // The key that was used to set the value on the keychain. + Key string `json:"key"` +} + +// NewSetKeychainEntryResponseV1 instantiates a new SetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryResponseV1(key string) *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewSetKeychainEntryResponseV1WithDefaults instantiates a new SetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryResponseV1WithDefaults() *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o SetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableSetKeychainEntryResponseV1 struct { + value *SetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableSetKeychainEntryResponseV1) Get() *SetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableSetKeychainEntryResponseV1) Set(val *SetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryResponseV1(val *SetKeychainEntryResponseV1) *NullableSetKeychainEntryResponseV1 { + return &NullableSetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_object_request_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_object_request_v1.go new file mode 100644 index 00000000000..7374fd26e28 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_object_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the SetObjectRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetObjectRequestV1{} + +// SetObjectRequestV1 struct for SetObjectRequestV1 +type SetObjectRequestV1 struct { + // The key for the entry to set in the object store. + Key string `json:"key"` + // The value that will be associated with the key in the object store. + Value string `json:"value"` +} + +// NewSetObjectRequestV1 instantiates a new SetObjectRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetObjectRequestV1(key string, value string) *SetObjectRequestV1 { + this := SetObjectRequestV1{} + this.Key = key + this.Value = value + return &this +} + +// NewSetObjectRequestV1WithDefaults instantiates a new SetObjectRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetObjectRequestV1WithDefaults() *SetObjectRequestV1 { + this := SetObjectRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetObjectRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetObjectRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetObjectRequestV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *SetObjectRequestV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *SetObjectRequestV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *SetObjectRequestV1) SetValue(v string) { + o.Value = v +} + +func (o SetObjectRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetObjectRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableSetObjectRequestV1 struct { + value *SetObjectRequestV1 + isSet bool +} + +func (v NullableSetObjectRequestV1) Get() *SetObjectRequestV1 { + return v.value +} + +func (v *NullableSetObjectRequestV1) Set(val *SetObjectRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetObjectRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetObjectRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetObjectRequestV1(val *SetObjectRequestV1) *NullableSetObjectRequestV1 { + return &NullableSetObjectRequestV1{value: val, isSet: true} +} + +func (v NullableSetObjectRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetObjectRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_object_response_v1.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_object_response_v1.go new file mode 100644 index 00000000000..2a528b4eddc --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/model_set_object_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" +) + +// checks if the SetObjectResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetObjectResponseV1{} + +// SetObjectResponseV1 struct for SetObjectResponseV1 +type SetObjectResponseV1 struct { + // The key that was used to set the value in the object store. + Key string `json:"key"` +} + +// NewSetObjectResponseV1 instantiates a new SetObjectResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetObjectResponseV1(key string) *SetObjectResponseV1 { + this := SetObjectResponseV1{} + this.Key = key + return &this +} + +// NewSetObjectResponseV1WithDefaults instantiates a new SetObjectResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetObjectResponseV1WithDefaults() *SetObjectResponseV1 { + this := SetObjectResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetObjectResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetObjectResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetObjectResponseV1) SetKey(v string) { + o.Key = v +} + +func (o SetObjectResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetObjectResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableSetObjectResponseV1 struct { + value *SetObjectResponseV1 + isSet bool +} + +func (v NullableSetObjectResponseV1) Get() *SetObjectResponseV1 { + return v.value +} + +func (v *NullableSetObjectResponseV1) Set(val *SetObjectResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetObjectResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetObjectResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetObjectResponseV1(val *SetObjectResponseV1) *NullableSetObjectResponseV1 { + return &NullableSetObjectResponseV1{value: val, isSet: true} +} + +func (v NullableSetObjectResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetObjectResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..af7605aa623 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-core-api/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..c0343cc47d8 --- /dev/null +++ b/packages/cactus-core-api/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Core API + +Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc.. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-core-api + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-consortium-manual/package.json b/packages/cactus-plugin-consortium-manual/package.json index 841ae124b87..7f426fef280 100644 --- a/packages/cactus-plugin-consortium-manual/package.json +++ b/packages/cactus-plugin-consortium-manual/package.json @@ -48,6 +48,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..9d98f1f4079 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,15 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_get_consortium_jws_response.go +model_get_node_jws_response.go +model_jws_general.go +model_jws_recipient.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..6b3ced8e5ef --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,117 @@ +# Go API client for cactus-plugin-consortium-manual + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-consortium-manual "github.com/hyperledger/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-consortium-manual.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-consortium-manual.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-consortium-manual.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-consortium-manual.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**GetConsortiumJwsV1**](docs/DefaultApi.md#getconsortiumjwsv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/consortium/jws | Retrieves a consortium JWS +*DefaultApi* | [**GetNodeJwsV1**](docs/DefaultApi.md#getnodejwsv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/node/jws | Retrieves the JWT of a Cactus Node +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/get-prometheus-exporter-metrics | Get the Prometheus Metrics + + +## Documentation For Models + + - [GetConsortiumJwsResponse](docs/GetConsortiumJwsResponse.md) + - [GetNodeJwsResponse](docs/GetNodeJwsResponse.md) + - [JWSGeneral](docs/JWSGeneral.md) + - [JWSRecipient](docs/JWSRecipient.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..9c08dc9d084 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,166 @@ +openapi: 3.0.3 +info: + description: Manage a Cactus consortium through the APIs. Needs administrative privileges. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Consortium Web Service + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/consortium/jws: + post: + description: The JWS asserting the consortium metadata (pub keys and hosts of + nodes) + operationId: getConsortiumJwsV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetConsortiumJwsRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetConsortiumJwsResponse' + description: OK + summary: Retrieves a consortium JWS + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/consortium/jws + /api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/node/jws: + post: + operationId: getNodeJwsV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetNodeJwsRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetNodeJwsResponse' + description: OK + summary: Retrieves the JWT of a Cactus Node + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/node/jws + /api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/get-prometheus-exporter-metrics +components: + schemas: + GetNodeJwsResponse: + example: + jws: + payload: payload + signatures: + - protected: protected + signature: signature + header: + key: "" + - protected: protected + signature: signature + header: + key: "" + properties: + jws: + $ref: '#/components/schemas/JWSGeneral' + required: + - jws + type: object + GetConsortiumJwsResponse: + example: + jws: + payload: payload + signatures: + - protected: protected + signature: signature + header: + key: "" + - protected: protected + signature: signature + header: + key: "" + properties: + jws: + $ref: '#/components/schemas/JWSGeneral' + required: + - jws + type: object + PrometheusExporterMetricsResponse: + nullable: false + type: string + GetNodeJwsRequest: + additionalProperties: false + properties: {} + type: object + GetConsortiumJwsRequest: + additionalProperties: false + properties: {} + type: object + JWSGeneral: + example: + payload: payload + signatures: + - protected: protected + signature: signature + header: + key: "" + - protected: protected + signature: signature + header: + key: "" + properties: + payload: + maxLength: 65535 + minLength: 1 + type: string + signatures: + items: + $ref: '#/components/schemas/JWSRecipient' + type: array + required: + - payload + - signatures + type: object + JWSRecipient: + description: "A JSON Web Signature. See: https://tools.ietf.org/html/rfc7515\ + \ for info about standard." + example: + protected: protected + signature: signature + header: + key: "" + properties: + signature: + type: string + protected: + type: string + header: + additionalProperties: true + type: object + required: + - signature + type: object diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..e24f82767bb --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,332 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-consortium-manual + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiGetConsortiumJwsV1Request struct { + ctx context.Context + ApiService *DefaultApiService + body *map[string]interface{} +} + +func (r ApiGetConsortiumJwsV1Request) Body(body map[string]interface{}) ApiGetConsortiumJwsV1Request { + r.body = &body + return r +} + +func (r ApiGetConsortiumJwsV1Request) Execute() (*GetConsortiumJwsResponse, *http.Response, error) { + return r.ApiService.GetConsortiumJwsV1Execute(r) +} + +/* +GetConsortiumJwsV1 Retrieves a consortium JWS + +The JWS asserting the consortium metadata (pub keys and hosts of nodes) + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetConsortiumJwsV1Request +*/ +func (a *DefaultApiService) GetConsortiumJwsV1(ctx context.Context) ApiGetConsortiumJwsV1Request { + return ApiGetConsortiumJwsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetConsortiumJwsResponse +func (a *DefaultApiService) GetConsortiumJwsV1Execute(r ApiGetConsortiumJwsV1Request) (*GetConsortiumJwsResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetConsortiumJwsResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetConsortiumJwsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/consortium/jws" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetNodeJwsV1Request struct { + ctx context.Context + ApiService *DefaultApiService + body *map[string]interface{} +} + +func (r ApiGetNodeJwsV1Request) Body(body map[string]interface{}) ApiGetNodeJwsV1Request { + r.body = &body + return r +} + +func (r ApiGetNodeJwsV1Request) Execute() (*GetNodeJwsResponse, *http.Response, error) { + return r.ApiService.GetNodeJwsV1Execute(r) +} + +/* +GetNodeJwsV1 Retrieves the JWT of a Cactus Node + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetNodeJwsV1Request +*/ +func (a *DefaultApiService) GetNodeJwsV1(ctx context.Context) ApiGetNodeJwsV1Request { + return ApiGetNodeJwsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetNodeJwsResponse +func (a *DefaultApiService) GetNodeJwsV1Execute(r ApiGetNodeJwsV1Request) (*GetNodeJwsResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetNodeJwsResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetNodeJwsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/node/jws" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-consortium-manual/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..df8a7b32911 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-consortium-manual + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Consortium Web Service API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..0735777cd48 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-consortium-manual + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..cdf237b0ea1 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_get_consortium_jws_response.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_get_consortium_jws_response.go new file mode 100644 index 00000000000..b31d9789751 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_get_consortium_jws_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-consortium-manual + +import ( + "encoding/json" +) + +// checks if the GetConsortiumJwsResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetConsortiumJwsResponse{} + +// GetConsortiumJwsResponse struct for GetConsortiumJwsResponse +type GetConsortiumJwsResponse struct { + Jws JWSGeneral `json:"jws"` +} + +// NewGetConsortiumJwsResponse instantiates a new GetConsortiumJwsResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetConsortiumJwsResponse(jws JWSGeneral) *GetConsortiumJwsResponse { + this := GetConsortiumJwsResponse{} + this.Jws = jws + return &this +} + +// NewGetConsortiumJwsResponseWithDefaults instantiates a new GetConsortiumJwsResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetConsortiumJwsResponseWithDefaults() *GetConsortiumJwsResponse { + this := GetConsortiumJwsResponse{} + return &this +} + +// GetJws returns the Jws field value +func (o *GetConsortiumJwsResponse) GetJws() JWSGeneral { + if o == nil { + var ret JWSGeneral + return ret + } + + return o.Jws +} + +// GetJwsOk returns a tuple with the Jws field value +// and a boolean to check if the value has been set. +func (o *GetConsortiumJwsResponse) GetJwsOk() (*JWSGeneral, bool) { + if o == nil { + return nil, false + } + return &o.Jws, true +} + +// SetJws sets field value +func (o *GetConsortiumJwsResponse) SetJws(v JWSGeneral) { + o.Jws = v +} + +func (o GetConsortiumJwsResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetConsortiumJwsResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["jws"] = o.Jws + return toSerialize, nil +} + +type NullableGetConsortiumJwsResponse struct { + value *GetConsortiumJwsResponse + isSet bool +} + +func (v NullableGetConsortiumJwsResponse) Get() *GetConsortiumJwsResponse { + return v.value +} + +func (v *NullableGetConsortiumJwsResponse) Set(val *GetConsortiumJwsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetConsortiumJwsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetConsortiumJwsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetConsortiumJwsResponse(val *GetConsortiumJwsResponse) *NullableGetConsortiumJwsResponse { + return &NullableGetConsortiumJwsResponse{value: val, isSet: true} +} + +func (v NullableGetConsortiumJwsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetConsortiumJwsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_get_node_jws_response.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_get_node_jws_response.go new file mode 100644 index 00000000000..677ca3bc1ff --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_get_node_jws_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-consortium-manual + +import ( + "encoding/json" +) + +// checks if the GetNodeJwsResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetNodeJwsResponse{} + +// GetNodeJwsResponse struct for GetNodeJwsResponse +type GetNodeJwsResponse struct { + Jws JWSGeneral `json:"jws"` +} + +// NewGetNodeJwsResponse instantiates a new GetNodeJwsResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetNodeJwsResponse(jws JWSGeneral) *GetNodeJwsResponse { + this := GetNodeJwsResponse{} + this.Jws = jws + return &this +} + +// NewGetNodeJwsResponseWithDefaults instantiates a new GetNodeJwsResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetNodeJwsResponseWithDefaults() *GetNodeJwsResponse { + this := GetNodeJwsResponse{} + return &this +} + +// GetJws returns the Jws field value +func (o *GetNodeJwsResponse) GetJws() JWSGeneral { + if o == nil { + var ret JWSGeneral + return ret + } + + return o.Jws +} + +// GetJwsOk returns a tuple with the Jws field value +// and a boolean to check if the value has been set. +func (o *GetNodeJwsResponse) GetJwsOk() (*JWSGeneral, bool) { + if o == nil { + return nil, false + } + return &o.Jws, true +} + +// SetJws sets field value +func (o *GetNodeJwsResponse) SetJws(v JWSGeneral) { + o.Jws = v +} + +func (o GetNodeJwsResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetNodeJwsResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["jws"] = o.Jws + return toSerialize, nil +} + +type NullableGetNodeJwsResponse struct { + value *GetNodeJwsResponse + isSet bool +} + +func (v NullableGetNodeJwsResponse) Get() *GetNodeJwsResponse { + return v.value +} + +func (v *NullableGetNodeJwsResponse) Set(val *GetNodeJwsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetNodeJwsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetNodeJwsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetNodeJwsResponse(val *GetNodeJwsResponse) *NullableGetNodeJwsResponse { + return &NullableGetNodeJwsResponse{value: val, isSet: true} +} + +func (v NullableGetNodeJwsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetNodeJwsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_jws_general.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_jws_general.go new file mode 100644 index 00000000000..e7601bfc780 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_jws_general.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-consortium-manual + +import ( + "encoding/json" +) + +// checks if the JWSGeneral type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JWSGeneral{} + +// JWSGeneral struct for JWSGeneral +type JWSGeneral struct { + Payload string `json:"payload"` + Signatures []JWSRecipient `json:"signatures"` +} + +// NewJWSGeneral instantiates a new JWSGeneral object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewJWSGeneral(payload string, signatures []JWSRecipient) *JWSGeneral { + this := JWSGeneral{} + this.Payload = payload + this.Signatures = signatures + return &this +} + +// NewJWSGeneralWithDefaults instantiates a new JWSGeneral object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewJWSGeneralWithDefaults() *JWSGeneral { + this := JWSGeneral{} + return &this +} + +// GetPayload returns the Payload field value +func (o *JWSGeneral) GetPayload() string { + if o == nil { + var ret string + return ret + } + + return o.Payload +} + +// GetPayloadOk returns a tuple with the Payload field value +// and a boolean to check if the value has been set. +func (o *JWSGeneral) GetPayloadOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Payload, true +} + +// SetPayload sets field value +func (o *JWSGeneral) SetPayload(v string) { + o.Payload = v +} + +// GetSignatures returns the Signatures field value +func (o *JWSGeneral) GetSignatures() []JWSRecipient { + if o == nil { + var ret []JWSRecipient + return ret + } + + return o.Signatures +} + +// GetSignaturesOk returns a tuple with the Signatures field value +// and a boolean to check if the value has been set. +func (o *JWSGeneral) GetSignaturesOk() ([]JWSRecipient, bool) { + if o == nil { + return nil, false + } + return o.Signatures, true +} + +// SetSignatures sets field value +func (o *JWSGeneral) SetSignatures(v []JWSRecipient) { + o.Signatures = v +} + +func (o JWSGeneral) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JWSGeneral) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["payload"] = o.Payload + toSerialize["signatures"] = o.Signatures + return toSerialize, nil +} + +type NullableJWSGeneral struct { + value *JWSGeneral + isSet bool +} + +func (v NullableJWSGeneral) Get() *JWSGeneral { + return v.value +} + +func (v *NullableJWSGeneral) Set(val *JWSGeneral) { + v.value = val + v.isSet = true +} + +func (v NullableJWSGeneral) IsSet() bool { + return v.isSet +} + +func (v *NullableJWSGeneral) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJWSGeneral(val *JWSGeneral) *NullableJWSGeneral { + return &NullableJWSGeneral{value: val, isSet: true} +} + +func (v NullableJWSGeneral) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJWSGeneral) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_jws_recipient.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_jws_recipient.go new file mode 100644 index 00000000000..2eb04094654 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/model_jws_recipient.go @@ -0,0 +1,189 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-consortium-manual + +import ( + "encoding/json" +) + +// checks if the JWSRecipient type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JWSRecipient{} + +// JWSRecipient A JSON Web Signature. See: https://tools.ietf.org/html/rfc7515 for info about standard. +type JWSRecipient struct { + Signature string `json:"signature"` + Protected *string `json:"protected,omitempty"` + Header map[string]interface{} `json:"header,omitempty"` +} + +// NewJWSRecipient instantiates a new JWSRecipient object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewJWSRecipient(signature string) *JWSRecipient { + this := JWSRecipient{} + this.Signature = signature + return &this +} + +// NewJWSRecipientWithDefaults instantiates a new JWSRecipient object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewJWSRecipientWithDefaults() *JWSRecipient { + this := JWSRecipient{} + return &this +} + +// GetSignature returns the Signature field value +func (o *JWSRecipient) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *JWSRecipient) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *JWSRecipient) SetSignature(v string) { + o.Signature = v +} + +// GetProtected returns the Protected field value if set, zero value otherwise. +func (o *JWSRecipient) GetProtected() string { + if o == nil || IsNil(o.Protected) { + var ret string + return ret + } + return *o.Protected +} + +// GetProtectedOk returns a tuple with the Protected field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JWSRecipient) GetProtectedOk() (*string, bool) { + if o == nil || IsNil(o.Protected) { + return nil, false + } + return o.Protected, true +} + +// HasProtected returns a boolean if a field has been set. +func (o *JWSRecipient) HasProtected() bool { + if o != nil && !IsNil(o.Protected) { + return true + } + + return false +} + +// SetProtected gets a reference to the given string and assigns it to the Protected field. +func (o *JWSRecipient) SetProtected(v string) { + o.Protected = &v +} + +// GetHeader returns the Header field value if set, zero value otherwise. +func (o *JWSRecipient) GetHeader() map[string]interface{} { + if o == nil || IsNil(o.Header) { + var ret map[string]interface{} + return ret + } + return o.Header +} + +// GetHeaderOk returns a tuple with the Header field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JWSRecipient) GetHeaderOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Header) { + return map[string]interface{}{}, false + } + return o.Header, true +} + +// HasHeader returns a boolean if a field has been set. +func (o *JWSRecipient) HasHeader() bool { + if o != nil && !IsNil(o.Header) { + return true + } + + return false +} + +// SetHeader gets a reference to the given map[string]interface{} and assigns it to the Header field. +func (o *JWSRecipient) SetHeader(v map[string]interface{}) { + o.Header = v +} + +func (o JWSRecipient) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JWSRecipient) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["signature"] = o.Signature + if !IsNil(o.Protected) { + toSerialize["protected"] = o.Protected + } + if !IsNil(o.Header) { + toSerialize["header"] = o.Header + } + return toSerialize, nil +} + +type NullableJWSRecipient struct { + value *JWSRecipient + isSet bool +} + +func (v NullableJWSRecipient) Get() *JWSRecipient { + return v.value +} + +func (v *NullableJWSRecipient) Set(val *JWSRecipient) { + v.value = val + v.isSet = true +} + +func (v NullableJWSRecipient) IsSet() bool { + return v.isSet +} + +func (v *NullableJWSRecipient) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJWSRecipient(val *JWSRecipient) *NullableJWSRecipient { + return &NullableJWSRecipient{value: val, isSet: true} +} + +func (v NullableJWSRecipient) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJWSRecipient) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..1de463fdce5 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-consortium-manual + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..7d4d058051a --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,61 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-consortium-manual + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-consortium-manual_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService GetConsortiumJwsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetConsortiumJwsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetNodeJwsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetNodeJwsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..e49e8872bf1 --- /dev/null +++ b/packages/cactus-plugin-consortium-manual/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Consortium Web Service + +Manage a Cactus consortium through the APIs. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-consortium-manual + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/package.json b/packages/cactus-plugin-htlc-eth-besu-erc20/package.json index 20411336bc1..043021c46b6 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/package.json +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/package.json @@ -53,6 +53,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..c7560138262 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,26 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_get_single_status_request.go +model_get_status_request.go +model_initialize_request.go +model_invoke_contract_v1_response.go +model_new_contract_request.go +model_new_contract_request_gas.go +model_refund_request.go +model_run_transaction_response.go +model_web3_signing_credential.go +model_web3_signing_credential_cactus_keychain_ref.go +model_web3_signing_credential_none.go +model_web3_signing_credential_private_key_hex.go +model_web3_signing_credential_type.go +model_web3_transaction_receipt.go +model_withdraw_request.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..443488ca2e3 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,131 @@ +# Go API client for cactus-plugin-htlc-eth-besu-erc20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-htlc-eth-besu-erc20 "github.com/hyperledger/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-htlc-eth-besu-erc20.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-htlc-eth-besu-erc20.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-htlc-eth-besu-erc20.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-htlc-eth-besu-erc20.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**GetSingleStatusV1**](docs/DefaultApi.md#getsinglestatusv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-single-status | +*DefaultApi* | [**GetStatusV1**](docs/DefaultApi.md#getstatusv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-status | +*DefaultApi* | [**InitializeV1**](docs/DefaultApi.md#initializev1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/initialize | Initialize contract +*DefaultApi* | [**NewContractV1**](docs/DefaultApi.md#newcontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/new-contract | Create a new hashtimelock contract +*DefaultApi* | [**RefundV1**](docs/DefaultApi.md#refundv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/refund | Refund a hashtimelock contract +*DefaultApi* | [**WithdrawV1**](docs/DefaultApi.md#withdrawv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/withdraw | Withdraw a hashtimelock contract + + +## Documentation For Models + + - [GetSingleStatusRequest](docs/GetSingleStatusRequest.md) + - [GetStatusRequest](docs/GetStatusRequest.md) + - [InitializeRequest](docs/InitializeRequest.md) + - [InvokeContractV1Response](docs/InvokeContractV1Response.md) + - [NewContractRequest](docs/NewContractRequest.md) + - [NewContractRequestGas](docs/NewContractRequestGas.md) + - [RefundRequest](docs/RefundRequest.md) + - [RunTransactionResponse](docs/RunTransactionResponse.md) + - [Web3SigningCredential](docs/Web3SigningCredential.md) + - [Web3SigningCredentialCactusKeychainRef](docs/Web3SigningCredentialCactusKeychainRef.md) + - [Web3SigningCredentialNone](docs/Web3SigningCredentialNone.md) + - [Web3SigningCredentialPrivateKeyHex](docs/Web3SigningCredentialPrivateKeyHex.md) + - [Web3SigningCredentialType](docs/Web3SigningCredentialType.md) + - [Web3TransactionReceipt](docs/Web3TransactionReceipt.md) + - [WithdrawRequest](docs/WithdrawRequest.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..199b7bb7306 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,575 @@ +openapi: 3.0.3 +info: + description: Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/initialize: + post: + operationId: initializeV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InitializeRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionResponse' + description: OK + summary: Initialize contract + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/initialize + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/withdraw: + post: + operationId: withdrawV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WithdrawRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + summary: Withdraw a hashtimelock contract + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/withdraw + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-status: + post: + operationId: getStatusV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetStatusRequest' + responses: + "200": + content: + application/json: + schema: + items: + format: uint256 + type: integer + type: array + description: Array of status + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-status + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-single-status: + post: + operationId: getSingleStatusV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetSingleStatusRequest' + responses: + "200": + content: + application/json: + schema: + format: uint256 + type: integer + description: Status + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-single-status + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/refund: + post: + operationId: refundV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RefundRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + summary: Refund a hashtimelock contract + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/refund + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/new-contract: + post: + operationId: newContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NewContractRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + summary: Create a new hashtimelock contract + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/new-contract +components: + responses: + GetStatusResponse: + content: + application/json: + schema: + items: + format: uint256 + type: integer + type: array + description: Array of status + GetSingleStatusResponse: + content: + application/json: + schema: + format: uint256 + type: integer + description: Status + schemas: + NewContractRequest: + additionalProperties: false + example: + receiver: receiver + outputAmount: 6.027456183070403 + outputNetwork: outputNetwork + connectorId: connectorId + hashLock: hashLock + contractAddress: contractAddress + inputAmount: 0.8008281904610115 + tokenAddress: tokenAddress + outputAddress: outputAddress + keychainId: keychainId + gas: null + web3SigningCredential: + type: null + expiration: 1.4658129805029452 + properties: + contractAddress: + description: Contract address + nullable: false + type: string + inputAmount: + description: Input amount to lock + nullable: false + type: number + outputAmount: + description: Output amount to lock + nullable: false + type: number + expiration: + description: Timestamp to expire the contract + nullable: false + type: number + hashLock: + description: Hashlock needed to refund the amount + nullable: false + type: string + tokenAddress: + description: The token address + nullable: false + type: string + receiver: + description: The receiver address + nullable: false + type: string + outputNetwork: + description: The output network id + nullable: false + type: string + outputAddress: + description: The output address to receive the tokens + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + connectorId: + description: connectorId for the connector besu plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychian plugin + nullable: false + type: string + gas: + $ref: '#/components/schemas/NewContractRequest_gas' + required: + - connectorId + - contractAddress + - expiration + - hashLock + - inputAmount + - keychainId + - outputAddress + - outputAmount + - outputNetwork + - receiver + - tokenAddress + - web3SigningCredential + type: object + RefundRequest: + additionalProperties: false + example: + keychainId: keychainId + connectorId: connectorId + gas: null + web3SigningCredential: + type: null + id: id + properties: + id: + description: Contract htlc id for refund + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + connectorId: + description: connectorId for the connector besu plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychain plugin + nullable: false + type: string + gas: + $ref: '#/components/schemas/NewContractRequest_gas' + required: + - connectorId + - id + - keychainId + - web3SigningCredential + type: object + WithdrawRequest: + additionalProperties: false + example: + keychainId: keychainId + connectorId: connectorId + gas: null + web3SigningCredential: + type: null + id: id + secret: secret + properties: + id: + description: Contract locked id + nullable: false + type: string + secret: + description: Secret need to unlock the contract + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + connectorId: + description: connectorId for the connector besu plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychain plugin + nullable: false + type: string + gas: + $ref: '#/components/schemas/NewContractRequest_gas' + required: + - connectorId + - id + - keychainId + - secret + - web3SigningCredential + type: object + GetStatusRequest: + additionalProperties: false + description: Defines the parameters for retrieving the status of the HTLC swap. + example: + keychainId: keychainId + connectorId: connectorId + ids: + - ids + - ids + web3SigningCredential: + type: null + properties: + ids: + items: + type: string + type: array + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + connectorId: + type: string + keychainId: + type: string + required: + - connectorId + - ids + - keychainId + - web3SigningCredential + type: object + GetSingleStatusRequest: + additionalProperties: false + description: Defines the parameters for retrieving the single status of the + HTLC swap. + example: + keychainId: keychainId + connectorId: connectorId + web3SigningCredential: + type: null + id: id + properties: + id: + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + connectorId: + type: string + keychainId: + type: string + required: + - connectorId + - id + - keychainId + - web3SigningCredential + type: object + InitializeRequest: + additionalProperties: false + example: + keychainId: keychainId + connectorId: connectorId + constructorArgs: + - "" + - "" + gas: 0.8008281904610115 + web3SigningCredential: + type: null + properties: + connectorId: + description: connectorId for the connector besu plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychain plugin + nullable: false + type: string + constructorArgs: + default: [] + items: {} + type: array + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + gas: + type: number + required: + - connectorId + - constructorArgs + - keychainId + - web3SigningCredential + type: object + RunTransactionResponse: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + required: + - transactionReceipt + type: object + Web3TransactionReceipt: + additionalProperties: true + example: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + status: + nullable: false + type: boolean + transactionHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + transactionIndex: + nullable: false + type: number + blockHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + blockNumber: + nullable: false + type: number + gasUsed: + nullable: false + type: number + contractAddress: + nullable: true + type: string + from: + nullable: false + type: string + to: + nullable: false + type: string + required: + - blockHash + - blockNumber + - from + - gasUsed + - status + - to + - transactionHash + - transactionIndex + type: object + InvokeContractV1Response: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + callOutput: "" + success: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + callOutput: {} + success: + nullable: false + type: boolean + required: + - success + type: object + Web3SigningCredential: + discriminator: + propertyName: type + example: + type: null + oneOf: + - $ref: '#/components/schemas/Web3SigningCredentialCactusKeychainRef' + - $ref: '#/components/schemas/Web3SigningCredentialPrivateKeyHex' + - $ref: '#/components/schemas/Web3SigningCredentialNone' + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialCactusKeychainRef: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + keychainEntryKey: + description: The key to use when looking up the the keychain entry holding + the secret pointed to by the keychainEntryKey parameter. + maxLength: 1024 + minLength: 0 + type: string + keychainId: + description: The keychain ID to use when looking up the the keychain plugin + instance that will be used to retrieve the secret pointed to by the keychainEntryKey + parameter. + maxLength: 1024 + minLength: 0 + type: string + required: + - ethAccount + - keychainEntryKey + - keychainId + - type + type: object + Web3SigningCredentialType: + enum: + - CACTUS_KEYCHAIN_REF + - GETH_KEYCHAIN_PASSWORD + - PRIVATE_KEY_HEX + - NONE + type: string + Web3SigningCredentialPrivateKeyHex: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + secret: + description: The HEX encoded private key of an eth account. + maxLength: 65535 + minLength: 0 + type: string + required: + - ethAccount + - secret + - type + type: object + Web3SigningCredentialNone: + description: Using this denotes that there is no signing required because the + transaction is pre-signed. + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + NewContractRequest_gas: + oneOf: + - type: string + - type: number diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..6d027dedf12 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,653 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiGetSingleStatusV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getSingleStatusRequest *GetSingleStatusRequest +} + +func (r ApiGetSingleStatusV1Request) GetSingleStatusRequest(getSingleStatusRequest GetSingleStatusRequest) ApiGetSingleStatusV1Request { + r.getSingleStatusRequest = &getSingleStatusRequest + return r +} + +func (r ApiGetSingleStatusV1Request) Execute() (int32, *http.Response, error) { + return r.ApiService.GetSingleStatusV1Execute(r) +} + +/* +GetSingleStatusV1 Method for GetSingleStatusV1 + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetSingleStatusV1Request +*/ +func (a *DefaultApiService) GetSingleStatusV1(ctx context.Context) ApiGetSingleStatusV1Request { + return ApiGetSingleStatusV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return int32 +func (a *DefaultApiService) GetSingleStatusV1Execute(r ApiGetSingleStatusV1Request) (int32, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue int32 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetSingleStatusV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-single-status" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getSingleStatusRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetStatusV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getStatusRequest *GetStatusRequest +} + +func (r ApiGetStatusV1Request) GetStatusRequest(getStatusRequest GetStatusRequest) ApiGetStatusV1Request { + r.getStatusRequest = &getStatusRequest + return r +} + +func (r ApiGetStatusV1Request) Execute() ([]int32, *http.Response, error) { + return r.ApiService.GetStatusV1Execute(r) +} + +/* +GetStatusV1 Method for GetStatusV1 + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetStatusV1Request +*/ +func (a *DefaultApiService) GetStatusV1(ctx context.Context) ApiGetStatusV1Request { + return ApiGetStatusV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []int32 +func (a *DefaultApiService) GetStatusV1Execute(r ApiGetStatusV1Request) ([]int32, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []int32 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetStatusV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/get-status" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getStatusRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInitializeV1Request struct { + ctx context.Context + ApiService *DefaultApiService + initializeRequest *InitializeRequest +} + +func (r ApiInitializeV1Request) InitializeRequest(initializeRequest InitializeRequest) ApiInitializeV1Request { + r.initializeRequest = &initializeRequest + return r +} + +func (r ApiInitializeV1Request) Execute() (*RunTransactionResponse, *http.Response, error) { + return r.ApiService.InitializeV1Execute(r) +} + +/* +InitializeV1 Initialize contract + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInitializeV1Request +*/ +func (a *DefaultApiService) InitializeV1(ctx context.Context) ApiInitializeV1Request { + return ApiInitializeV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionResponse +func (a *DefaultApiService) InitializeV1Execute(r ApiInitializeV1Request) (*RunTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InitializeV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/initialize" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.initializeRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiNewContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + newContractRequest *NewContractRequest +} + +func (r ApiNewContractV1Request) NewContractRequest(newContractRequest NewContractRequest) ApiNewContractV1Request { + r.newContractRequest = &newContractRequest + return r +} + +func (r ApiNewContractV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.NewContractV1Execute(r) +} + +/* +NewContractV1 Create a new hashtimelock contract + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiNewContractV1Request +*/ +func (a *DefaultApiService) NewContractV1(ctx context.Context) ApiNewContractV1Request { + return ApiNewContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) NewContractV1Execute(r ApiNewContractV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.NewContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/new-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.newContractRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRefundV1Request struct { + ctx context.Context + ApiService *DefaultApiService + refundRequest *RefundRequest +} + +func (r ApiRefundV1Request) RefundRequest(refundRequest RefundRequest) ApiRefundV1Request { + r.refundRequest = &refundRequest + return r +} + +func (r ApiRefundV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.RefundV1Execute(r) +} + +/* +RefundV1 Refund a hashtimelock contract + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRefundV1Request +*/ +func (a *DefaultApiService) RefundV1(ctx context.Context) ApiRefundV1Request { + return ApiRefundV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) RefundV1Execute(r ApiRefundV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RefundV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/refund" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.refundRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiWithdrawV1Request struct { + ctx context.Context + ApiService *DefaultApiService + withdrawRequest *WithdrawRequest +} + +func (r ApiWithdrawV1Request) WithdrawRequest(withdrawRequest WithdrawRequest) ApiWithdrawV1Request { + r.withdrawRequest = &withdrawRequest + return r +} + +func (r ApiWithdrawV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.WithdrawV1Execute(r) +} + +/* +WithdrawV1 Withdraw a hashtimelock contract + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiWithdrawV1Request +*/ +func (a *DefaultApiService) WithdrawV1(ctx context.Context) ApiWithdrawV1Request { + return ApiWithdrawV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) WithdrawV1Execute(r ApiWithdrawV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.WithdrawV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu-erc20/withdraw" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.withdrawRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..dd65d0c35b2 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..70ab904d70a --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..08190890c0e --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_get_single_status_request.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_get_single_status_request.go new file mode 100644 index 00000000000..d71a6398e6a --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_get_single_status_request.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the GetSingleStatusRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetSingleStatusRequest{} + +// GetSingleStatusRequest Defines the parameters for retrieving the single status of the HTLC swap. +type GetSingleStatusRequest struct { + Id string `json:"id"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + ConnectorId string `json:"connectorId"` + KeychainId string `json:"keychainId"` +} + +// NewGetSingleStatusRequest instantiates a new GetSingleStatusRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetSingleStatusRequest(id string, web3SigningCredential Web3SigningCredential, connectorId string, keychainId string) *GetSingleStatusRequest { + this := GetSingleStatusRequest{} + this.Id = id + this.Web3SigningCredential = web3SigningCredential + this.ConnectorId = connectorId + this.KeychainId = keychainId + return &this +} + +// NewGetSingleStatusRequestWithDefaults instantiates a new GetSingleStatusRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetSingleStatusRequestWithDefaults() *GetSingleStatusRequest { + this := GetSingleStatusRequest{} + return &this +} + +// GetId returns the Id field value +func (o *GetSingleStatusRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *GetSingleStatusRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *GetSingleStatusRequest) SetId(v string) { + o.Id = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *GetSingleStatusRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *GetSingleStatusRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *GetSingleStatusRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *GetSingleStatusRequest) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *GetSingleStatusRequest) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *GetSingleStatusRequest) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *GetSingleStatusRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *GetSingleStatusRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *GetSingleStatusRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o GetSingleStatusRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetSingleStatusRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableGetSingleStatusRequest struct { + value *GetSingleStatusRequest + isSet bool +} + +func (v NullableGetSingleStatusRequest) Get() *GetSingleStatusRequest { + return v.value +} + +func (v *NullableGetSingleStatusRequest) Set(val *GetSingleStatusRequest) { + v.value = val + v.isSet = true +} + +func (v NullableGetSingleStatusRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableGetSingleStatusRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetSingleStatusRequest(val *GetSingleStatusRequest) *NullableGetSingleStatusRequest { + return &NullableGetSingleStatusRequest{value: val, isSet: true} +} + +func (v NullableGetSingleStatusRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetSingleStatusRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_get_status_request.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_get_status_request.go new file mode 100644 index 00000000000..87ea63e115c --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_get_status_request.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the GetStatusRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetStatusRequest{} + +// GetStatusRequest Defines the parameters for retrieving the status of the HTLC swap. +type GetStatusRequest struct { + Ids []string `json:"ids"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + ConnectorId string `json:"connectorId"` + KeychainId string `json:"keychainId"` +} + +// NewGetStatusRequest instantiates a new GetStatusRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetStatusRequest(ids []string, web3SigningCredential Web3SigningCredential, connectorId string, keychainId string) *GetStatusRequest { + this := GetStatusRequest{} + this.Ids = ids + this.Web3SigningCredential = web3SigningCredential + this.ConnectorId = connectorId + this.KeychainId = keychainId + return &this +} + +// NewGetStatusRequestWithDefaults instantiates a new GetStatusRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetStatusRequestWithDefaults() *GetStatusRequest { + this := GetStatusRequest{} + return &this +} + +// GetIds returns the Ids field value +func (o *GetStatusRequest) GetIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.Ids +} + +// GetIdsOk returns a tuple with the Ids field value +// and a boolean to check if the value has been set. +func (o *GetStatusRequest) GetIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Ids, true +} + +// SetIds sets field value +func (o *GetStatusRequest) SetIds(v []string) { + o.Ids = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *GetStatusRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *GetStatusRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *GetStatusRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *GetStatusRequest) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *GetStatusRequest) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *GetStatusRequest) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *GetStatusRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *GetStatusRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *GetStatusRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o GetStatusRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetStatusRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["ids"] = o.Ids + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableGetStatusRequest struct { + value *GetStatusRequest + isSet bool +} + +func (v NullableGetStatusRequest) Get() *GetStatusRequest { + return v.value +} + +func (v *NullableGetStatusRequest) Set(val *GetStatusRequest) { + v.value = val + v.isSet = true +} + +func (v NullableGetStatusRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableGetStatusRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetStatusRequest(val *GetStatusRequest) *NullableGetStatusRequest { + return &NullableGetStatusRequest{value: val, isSet: true} +} + +func (v NullableGetStatusRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetStatusRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_initialize_request.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_initialize_request.go new file mode 100644 index 00000000000..ebf5ac71633 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_initialize_request.go @@ -0,0 +1,236 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the InitializeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InitializeRequest{} + +// InitializeRequest struct for InitializeRequest +type InitializeRequest struct { + // connectorId for the connector besu plugin + ConnectorId string `json:"connectorId"` + // keychainId for the keychain plugin + KeychainId string `json:"keychainId"` + ConstructorArgs []interface{} `json:"constructorArgs"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + Gas *float32 `json:"gas,omitempty"` +} + +// NewInitializeRequest instantiates a new InitializeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInitializeRequest(connectorId string, keychainId string, constructorArgs []interface{}, web3SigningCredential Web3SigningCredential) *InitializeRequest { + this := InitializeRequest{} + this.ConnectorId = connectorId + this.KeychainId = keychainId + this.ConstructorArgs = constructorArgs + this.Web3SigningCredential = web3SigningCredential + return &this +} + +// NewInitializeRequestWithDefaults instantiates a new InitializeRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInitializeRequestWithDefaults() *InitializeRequest { + this := InitializeRequest{} + return &this +} + +// GetConnectorId returns the ConnectorId field value +func (o *InitializeRequest) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *InitializeRequest) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *InitializeRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *InitializeRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetConstructorArgs returns the ConstructorArgs field value +func (o *InitializeRequest) GetConstructorArgs() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.ConstructorArgs, true +} + +// SetConstructorArgs sets field value +func (o *InitializeRequest) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *InitializeRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *InitializeRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *InitializeRequest) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *InitializeRequest) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *InitializeRequest) SetGas(v float32) { + o.Gas = &v +} + +func (o InitializeRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InitializeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + toSerialize["constructorArgs"] = o.ConstructorArgs + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableInitializeRequest struct { + value *InitializeRequest + isSet bool +} + +func (v NullableInitializeRequest) Get() *InitializeRequest { + return v.value +} + +func (v *NullableInitializeRequest) Set(val *InitializeRequest) { + v.value = val + v.isSet = true +} + +func (v NullableInitializeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableInitializeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInitializeRequest(val *InitializeRequest) *NullableInitializeRequest { + return &NullableInitializeRequest{value: val, isSet: true} +} + +func (v NullableInitializeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInitializeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go new file mode 100644 index 00000000000..934b9ee31bf --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go @@ -0,0 +1,190 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Response{} + +// InvokeContractV1Response struct for InvokeContractV1Response +type InvokeContractV1Response struct { + TransactionReceipt *Web3TransactionReceipt `json:"transactionReceipt,omitempty"` + CallOutput interface{} `json:"callOutput,omitempty"` + Success bool `json:"success"` +} + +// NewInvokeContractV1Response instantiates a new InvokeContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Response(success bool) *InvokeContractV1Response { + this := InvokeContractV1Response{} + this.Success = success + return &this +} + +// NewInvokeContractV1ResponseWithDefaults instantiates a new InvokeContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1ResponseWithDefaults() *InvokeContractV1Response { + this := InvokeContractV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value if set, zero value otherwise. +func (o *InvokeContractV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil || IsNil(o.TransactionReceipt) { + var ret Web3TransactionReceipt + return ret + } + return *o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil || IsNil(o.TransactionReceipt) { + return nil, false + } + return o.TransactionReceipt, true +} + +// HasTransactionReceipt returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasTransactionReceipt() bool { + if o != nil && !IsNil(o.TransactionReceipt) { + return true + } + + return false +} + +// SetTransactionReceipt gets a reference to the given Web3TransactionReceipt and assigns it to the TransactionReceipt field. +func (o *InvokeContractV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = &v +} + +// GetCallOutput returns the CallOutput field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeContractV1Response) GetCallOutput() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CallOutput +} + +// GetCallOutputOk returns a tuple with the CallOutput field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeContractV1Response) GetCallOutputOk() (*interface{}, bool) { + if o == nil || IsNil(o.CallOutput) { + return nil, false + } + return &o.CallOutput, true +} + +// HasCallOutput returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasCallOutput() bool { + if o != nil && IsNil(o.CallOutput) { + return true + } + + return false +} + +// SetCallOutput gets a reference to the given interface{} and assigns it to the CallOutput field. +func (o *InvokeContractV1Response) SetCallOutput(v interface{}) { + o.CallOutput = v +} + +// GetSuccess returns the Success field value +func (o *InvokeContractV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *InvokeContractV1Response) SetSuccess(v bool) { + o.Success = v +} + +func (o InvokeContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.TransactionReceipt) { + toSerialize["transactionReceipt"] = o.TransactionReceipt + } + if o.CallOutput != nil { + toSerialize["callOutput"] = o.CallOutput + } + toSerialize["success"] = o.Success + return toSerialize, nil +} + +type NullableInvokeContractV1Response struct { + value *InvokeContractV1Response + isSet bool +} + +func (v NullableInvokeContractV1Response) Get() *InvokeContractV1Response { + return v.value +} + +func (v *NullableInvokeContractV1Response) Set(val *InvokeContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Response(val *InvokeContractV1Response) *NullableInvokeContractV1Response { + return &NullableInvokeContractV1Response{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_new_contract_request.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_new_contract_request.go new file mode 100644 index 00000000000..e1b85e5e932 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_new_contract_request.go @@ -0,0 +1,461 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the NewContractRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NewContractRequest{} + +// NewContractRequest struct for NewContractRequest +type NewContractRequest struct { + // Contract address + ContractAddress string `json:"contractAddress"` + // Input amount to lock + InputAmount float32 `json:"inputAmount"` + // Output amount to lock + OutputAmount float32 `json:"outputAmount"` + // Timestamp to expire the contract + Expiration float32 `json:"expiration"` + // Hashlock needed to refund the amount + HashLock string `json:"hashLock"` + // The token address + TokenAddress string `json:"tokenAddress"` + // The receiver address + Receiver string `json:"receiver"` + // The output network id + OutputNetwork string `json:"outputNetwork"` + // The output address to receive the tokens + OutputAddress string `json:"outputAddress"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // connectorId for the connector besu plugin + ConnectorId string `json:"connectorId"` + // keychainId for the keychian plugin + KeychainId string `json:"keychainId"` + Gas *NewContractRequestGas `json:"gas,omitempty"` +} + +// NewNewContractRequest instantiates a new NewContractRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNewContractRequest(contractAddress string, inputAmount float32, outputAmount float32, expiration float32, hashLock string, tokenAddress string, receiver string, outputNetwork string, outputAddress string, web3SigningCredential Web3SigningCredential, connectorId string, keychainId string) *NewContractRequest { + this := NewContractRequest{} + this.ContractAddress = contractAddress + this.InputAmount = inputAmount + this.OutputAmount = outputAmount + this.Expiration = expiration + this.HashLock = hashLock + this.TokenAddress = tokenAddress + this.Receiver = receiver + this.OutputNetwork = outputNetwork + this.OutputAddress = outputAddress + this.Web3SigningCredential = web3SigningCredential + this.ConnectorId = connectorId + this.KeychainId = keychainId + return &this +} + +// NewNewContractRequestWithDefaults instantiates a new NewContractRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNewContractRequestWithDefaults() *NewContractRequest { + this := NewContractRequest{} + return &this +} + +// GetContractAddress returns the ContractAddress field value +func (o *NewContractRequest) GetContractAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractAddress, true +} + +// SetContractAddress sets field value +func (o *NewContractRequest) SetContractAddress(v string) { + o.ContractAddress = v +} + +// GetInputAmount returns the InputAmount field value +func (o *NewContractRequest) GetInputAmount() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.InputAmount +} + +// GetInputAmountOk returns a tuple with the InputAmount field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetInputAmountOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.InputAmount, true +} + +// SetInputAmount sets field value +func (o *NewContractRequest) SetInputAmount(v float32) { + o.InputAmount = v +} + +// GetOutputAmount returns the OutputAmount field value +func (o *NewContractRequest) GetOutputAmount() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.OutputAmount +} + +// GetOutputAmountOk returns a tuple with the OutputAmount field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetOutputAmountOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.OutputAmount, true +} + +// SetOutputAmount sets field value +func (o *NewContractRequest) SetOutputAmount(v float32) { + o.OutputAmount = v +} + +// GetExpiration returns the Expiration field value +func (o *NewContractRequest) GetExpiration() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Expiration +} + +// GetExpirationOk returns a tuple with the Expiration field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetExpirationOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Expiration, true +} + +// SetExpiration sets field value +func (o *NewContractRequest) SetExpiration(v float32) { + o.Expiration = v +} + +// GetHashLock returns the HashLock field value +func (o *NewContractRequest) GetHashLock() string { + if o == nil { + var ret string + return ret + } + + return o.HashLock +} + +// GetHashLockOk returns a tuple with the HashLock field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetHashLockOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashLock, true +} + +// SetHashLock sets field value +func (o *NewContractRequest) SetHashLock(v string) { + o.HashLock = v +} + +// GetTokenAddress returns the TokenAddress field value +func (o *NewContractRequest) GetTokenAddress() string { + if o == nil { + var ret string + return ret + } + + return o.TokenAddress +} + +// GetTokenAddressOk returns a tuple with the TokenAddress field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetTokenAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenAddress, true +} + +// SetTokenAddress sets field value +func (o *NewContractRequest) SetTokenAddress(v string) { + o.TokenAddress = v +} + +// GetReceiver returns the Receiver field value +func (o *NewContractRequest) GetReceiver() string { + if o == nil { + var ret string + return ret + } + + return o.Receiver +} + +// GetReceiverOk returns a tuple with the Receiver field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetReceiverOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Receiver, true +} + +// SetReceiver sets field value +func (o *NewContractRequest) SetReceiver(v string) { + o.Receiver = v +} + +// GetOutputNetwork returns the OutputNetwork field value +func (o *NewContractRequest) GetOutputNetwork() string { + if o == nil { + var ret string + return ret + } + + return o.OutputNetwork +} + +// GetOutputNetworkOk returns a tuple with the OutputNetwork field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetOutputNetworkOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OutputNetwork, true +} + +// SetOutputNetwork sets field value +func (o *NewContractRequest) SetOutputNetwork(v string) { + o.OutputNetwork = v +} + +// GetOutputAddress returns the OutputAddress field value +func (o *NewContractRequest) GetOutputAddress() string { + if o == nil { + var ret string + return ret + } + + return o.OutputAddress +} + +// GetOutputAddressOk returns a tuple with the OutputAddress field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetOutputAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OutputAddress, true +} + +// SetOutputAddress sets field value +func (o *NewContractRequest) SetOutputAddress(v string) { + o.OutputAddress = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *NewContractRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *NewContractRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *NewContractRequest) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *NewContractRequest) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *NewContractRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *NewContractRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *NewContractRequest) GetGas() NewContractRequestGas { + if o == nil || IsNil(o.Gas) { + var ret NewContractRequestGas + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NewContractRequest) GetGasOk() (*NewContractRequestGas, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *NewContractRequest) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given NewContractRequestGas and assigns it to the Gas field. +func (o *NewContractRequest) SetGas(v NewContractRequestGas) { + o.Gas = &v +} + +func (o NewContractRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NewContractRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractAddress"] = o.ContractAddress + toSerialize["inputAmount"] = o.InputAmount + toSerialize["outputAmount"] = o.OutputAmount + toSerialize["expiration"] = o.Expiration + toSerialize["hashLock"] = o.HashLock + toSerialize["tokenAddress"] = o.TokenAddress + toSerialize["receiver"] = o.Receiver + toSerialize["outputNetwork"] = o.OutputNetwork + toSerialize["outputAddress"] = o.OutputAddress + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableNewContractRequest struct { + value *NewContractRequest + isSet bool +} + +func (v NullableNewContractRequest) Get() *NewContractRequest { + return v.value +} + +func (v *NullableNewContractRequest) Set(val *NewContractRequest) { + v.value = val + v.isSet = true +} + +func (v NullableNewContractRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableNewContractRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNewContractRequest(val *NewContractRequest) *NullableNewContractRequest { + return &NullableNewContractRequest{value: val, isSet: true} +} + +func (v NullableNewContractRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNewContractRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_new_contract_request_gas.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_new_contract_request_gas.go new file mode 100644 index 00000000000..27201056271 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_new_contract_request_gas.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" + "fmt" +) + +// NewContractRequestGas - struct for NewContractRequestGas +type NewContractRequestGas struct { + Float32 *float32 + String *string +} + +// float32AsNewContractRequestGas is a convenience function that returns float32 wrapped in NewContractRequestGas +func Float32AsNewContractRequestGas(v *float32) NewContractRequestGas { + return NewContractRequestGas{ + Float32: v, + } +} + +// stringAsNewContractRequestGas is a convenience function that returns string wrapped in NewContractRequestGas +func StringAsNewContractRequestGas(v *string) NewContractRequestGas { + return NewContractRequestGas{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *NewContractRequestGas) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Float32 + err = newStrictDecoder(data).Decode(&dst.Float32) + if err == nil { + jsonFloat32, _ := json.Marshal(dst.Float32) + if string(jsonFloat32) == "{}" { // empty struct + dst.Float32 = nil + } else { + match++ + } + } else { + dst.Float32 = nil + } + + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Float32 = nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(NewContractRequestGas)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(NewContractRequestGas)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src NewContractRequestGas) MarshalJSON() ([]byte, error) { + if src.Float32 != nil { + return json.Marshal(&src.Float32) + } + + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *NewContractRequestGas) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Float32 != nil { + return obj.Float32 + } + + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableNewContractRequestGas struct { + value *NewContractRequestGas + isSet bool +} + +func (v NullableNewContractRequestGas) Get() *NewContractRequestGas { + return v.value +} + +func (v *NullableNewContractRequestGas) Set(val *NewContractRequestGas) { + v.value = val + v.isSet = true +} + +func (v NullableNewContractRequestGas) IsSet() bool { + return v.isSet +} + +func (v *NullableNewContractRequestGas) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNewContractRequestGas(val *NewContractRequestGas) *NullableNewContractRequestGas { + return &NullableNewContractRequestGas{value: val, isSet: true} +} + +func (v NullableNewContractRequestGas) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNewContractRequestGas) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_refund_request.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_refund_request.go new file mode 100644 index 00000000000..73e087e4903 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_refund_request.go @@ -0,0 +1,237 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the RefundRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RefundRequest{} + +// RefundRequest struct for RefundRequest +type RefundRequest struct { + // Contract htlc id for refund + Id string `json:"id"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // connectorId for the connector besu plugin + ConnectorId string `json:"connectorId"` + // keychainId for the keychain plugin + KeychainId string `json:"keychainId"` + Gas *NewContractRequestGas `json:"gas,omitempty"` +} + +// NewRefundRequest instantiates a new RefundRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRefundRequest(id string, web3SigningCredential Web3SigningCredential, connectorId string, keychainId string) *RefundRequest { + this := RefundRequest{} + this.Id = id + this.Web3SigningCredential = web3SigningCredential + this.ConnectorId = connectorId + this.KeychainId = keychainId + return &this +} + +// NewRefundRequestWithDefaults instantiates a new RefundRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRefundRequestWithDefaults() *RefundRequest { + this := RefundRequest{} + return &this +} + +// GetId returns the Id field value +func (o *RefundRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *RefundRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *RefundRequest) SetId(v string) { + o.Id = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *RefundRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *RefundRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *RefundRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *RefundRequest) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *RefundRequest) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *RefundRequest) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *RefundRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *RefundRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *RefundRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *RefundRequest) GetGas() NewContractRequestGas { + if o == nil || IsNil(o.Gas) { + var ret NewContractRequestGas + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RefundRequest) GetGasOk() (*NewContractRequestGas, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *RefundRequest) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given NewContractRequestGas and assigns it to the Gas field. +func (o *RefundRequest) SetGas(v NewContractRequestGas) { + o.Gas = &v +} + +func (o RefundRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RefundRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableRefundRequest struct { + value *RefundRequest + isSet bool +} + +func (v NullableRefundRequest) Get() *RefundRequest { + return v.value +} + +func (v *NullableRefundRequest) Set(val *RefundRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRefundRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRefundRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRefundRequest(val *RefundRequest) *NullableRefundRequest { + return &NullableRefundRequest{value: val, isSet: true} +} + +func (v NullableRefundRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRefundRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_run_transaction_response.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_run_transaction_response.go new file mode 100644 index 00000000000..9fc98f030e1 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_run_transaction_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the RunTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionResponse{} + +// RunTransactionResponse struct for RunTransactionResponse +type RunTransactionResponse struct { + TransactionReceipt Web3TransactionReceipt `json:"transactionReceipt"` +} + +// NewRunTransactionResponse instantiates a new RunTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionResponse(transactionReceipt Web3TransactionReceipt) *RunTransactionResponse { + this := RunTransactionResponse{} + this.TransactionReceipt = transactionReceipt + return &this +} + +// NewRunTransactionResponseWithDefaults instantiates a new RunTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionResponseWithDefaults() *RunTransactionResponse { + this := RunTransactionResponse{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value +func (o *RunTransactionResponse) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil { + var ret Web3TransactionReceipt + return ret + } + + return o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil { + return nil, false + } + return &o.TransactionReceipt, true +} + +// SetTransactionReceipt sets field value +func (o *RunTransactionResponse) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = v +} + +func (o RunTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionReceipt"] = o.TransactionReceipt + return toSerialize, nil +} + +type NullableRunTransactionResponse struct { + value *RunTransactionResponse + isSet bool +} + +func (v NullableRunTransactionResponse) Get() *RunTransactionResponse { + return v.value +} + +func (v *NullableRunTransactionResponse) Set(val *RunTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionResponse(val *RunTransactionResponse) *NullableRunTransactionResponse { + return &NullableRunTransactionResponse{value: val, isSet: true} +} + +func (v NullableRunTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go new file mode 100644 index 00000000000..415867dc9b3 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go @@ -0,0 +1,178 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredential - struct for Web3SigningCredential +type Web3SigningCredential struct { + Web3SigningCredentialCactusKeychainRef *Web3SigningCredentialCactusKeychainRef + Web3SigningCredentialNone *Web3SigningCredentialNone + Web3SigningCredentialPrivateKeyHex *Web3SigningCredentialPrivateKeyHex +} + +// Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialCactusKeychainRef wrapped in Web3SigningCredential +func Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential(v *Web3SigningCredentialCactusKeychainRef) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialCactusKeychainRef: v, + } +} + +// Web3SigningCredentialNoneAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialNone wrapped in Web3SigningCredential +func Web3SigningCredentialNoneAsWeb3SigningCredential(v *Web3SigningCredentialNone) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialNone: v, + } +} + +// Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialPrivateKeyHex wrapped in Web3SigningCredential +func Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential(v *Web3SigningCredentialPrivateKeyHex) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialPrivateKeyHex: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Web3SigningCredential) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Web3SigningCredentialCactusKeychainRef + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialCactusKeychainRef) + if err == nil { + jsonWeb3SigningCredentialCactusKeychainRef, _ := json.Marshal(dst.Web3SigningCredentialCactusKeychainRef) + if string(jsonWeb3SigningCredentialCactusKeychainRef) == "{}" { // empty struct + dst.Web3SigningCredentialCactusKeychainRef = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialCactusKeychainRef = nil + } + + // try to unmarshal data into Web3SigningCredentialNone + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialNone) + if err == nil { + jsonWeb3SigningCredentialNone, _ := json.Marshal(dst.Web3SigningCredentialNone) + if string(jsonWeb3SigningCredentialNone) == "{}" { // empty struct + dst.Web3SigningCredentialNone = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialNone = nil + } + + // try to unmarshal data into Web3SigningCredentialPrivateKeyHex + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialPrivateKeyHex) + if err == nil { + jsonWeb3SigningCredentialPrivateKeyHex, _ := json.Marshal(dst.Web3SigningCredentialPrivateKeyHex) + if string(jsonWeb3SigningCredentialPrivateKeyHex) == "{}" { // empty struct + dst.Web3SigningCredentialPrivateKeyHex = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialPrivateKeyHex = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Web3SigningCredentialCactusKeychainRef = nil + dst.Web3SigningCredentialNone = nil + dst.Web3SigningCredentialPrivateKeyHex = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Web3SigningCredential)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Web3SigningCredential)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Web3SigningCredential) MarshalJSON() ([]byte, error) { + if src.Web3SigningCredentialCactusKeychainRef != nil { + return json.Marshal(&src.Web3SigningCredentialCactusKeychainRef) + } + + if src.Web3SigningCredentialNone != nil { + return json.Marshal(&src.Web3SigningCredentialNone) + } + + if src.Web3SigningCredentialPrivateKeyHex != nil { + return json.Marshal(&src.Web3SigningCredentialPrivateKeyHex) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Web3SigningCredential) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Web3SigningCredentialCactusKeychainRef != nil { + return obj.Web3SigningCredentialCactusKeychainRef + } + + if obj.Web3SigningCredentialNone != nil { + return obj.Web3SigningCredentialNone + } + + if obj.Web3SigningCredentialPrivateKeyHex != nil { + return obj.Web3SigningCredentialPrivateKeyHex + } + + // all schemas are nil + return nil +} + +type NullableWeb3SigningCredential struct { + value *Web3SigningCredential + isSet bool +} + +func (v NullableWeb3SigningCredential) Get() *Web3SigningCredential { + return v.value +} + +func (v *NullableWeb3SigningCredential) Set(val *Web3SigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredential(val *Web3SigningCredential) *NullableWeb3SigningCredential { + return &NullableWeb3SigningCredential{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go new file mode 100644 index 00000000000..ea955ed805a --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go @@ -0,0 +1,201 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialCactusKeychainRef type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialCactusKeychainRef{} + +// Web3SigningCredentialCactusKeychainRef struct for Web3SigningCredentialCactusKeychainRef +type Web3SigningCredentialCactusKeychainRef struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The key to use when looking up the the keychain entry holding the secret pointed to by the keychainEntryKey parameter. + KeychainEntryKey string `json:"keychainEntryKey"` + // The keychain ID to use when looking up the the keychain plugin instance that will be used to retrieve the secret pointed to by the keychainEntryKey parameter. + KeychainId string `json:"keychainId"` +} + +// NewWeb3SigningCredentialCactusKeychainRef instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialCactusKeychainRef(type_ Web3SigningCredentialType, ethAccount string, keychainEntryKey string, keychainId string) *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + this.Type = type_ + this.EthAccount = ethAccount + this.KeychainEntryKey = keychainEntryKey + this.KeychainId = keychainId + return &this +} + +// NewWeb3SigningCredentialCactusKeychainRefWithDefaults instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialCactusKeychainRefWithDefaults() *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialCactusKeychainRef) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetKeychainEntryKey returns the KeychainEntryKey field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKey() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainEntryKey +} + +// GetKeychainEntryKeyOk returns a tuple with the KeychainEntryKey field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainEntryKey, true +} + +// SetKeychainEntryKey sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainEntryKey(v string) { + o.KeychainEntryKey = v +} + +// GetKeychainId returns the KeychainId field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o Web3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialCactusKeychainRef) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["keychainEntryKey"] = o.KeychainEntryKey + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableWeb3SigningCredentialCactusKeychainRef struct { + value *Web3SigningCredentialCactusKeychainRef + isSet bool +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) Get() *Web3SigningCredentialCactusKeychainRef { + return v.value +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Set(val *Web3SigningCredentialCactusKeychainRef) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialCactusKeychainRef(val *Web3SigningCredentialCactusKeychainRef) *NullableWeb3SigningCredentialCactusKeychainRef { + return &NullableWeb3SigningCredentialCactusKeychainRef{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go new file mode 100644 index 00000000000..d424a07d62c --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialNone type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialNone{} + +// Web3SigningCredentialNone Using this denotes that there is no signing required because the transaction is pre-signed. +type Web3SigningCredentialNone struct { + Type Web3SigningCredentialType `json:"type"` +} + +// NewWeb3SigningCredentialNone instantiates a new Web3SigningCredentialNone object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialNone(type_ Web3SigningCredentialType) *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + this.Type = type_ + return &this +} + +// NewWeb3SigningCredentialNoneWithDefaults instantiates a new Web3SigningCredentialNone object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialNoneWithDefaults() *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialNone) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialNone) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialNone) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +func (o Web3SigningCredentialNone) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialNone) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + return toSerialize, nil +} + +type NullableWeb3SigningCredentialNone struct { + value *Web3SigningCredentialNone + isSet bool +} + +func (v NullableWeb3SigningCredentialNone) Get() *Web3SigningCredentialNone { + return v.value +} + +func (v *NullableWeb3SigningCredentialNone) Set(val *Web3SigningCredentialNone) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialNone) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialNone) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialNone(val *Web3SigningCredentialNone) *NullableWeb3SigningCredentialNone { + return &NullableWeb3SigningCredentialNone{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialNone) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialNone) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go new file mode 100644 index 00000000000..298a53bd640 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialPrivateKeyHex type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialPrivateKeyHex{} + +// Web3SigningCredentialPrivateKeyHex struct for Web3SigningCredentialPrivateKeyHex +type Web3SigningCredentialPrivateKeyHex struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The HEX encoded private key of an eth account. + Secret string `json:"secret"` +} + +// NewWeb3SigningCredentialPrivateKeyHex instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialPrivateKeyHex(type_ Web3SigningCredentialType, ethAccount string, secret string) *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + this.Type = type_ + this.EthAccount = ethAccount + this.Secret = secret + return &this +} + +// NewWeb3SigningCredentialPrivateKeyHexWithDefaults instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialPrivateKeyHexWithDefaults() *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialPrivateKeyHex) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetSecret returns the Secret field value +func (o *Web3SigningCredentialPrivateKeyHex) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetSecret(v string) { + o.Secret = v +} + +func (o Web3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialPrivateKeyHex) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["secret"] = o.Secret + return toSerialize, nil +} + +type NullableWeb3SigningCredentialPrivateKeyHex struct { + value *Web3SigningCredentialPrivateKeyHex + isSet bool +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) Get() *Web3SigningCredentialPrivateKeyHex { + return v.value +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Set(val *Web3SigningCredentialPrivateKeyHex) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialPrivateKeyHex(val *Web3SigningCredentialPrivateKeyHex) *NullableWeb3SigningCredentialPrivateKeyHex { + return &NullableWeb3SigningCredentialPrivateKeyHex{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go new file mode 100644 index 00000000000..05d7180035d --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredentialType the model 'Web3SigningCredentialType' +type Web3SigningCredentialType string + +// List of Web3SigningCredentialType +const ( + CACTUS_KEYCHAIN_REF Web3SigningCredentialType = "CACTUS_KEYCHAIN_REF" + GETH_KEYCHAIN_PASSWORD Web3SigningCredentialType = "GETH_KEYCHAIN_PASSWORD" + PRIVATE_KEY_HEX Web3SigningCredentialType = "PRIVATE_KEY_HEX" + NONE Web3SigningCredentialType = "NONE" +) + +// All allowed values of Web3SigningCredentialType enum +var AllowedWeb3SigningCredentialTypeEnumValues = []Web3SigningCredentialType{ + "CACTUS_KEYCHAIN_REF", + "GETH_KEYCHAIN_PASSWORD", + "PRIVATE_KEY_HEX", + "NONE", +} + +func (v *Web3SigningCredentialType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Web3SigningCredentialType(value) + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Web3SigningCredentialType", value) +} + +// NewWeb3SigningCredentialTypeFromValue returns a pointer to a valid Web3SigningCredentialType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWeb3SigningCredentialTypeFromValue(v string) (*Web3SigningCredentialType, error) { + ev := Web3SigningCredentialType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Web3SigningCredentialType: valid values are %v", v, AllowedWeb3SigningCredentialTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Web3SigningCredentialType) IsValid() bool { + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Web3SigningCredentialType value +func (v Web3SigningCredentialType) Ptr() *Web3SigningCredentialType { + return &v +} + +type NullableWeb3SigningCredentialType struct { + value *Web3SigningCredentialType + isSet bool +} + +func (v NullableWeb3SigningCredentialType) Get() *Web3SigningCredentialType { + return v.value +} + +func (v *NullableWeb3SigningCredentialType) Set(val *Web3SigningCredentialType) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialType) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialType(val *Web3SigningCredentialType) *NullableWeb3SigningCredentialType { + return &NullableWeb3SigningCredentialType{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go new file mode 100644 index 00000000000..eea7877e0ea --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go @@ -0,0 +1,385 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the Web3TransactionReceipt type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3TransactionReceipt{} + +// Web3TransactionReceipt struct for Web3TransactionReceipt +type Web3TransactionReceipt struct { + Status bool `json:"status"` + TransactionHash string `json:"transactionHash"` + TransactionIndex float32 `json:"transactionIndex"` + BlockHash string `json:"blockHash"` + BlockNumber float32 `json:"blockNumber"` + GasUsed float32 `json:"gasUsed"` + ContractAddress NullableString `json:"contractAddress,omitempty"` + From string `json:"from"` + To string `json:"to"` + AdditionalProperties map[string]interface{} +} + +type _Web3TransactionReceipt Web3TransactionReceipt + +// NewWeb3TransactionReceipt instantiates a new Web3TransactionReceipt object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3TransactionReceipt(status bool, transactionHash string, transactionIndex float32, blockHash string, blockNumber float32, gasUsed float32, from string, to string) *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + this.Status = status + this.TransactionHash = transactionHash + this.TransactionIndex = transactionIndex + this.BlockHash = blockHash + this.BlockNumber = blockNumber + this.GasUsed = gasUsed + this.From = from + this.To = to + return &this +} + +// NewWeb3TransactionReceiptWithDefaults instantiates a new Web3TransactionReceipt object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3TransactionReceiptWithDefaults() *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + return &this +} + +// GetStatus returns the Status field value +func (o *Web3TransactionReceipt) GetStatus() bool { + if o == nil { + var ret bool + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetStatusOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *Web3TransactionReceipt) SetStatus(v bool) { + o.Status = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *Web3TransactionReceipt) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *Web3TransactionReceipt) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTransactionIndex returns the TransactionIndex field value +func (o *Web3TransactionReceipt) GetTransactionIndex() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.TransactionIndex +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionIndexOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.TransactionIndex, true +} + +// SetTransactionIndex sets field value +func (o *Web3TransactionReceipt) SetTransactionIndex(v float32) { + o.TransactionIndex = v +} + +// GetBlockHash returns the BlockHash field value +func (o *Web3TransactionReceipt) GetBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockHash, true +} + +// SetBlockHash sets field value +func (o *Web3TransactionReceipt) SetBlockHash(v string) { + o.BlockHash = v +} + +// GetBlockNumber returns the BlockNumber field value +func (o *Web3TransactionReceipt) GetBlockNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.BlockNumber, true +} + +// SetBlockNumber sets field value +func (o *Web3TransactionReceipt) SetBlockNumber(v float32) { + o.BlockNumber = v +} + +// GetGasUsed returns the GasUsed field value +func (o *Web3TransactionReceipt) GetGasUsed() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetGasUsedOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *Web3TransactionReceipt) SetGasUsed(v float32) { + o.GasUsed = v +} + +// GetContractAddress returns the ContractAddress field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Web3TransactionReceipt) GetContractAddress() string { + if o == nil || IsNil(o.ContractAddress.Get()) { + var ret string + return ret + } + return *o.ContractAddress.Get() +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3TransactionReceipt) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ContractAddress.Get(), o.ContractAddress.IsSet() +} + +// HasContractAddress returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasContractAddress() bool { + if o != nil && o.ContractAddress.IsSet() { + return true + } + + return false +} + +// SetContractAddress gets a reference to the given NullableString and assigns it to the ContractAddress field. +func (o *Web3TransactionReceipt) SetContractAddress(v string) { + o.ContractAddress.Set(&v) +} +// SetContractAddressNil sets the value for ContractAddress to be an explicit nil +func (o *Web3TransactionReceipt) SetContractAddressNil() { + o.ContractAddress.Set(nil) +} + +// UnsetContractAddress ensures that no value is present for ContractAddress, not even an explicit nil +func (o *Web3TransactionReceipt) UnsetContractAddress() { + o.ContractAddress.Unset() +} + +// GetFrom returns the From field value +func (o *Web3TransactionReceipt) GetFrom() string { + if o == nil { + var ret string + return ret + } + + return o.From +} + +// GetFromOk returns a tuple with the From field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.From, true +} + +// SetFrom sets field value +func (o *Web3TransactionReceipt) SetFrom(v string) { + o.From = v +} + +// GetTo returns the To field value +func (o *Web3TransactionReceipt) GetTo() string { + if o == nil { + var ret string + return ret + } + + return o.To +} + +// GetToOk returns a tuple with the To field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetToOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.To, true +} + +// SetTo sets field value +func (o *Web3TransactionReceipt) SetTo(v string) { + o.To = v +} + +func (o Web3TransactionReceipt) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3TransactionReceipt) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + toSerialize["transactionHash"] = o.TransactionHash + toSerialize["transactionIndex"] = o.TransactionIndex + toSerialize["blockHash"] = o.BlockHash + toSerialize["blockNumber"] = o.BlockNumber + toSerialize["gasUsed"] = o.GasUsed + if o.ContractAddress.IsSet() { + toSerialize["contractAddress"] = o.ContractAddress.Get() + } + toSerialize["from"] = o.From + toSerialize["to"] = o.To + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Web3TransactionReceipt) UnmarshalJSON(bytes []byte) (err error) { + varWeb3TransactionReceipt := _Web3TransactionReceipt{} + + if err = json.Unmarshal(bytes, &varWeb3TransactionReceipt); err == nil { + *o = Web3TransactionReceipt(varWeb3TransactionReceipt) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "status") + delete(additionalProperties, "transactionHash") + delete(additionalProperties, "transactionIndex") + delete(additionalProperties, "blockHash") + delete(additionalProperties, "blockNumber") + delete(additionalProperties, "gasUsed") + delete(additionalProperties, "contractAddress") + delete(additionalProperties, "from") + delete(additionalProperties, "to") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWeb3TransactionReceipt struct { + value *Web3TransactionReceipt + isSet bool +} + +func (v NullableWeb3TransactionReceipt) Get() *Web3TransactionReceipt { + return v.value +} + +func (v *NullableWeb3TransactionReceipt) Set(val *Web3TransactionReceipt) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3TransactionReceipt) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3TransactionReceipt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3TransactionReceipt(val *Web3TransactionReceipt) *NullableWeb3TransactionReceipt { + return &NullableWeb3TransactionReceipt{value: val, isSet: true} +} + +func (v NullableWeb3TransactionReceipt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3TransactionReceipt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_withdraw_request.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_withdraw_request.go new file mode 100644 index 00000000000..30164b46886 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/model_withdraw_request.go @@ -0,0 +1,265 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" +) + +// checks if the WithdrawRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WithdrawRequest{} + +// WithdrawRequest struct for WithdrawRequest +type WithdrawRequest struct { + // Contract locked id + Id string `json:"id"` + // Secret need to unlock the contract + Secret string `json:"secret"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // connectorId for the connector besu plugin + ConnectorId string `json:"connectorId"` + // keychainId for the keychain plugin + KeychainId string `json:"keychainId"` + Gas *NewContractRequestGas `json:"gas,omitempty"` +} + +// NewWithdrawRequest instantiates a new WithdrawRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWithdrawRequest(id string, secret string, web3SigningCredential Web3SigningCredential, connectorId string, keychainId string) *WithdrawRequest { + this := WithdrawRequest{} + this.Id = id + this.Secret = secret + this.Web3SigningCredential = web3SigningCredential + this.ConnectorId = connectorId + this.KeychainId = keychainId + return &this +} + +// NewWithdrawRequestWithDefaults instantiates a new WithdrawRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWithdrawRequestWithDefaults() *WithdrawRequest { + this := WithdrawRequest{} + return &this +} + +// GetId returns the Id field value +func (o *WithdrawRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *WithdrawRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *WithdrawRequest) SetId(v string) { + o.Id = v +} + +// GetSecret returns the Secret field value +func (o *WithdrawRequest) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *WithdrawRequest) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *WithdrawRequest) SetSecret(v string) { + o.Secret = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *WithdrawRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *WithdrawRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *WithdrawRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *WithdrawRequest) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *WithdrawRequest) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *WithdrawRequest) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *WithdrawRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *WithdrawRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *WithdrawRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *WithdrawRequest) GetGas() NewContractRequestGas { + if o == nil || IsNil(o.Gas) { + var ret NewContractRequestGas + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WithdrawRequest) GetGasOk() (*NewContractRequestGas, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *WithdrawRequest) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given NewContractRequestGas and assigns it to the Gas field. +func (o *WithdrawRequest) SetGas(v NewContractRequestGas) { + o.Gas = &v +} + +func (o WithdrawRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WithdrawRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["secret"] = o.Secret + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableWithdrawRequest struct { + value *WithdrawRequest + isSet bool +} + +func (v NullableWithdrawRequest) Get() *WithdrawRequest { + return v.value +} + +func (v *NullableWithdrawRequest) Set(val *WithdrawRequest) { + v.value = val + v.isSet = true +} + +func (v NullableWithdrawRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableWithdrawRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWithdrawRequest(val *WithdrawRequest) *NullableWithdrawRequest { + return &NullableWithdrawRequest{value: val, isSet: true} +} + +func (v NullableWithdrawRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWithdrawRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..86fc5c2e153 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..917ea3ad32f --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,97 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-htlc-eth-besu-erc20_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService GetSingleStatusV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetSingleStatusV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetStatusV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetStatusV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InitializeV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InitializeV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService NewContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.NewContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RefundV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RefundV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService WithdrawV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.WithdrawV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..06580af40d0 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - HTLC ETH BESU ERC20 + +Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu-erc20 + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-htlc-eth-besu/package.json b/packages/cactus-plugin-htlc-eth-besu/package.json index 38aeb9f3d7b..731e40336ae 100644 --- a/packages/cactus-plugin-htlc-eth-besu/package.json +++ b/packages/cactus-plugin-htlc-eth-besu/package.json @@ -58,6 +58,7 @@ "compile-contracts": "forge build", "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "lint": "solhint --fix", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..e7b4b9e4b40 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,26 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_get_single_status_request.go +model_get_status_request.go +model_initialize_request.go +model_invoke_contract_v1_response.go +model_new_contract_obj.go +model_new_contract_obj_gas.go +model_refund_req.go +model_run_transaction_response.go +model_web3_signing_credential.go +model_web3_signing_credential_cactus_keychain_ref.go +model_web3_signing_credential_none.go +model_web3_signing_credential_private_key_hex.go +model_web3_signing_credential_type.go +model_web3_transaction_receipt.go +model_withdraw_req.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..51a4694ddf4 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,131 @@ +# Go API client for cactus-plugin-htlc-eth-besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-htlc-eth-besu "github.com/hyperledger/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-htlc-eth-besu.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-htlc-eth-besu.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-htlc-eth-besu.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-htlc-eth-besu.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**GetSingleStatusV1**](docs/DefaultApi.md#getsinglestatusv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-single-status | +*DefaultApi* | [**GetStatusV1**](docs/DefaultApi.md#getstatusv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-status | +*DefaultApi* | [**InitializeV1**](docs/DefaultApi.md#initializev1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/initialize | +*DefaultApi* | [**NewContractV1**](docs/DefaultApi.md#newcontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/new-contract | +*DefaultApi* | [**RefundV1**](docs/DefaultApi.md#refundv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/refund | +*DefaultApi* | [**WithdrawV1**](docs/DefaultApi.md#withdrawv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/withdraw | + + +## Documentation For Models + + - [GetSingleStatusRequest](docs/GetSingleStatusRequest.md) + - [GetStatusRequest](docs/GetStatusRequest.md) + - [InitializeRequest](docs/InitializeRequest.md) + - [InvokeContractV1Response](docs/InvokeContractV1Response.md) + - [NewContractObj](docs/NewContractObj.md) + - [NewContractObjGas](docs/NewContractObjGas.md) + - [RefundReq](docs/RefundReq.md) + - [RunTransactionResponse](docs/RunTransactionResponse.md) + - [Web3SigningCredential](docs/Web3SigningCredential.md) + - [Web3SigningCredentialCactusKeychainRef](docs/Web3SigningCredentialCactusKeychainRef.md) + - [Web3SigningCredentialNone](docs/Web3SigningCredentialNone.md) + - [Web3SigningCredentialPrivateKeyHex](docs/Web3SigningCredentialPrivateKeyHex.md) + - [Web3SigningCredentialType](docs/Web3SigningCredentialType.md) + - [Web3TransactionReceipt](docs/Web3TransactionReceipt.md) + - [WithdrawReq](docs/WithdrawReq.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..53aaeb51efe --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,547 @@ +openapi: 3.0.3 +info: + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - HTLC-ETH Besu + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/new-contract: + post: + operationId: newContractV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NewContractObj' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/new-contract + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/withdraw: + post: + operationId: withdrawV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WithdrawReq' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/withdraw + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/refund: + post: + operationId: refundV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RefundReq' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/refund + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-status: + post: + operationId: getStatusV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetStatusRequest' + responses: + "200": + content: + application/json: + schema: + items: + format: uint256 + type: integer + type: array + description: Array of status + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-status + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-single-status: + post: + operationId: getSingleStatusV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetSingleStatusRequest' + responses: + "200": + content: + application/json: + schema: + format: uint256 + type: integer + description: Status + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-single-status + /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/initialize: + post: + operationId: initializeV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InitializeRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionResponse' + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/initialize +components: + responses: + GetStatusResponse: + content: + application/json: + schema: + items: + format: uint256 + type: integer + type: array + description: Array of status + GetSingleStatusResponse: + content: + application/json: + schema: + format: uint256 + type: integer + description: Status + schemas: + NewContractObj: + additionalProperties: false + example: + outputAddress: outputAddress + receiver: receiver + keychainId: keychainId + outputAmount: 6.027456183070403 + outputNetwork: outputNetwork + connectorId: connectorId + hashLock: hashLock + gas: null + contractAddress: contractAddress + web3SigningCredential: + type: null + inputAmount: 0.8008281904610115 + expiration: 1.4658129805029452 + properties: + contractAddress: + description: Contract address + nullable: false + type: string + inputAmount: + type: number + outputAmount: + type: number + expiration: + type: number + hashLock: + type: string + receiver: + type: string + outputNetwork: + nullable: false + type: string + outputAddress: + nullable: false + type: string + connectorId: + description: connectorId for the connector besu plugin + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + keychainId: + description: keychainId for the keychian plugin + nullable: false + type: string + gas: + $ref: '#/components/schemas/NewContractObj_gas' + required: + - connectorId + - contractAddress + - expiration + - hashLock + - keychainId + - outputAddress + - outputAmount + - outputNetwork + - web3SigningCredential + type: object + RefundReq: + additionalProperties: false + example: + keychainId: keychainId + connectorId: connectorId + gas: null + web3SigningCredential: + type: null + id: id + properties: + id: + description: Contract htlc id for refund + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + connectorId: + description: connectorId for the connector besu plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychain plugin + nullable: false + type: string + gas: + $ref: '#/components/schemas/NewContractObj_gas' + required: + - connectorId + - id + - keychainId + - web3SigningCredential + type: object + WithdrawReq: + additionalProperties: false + example: + keychainId: keychainId + connectorId: connectorId + gas: null + web3SigningCredential: + type: null + id: id + secret: secret + properties: + id: + description: Contract locked id + nullable: false + type: string + secret: + description: Secret need to unlock the contract + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + connectorId: + description: connectorId for the connector besu plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychain plugin + nullable: false + type: string + gas: + $ref: '#/components/schemas/NewContractObj_gas' + required: + - connectorId + - id + - keychainId + - secret + - web3SigningCredential + type: object + InitializeRequest: + additionalProperties: false + example: + keychainId: keychainId + connectorId: connectorId + constructorArgs: + - "" + - "" + gas: 0.8008281904610115 + web3SigningCredential: + type: null + properties: + connectorId: + description: connectorId for the connector besu plugin + nullable: false + type: string + keychainId: + description: keychainId for the keychain plugin + nullable: false + type: string + constructorArgs: + default: [] + items: {} + type: array + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + gas: + type: number + required: + - connectorId + - constructorArgs + - keychainId + - web3SigningCredential + type: object + GetStatusRequest: + additionalProperties: false + description: Defines the parameters for retrieving the status of the HTLC swap. + example: + keychainId: keychainId + connectorId: connectorId + ids: + - ids + - ids + web3SigningCredential: + type: null + properties: + ids: + items: + type: string + type: array + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + connectorId: + type: string + keychainId: + type: string + required: + - connectorId + - ids + - keychainId + - web3SigningCredential + type: object + GetSingleStatusRequest: + additionalProperties: false + description: Defines the parameters for retrieving the single status of the + HTLC swap. + example: + keychainId: keychainId + connectorId: connectorId + web3SigningCredential: + type: null + id: id + properties: + id: + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + connectorId: + type: string + keychainId: + type: string + required: + - connectorId + - id + - keychainId + - web3SigningCredential + type: object + InvokeContractV1Response: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + callOutput: "" + success: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + callOutput: {} + success: + nullable: false + type: boolean + required: + - success + type: object + Web3TransactionReceipt: + additionalProperties: true + example: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + status: + nullable: false + type: boolean + transactionHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + transactionIndex: + nullable: false + type: number + blockHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + blockNumber: + nullable: false + type: number + gasUsed: + nullable: false + type: number + contractAddress: + nullable: true + type: string + from: + nullable: false + type: string + to: + nullable: false + type: string + required: + - blockHash + - blockNumber + - from + - gasUsed + - status + - to + - transactionHash + - transactionIndex + type: object + RunTransactionResponse: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + required: + - transactionReceipt + type: object + Web3SigningCredential: + discriminator: + propertyName: type + example: + type: null + oneOf: + - $ref: '#/components/schemas/Web3SigningCredentialCactusKeychainRef' + - $ref: '#/components/schemas/Web3SigningCredentialPrivateKeyHex' + - $ref: '#/components/schemas/Web3SigningCredentialNone' + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialCactusKeychainRef: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + keychainEntryKey: + description: The key to use when looking up the the keychain entry holding + the secret pointed to by the keychainEntryKey parameter. + maxLength: 1024 + minLength: 0 + type: string + keychainId: + description: The keychain ID to use when looking up the the keychain plugin + instance that will be used to retrieve the secret pointed to by the keychainEntryKey + parameter. + maxLength: 1024 + minLength: 0 + type: string + required: + - ethAccount + - keychainEntryKey + - keychainId + - type + type: object + Web3SigningCredentialType: + enum: + - CACTUS_KEYCHAIN_REF + - GETH_KEYCHAIN_PASSWORD + - PRIVATE_KEY_HEX + - NONE + type: string + Web3SigningCredentialPrivateKeyHex: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + secret: + description: The HEX encoded private key of an eth account. + maxLength: 65535 + minLength: 0 + type: string + required: + - ethAccount + - secret + - type + type: object + Web3SigningCredentialNone: + description: Using this denotes that there is no signing required because the + transaction is pre-signed. + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + NewContractObj_gas: + oneOf: + - type: string + - type: number diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..faee24d23e4 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,653 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiGetSingleStatusV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getSingleStatusRequest *GetSingleStatusRequest +} + +func (r ApiGetSingleStatusV1Request) GetSingleStatusRequest(getSingleStatusRequest GetSingleStatusRequest) ApiGetSingleStatusV1Request { + r.getSingleStatusRequest = &getSingleStatusRequest + return r +} + +func (r ApiGetSingleStatusV1Request) Execute() (int32, *http.Response, error) { + return r.ApiService.GetSingleStatusV1Execute(r) +} + +/* +GetSingleStatusV1 Method for GetSingleStatusV1 + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetSingleStatusV1Request +*/ +func (a *DefaultApiService) GetSingleStatusV1(ctx context.Context) ApiGetSingleStatusV1Request { + return ApiGetSingleStatusV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return int32 +func (a *DefaultApiService) GetSingleStatusV1Execute(r ApiGetSingleStatusV1Request) (int32, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue int32 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetSingleStatusV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-single-status" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getSingleStatusRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetStatusV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getStatusRequest *GetStatusRequest +} + +func (r ApiGetStatusV1Request) GetStatusRequest(getStatusRequest GetStatusRequest) ApiGetStatusV1Request { + r.getStatusRequest = &getStatusRequest + return r +} + +func (r ApiGetStatusV1Request) Execute() ([]int32, *http.Response, error) { + return r.ApiService.GetStatusV1Execute(r) +} + +/* +GetStatusV1 Method for GetStatusV1 + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetStatusV1Request +*/ +func (a *DefaultApiService) GetStatusV1(ctx context.Context) ApiGetStatusV1Request { + return ApiGetStatusV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []int32 +func (a *DefaultApiService) GetStatusV1Execute(r ApiGetStatusV1Request) ([]int32, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []int32 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetStatusV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/get-status" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getStatusRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInitializeV1Request struct { + ctx context.Context + ApiService *DefaultApiService + initializeRequest *InitializeRequest +} + +func (r ApiInitializeV1Request) InitializeRequest(initializeRequest InitializeRequest) ApiInitializeV1Request { + r.initializeRequest = &initializeRequest + return r +} + +func (r ApiInitializeV1Request) Execute() (*RunTransactionResponse, *http.Response, error) { + return r.ApiService.InitializeV1Execute(r) +} + +/* +InitializeV1 Method for InitializeV1 + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInitializeV1Request +*/ +func (a *DefaultApiService) InitializeV1(ctx context.Context) ApiInitializeV1Request { + return ApiInitializeV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionResponse +func (a *DefaultApiService) InitializeV1Execute(r ApiInitializeV1Request) (*RunTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InitializeV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/initialize" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.initializeRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiNewContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + newContractObj *NewContractObj +} + +func (r ApiNewContractV1Request) NewContractObj(newContractObj NewContractObj) ApiNewContractV1Request { + r.newContractObj = &newContractObj + return r +} + +func (r ApiNewContractV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.NewContractV1Execute(r) +} + +/* +NewContractV1 Method for NewContractV1 + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiNewContractV1Request +*/ +func (a *DefaultApiService) NewContractV1(ctx context.Context) ApiNewContractV1Request { + return ApiNewContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) NewContractV1Execute(r ApiNewContractV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.NewContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/new-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.newContractObj + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRefundV1Request struct { + ctx context.Context + ApiService *DefaultApiService + refundReq *RefundReq +} + +func (r ApiRefundV1Request) RefundReq(refundReq RefundReq) ApiRefundV1Request { + r.refundReq = &refundReq + return r +} + +func (r ApiRefundV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.RefundV1Execute(r) +} + +/* +RefundV1 Method for RefundV1 + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRefundV1Request +*/ +func (a *DefaultApiService) RefundV1(ctx context.Context) ApiRefundV1Request { + return ApiRefundV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) RefundV1Execute(r ApiRefundV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RefundV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/refund" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.refundReq + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiWithdrawV1Request struct { + ctx context.Context + ApiService *DefaultApiService + withdrawReq *WithdrawReq +} + +func (r ApiWithdrawV1Request) WithdrawReq(withdrawReq WithdrawReq) ApiWithdrawV1Request { + r.withdrawReq = &withdrawReq + return r +} + +func (r ApiWithdrawV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.WithdrawV1Execute(r) +} + +/* +WithdrawV1 Method for WithdrawV1 + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiWithdrawV1Request +*/ +func (a *DefaultApiService) WithdrawV1(ctx context.Context) ApiWithdrawV1Request { + return ApiWithdrawV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) WithdrawV1Execute(r ApiWithdrawV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.WithdrawV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-htlc-eth-besu/withdraw" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.withdrawReq + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..31b70bf1949 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - HTLC-ETH Besu API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..8b7461c906d --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..cb2f3464ec8 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_get_single_status_request.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_get_single_status_request.go new file mode 100644 index 00000000000..f0129c8c443 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_get_single_status_request.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the GetSingleStatusRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetSingleStatusRequest{} + +// GetSingleStatusRequest Defines the parameters for retrieving the single status of the HTLC swap. +type GetSingleStatusRequest struct { + Id string `json:"id"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + ConnectorId string `json:"connectorId"` + KeychainId string `json:"keychainId"` +} + +// NewGetSingleStatusRequest instantiates a new GetSingleStatusRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetSingleStatusRequest(id string, web3SigningCredential Web3SigningCredential, connectorId string, keychainId string) *GetSingleStatusRequest { + this := GetSingleStatusRequest{} + this.Id = id + this.Web3SigningCredential = web3SigningCredential + this.ConnectorId = connectorId + this.KeychainId = keychainId + return &this +} + +// NewGetSingleStatusRequestWithDefaults instantiates a new GetSingleStatusRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetSingleStatusRequestWithDefaults() *GetSingleStatusRequest { + this := GetSingleStatusRequest{} + return &this +} + +// GetId returns the Id field value +func (o *GetSingleStatusRequest) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *GetSingleStatusRequest) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *GetSingleStatusRequest) SetId(v string) { + o.Id = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *GetSingleStatusRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *GetSingleStatusRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *GetSingleStatusRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *GetSingleStatusRequest) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *GetSingleStatusRequest) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *GetSingleStatusRequest) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *GetSingleStatusRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *GetSingleStatusRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *GetSingleStatusRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o GetSingleStatusRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetSingleStatusRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableGetSingleStatusRequest struct { + value *GetSingleStatusRequest + isSet bool +} + +func (v NullableGetSingleStatusRequest) Get() *GetSingleStatusRequest { + return v.value +} + +func (v *NullableGetSingleStatusRequest) Set(val *GetSingleStatusRequest) { + v.value = val + v.isSet = true +} + +func (v NullableGetSingleStatusRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableGetSingleStatusRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetSingleStatusRequest(val *GetSingleStatusRequest) *NullableGetSingleStatusRequest { + return &NullableGetSingleStatusRequest{value: val, isSet: true} +} + +func (v NullableGetSingleStatusRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetSingleStatusRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_get_status_request.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_get_status_request.go new file mode 100644 index 00000000000..1f070d100b6 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_get_status_request.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the GetStatusRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetStatusRequest{} + +// GetStatusRequest Defines the parameters for retrieving the status of the HTLC swap. +type GetStatusRequest struct { + Ids []string `json:"ids"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + ConnectorId string `json:"connectorId"` + KeychainId string `json:"keychainId"` +} + +// NewGetStatusRequest instantiates a new GetStatusRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetStatusRequest(ids []string, web3SigningCredential Web3SigningCredential, connectorId string, keychainId string) *GetStatusRequest { + this := GetStatusRequest{} + this.Ids = ids + this.Web3SigningCredential = web3SigningCredential + this.ConnectorId = connectorId + this.KeychainId = keychainId + return &this +} + +// NewGetStatusRequestWithDefaults instantiates a new GetStatusRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetStatusRequestWithDefaults() *GetStatusRequest { + this := GetStatusRequest{} + return &this +} + +// GetIds returns the Ids field value +func (o *GetStatusRequest) GetIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.Ids +} + +// GetIdsOk returns a tuple with the Ids field value +// and a boolean to check if the value has been set. +func (o *GetStatusRequest) GetIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Ids, true +} + +// SetIds sets field value +func (o *GetStatusRequest) SetIds(v []string) { + o.Ids = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *GetStatusRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *GetStatusRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *GetStatusRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *GetStatusRequest) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *GetStatusRequest) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *GetStatusRequest) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *GetStatusRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *GetStatusRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *GetStatusRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o GetStatusRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetStatusRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["ids"] = o.Ids + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableGetStatusRequest struct { + value *GetStatusRequest + isSet bool +} + +func (v NullableGetStatusRequest) Get() *GetStatusRequest { + return v.value +} + +func (v *NullableGetStatusRequest) Set(val *GetStatusRequest) { + v.value = val + v.isSet = true +} + +func (v NullableGetStatusRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableGetStatusRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetStatusRequest(val *GetStatusRequest) *NullableGetStatusRequest { + return &NullableGetStatusRequest{value: val, isSet: true} +} + +func (v NullableGetStatusRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetStatusRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_initialize_request.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_initialize_request.go new file mode 100644 index 00000000000..40144a6e67d --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_initialize_request.go @@ -0,0 +1,236 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the InitializeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InitializeRequest{} + +// InitializeRequest struct for InitializeRequest +type InitializeRequest struct { + // connectorId for the connector besu plugin + ConnectorId string `json:"connectorId"` + // keychainId for the keychain plugin + KeychainId string `json:"keychainId"` + ConstructorArgs []interface{} `json:"constructorArgs"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + Gas *float32 `json:"gas,omitempty"` +} + +// NewInitializeRequest instantiates a new InitializeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInitializeRequest(connectorId string, keychainId string, constructorArgs []interface{}, web3SigningCredential Web3SigningCredential) *InitializeRequest { + this := InitializeRequest{} + this.ConnectorId = connectorId + this.KeychainId = keychainId + this.ConstructorArgs = constructorArgs + this.Web3SigningCredential = web3SigningCredential + return &this +} + +// NewInitializeRequestWithDefaults instantiates a new InitializeRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInitializeRequestWithDefaults() *InitializeRequest { + this := InitializeRequest{} + return &this +} + +// GetConnectorId returns the ConnectorId field value +func (o *InitializeRequest) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *InitializeRequest) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *InitializeRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *InitializeRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetConstructorArgs returns the ConstructorArgs field value +func (o *InitializeRequest) GetConstructorArgs() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.ConstructorArgs, true +} + +// SetConstructorArgs sets field value +func (o *InitializeRequest) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *InitializeRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *InitializeRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *InitializeRequest) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InitializeRequest) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *InitializeRequest) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *InitializeRequest) SetGas(v float32) { + o.Gas = &v +} + +func (o InitializeRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InitializeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + toSerialize["constructorArgs"] = o.ConstructorArgs + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableInitializeRequest struct { + value *InitializeRequest + isSet bool +} + +func (v NullableInitializeRequest) Get() *InitializeRequest { + return v.value +} + +func (v *NullableInitializeRequest) Set(val *InitializeRequest) { + v.value = val + v.isSet = true +} + +func (v NullableInitializeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableInitializeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInitializeRequest(val *InitializeRequest) *NullableInitializeRequest { + return &NullableInitializeRequest{value: val, isSet: true} +} + +func (v NullableInitializeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInitializeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go new file mode 100644 index 00000000000..1331aa5753a --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go @@ -0,0 +1,190 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Response{} + +// InvokeContractV1Response struct for InvokeContractV1Response +type InvokeContractV1Response struct { + TransactionReceipt *Web3TransactionReceipt `json:"transactionReceipt,omitempty"` + CallOutput interface{} `json:"callOutput,omitempty"` + Success bool `json:"success"` +} + +// NewInvokeContractV1Response instantiates a new InvokeContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Response(success bool) *InvokeContractV1Response { + this := InvokeContractV1Response{} + this.Success = success + return &this +} + +// NewInvokeContractV1ResponseWithDefaults instantiates a new InvokeContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1ResponseWithDefaults() *InvokeContractV1Response { + this := InvokeContractV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value if set, zero value otherwise. +func (o *InvokeContractV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil || IsNil(o.TransactionReceipt) { + var ret Web3TransactionReceipt + return ret + } + return *o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil || IsNil(o.TransactionReceipt) { + return nil, false + } + return o.TransactionReceipt, true +} + +// HasTransactionReceipt returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasTransactionReceipt() bool { + if o != nil && !IsNil(o.TransactionReceipt) { + return true + } + + return false +} + +// SetTransactionReceipt gets a reference to the given Web3TransactionReceipt and assigns it to the TransactionReceipt field. +func (o *InvokeContractV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = &v +} + +// GetCallOutput returns the CallOutput field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeContractV1Response) GetCallOutput() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CallOutput +} + +// GetCallOutputOk returns a tuple with the CallOutput field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeContractV1Response) GetCallOutputOk() (*interface{}, bool) { + if o == nil || IsNil(o.CallOutput) { + return nil, false + } + return &o.CallOutput, true +} + +// HasCallOutput returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasCallOutput() bool { + if o != nil && IsNil(o.CallOutput) { + return true + } + + return false +} + +// SetCallOutput gets a reference to the given interface{} and assigns it to the CallOutput field. +func (o *InvokeContractV1Response) SetCallOutput(v interface{}) { + o.CallOutput = v +} + +// GetSuccess returns the Success field value +func (o *InvokeContractV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *InvokeContractV1Response) SetSuccess(v bool) { + o.Success = v +} + +func (o InvokeContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.TransactionReceipt) { + toSerialize["transactionReceipt"] = o.TransactionReceipt + } + if o.CallOutput != nil { + toSerialize["callOutput"] = o.CallOutput + } + toSerialize["success"] = o.Success + return toSerialize, nil +} + +type NullableInvokeContractV1Response struct { + value *InvokeContractV1Response + isSet bool +} + +func (v NullableInvokeContractV1Response) Get() *InvokeContractV1Response { + return v.value +} + +func (v *NullableInvokeContractV1Response) Set(val *InvokeContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Response(val *InvokeContractV1Response) *NullableInvokeContractV1Response { + return &NullableInvokeContractV1Response{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_new_contract_obj.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_new_contract_obj.go new file mode 100644 index 00000000000..3314eb61551 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_new_contract_obj.go @@ -0,0 +1,444 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the NewContractObj type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NewContractObj{} + +// NewContractObj struct for NewContractObj +type NewContractObj struct { + // Contract address + ContractAddress string `json:"contractAddress"` + InputAmount *float32 `json:"inputAmount,omitempty"` + OutputAmount float32 `json:"outputAmount"` + Expiration float32 `json:"expiration"` + HashLock string `json:"hashLock"` + Receiver *string `json:"receiver,omitempty"` + OutputNetwork string `json:"outputNetwork"` + OutputAddress string `json:"outputAddress"` + // connectorId for the connector besu plugin + ConnectorId string `json:"connectorId"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // keychainId for the keychian plugin + KeychainId string `json:"keychainId"` + Gas *NewContractObjGas `json:"gas,omitempty"` +} + +// NewNewContractObj instantiates a new NewContractObj object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNewContractObj(contractAddress string, outputAmount float32, expiration float32, hashLock string, outputNetwork string, outputAddress string, connectorId string, web3SigningCredential Web3SigningCredential, keychainId string) *NewContractObj { + this := NewContractObj{} + this.ContractAddress = contractAddress + this.OutputAmount = outputAmount + this.Expiration = expiration + this.HashLock = hashLock + this.OutputNetwork = outputNetwork + this.OutputAddress = outputAddress + this.ConnectorId = connectorId + this.Web3SigningCredential = web3SigningCredential + this.KeychainId = keychainId + return &this +} + +// NewNewContractObjWithDefaults instantiates a new NewContractObj object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNewContractObjWithDefaults() *NewContractObj { + this := NewContractObj{} + return &this +} + +// GetContractAddress returns the ContractAddress field value +func (o *NewContractObj) GetContractAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractAddress, true +} + +// SetContractAddress sets field value +func (o *NewContractObj) SetContractAddress(v string) { + o.ContractAddress = v +} + +// GetInputAmount returns the InputAmount field value if set, zero value otherwise. +func (o *NewContractObj) GetInputAmount() float32 { + if o == nil || IsNil(o.InputAmount) { + var ret float32 + return ret + } + return *o.InputAmount +} + +// GetInputAmountOk returns a tuple with the InputAmount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetInputAmountOk() (*float32, bool) { + if o == nil || IsNil(o.InputAmount) { + return nil, false + } + return o.InputAmount, true +} + +// HasInputAmount returns a boolean if a field has been set. +func (o *NewContractObj) HasInputAmount() bool { + if o != nil && !IsNil(o.InputAmount) { + return true + } + + return false +} + +// SetInputAmount gets a reference to the given float32 and assigns it to the InputAmount field. +func (o *NewContractObj) SetInputAmount(v float32) { + o.InputAmount = &v +} + +// GetOutputAmount returns the OutputAmount field value +func (o *NewContractObj) GetOutputAmount() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.OutputAmount +} + +// GetOutputAmountOk returns a tuple with the OutputAmount field value +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetOutputAmountOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.OutputAmount, true +} + +// SetOutputAmount sets field value +func (o *NewContractObj) SetOutputAmount(v float32) { + o.OutputAmount = v +} + +// GetExpiration returns the Expiration field value +func (o *NewContractObj) GetExpiration() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Expiration +} + +// GetExpirationOk returns a tuple with the Expiration field value +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetExpirationOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Expiration, true +} + +// SetExpiration sets field value +func (o *NewContractObj) SetExpiration(v float32) { + o.Expiration = v +} + +// GetHashLock returns the HashLock field value +func (o *NewContractObj) GetHashLock() string { + if o == nil { + var ret string + return ret + } + + return o.HashLock +} + +// GetHashLockOk returns a tuple with the HashLock field value +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetHashLockOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashLock, true +} + +// SetHashLock sets field value +func (o *NewContractObj) SetHashLock(v string) { + o.HashLock = v +} + +// GetReceiver returns the Receiver field value if set, zero value otherwise. +func (o *NewContractObj) GetReceiver() string { + if o == nil || IsNil(o.Receiver) { + var ret string + return ret + } + return *o.Receiver +} + +// GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetReceiverOk() (*string, bool) { + if o == nil || IsNil(o.Receiver) { + return nil, false + } + return o.Receiver, true +} + +// HasReceiver returns a boolean if a field has been set. +func (o *NewContractObj) HasReceiver() bool { + if o != nil && !IsNil(o.Receiver) { + return true + } + + return false +} + +// SetReceiver gets a reference to the given string and assigns it to the Receiver field. +func (o *NewContractObj) SetReceiver(v string) { + o.Receiver = &v +} + +// GetOutputNetwork returns the OutputNetwork field value +func (o *NewContractObj) GetOutputNetwork() string { + if o == nil { + var ret string + return ret + } + + return o.OutputNetwork +} + +// GetOutputNetworkOk returns a tuple with the OutputNetwork field value +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetOutputNetworkOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OutputNetwork, true +} + +// SetOutputNetwork sets field value +func (o *NewContractObj) SetOutputNetwork(v string) { + o.OutputNetwork = v +} + +// GetOutputAddress returns the OutputAddress field value +func (o *NewContractObj) GetOutputAddress() string { + if o == nil { + var ret string + return ret + } + + return o.OutputAddress +} + +// GetOutputAddressOk returns a tuple with the OutputAddress field value +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetOutputAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OutputAddress, true +} + +// SetOutputAddress sets field value +func (o *NewContractObj) SetOutputAddress(v string) { + o.OutputAddress = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *NewContractObj) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *NewContractObj) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *NewContractObj) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *NewContractObj) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetKeychainId returns the KeychainId field value +func (o *NewContractObj) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *NewContractObj) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *NewContractObj) GetGas() NewContractObjGas { + if o == nil || IsNil(o.Gas) { + var ret NewContractObjGas + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NewContractObj) GetGasOk() (*NewContractObjGas, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *NewContractObj) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given NewContractObjGas and assigns it to the Gas field. +func (o *NewContractObj) SetGas(v NewContractObjGas) { + o.Gas = &v +} + +func (o NewContractObj) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NewContractObj) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractAddress"] = o.ContractAddress + if !IsNil(o.InputAmount) { + toSerialize["inputAmount"] = o.InputAmount + } + toSerialize["outputAmount"] = o.OutputAmount + toSerialize["expiration"] = o.Expiration + toSerialize["hashLock"] = o.HashLock + if !IsNil(o.Receiver) { + toSerialize["receiver"] = o.Receiver + } + toSerialize["outputNetwork"] = o.OutputNetwork + toSerialize["outputAddress"] = o.OutputAddress + toSerialize["connectorId"] = o.ConnectorId + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableNewContractObj struct { + value *NewContractObj + isSet bool +} + +func (v NullableNewContractObj) Get() *NewContractObj { + return v.value +} + +func (v *NullableNewContractObj) Set(val *NewContractObj) { + v.value = val + v.isSet = true +} + +func (v NullableNewContractObj) IsSet() bool { + return v.isSet +} + +func (v *NullableNewContractObj) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNewContractObj(val *NewContractObj) *NullableNewContractObj { + return &NullableNewContractObj{value: val, isSet: true} +} + +func (v NullableNewContractObj) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNewContractObj) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_new_contract_obj_gas.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_new_contract_obj_gas.go new file mode 100644 index 00000000000..70a08c0e8e3 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_new_contract_obj_gas.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" + "fmt" +) + +// NewContractObjGas - struct for NewContractObjGas +type NewContractObjGas struct { + Float32 *float32 + String *string +} + +// float32AsNewContractObjGas is a convenience function that returns float32 wrapped in NewContractObjGas +func Float32AsNewContractObjGas(v *float32) NewContractObjGas { + return NewContractObjGas{ + Float32: v, + } +} + +// stringAsNewContractObjGas is a convenience function that returns string wrapped in NewContractObjGas +func StringAsNewContractObjGas(v *string) NewContractObjGas { + return NewContractObjGas{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *NewContractObjGas) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Float32 + err = newStrictDecoder(data).Decode(&dst.Float32) + if err == nil { + jsonFloat32, _ := json.Marshal(dst.Float32) + if string(jsonFloat32) == "{}" { // empty struct + dst.Float32 = nil + } else { + match++ + } + } else { + dst.Float32 = nil + } + + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Float32 = nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(NewContractObjGas)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(NewContractObjGas)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src NewContractObjGas) MarshalJSON() ([]byte, error) { + if src.Float32 != nil { + return json.Marshal(&src.Float32) + } + + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *NewContractObjGas) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Float32 != nil { + return obj.Float32 + } + + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableNewContractObjGas struct { + value *NewContractObjGas + isSet bool +} + +func (v NullableNewContractObjGas) Get() *NewContractObjGas { + return v.value +} + +func (v *NullableNewContractObjGas) Set(val *NewContractObjGas) { + v.value = val + v.isSet = true +} + +func (v NullableNewContractObjGas) IsSet() bool { + return v.isSet +} + +func (v *NullableNewContractObjGas) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNewContractObjGas(val *NewContractObjGas) *NullableNewContractObjGas { + return &NullableNewContractObjGas{value: val, isSet: true} +} + +func (v NullableNewContractObjGas) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNewContractObjGas) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_refund_req.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_refund_req.go new file mode 100644 index 00000000000..55c623587c2 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_refund_req.go @@ -0,0 +1,237 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the RefundReq type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RefundReq{} + +// RefundReq struct for RefundReq +type RefundReq struct { + // Contract htlc id for refund + Id string `json:"id"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // connectorId for the connector besu plugin + ConnectorId string `json:"connectorId"` + // keychainId for the keychain plugin + KeychainId string `json:"keychainId"` + Gas *NewContractObjGas `json:"gas,omitempty"` +} + +// NewRefundReq instantiates a new RefundReq object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRefundReq(id string, web3SigningCredential Web3SigningCredential, connectorId string, keychainId string) *RefundReq { + this := RefundReq{} + this.Id = id + this.Web3SigningCredential = web3SigningCredential + this.ConnectorId = connectorId + this.KeychainId = keychainId + return &this +} + +// NewRefundReqWithDefaults instantiates a new RefundReq object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRefundReqWithDefaults() *RefundReq { + this := RefundReq{} + return &this +} + +// GetId returns the Id field value +func (o *RefundReq) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *RefundReq) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *RefundReq) SetId(v string) { + o.Id = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *RefundReq) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *RefundReq) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *RefundReq) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *RefundReq) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *RefundReq) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *RefundReq) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *RefundReq) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *RefundReq) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *RefundReq) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *RefundReq) GetGas() NewContractObjGas { + if o == nil || IsNil(o.Gas) { + var ret NewContractObjGas + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RefundReq) GetGasOk() (*NewContractObjGas, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *RefundReq) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given NewContractObjGas and assigns it to the Gas field. +func (o *RefundReq) SetGas(v NewContractObjGas) { + o.Gas = &v +} + +func (o RefundReq) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RefundReq) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableRefundReq struct { + value *RefundReq + isSet bool +} + +func (v NullableRefundReq) Get() *RefundReq { + return v.value +} + +func (v *NullableRefundReq) Set(val *RefundReq) { + v.value = val + v.isSet = true +} + +func (v NullableRefundReq) IsSet() bool { + return v.isSet +} + +func (v *NullableRefundReq) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRefundReq(val *RefundReq) *NullableRefundReq { + return &NullableRefundReq{value: val, isSet: true} +} + +func (v NullableRefundReq) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRefundReq) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_run_transaction_response.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_run_transaction_response.go new file mode 100644 index 00000000000..febbca74a20 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_run_transaction_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the RunTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionResponse{} + +// RunTransactionResponse struct for RunTransactionResponse +type RunTransactionResponse struct { + TransactionReceipt Web3TransactionReceipt `json:"transactionReceipt"` +} + +// NewRunTransactionResponse instantiates a new RunTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionResponse(transactionReceipt Web3TransactionReceipt) *RunTransactionResponse { + this := RunTransactionResponse{} + this.TransactionReceipt = transactionReceipt + return &this +} + +// NewRunTransactionResponseWithDefaults instantiates a new RunTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionResponseWithDefaults() *RunTransactionResponse { + this := RunTransactionResponse{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value +func (o *RunTransactionResponse) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil { + var ret Web3TransactionReceipt + return ret + } + + return o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil { + return nil, false + } + return &o.TransactionReceipt, true +} + +// SetTransactionReceipt sets field value +func (o *RunTransactionResponse) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = v +} + +func (o RunTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionReceipt"] = o.TransactionReceipt + return toSerialize, nil +} + +type NullableRunTransactionResponse struct { + value *RunTransactionResponse + isSet bool +} + +func (v NullableRunTransactionResponse) Get() *RunTransactionResponse { + return v.value +} + +func (v *NullableRunTransactionResponse) Set(val *RunTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionResponse(val *RunTransactionResponse) *NullableRunTransactionResponse { + return &NullableRunTransactionResponse{value: val, isSet: true} +} + +func (v NullableRunTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go new file mode 100644 index 00000000000..06850f15b7c --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go @@ -0,0 +1,178 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredential - struct for Web3SigningCredential +type Web3SigningCredential struct { + Web3SigningCredentialCactusKeychainRef *Web3SigningCredentialCactusKeychainRef + Web3SigningCredentialNone *Web3SigningCredentialNone + Web3SigningCredentialPrivateKeyHex *Web3SigningCredentialPrivateKeyHex +} + +// Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialCactusKeychainRef wrapped in Web3SigningCredential +func Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential(v *Web3SigningCredentialCactusKeychainRef) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialCactusKeychainRef: v, + } +} + +// Web3SigningCredentialNoneAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialNone wrapped in Web3SigningCredential +func Web3SigningCredentialNoneAsWeb3SigningCredential(v *Web3SigningCredentialNone) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialNone: v, + } +} + +// Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialPrivateKeyHex wrapped in Web3SigningCredential +func Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential(v *Web3SigningCredentialPrivateKeyHex) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialPrivateKeyHex: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Web3SigningCredential) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Web3SigningCredentialCactusKeychainRef + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialCactusKeychainRef) + if err == nil { + jsonWeb3SigningCredentialCactusKeychainRef, _ := json.Marshal(dst.Web3SigningCredentialCactusKeychainRef) + if string(jsonWeb3SigningCredentialCactusKeychainRef) == "{}" { // empty struct + dst.Web3SigningCredentialCactusKeychainRef = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialCactusKeychainRef = nil + } + + // try to unmarshal data into Web3SigningCredentialNone + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialNone) + if err == nil { + jsonWeb3SigningCredentialNone, _ := json.Marshal(dst.Web3SigningCredentialNone) + if string(jsonWeb3SigningCredentialNone) == "{}" { // empty struct + dst.Web3SigningCredentialNone = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialNone = nil + } + + // try to unmarshal data into Web3SigningCredentialPrivateKeyHex + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialPrivateKeyHex) + if err == nil { + jsonWeb3SigningCredentialPrivateKeyHex, _ := json.Marshal(dst.Web3SigningCredentialPrivateKeyHex) + if string(jsonWeb3SigningCredentialPrivateKeyHex) == "{}" { // empty struct + dst.Web3SigningCredentialPrivateKeyHex = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialPrivateKeyHex = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Web3SigningCredentialCactusKeychainRef = nil + dst.Web3SigningCredentialNone = nil + dst.Web3SigningCredentialPrivateKeyHex = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Web3SigningCredential)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Web3SigningCredential)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Web3SigningCredential) MarshalJSON() ([]byte, error) { + if src.Web3SigningCredentialCactusKeychainRef != nil { + return json.Marshal(&src.Web3SigningCredentialCactusKeychainRef) + } + + if src.Web3SigningCredentialNone != nil { + return json.Marshal(&src.Web3SigningCredentialNone) + } + + if src.Web3SigningCredentialPrivateKeyHex != nil { + return json.Marshal(&src.Web3SigningCredentialPrivateKeyHex) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Web3SigningCredential) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Web3SigningCredentialCactusKeychainRef != nil { + return obj.Web3SigningCredentialCactusKeychainRef + } + + if obj.Web3SigningCredentialNone != nil { + return obj.Web3SigningCredentialNone + } + + if obj.Web3SigningCredentialPrivateKeyHex != nil { + return obj.Web3SigningCredentialPrivateKeyHex + } + + // all schemas are nil + return nil +} + +type NullableWeb3SigningCredential struct { + value *Web3SigningCredential + isSet bool +} + +func (v NullableWeb3SigningCredential) Get() *Web3SigningCredential { + return v.value +} + +func (v *NullableWeb3SigningCredential) Set(val *Web3SigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredential(val *Web3SigningCredential) *NullableWeb3SigningCredential { + return &NullableWeb3SigningCredential{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go new file mode 100644 index 00000000000..b7de5d309c7 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go @@ -0,0 +1,201 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialCactusKeychainRef type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialCactusKeychainRef{} + +// Web3SigningCredentialCactusKeychainRef struct for Web3SigningCredentialCactusKeychainRef +type Web3SigningCredentialCactusKeychainRef struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The key to use when looking up the the keychain entry holding the secret pointed to by the keychainEntryKey parameter. + KeychainEntryKey string `json:"keychainEntryKey"` + // The keychain ID to use when looking up the the keychain plugin instance that will be used to retrieve the secret pointed to by the keychainEntryKey parameter. + KeychainId string `json:"keychainId"` +} + +// NewWeb3SigningCredentialCactusKeychainRef instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialCactusKeychainRef(type_ Web3SigningCredentialType, ethAccount string, keychainEntryKey string, keychainId string) *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + this.Type = type_ + this.EthAccount = ethAccount + this.KeychainEntryKey = keychainEntryKey + this.KeychainId = keychainId + return &this +} + +// NewWeb3SigningCredentialCactusKeychainRefWithDefaults instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialCactusKeychainRefWithDefaults() *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialCactusKeychainRef) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetKeychainEntryKey returns the KeychainEntryKey field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKey() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainEntryKey +} + +// GetKeychainEntryKeyOk returns a tuple with the KeychainEntryKey field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainEntryKey, true +} + +// SetKeychainEntryKey sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainEntryKey(v string) { + o.KeychainEntryKey = v +} + +// GetKeychainId returns the KeychainId field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o Web3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialCactusKeychainRef) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["keychainEntryKey"] = o.KeychainEntryKey + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableWeb3SigningCredentialCactusKeychainRef struct { + value *Web3SigningCredentialCactusKeychainRef + isSet bool +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) Get() *Web3SigningCredentialCactusKeychainRef { + return v.value +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Set(val *Web3SigningCredentialCactusKeychainRef) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialCactusKeychainRef(val *Web3SigningCredentialCactusKeychainRef) *NullableWeb3SigningCredentialCactusKeychainRef { + return &NullableWeb3SigningCredentialCactusKeychainRef{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go new file mode 100644 index 00000000000..5c362c5fd5b --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialNone type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialNone{} + +// Web3SigningCredentialNone Using this denotes that there is no signing required because the transaction is pre-signed. +type Web3SigningCredentialNone struct { + Type Web3SigningCredentialType `json:"type"` +} + +// NewWeb3SigningCredentialNone instantiates a new Web3SigningCredentialNone object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialNone(type_ Web3SigningCredentialType) *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + this.Type = type_ + return &this +} + +// NewWeb3SigningCredentialNoneWithDefaults instantiates a new Web3SigningCredentialNone object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialNoneWithDefaults() *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialNone) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialNone) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialNone) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +func (o Web3SigningCredentialNone) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialNone) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + return toSerialize, nil +} + +type NullableWeb3SigningCredentialNone struct { + value *Web3SigningCredentialNone + isSet bool +} + +func (v NullableWeb3SigningCredentialNone) Get() *Web3SigningCredentialNone { + return v.value +} + +func (v *NullableWeb3SigningCredentialNone) Set(val *Web3SigningCredentialNone) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialNone) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialNone) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialNone(val *Web3SigningCredentialNone) *NullableWeb3SigningCredentialNone { + return &NullableWeb3SigningCredentialNone{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialNone) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialNone) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go new file mode 100644 index 00000000000..d995cb9b5ac --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialPrivateKeyHex type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialPrivateKeyHex{} + +// Web3SigningCredentialPrivateKeyHex struct for Web3SigningCredentialPrivateKeyHex +type Web3SigningCredentialPrivateKeyHex struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The HEX encoded private key of an eth account. + Secret string `json:"secret"` +} + +// NewWeb3SigningCredentialPrivateKeyHex instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialPrivateKeyHex(type_ Web3SigningCredentialType, ethAccount string, secret string) *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + this.Type = type_ + this.EthAccount = ethAccount + this.Secret = secret + return &this +} + +// NewWeb3SigningCredentialPrivateKeyHexWithDefaults instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialPrivateKeyHexWithDefaults() *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialPrivateKeyHex) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetSecret returns the Secret field value +func (o *Web3SigningCredentialPrivateKeyHex) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetSecret(v string) { + o.Secret = v +} + +func (o Web3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialPrivateKeyHex) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["secret"] = o.Secret + return toSerialize, nil +} + +type NullableWeb3SigningCredentialPrivateKeyHex struct { + value *Web3SigningCredentialPrivateKeyHex + isSet bool +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) Get() *Web3SigningCredentialPrivateKeyHex { + return v.value +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Set(val *Web3SigningCredentialPrivateKeyHex) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialPrivateKeyHex(val *Web3SigningCredentialPrivateKeyHex) *NullableWeb3SigningCredentialPrivateKeyHex { + return &NullableWeb3SigningCredentialPrivateKeyHex{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go new file mode 100644 index 00000000000..0a9060e1bbc --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredentialType the model 'Web3SigningCredentialType' +type Web3SigningCredentialType string + +// List of Web3SigningCredentialType +const ( + CACTUS_KEYCHAIN_REF Web3SigningCredentialType = "CACTUS_KEYCHAIN_REF" + GETH_KEYCHAIN_PASSWORD Web3SigningCredentialType = "GETH_KEYCHAIN_PASSWORD" + PRIVATE_KEY_HEX Web3SigningCredentialType = "PRIVATE_KEY_HEX" + NONE Web3SigningCredentialType = "NONE" +) + +// All allowed values of Web3SigningCredentialType enum +var AllowedWeb3SigningCredentialTypeEnumValues = []Web3SigningCredentialType{ + "CACTUS_KEYCHAIN_REF", + "GETH_KEYCHAIN_PASSWORD", + "PRIVATE_KEY_HEX", + "NONE", +} + +func (v *Web3SigningCredentialType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Web3SigningCredentialType(value) + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Web3SigningCredentialType", value) +} + +// NewWeb3SigningCredentialTypeFromValue returns a pointer to a valid Web3SigningCredentialType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWeb3SigningCredentialTypeFromValue(v string) (*Web3SigningCredentialType, error) { + ev := Web3SigningCredentialType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Web3SigningCredentialType: valid values are %v", v, AllowedWeb3SigningCredentialTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Web3SigningCredentialType) IsValid() bool { + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Web3SigningCredentialType value +func (v Web3SigningCredentialType) Ptr() *Web3SigningCredentialType { + return &v +} + +type NullableWeb3SigningCredentialType struct { + value *Web3SigningCredentialType + isSet bool +} + +func (v NullableWeb3SigningCredentialType) Get() *Web3SigningCredentialType { + return v.value +} + +func (v *NullableWeb3SigningCredentialType) Set(val *Web3SigningCredentialType) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialType) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialType(val *Web3SigningCredentialType) *NullableWeb3SigningCredentialType { + return &NullableWeb3SigningCredentialType{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go new file mode 100644 index 00000000000..2c919e39b9c --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go @@ -0,0 +1,385 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the Web3TransactionReceipt type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3TransactionReceipt{} + +// Web3TransactionReceipt struct for Web3TransactionReceipt +type Web3TransactionReceipt struct { + Status bool `json:"status"` + TransactionHash string `json:"transactionHash"` + TransactionIndex float32 `json:"transactionIndex"` + BlockHash string `json:"blockHash"` + BlockNumber float32 `json:"blockNumber"` + GasUsed float32 `json:"gasUsed"` + ContractAddress NullableString `json:"contractAddress,omitempty"` + From string `json:"from"` + To string `json:"to"` + AdditionalProperties map[string]interface{} +} + +type _Web3TransactionReceipt Web3TransactionReceipt + +// NewWeb3TransactionReceipt instantiates a new Web3TransactionReceipt object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3TransactionReceipt(status bool, transactionHash string, transactionIndex float32, blockHash string, blockNumber float32, gasUsed float32, from string, to string) *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + this.Status = status + this.TransactionHash = transactionHash + this.TransactionIndex = transactionIndex + this.BlockHash = blockHash + this.BlockNumber = blockNumber + this.GasUsed = gasUsed + this.From = from + this.To = to + return &this +} + +// NewWeb3TransactionReceiptWithDefaults instantiates a new Web3TransactionReceipt object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3TransactionReceiptWithDefaults() *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + return &this +} + +// GetStatus returns the Status field value +func (o *Web3TransactionReceipt) GetStatus() bool { + if o == nil { + var ret bool + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetStatusOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *Web3TransactionReceipt) SetStatus(v bool) { + o.Status = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *Web3TransactionReceipt) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *Web3TransactionReceipt) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTransactionIndex returns the TransactionIndex field value +func (o *Web3TransactionReceipt) GetTransactionIndex() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.TransactionIndex +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionIndexOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.TransactionIndex, true +} + +// SetTransactionIndex sets field value +func (o *Web3TransactionReceipt) SetTransactionIndex(v float32) { + o.TransactionIndex = v +} + +// GetBlockHash returns the BlockHash field value +func (o *Web3TransactionReceipt) GetBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockHash, true +} + +// SetBlockHash sets field value +func (o *Web3TransactionReceipt) SetBlockHash(v string) { + o.BlockHash = v +} + +// GetBlockNumber returns the BlockNumber field value +func (o *Web3TransactionReceipt) GetBlockNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.BlockNumber, true +} + +// SetBlockNumber sets field value +func (o *Web3TransactionReceipt) SetBlockNumber(v float32) { + o.BlockNumber = v +} + +// GetGasUsed returns the GasUsed field value +func (o *Web3TransactionReceipt) GetGasUsed() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetGasUsedOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *Web3TransactionReceipt) SetGasUsed(v float32) { + o.GasUsed = v +} + +// GetContractAddress returns the ContractAddress field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Web3TransactionReceipt) GetContractAddress() string { + if o == nil || IsNil(o.ContractAddress.Get()) { + var ret string + return ret + } + return *o.ContractAddress.Get() +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3TransactionReceipt) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ContractAddress.Get(), o.ContractAddress.IsSet() +} + +// HasContractAddress returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasContractAddress() bool { + if o != nil && o.ContractAddress.IsSet() { + return true + } + + return false +} + +// SetContractAddress gets a reference to the given NullableString and assigns it to the ContractAddress field. +func (o *Web3TransactionReceipt) SetContractAddress(v string) { + o.ContractAddress.Set(&v) +} +// SetContractAddressNil sets the value for ContractAddress to be an explicit nil +func (o *Web3TransactionReceipt) SetContractAddressNil() { + o.ContractAddress.Set(nil) +} + +// UnsetContractAddress ensures that no value is present for ContractAddress, not even an explicit nil +func (o *Web3TransactionReceipt) UnsetContractAddress() { + o.ContractAddress.Unset() +} + +// GetFrom returns the From field value +func (o *Web3TransactionReceipt) GetFrom() string { + if o == nil { + var ret string + return ret + } + + return o.From +} + +// GetFromOk returns a tuple with the From field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.From, true +} + +// SetFrom sets field value +func (o *Web3TransactionReceipt) SetFrom(v string) { + o.From = v +} + +// GetTo returns the To field value +func (o *Web3TransactionReceipt) GetTo() string { + if o == nil { + var ret string + return ret + } + + return o.To +} + +// GetToOk returns a tuple with the To field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetToOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.To, true +} + +// SetTo sets field value +func (o *Web3TransactionReceipt) SetTo(v string) { + o.To = v +} + +func (o Web3TransactionReceipt) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3TransactionReceipt) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + toSerialize["transactionHash"] = o.TransactionHash + toSerialize["transactionIndex"] = o.TransactionIndex + toSerialize["blockHash"] = o.BlockHash + toSerialize["blockNumber"] = o.BlockNumber + toSerialize["gasUsed"] = o.GasUsed + if o.ContractAddress.IsSet() { + toSerialize["contractAddress"] = o.ContractAddress.Get() + } + toSerialize["from"] = o.From + toSerialize["to"] = o.To + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Web3TransactionReceipt) UnmarshalJSON(bytes []byte) (err error) { + varWeb3TransactionReceipt := _Web3TransactionReceipt{} + + if err = json.Unmarshal(bytes, &varWeb3TransactionReceipt); err == nil { + *o = Web3TransactionReceipt(varWeb3TransactionReceipt) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "status") + delete(additionalProperties, "transactionHash") + delete(additionalProperties, "transactionIndex") + delete(additionalProperties, "blockHash") + delete(additionalProperties, "blockNumber") + delete(additionalProperties, "gasUsed") + delete(additionalProperties, "contractAddress") + delete(additionalProperties, "from") + delete(additionalProperties, "to") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWeb3TransactionReceipt struct { + value *Web3TransactionReceipt + isSet bool +} + +func (v NullableWeb3TransactionReceipt) Get() *Web3TransactionReceipt { + return v.value +} + +func (v *NullableWeb3TransactionReceipt) Set(val *Web3TransactionReceipt) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3TransactionReceipt) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3TransactionReceipt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3TransactionReceipt(val *Web3TransactionReceipt) *NullableWeb3TransactionReceipt { + return &NullableWeb3TransactionReceipt{value: val, isSet: true} +} + +func (v NullableWeb3TransactionReceipt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3TransactionReceipt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_withdraw_req.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_withdraw_req.go new file mode 100644 index 00000000000..0e8e98dc087 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/model_withdraw_req.go @@ -0,0 +1,265 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" +) + +// checks if the WithdrawReq type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WithdrawReq{} + +// WithdrawReq struct for WithdrawReq +type WithdrawReq struct { + // Contract locked id + Id string `json:"id"` + // Secret need to unlock the contract + Secret string `json:"secret"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // connectorId for the connector besu plugin + ConnectorId string `json:"connectorId"` + // keychainId for the keychain plugin + KeychainId string `json:"keychainId"` + Gas *NewContractObjGas `json:"gas,omitempty"` +} + +// NewWithdrawReq instantiates a new WithdrawReq object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWithdrawReq(id string, secret string, web3SigningCredential Web3SigningCredential, connectorId string, keychainId string) *WithdrawReq { + this := WithdrawReq{} + this.Id = id + this.Secret = secret + this.Web3SigningCredential = web3SigningCredential + this.ConnectorId = connectorId + this.KeychainId = keychainId + return &this +} + +// NewWithdrawReqWithDefaults instantiates a new WithdrawReq object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWithdrawReqWithDefaults() *WithdrawReq { + this := WithdrawReq{} + return &this +} + +// GetId returns the Id field value +func (o *WithdrawReq) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *WithdrawReq) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *WithdrawReq) SetId(v string) { + o.Id = v +} + +// GetSecret returns the Secret field value +func (o *WithdrawReq) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *WithdrawReq) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *WithdrawReq) SetSecret(v string) { + o.Secret = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *WithdrawReq) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *WithdrawReq) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *WithdrawReq) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetConnectorId returns the ConnectorId field value +func (o *WithdrawReq) GetConnectorId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectorId +} + +// GetConnectorIdOk returns a tuple with the ConnectorId field value +// and a boolean to check if the value has been set. +func (o *WithdrawReq) GetConnectorIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectorId, true +} + +// SetConnectorId sets field value +func (o *WithdrawReq) SetConnectorId(v string) { + o.ConnectorId = v +} + +// GetKeychainId returns the KeychainId field value +func (o *WithdrawReq) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *WithdrawReq) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *WithdrawReq) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *WithdrawReq) GetGas() NewContractObjGas { + if o == nil || IsNil(o.Gas) { + var ret NewContractObjGas + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WithdrawReq) GetGasOk() (*NewContractObjGas, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *WithdrawReq) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given NewContractObjGas and assigns it to the Gas field. +func (o *WithdrawReq) SetGas(v NewContractObjGas) { + o.Gas = &v +} + +func (o WithdrawReq) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WithdrawReq) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["secret"] = o.Secret + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["connectorId"] = o.ConnectorId + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + return toSerialize, nil +} + +type NullableWithdrawReq struct { + value *WithdrawReq + isSet bool +} + +func (v NullableWithdrawReq) Get() *WithdrawReq { + return v.value +} + +func (v *NullableWithdrawReq) Set(val *WithdrawReq) { + v.value = val + v.isSet = true +} + +func (v NullableWithdrawReq) IsSet() bool { + return v.isSet +} + +func (v *NullableWithdrawReq) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWithdrawReq(val *WithdrawReq) *NullableWithdrawReq { + return &NullableWithdrawReq{value: val, isSet: true} +} + +func (v NullableWithdrawReq) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWithdrawReq) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..63adb80e443 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..48d38b538b1 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,97 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-htlc-eth-besu + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-htlc-eth-besu_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService GetSingleStatusV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetSingleStatusV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetStatusV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetStatusV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InitializeV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InitializeV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService NewContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.NewContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RefundV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RefundV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService WithdrawV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.WithdrawV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..ae20fb237f6 --- /dev/null +++ b/packages/cactus-plugin-htlc-eth-besu/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - HTLC-ETH Besu + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-htlc-eth-besu + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-keychain-aws-sm/package.json b/packages/cactus-plugin-keychain-aws-sm/package.json index 769e55f502e..9b4d6325499 100644 --- a/packages/cactus-plugin-keychain-aws-sm/package.json +++ b/packages/cactus-plugin-keychain-aws-sm/package.json @@ -48,6 +48,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..cff88d4efaa --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,19 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_delete_keychain_entry_request_v1.go +model_delete_keychain_entry_response_v1.go +model_get_keychain_entry_request_v1.go +model_get_keychain_entry_response_v1.go +model_has_keychain_entry_request_v1.go +model_has_keychain_entry_response_v1.go +model_set_keychain_entry_request_v1.go +model_set_keychain_entry_response_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..fa8a1b3ba9e --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,123 @@ +# Go API client for cactus-plugin-keychain-aws-sm + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-keychain-aws-sm "github.com/hyperledger/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-aws-sm.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-aws-sm.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-aws-sm.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-keychain-aws-sm.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeleteKeychainEntryV1**](docs/DefaultApi.md#deletekeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/delete-keychain-entry | Deletes an entry under a key on the keychain backend. +*DefaultApi* | [**GetKeychainEntryV1**](docs/DefaultApi.md#getkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-keychain-entry | Retrieves the contents of a keychain entry from the backend. +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**HasKeychainEntryV1**](docs/DefaultApi.md#haskeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/has-keychain-entry | Checks that an entry exists under a key on the keychain backend +*DefaultApi* | [**SetKeychainEntryV1**](docs/DefaultApi.md#setkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/set-keychain-entry | Sets a value under a key on the keychain backend. + + +## Documentation For Models + + - [DeleteKeychainEntryRequestV1](docs/DeleteKeychainEntryRequestV1.md) + - [DeleteKeychainEntryResponseV1](docs/DeleteKeychainEntryResponseV1.md) + - [GetKeychainEntryRequestV1](docs/GetKeychainEntryRequestV1.md) + - [GetKeychainEntryResponseV1](docs/GetKeychainEntryResponseV1.md) + - [HasKeychainEntryRequestV1](docs/HasKeychainEntryRequestV1.md) + - [HasKeychainEntryResponseV1](docs/HasKeychainEntryResponseV1.md) + - [SetKeychainEntryRequestV1](docs/SetKeychainEntryRequestV1.md) + - [SetKeychainEntryResponseV1](docs/SetKeychainEntryResponseV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..98e3e0cb5e3 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,364 @@ +openapi: 3.0.3 +info: + description: Contains/describes the Keychain API types/paths for Hyperledger Cactus. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus - Keychain API + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-keychain-entry: + post: + operationId: getKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_get_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "404": + description: A keychain item with the specified key was not found. + "500": + description: Unexpected error. + summary: Retrieves the contents of a keychain entry from the backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/set-keychain-entry: + post: + operationId: setKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_set_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Sets a value under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/set-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/delete-keychain-entry: + post: + operationId: deleteKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_delete_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Deletes an entry under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/delete-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/has-keychain-entry: + post: + operationId: hasKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_has_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Checks that an entry exists under a key on the keychain backend + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/has-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-prometheus-exporter-metrics +components: + requestBodies: + keychain_get_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryRequestV1' + description: Request body to obtain a keychain entry via its key + required: true + keychain_set_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryRequestV1' + description: Request body to write/update a keychain entry via its key + required: true + keychain_delete_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryRequestV1' + description: Request body to delete a keychain entry via its key + required: true + keychain_has_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryRequestV1' + description: Request body for checking a keychain entry via its key + required: true + responses: + keychain_get_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + keychain_get_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_get_entry_401: + description: Authorization information is missing or invalid. + keychain_get_entry_404: + description: A keychain item with the specified key was not found. + keychain_get_entry_500: + description: Unexpected error. + keychain_set_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + keychain_set_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_set_entry_401: + description: Authorization information is missing or invalid. + keychain_set_entry_500: + description: Unexpected error. + keychain_delete_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + keychain_delete_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_delete_entry_401: + description: Authorization information is missing or invalid. + keychain_delete_entry_500: + description: Unexpected error. + keychain_has_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + keychain_has_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_has_entry_401: + description: Authorization information is missing or invalid. + keychain_has_entry_500: + description: Unexpected error. + schemas: + PrometheusExporterMetricsResponse: + nullable: false + type: string + GetSecretRequest: + additionalProperties: false + nullable: false + type: object + GetSecretResponse: + nullable: false + type: string + GetKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to get from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetKeychainEntryResponseV1: + example: + value: value + key: key + properties: + key: + description: The key that was used to retrieve the value from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value associated with the requested key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryRequestV1: + additionalProperties: false + example: + value: value + key: key + properties: + key: + description: The key for the entry to set on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value that will be associated with the key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was used to set the value on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to check the presence of on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was deleted from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key to check for presence in the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryResponseV1: + example: + checkedAt: checkedAt + isPresent: true + key: key + properties: + key: + description: The key that was used to check the presence of the value in + the entry store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + checkedAt: + description: Date and time encoded as JSON when the presence check was performed + by the plugin backend. + nullable: false + type: string + isPresent: + description: The boolean true or false indicating the presence or absence + of an entry under 'key'. + nullable: false + type: boolean + required: + - checkedAt + - isPresent + - key + type: object diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..e6052dd2426 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,556 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeleteKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deleteKeychainEntryRequestV1 *DeleteKeychainEntryRequestV1 +} + +// Request body to delete a keychain entry via its key +func (r ApiDeleteKeychainEntryV1Request) DeleteKeychainEntryRequestV1(deleteKeychainEntryRequestV1 DeleteKeychainEntryRequestV1) ApiDeleteKeychainEntryV1Request { + r.deleteKeychainEntryRequestV1 = &deleteKeychainEntryRequestV1 + return r +} + +func (r ApiDeleteKeychainEntryV1Request) Execute() (*DeleteKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.DeleteKeychainEntryV1Execute(r) +} + +/* +DeleteKeychainEntryV1 Deletes an entry under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeleteKeychainEntryV1Request +*/ +func (a *DefaultApiService) DeleteKeychainEntryV1(ctx context.Context) ApiDeleteKeychainEntryV1Request { + return ApiDeleteKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeleteKeychainEntryResponseV1 +func (a *DefaultApiService) DeleteKeychainEntryV1Execute(r ApiDeleteKeychainEntryV1Request) (*DeleteKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeleteKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/delete-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.deleteKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("deleteKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deleteKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getKeychainEntryRequestV1 *GetKeychainEntryRequestV1 +} + +// Request body to obtain a keychain entry via its key +func (r ApiGetKeychainEntryV1Request) GetKeychainEntryRequestV1(getKeychainEntryRequestV1 GetKeychainEntryRequestV1) ApiGetKeychainEntryV1Request { + r.getKeychainEntryRequestV1 = &getKeychainEntryRequestV1 + return r +} + +func (r ApiGetKeychainEntryV1Request) Execute() (*GetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.GetKeychainEntryV1Execute(r) +} + +/* +GetKeychainEntryV1 Retrieves the contents of a keychain entry from the backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetKeychainEntryV1Request +*/ +func (a *DefaultApiService) GetKeychainEntryV1(ctx context.Context) ApiGetKeychainEntryV1Request { + return ApiGetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetKeychainEntryResponseV1 +func (a *DefaultApiService) GetKeychainEntryV1Execute(r ApiGetKeychainEntryV1Request) (*GetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.getKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("getKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiHasKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + hasKeychainEntryRequestV1 *HasKeychainEntryRequestV1 +} + +// Request body for checking a keychain entry via its key +func (r ApiHasKeychainEntryV1Request) HasKeychainEntryRequestV1(hasKeychainEntryRequestV1 HasKeychainEntryRequestV1) ApiHasKeychainEntryV1Request { + r.hasKeychainEntryRequestV1 = &hasKeychainEntryRequestV1 + return r +} + +func (r ApiHasKeychainEntryV1Request) Execute() (*HasKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.HasKeychainEntryV1Execute(r) +} + +/* +HasKeychainEntryV1 Checks that an entry exists under a key on the keychain backend + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiHasKeychainEntryV1Request +*/ +func (a *DefaultApiService) HasKeychainEntryV1(ctx context.Context) ApiHasKeychainEntryV1Request { + return ApiHasKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HasKeychainEntryResponseV1 +func (a *DefaultApiService) HasKeychainEntryV1Execute(r ApiHasKeychainEntryV1Request) (*HasKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HasKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.HasKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/has-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.hasKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("hasKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.hasKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + setKeychainEntryRequestV1 *SetKeychainEntryRequestV1 +} + +// Request body to write/update a keychain entry via its key +func (r ApiSetKeychainEntryV1Request) SetKeychainEntryRequestV1(setKeychainEntryRequestV1 SetKeychainEntryRequestV1) ApiSetKeychainEntryV1Request { + r.setKeychainEntryRequestV1 = &setKeychainEntryRequestV1 + return r +} + +func (r ApiSetKeychainEntryV1Request) Execute() (*SetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.SetKeychainEntryV1Execute(r) +} + +/* +SetKeychainEntryV1 Sets a value under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSetKeychainEntryV1Request +*/ +func (a *DefaultApiService) SetKeychainEntryV1(ctx context.Context) ApiSetKeychainEntryV1Request { + return ApiSetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SetKeychainEntryResponseV1 +func (a *DefaultApiService) SetKeychainEntryV1Execute(r ApiSetKeychainEntryV1Request) (*SetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/set-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.setKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("setKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.setKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..38c12362cb6 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus - Keychain API API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..d2f3294ea96 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..df401e58025 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go new file mode 100644 index 00000000000..4ec8aa08395 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryRequestV1{} + +// DeleteKeychainEntryRequestV1 struct for DeleteKeychainEntryRequestV1 +type DeleteKeychainEntryRequestV1 struct { + // The key for the entry to check the presence of on the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryRequestV1 instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryRequestV1(key string) *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryRequestV1WithDefaults instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryRequestV1WithDefaults() *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryRequestV1 struct { + value *DeleteKeychainEntryRequestV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryRequestV1) Get() *DeleteKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryRequestV1) Set(val *DeleteKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryRequestV1(val *DeleteKeychainEntryRequestV1) *NullableDeleteKeychainEntryRequestV1 { + return &NullableDeleteKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go new file mode 100644 index 00000000000..e1accb55980 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryResponseV1{} + +// DeleteKeychainEntryResponseV1 struct for DeleteKeychainEntryResponseV1 +type DeleteKeychainEntryResponseV1 struct { + // The key that was deleted from the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryResponseV1 instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryResponseV1(key string) *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryResponseV1WithDefaults instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryResponseV1WithDefaults() *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryResponseV1 struct { + value *DeleteKeychainEntryResponseV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryResponseV1) Get() *DeleteKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryResponseV1) Set(val *DeleteKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryResponseV1(val *DeleteKeychainEntryResponseV1) *NullableDeleteKeychainEntryResponseV1 { + return &NullableDeleteKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go new file mode 100644 index 00000000000..86010fd14b9 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryRequestV1{} + +// GetKeychainEntryRequestV1 struct for GetKeychainEntryRequestV1 +type GetKeychainEntryRequestV1 struct { + // The key for the entry to get from the keychain. + Key string `json:"key"` +} + +// NewGetKeychainEntryRequestV1 instantiates a new GetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryRequestV1(key string) *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewGetKeychainEntryRequestV1WithDefaults instantiates a new GetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryRequestV1WithDefaults() *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o GetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableGetKeychainEntryRequestV1 struct { + value *GetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableGetKeychainEntryRequestV1) Get() *GetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableGetKeychainEntryRequestV1) Set(val *GetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryRequestV1(val *GetKeychainEntryRequestV1) *NullableGetKeychainEntryRequestV1 { + return &NullableGetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go new file mode 100644 index 00000000000..05c07d29713 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryResponseV1{} + +// GetKeychainEntryResponseV1 struct for GetKeychainEntryResponseV1 +type GetKeychainEntryResponseV1 struct { + // The key that was used to retrieve the value from the keychain. + Key string `json:"key"` + // The value associated with the requested key on the keychain. + Value string `json:"value"` +} + +// NewGetKeychainEntryResponseV1 instantiates a new GetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryResponseV1(key string, value string) *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + this.Key = key + this.Value = value + return &this +} + +// NewGetKeychainEntryResponseV1WithDefaults instantiates a new GetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryResponseV1WithDefaults() *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *GetKeychainEntryResponseV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *GetKeychainEntryResponseV1) SetValue(v string) { + o.Value = v +} + +func (o GetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableGetKeychainEntryResponseV1 struct { + value *GetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableGetKeychainEntryResponseV1) Get() *GetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableGetKeychainEntryResponseV1) Set(val *GetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryResponseV1(val *GetKeychainEntryResponseV1) *NullableGetKeychainEntryResponseV1 { + return &NullableGetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go new file mode 100644 index 00000000000..0db19b9bdf6 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryRequestV1{} + +// HasKeychainEntryRequestV1 struct for HasKeychainEntryRequestV1 +type HasKeychainEntryRequestV1 struct { + // The key to check for presence in the keychain. + Key string `json:"key"` +} + +// NewHasKeychainEntryRequestV1 instantiates a new HasKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryRequestV1(key string) *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewHasKeychainEntryRequestV1WithDefaults instantiates a new HasKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryRequestV1WithDefaults() *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o HasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableHasKeychainEntryRequestV1 struct { + value *HasKeychainEntryRequestV1 + isSet bool +} + +func (v NullableHasKeychainEntryRequestV1) Get() *HasKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableHasKeychainEntryRequestV1) Set(val *HasKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryRequestV1(val *HasKeychainEntryRequestV1) *NullableHasKeychainEntryRequestV1 { + return &NullableHasKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go new file mode 100644 index 00000000000..213d5e37832 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go @@ -0,0 +1,174 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryResponseV1{} + +// HasKeychainEntryResponseV1 struct for HasKeychainEntryResponseV1 +type HasKeychainEntryResponseV1 struct { + // The key that was used to check the presence of the value in the entry store. + Key string `json:"key"` + // Date and time encoded as JSON when the presence check was performed by the plugin backend. + CheckedAt string `json:"checkedAt"` + // The boolean true or false indicating the presence or absence of an entry under 'key'. + IsPresent bool `json:"isPresent"` +} + +// NewHasKeychainEntryResponseV1 instantiates a new HasKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryResponseV1(key string, checkedAt string, isPresent bool) *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + this.Key = key + this.CheckedAt = checkedAt + this.IsPresent = isPresent + return &this +} + +// NewHasKeychainEntryResponseV1WithDefaults instantiates a new HasKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryResponseV1WithDefaults() *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetCheckedAt returns the CheckedAt field value +func (o *HasKeychainEntryResponseV1) GetCheckedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CheckedAt +} + +// GetCheckedAtOk returns a tuple with the CheckedAt field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetCheckedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CheckedAt, true +} + +// SetCheckedAt sets field value +func (o *HasKeychainEntryResponseV1) SetCheckedAt(v string) { + o.CheckedAt = v +} + +// GetIsPresent returns the IsPresent field value +func (o *HasKeychainEntryResponseV1) GetIsPresent() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsPresent +} + +// GetIsPresentOk returns a tuple with the IsPresent field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetIsPresentOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsPresent, true +} + +// SetIsPresent sets field value +func (o *HasKeychainEntryResponseV1) SetIsPresent(v bool) { + o.IsPresent = v +} + +func (o HasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["checkedAt"] = o.CheckedAt + toSerialize["isPresent"] = o.IsPresent + return toSerialize, nil +} + +type NullableHasKeychainEntryResponseV1 struct { + value *HasKeychainEntryResponseV1 + isSet bool +} + +func (v NullableHasKeychainEntryResponseV1) Get() *HasKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableHasKeychainEntryResponseV1) Set(val *HasKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryResponseV1(val *HasKeychainEntryResponseV1) *NullableHasKeychainEntryResponseV1 { + return &NullableHasKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go new file mode 100644 index 00000000000..bd3f1994b17 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryRequestV1{} + +// SetKeychainEntryRequestV1 struct for SetKeychainEntryRequestV1 +type SetKeychainEntryRequestV1 struct { + // The key for the entry to set on the keychain. + Key string `json:"key"` + // The value that will be associated with the key on the keychain. + Value string `json:"value"` +} + +// NewSetKeychainEntryRequestV1 instantiates a new SetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryRequestV1(key string, value string) *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + this.Key = key + this.Value = value + return &this +} + +// NewSetKeychainEntryRequestV1WithDefaults instantiates a new SetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryRequestV1WithDefaults() *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *SetKeychainEntryRequestV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *SetKeychainEntryRequestV1) SetValue(v string) { + o.Value = v +} + +func (o SetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableSetKeychainEntryRequestV1 struct { + value *SetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableSetKeychainEntryRequestV1) Get() *SetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableSetKeychainEntryRequestV1) Set(val *SetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryRequestV1(val *SetKeychainEntryRequestV1) *NullableSetKeychainEntryRequestV1 { + return &NullableSetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go new file mode 100644 index 00000000000..a7955dd8dd0 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryResponseV1{} + +// SetKeychainEntryResponseV1 struct for SetKeychainEntryResponseV1 +type SetKeychainEntryResponseV1 struct { + // The key that was used to set the value on the keychain. + Key string `json:"key"` +} + +// NewSetKeychainEntryResponseV1 instantiates a new SetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryResponseV1(key string) *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewSetKeychainEntryResponseV1WithDefaults instantiates a new SetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryResponseV1WithDefaults() *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o SetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableSetKeychainEntryResponseV1 struct { + value *SetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableSetKeychainEntryResponseV1) Get() *SetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableSetKeychainEntryResponseV1) Set(val *SetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryResponseV1(val *SetKeychainEntryResponseV1) *NullableSetKeychainEntryResponseV1 { + return &NullableSetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..efd9ffbcf4e --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..01cebac953e --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,85 @@ +/* +Hyperledger Cactus - Keychain API + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-keychain-aws-sm + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-keychain-aws-sm_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeleteKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeleteKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService HasKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.HasKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..c6f9390b046 --- /dev/null +++ b/packages/cactus-plugin-keychain-aws-sm/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-aws-sm + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-keychain-azure-kv/package.json b/packages/cactus-plugin-keychain-azure-kv/package.json index ab8b6b5b529..f22ec8c7364 100644 --- a/packages/cactus-plugin-keychain-azure-kv/package.json +++ b/packages/cactus-plugin-keychain-azure-kv/package.json @@ -53,6 +53,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..cff88d4efaa --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,19 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_delete_keychain_entry_request_v1.go +model_delete_keychain_entry_response_v1.go +model_get_keychain_entry_request_v1.go +model_get_keychain_entry_response_v1.go +model_has_keychain_entry_request_v1.go +model_has_keychain_entry_response_v1.go +model_set_keychain_entry_request_v1.go +model_set_keychain_entry_response_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..e8918c6da13 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,122 @@ +# Go API client for cactus-plugin-keychain-azure-kv + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-keychain-azure-kv "github.com/hyperledger/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-azure-kv.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-azure-kv.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-azure-kv.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-keychain-azure-kv.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeleteKeychainEntryV1**](docs/DefaultApi.md#deletekeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/delete-keychain-entry | Deletes a value under a key on the keychain backend. +*DefaultApi* | [**GetKeychainEntryV1**](docs/DefaultApi.md#getkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/get-keychain-entry | Retrieves the contents of a keychain entry from the backend. +*DefaultApi* | [**HasKeychainEntryV1**](docs/DefaultApi.md#haskeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/has-keychain-entry | Checks that an entry exists under a key on the keychain backend +*DefaultApi* | [**SetKeychainEntryV1**](docs/DefaultApi.md#setkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/set-keychain-entry | Sets a value under a key on the keychain backend. + + +## Documentation For Models + + - [DeleteKeychainEntryRequestV1](docs/DeleteKeychainEntryRequestV1.md) + - [DeleteKeychainEntryResponseV1](docs/DeleteKeychainEntryResponseV1.md) + - [GetKeychainEntryRequestV1](docs/GetKeychainEntryRequestV1.md) + - [GetKeychainEntryResponseV1](docs/GetKeychainEntryResponseV1.md) + - [HasKeychainEntryRequestV1](docs/HasKeychainEntryRequestV1.md) + - [HasKeychainEntryResponseV1](docs/HasKeychainEntryResponseV1.md) + - [SetKeychainEntryRequestV1](docs/SetKeychainEntryRequestV1.md) + - [SetKeychainEntryResponseV1](docs/SetKeychainEntryResponseV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..0feefed120c --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,344 @@ +openapi: 3.0.3 +info: + description: Contains/describes the Keychain API types/paths for Hyperledger Cactus. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus - Keychain API + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/get-keychain-entry: + post: + operationId: getKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_get_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "404": + description: A keychain item with the specified key was not found. + "500": + description: Unexpected error. + summary: Retrieves the contents of a keychain entry from the backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/get-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/set-keychain-entry: + post: + operationId: setKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_set_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Sets a value under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/set-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/delete-keychain-entry: + post: + operationId: deleteKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_delete_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Deletes a value under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/delete-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/has-keychain-entry: + post: + operationId: hasKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_has_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Checks that an entry exists under a key on the keychain backend + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/has-keychain-entry + verbLowerCase: post +components: + requestBodies: + keychain_get_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryRequestV1' + description: Request body to obtain a keychain entry via its key + required: true + keychain_set_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryRequestV1' + description: Request body to write/update a keychain entry via its key + required: true + keychain_delete_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryRequestV1' + description: Request body to delete a keychain entry via its key + required: true + keychain_has_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryRequestV1' + description: Request body for checking a keychain entry via its key + required: true + responses: + keychain_get_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + keychain_get_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_get_entry_401: + description: Authorization information is missing or invalid. + keychain_get_entry_404: + description: A keychain item with the specified key was not found. + keychain_get_entry_500: + description: Unexpected error. + keychain_set_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + keychain_set_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_set_entry_401: + description: Authorization information is missing or invalid. + keychain_set_entry_500: + description: Unexpected error. + keychain_delete_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + keychain_delete_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_delete_entry_401: + description: Authorization information is missing or invalid. + keychain_delete_entry_500: + description: Unexpected error. + keychain_has_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + keychain_has_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_has_entry_401: + description: Authorization information is missing or invalid. + keychain_has_entry_500: + description: Unexpected error. + schemas: + GetSecretRequest: + nullable: false + type: string + GetSecretResponse: + nullable: false + type: string + GetKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to get from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetKeychainEntryResponseV1: + example: + value: value + key: key + properties: + key: + description: The key that was used to retrieve the value from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value associated with the requested key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryRequestV1: + additionalProperties: false + example: + value: value + key: key + properties: + key: + description: The key for the entry to set on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value that will be associated with the key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was used to set the value on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to check the presence of on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was deleted from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key to check for presence in the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryResponseV1: + example: + checkedAt: checkedAt + isPresent: true + key: key + properties: + key: + description: The key that was used to check the presence of the value in + the entry store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + checkedAt: + description: Date and time encoded as JSON when the presence check was performed + by the plugin backend. + nullable: false + type: string + isPresent: + description: The boolean true or false indicating the presence or absence + of an entry under 'key'. + nullable: false + type: boolean + required: + - checkedAt + - isPresent + - key + type: object diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..1466671c681 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,459 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeleteKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deleteKeychainEntryRequestV1 *DeleteKeychainEntryRequestV1 +} + +// Request body to delete a keychain entry via its key +func (r ApiDeleteKeychainEntryV1Request) DeleteKeychainEntryRequestV1(deleteKeychainEntryRequestV1 DeleteKeychainEntryRequestV1) ApiDeleteKeychainEntryV1Request { + r.deleteKeychainEntryRequestV1 = &deleteKeychainEntryRequestV1 + return r +} + +func (r ApiDeleteKeychainEntryV1Request) Execute() (*DeleteKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.DeleteKeychainEntryV1Execute(r) +} + +/* +DeleteKeychainEntryV1 Deletes a value under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeleteKeychainEntryV1Request +*/ +func (a *DefaultApiService) DeleteKeychainEntryV1(ctx context.Context) ApiDeleteKeychainEntryV1Request { + return ApiDeleteKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeleteKeychainEntryResponseV1 +func (a *DefaultApiService) DeleteKeychainEntryV1Execute(r ApiDeleteKeychainEntryV1Request) (*DeleteKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeleteKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/delete-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.deleteKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("deleteKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deleteKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getKeychainEntryRequestV1 *GetKeychainEntryRequestV1 +} + +// Request body to obtain a keychain entry via its key +func (r ApiGetKeychainEntryV1Request) GetKeychainEntryRequestV1(getKeychainEntryRequestV1 GetKeychainEntryRequestV1) ApiGetKeychainEntryV1Request { + r.getKeychainEntryRequestV1 = &getKeychainEntryRequestV1 + return r +} + +func (r ApiGetKeychainEntryV1Request) Execute() (*GetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.GetKeychainEntryV1Execute(r) +} + +/* +GetKeychainEntryV1 Retrieves the contents of a keychain entry from the backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetKeychainEntryV1Request +*/ +func (a *DefaultApiService) GetKeychainEntryV1(ctx context.Context) ApiGetKeychainEntryV1Request { + return ApiGetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetKeychainEntryResponseV1 +func (a *DefaultApiService) GetKeychainEntryV1Execute(r ApiGetKeychainEntryV1Request) (*GetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/get-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.getKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("getKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiHasKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + hasKeychainEntryRequestV1 *HasKeychainEntryRequestV1 +} + +// Request body for checking a keychain entry via its key +func (r ApiHasKeychainEntryV1Request) HasKeychainEntryRequestV1(hasKeychainEntryRequestV1 HasKeychainEntryRequestV1) ApiHasKeychainEntryV1Request { + r.hasKeychainEntryRequestV1 = &hasKeychainEntryRequestV1 + return r +} + +func (r ApiHasKeychainEntryV1Request) Execute() (*HasKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.HasKeychainEntryV1Execute(r) +} + +/* +HasKeychainEntryV1 Checks that an entry exists under a key on the keychain backend + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiHasKeychainEntryV1Request +*/ +func (a *DefaultApiService) HasKeychainEntryV1(ctx context.Context) ApiHasKeychainEntryV1Request { + return ApiHasKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HasKeychainEntryResponseV1 +func (a *DefaultApiService) HasKeychainEntryV1Execute(r ApiHasKeychainEntryV1Request) (*HasKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HasKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.HasKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/has-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.hasKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("hasKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.hasKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + setKeychainEntryRequestV1 *SetKeychainEntryRequestV1 +} + +// Request body to write/update a keychain entry via its key +func (r ApiSetKeychainEntryV1Request) SetKeychainEntryRequestV1(setKeychainEntryRequestV1 SetKeychainEntryRequestV1) ApiSetKeychainEntryV1Request { + r.setKeychainEntryRequestV1 = &setKeychainEntryRequestV1 + return r +} + +func (r ApiSetKeychainEntryV1Request) Execute() (*SetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.SetKeychainEntryV1Execute(r) +} + +/* +SetKeychainEntryV1 Sets a value under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSetKeychainEntryV1Request +*/ +func (a *DefaultApiService) SetKeychainEntryV1(ctx context.Context) ApiSetKeychainEntryV1Request { + return ApiSetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SetKeychainEntryResponseV1 +func (a *DefaultApiService) SetKeychainEntryV1Execute(r ApiSetKeychainEntryV1Request) (*SetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-azure-kv/set-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.setKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("setKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.setKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..4222e31ca30 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus - Keychain API API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..ce8fd529d3a --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..f3e39b75dc5 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go new file mode 100644 index 00000000000..10cb26833a6 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryRequestV1{} + +// DeleteKeychainEntryRequestV1 struct for DeleteKeychainEntryRequestV1 +type DeleteKeychainEntryRequestV1 struct { + // The key for the entry to check the presence of on the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryRequestV1 instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryRequestV1(key string) *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryRequestV1WithDefaults instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryRequestV1WithDefaults() *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryRequestV1 struct { + value *DeleteKeychainEntryRequestV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryRequestV1) Get() *DeleteKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryRequestV1) Set(val *DeleteKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryRequestV1(val *DeleteKeychainEntryRequestV1) *NullableDeleteKeychainEntryRequestV1 { + return &NullableDeleteKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go new file mode 100644 index 00000000000..25704ef7005 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryResponseV1{} + +// DeleteKeychainEntryResponseV1 struct for DeleteKeychainEntryResponseV1 +type DeleteKeychainEntryResponseV1 struct { + // The key that was deleted from the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryResponseV1 instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryResponseV1(key string) *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryResponseV1WithDefaults instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryResponseV1WithDefaults() *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryResponseV1 struct { + value *DeleteKeychainEntryResponseV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryResponseV1) Get() *DeleteKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryResponseV1) Set(val *DeleteKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryResponseV1(val *DeleteKeychainEntryResponseV1) *NullableDeleteKeychainEntryResponseV1 { + return &NullableDeleteKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go new file mode 100644 index 00000000000..e828232161a --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryRequestV1{} + +// GetKeychainEntryRequestV1 struct for GetKeychainEntryRequestV1 +type GetKeychainEntryRequestV1 struct { + // The key for the entry to get from the keychain. + Key string `json:"key"` +} + +// NewGetKeychainEntryRequestV1 instantiates a new GetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryRequestV1(key string) *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewGetKeychainEntryRequestV1WithDefaults instantiates a new GetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryRequestV1WithDefaults() *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o GetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableGetKeychainEntryRequestV1 struct { + value *GetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableGetKeychainEntryRequestV1) Get() *GetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableGetKeychainEntryRequestV1) Set(val *GetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryRequestV1(val *GetKeychainEntryRequestV1) *NullableGetKeychainEntryRequestV1 { + return &NullableGetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go new file mode 100644 index 00000000000..e7587fcf5e3 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryResponseV1{} + +// GetKeychainEntryResponseV1 struct for GetKeychainEntryResponseV1 +type GetKeychainEntryResponseV1 struct { + // The key that was used to retrieve the value from the keychain. + Key string `json:"key"` + // The value associated with the requested key on the keychain. + Value string `json:"value"` +} + +// NewGetKeychainEntryResponseV1 instantiates a new GetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryResponseV1(key string, value string) *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + this.Key = key + this.Value = value + return &this +} + +// NewGetKeychainEntryResponseV1WithDefaults instantiates a new GetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryResponseV1WithDefaults() *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *GetKeychainEntryResponseV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *GetKeychainEntryResponseV1) SetValue(v string) { + o.Value = v +} + +func (o GetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableGetKeychainEntryResponseV1 struct { + value *GetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableGetKeychainEntryResponseV1) Get() *GetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableGetKeychainEntryResponseV1) Set(val *GetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryResponseV1(val *GetKeychainEntryResponseV1) *NullableGetKeychainEntryResponseV1 { + return &NullableGetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go new file mode 100644 index 00000000000..3cf2080bd1e --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryRequestV1{} + +// HasKeychainEntryRequestV1 struct for HasKeychainEntryRequestV1 +type HasKeychainEntryRequestV1 struct { + // The key to check for presence in the keychain. + Key string `json:"key"` +} + +// NewHasKeychainEntryRequestV1 instantiates a new HasKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryRequestV1(key string) *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewHasKeychainEntryRequestV1WithDefaults instantiates a new HasKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryRequestV1WithDefaults() *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o HasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableHasKeychainEntryRequestV1 struct { + value *HasKeychainEntryRequestV1 + isSet bool +} + +func (v NullableHasKeychainEntryRequestV1) Get() *HasKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableHasKeychainEntryRequestV1) Set(val *HasKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryRequestV1(val *HasKeychainEntryRequestV1) *NullableHasKeychainEntryRequestV1 { + return &NullableHasKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go new file mode 100644 index 00000000000..4d4cc5c4837 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go @@ -0,0 +1,174 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryResponseV1{} + +// HasKeychainEntryResponseV1 struct for HasKeychainEntryResponseV1 +type HasKeychainEntryResponseV1 struct { + // The key that was used to check the presence of the value in the entry store. + Key string `json:"key"` + // Date and time encoded as JSON when the presence check was performed by the plugin backend. + CheckedAt string `json:"checkedAt"` + // The boolean true or false indicating the presence or absence of an entry under 'key'. + IsPresent bool `json:"isPresent"` +} + +// NewHasKeychainEntryResponseV1 instantiates a new HasKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryResponseV1(key string, checkedAt string, isPresent bool) *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + this.Key = key + this.CheckedAt = checkedAt + this.IsPresent = isPresent + return &this +} + +// NewHasKeychainEntryResponseV1WithDefaults instantiates a new HasKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryResponseV1WithDefaults() *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetCheckedAt returns the CheckedAt field value +func (o *HasKeychainEntryResponseV1) GetCheckedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CheckedAt +} + +// GetCheckedAtOk returns a tuple with the CheckedAt field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetCheckedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CheckedAt, true +} + +// SetCheckedAt sets field value +func (o *HasKeychainEntryResponseV1) SetCheckedAt(v string) { + o.CheckedAt = v +} + +// GetIsPresent returns the IsPresent field value +func (o *HasKeychainEntryResponseV1) GetIsPresent() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsPresent +} + +// GetIsPresentOk returns a tuple with the IsPresent field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetIsPresentOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsPresent, true +} + +// SetIsPresent sets field value +func (o *HasKeychainEntryResponseV1) SetIsPresent(v bool) { + o.IsPresent = v +} + +func (o HasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["checkedAt"] = o.CheckedAt + toSerialize["isPresent"] = o.IsPresent + return toSerialize, nil +} + +type NullableHasKeychainEntryResponseV1 struct { + value *HasKeychainEntryResponseV1 + isSet bool +} + +func (v NullableHasKeychainEntryResponseV1) Get() *HasKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableHasKeychainEntryResponseV1) Set(val *HasKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryResponseV1(val *HasKeychainEntryResponseV1) *NullableHasKeychainEntryResponseV1 { + return &NullableHasKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go new file mode 100644 index 00000000000..688f9631c44 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryRequestV1{} + +// SetKeychainEntryRequestV1 struct for SetKeychainEntryRequestV1 +type SetKeychainEntryRequestV1 struct { + // The key for the entry to set on the keychain. + Key string `json:"key"` + // The value that will be associated with the key on the keychain. + Value string `json:"value"` +} + +// NewSetKeychainEntryRequestV1 instantiates a new SetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryRequestV1(key string, value string) *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + this.Key = key + this.Value = value + return &this +} + +// NewSetKeychainEntryRequestV1WithDefaults instantiates a new SetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryRequestV1WithDefaults() *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *SetKeychainEntryRequestV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *SetKeychainEntryRequestV1) SetValue(v string) { + o.Value = v +} + +func (o SetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableSetKeychainEntryRequestV1 struct { + value *SetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableSetKeychainEntryRequestV1) Get() *SetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableSetKeychainEntryRequestV1) Set(val *SetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryRequestV1(val *SetKeychainEntryRequestV1) *NullableSetKeychainEntryRequestV1 { + return &NullableSetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go new file mode 100644 index 00000000000..1a6ea4d7929 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryResponseV1{} + +// SetKeychainEntryResponseV1 struct for SetKeychainEntryResponseV1 +type SetKeychainEntryResponseV1 struct { + // The key that was used to set the value on the keychain. + Key string `json:"key"` +} + +// NewSetKeychainEntryResponseV1 instantiates a new SetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryResponseV1(key string) *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewSetKeychainEntryResponseV1WithDefaults instantiates a new SetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryResponseV1WithDefaults() *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o SetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableSetKeychainEntryResponseV1 struct { + value *SetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableSetKeychainEntryResponseV1) Get() *SetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableSetKeychainEntryResponseV1) Set(val *SetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryResponseV1(val *SetKeychainEntryResponseV1) *NullableSetKeychainEntryResponseV1 { + return &NullableSetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..b16f744b481 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..6933479ebbe --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,73 @@ +/* +Hyperledger Cactus - Keychain API + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-keychain-azure-kv + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-keychain-azure-kv_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeleteKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeleteKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService HasKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.HasKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..ad78b8e8497 --- /dev/null +++ b/packages/cactus-plugin-keychain-azure-kv/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-azure-kv + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-keychain-google-sm/package.json b/packages/cactus-plugin-keychain-google-sm/package.json index d0e7d300c65..288f8da9f9a 100644 --- a/packages/cactus-plugin-keychain-google-sm/package.json +++ b/packages/cactus-plugin-keychain-google-sm/package.json @@ -48,6 +48,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..cff88d4efaa --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,19 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_delete_keychain_entry_request_v1.go +model_delete_keychain_entry_response_v1.go +model_get_keychain_entry_request_v1.go +model_get_keychain_entry_response_v1.go +model_has_keychain_entry_request_v1.go +model_has_keychain_entry_response_v1.go +model_set_keychain_entry_request_v1.go +model_set_keychain_entry_response_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..97156ab4a20 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,122 @@ +# Go API client for cactus-plugin-keychain-google-sm + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-keychain-google-sm "github.com/hyperledger/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-google-sm.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-google-sm.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-google-sm.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-keychain-google-sm.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeleteKeychainEntryV1**](docs/DefaultApi.md#deletekeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/delete-keychain-entry | Deletes an entry under a key on the keychain backend. +*DefaultApi* | [**GetKeychainEntryV1**](docs/DefaultApi.md#getkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/get-keychain-entry | Retrieves the contents of a keychain entry from the backend. +*DefaultApi* | [**HasKeychainEntryV1**](docs/DefaultApi.md#haskeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/has-keychain-entry | Checks that an entry exists under a key on the keychain backend. +*DefaultApi* | [**SetKeychainEntryV1**](docs/DefaultApi.md#setkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/set-keychain-entry | Sets a value under a key on the keychain backend. + + +## Documentation For Models + + - [DeleteKeychainEntryRequestV1](docs/DeleteKeychainEntryRequestV1.md) + - [DeleteKeychainEntryResponseV1](docs/DeleteKeychainEntryResponseV1.md) + - [GetKeychainEntryRequestV1](docs/GetKeychainEntryRequestV1.md) + - [GetKeychainEntryResponseV1](docs/GetKeychainEntryResponseV1.md) + - [HasKeychainEntryRequestV1](docs/HasKeychainEntryRequestV1.md) + - [HasKeychainEntryResponseV1](docs/HasKeychainEntryResponseV1.md) + - [SetKeychainEntryRequestV1](docs/SetKeychainEntryRequestV1.md) + - [SetKeychainEntryResponseV1](docs/SetKeychainEntryResponseV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..7a3a1bcc059 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,324 @@ +openapi: 3.0.3 +info: + description: Contains/describes the Keychain API types/paths for Hyperledger Cactus. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus - Keychain API + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/get-keychain-entry: + post: + operationId: getKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_get_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "404": + description: A keychain item with the specified key was not found. + "500": + description: Unexpected error. + summary: Retrieves the contents of a keychain entry from the backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/get-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/set-keychain-entry: + post: + operationId: setKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_set_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Sets a value under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/set-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/delete-keychain-entry: + post: + operationId: deleteKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_delete_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + summary: Deletes an entry under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/delete-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/has-keychain-entry: + post: + operationId: hasKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_has_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Checks that an entry exists under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/has-keychain-entry + verbLowerCase: post +components: + requestBodies: + keychain_get_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryRequestV1' + description: Request body to obtain a keychain entry via its key + required: true + keychain_set_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryRequestV1' + description: Request body to write/update a keychain entry via its key + required: true + keychain_delete_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryRequestV1' + description: Request body to delete a keychain entry via its key + required: true + keychain_has_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryRequestV1' + description: Request body for checking a keychain entry via its key + required: true + responses: + keychain_get_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + keychain_get_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_get_entry_401: + description: Authorization information is missing or invalid. + keychain_get_entry_404: + description: A keychain item with the specified key was not found. + keychain_get_entry_500: + description: Unexpected error. + keychain_set_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + keychain_set_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_set_entry_401: + description: Authorization information is missing or invalid. + keychain_set_entry_500: + description: Unexpected error. + keychain_delete_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + keychain_has_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + keychain_has_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_has_entry_401: + description: Authorization information is missing or invalid. + keychain_has_entry_500: + description: Unexpected error. + schemas: + GetKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to get from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetKeychainEntryResponseV1: + example: + value: value + key: key + properties: + key: + description: The key that was used to retrieve the value from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value associated with the requested key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryRequestV1: + additionalProperties: false + example: + value: value + key: key + properties: + key: + description: The key for the entry to set on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value that will be associated with the key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was used to set the value on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to check the presence of on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was deleted from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key to check for presence in the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryResponseV1: + example: + checkedAt: checkedAt + isPresent: true + key: key + properties: + key: + description: The key that was used to check the presence of the value in + the entry store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + checkedAt: + description: Date and time encoded as JSON when the presence check was performed + by the plugin backend. + nullable: false + type: string + isPresent: + description: The boolean true or false indicating the presence or absence + of an entry under 'key'. + nullable: false + type: boolean + required: + - checkedAt + - isPresent + - key + type: object diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..56cbaa1401b --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,459 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeleteKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deleteKeychainEntryRequestV1 *DeleteKeychainEntryRequestV1 +} + +// Request body to delete a keychain entry via its key +func (r ApiDeleteKeychainEntryV1Request) DeleteKeychainEntryRequestV1(deleteKeychainEntryRequestV1 DeleteKeychainEntryRequestV1) ApiDeleteKeychainEntryV1Request { + r.deleteKeychainEntryRequestV1 = &deleteKeychainEntryRequestV1 + return r +} + +func (r ApiDeleteKeychainEntryV1Request) Execute() (*DeleteKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.DeleteKeychainEntryV1Execute(r) +} + +/* +DeleteKeychainEntryV1 Deletes an entry under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeleteKeychainEntryV1Request +*/ +func (a *DefaultApiService) DeleteKeychainEntryV1(ctx context.Context) ApiDeleteKeychainEntryV1Request { + return ApiDeleteKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeleteKeychainEntryResponseV1 +func (a *DefaultApiService) DeleteKeychainEntryV1Execute(r ApiDeleteKeychainEntryV1Request) (*DeleteKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeleteKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/delete-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.deleteKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("deleteKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deleteKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getKeychainEntryRequestV1 *GetKeychainEntryRequestV1 +} + +// Request body to obtain a keychain entry via its key +func (r ApiGetKeychainEntryV1Request) GetKeychainEntryRequestV1(getKeychainEntryRequestV1 GetKeychainEntryRequestV1) ApiGetKeychainEntryV1Request { + r.getKeychainEntryRequestV1 = &getKeychainEntryRequestV1 + return r +} + +func (r ApiGetKeychainEntryV1Request) Execute() (*GetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.GetKeychainEntryV1Execute(r) +} + +/* +GetKeychainEntryV1 Retrieves the contents of a keychain entry from the backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetKeychainEntryV1Request +*/ +func (a *DefaultApiService) GetKeychainEntryV1(ctx context.Context) ApiGetKeychainEntryV1Request { + return ApiGetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetKeychainEntryResponseV1 +func (a *DefaultApiService) GetKeychainEntryV1Execute(r ApiGetKeychainEntryV1Request) (*GetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/get-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.getKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("getKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiHasKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + hasKeychainEntryRequestV1 *HasKeychainEntryRequestV1 +} + +// Request body for checking a keychain entry via its key +func (r ApiHasKeychainEntryV1Request) HasKeychainEntryRequestV1(hasKeychainEntryRequestV1 HasKeychainEntryRequestV1) ApiHasKeychainEntryV1Request { + r.hasKeychainEntryRequestV1 = &hasKeychainEntryRequestV1 + return r +} + +func (r ApiHasKeychainEntryV1Request) Execute() (*HasKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.HasKeychainEntryV1Execute(r) +} + +/* +HasKeychainEntryV1 Checks that an entry exists under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiHasKeychainEntryV1Request +*/ +func (a *DefaultApiService) HasKeychainEntryV1(ctx context.Context) ApiHasKeychainEntryV1Request { + return ApiHasKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HasKeychainEntryResponseV1 +func (a *DefaultApiService) HasKeychainEntryV1Execute(r ApiHasKeychainEntryV1Request) (*HasKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HasKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.HasKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/has-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.hasKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("hasKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.hasKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + setKeychainEntryRequestV1 *SetKeychainEntryRequestV1 +} + +// Request body to write/update a keychain entry via its key +func (r ApiSetKeychainEntryV1Request) SetKeychainEntryRequestV1(setKeychainEntryRequestV1 SetKeychainEntryRequestV1) ApiSetKeychainEntryV1Request { + r.setKeychainEntryRequestV1 = &setKeychainEntryRequestV1 + return r +} + +func (r ApiSetKeychainEntryV1Request) Execute() (*SetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.SetKeychainEntryV1Execute(r) +} + +/* +SetKeychainEntryV1 Sets a value under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSetKeychainEntryV1Request +*/ +func (a *DefaultApiService) SetKeychainEntryV1(ctx context.Context) ApiSetKeychainEntryV1Request { + return ApiSetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SetKeychainEntryResponseV1 +func (a *DefaultApiService) SetKeychainEntryV1Execute(r ApiSetKeychainEntryV1Request) (*SetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-google-sm/set-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.setKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("setKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.setKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..77fb3c3e242 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus - Keychain API API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..d5be72e2e52 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..e0709f18c11 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go new file mode 100644 index 00000000000..ef9761f5c07 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryRequestV1{} + +// DeleteKeychainEntryRequestV1 struct for DeleteKeychainEntryRequestV1 +type DeleteKeychainEntryRequestV1 struct { + // The key for the entry to check the presence of on the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryRequestV1 instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryRequestV1(key string) *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryRequestV1WithDefaults instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryRequestV1WithDefaults() *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryRequestV1 struct { + value *DeleteKeychainEntryRequestV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryRequestV1) Get() *DeleteKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryRequestV1) Set(val *DeleteKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryRequestV1(val *DeleteKeychainEntryRequestV1) *NullableDeleteKeychainEntryRequestV1 { + return &NullableDeleteKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go new file mode 100644 index 00000000000..e59e64f97ab --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryResponseV1{} + +// DeleteKeychainEntryResponseV1 struct for DeleteKeychainEntryResponseV1 +type DeleteKeychainEntryResponseV1 struct { + // The key that was deleted from the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryResponseV1 instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryResponseV1(key string) *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryResponseV1WithDefaults instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryResponseV1WithDefaults() *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryResponseV1 struct { + value *DeleteKeychainEntryResponseV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryResponseV1) Get() *DeleteKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryResponseV1) Set(val *DeleteKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryResponseV1(val *DeleteKeychainEntryResponseV1) *NullableDeleteKeychainEntryResponseV1 { + return &NullableDeleteKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go new file mode 100644 index 00000000000..8b127a17218 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryRequestV1{} + +// GetKeychainEntryRequestV1 struct for GetKeychainEntryRequestV1 +type GetKeychainEntryRequestV1 struct { + // The key for the entry to get from the keychain. + Key string `json:"key"` +} + +// NewGetKeychainEntryRequestV1 instantiates a new GetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryRequestV1(key string) *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewGetKeychainEntryRequestV1WithDefaults instantiates a new GetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryRequestV1WithDefaults() *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o GetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableGetKeychainEntryRequestV1 struct { + value *GetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableGetKeychainEntryRequestV1) Get() *GetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableGetKeychainEntryRequestV1) Set(val *GetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryRequestV1(val *GetKeychainEntryRequestV1) *NullableGetKeychainEntryRequestV1 { + return &NullableGetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go new file mode 100644 index 00000000000..8080317b978 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryResponseV1{} + +// GetKeychainEntryResponseV1 struct for GetKeychainEntryResponseV1 +type GetKeychainEntryResponseV1 struct { + // The key that was used to retrieve the value from the keychain. + Key string `json:"key"` + // The value associated with the requested key on the keychain. + Value string `json:"value"` +} + +// NewGetKeychainEntryResponseV1 instantiates a new GetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryResponseV1(key string, value string) *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + this.Key = key + this.Value = value + return &this +} + +// NewGetKeychainEntryResponseV1WithDefaults instantiates a new GetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryResponseV1WithDefaults() *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *GetKeychainEntryResponseV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *GetKeychainEntryResponseV1) SetValue(v string) { + o.Value = v +} + +func (o GetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableGetKeychainEntryResponseV1 struct { + value *GetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableGetKeychainEntryResponseV1) Get() *GetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableGetKeychainEntryResponseV1) Set(val *GetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryResponseV1(val *GetKeychainEntryResponseV1) *NullableGetKeychainEntryResponseV1 { + return &NullableGetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go new file mode 100644 index 00000000000..f3e80c64c35 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryRequestV1{} + +// HasKeychainEntryRequestV1 struct for HasKeychainEntryRequestV1 +type HasKeychainEntryRequestV1 struct { + // The key to check for presence in the keychain. + Key string `json:"key"` +} + +// NewHasKeychainEntryRequestV1 instantiates a new HasKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryRequestV1(key string) *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewHasKeychainEntryRequestV1WithDefaults instantiates a new HasKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryRequestV1WithDefaults() *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o HasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableHasKeychainEntryRequestV1 struct { + value *HasKeychainEntryRequestV1 + isSet bool +} + +func (v NullableHasKeychainEntryRequestV1) Get() *HasKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableHasKeychainEntryRequestV1) Set(val *HasKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryRequestV1(val *HasKeychainEntryRequestV1) *NullableHasKeychainEntryRequestV1 { + return &NullableHasKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go new file mode 100644 index 00000000000..670e2041c38 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go @@ -0,0 +1,174 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryResponseV1{} + +// HasKeychainEntryResponseV1 struct for HasKeychainEntryResponseV1 +type HasKeychainEntryResponseV1 struct { + // The key that was used to check the presence of the value in the entry store. + Key string `json:"key"` + // Date and time encoded as JSON when the presence check was performed by the plugin backend. + CheckedAt string `json:"checkedAt"` + // The boolean true or false indicating the presence or absence of an entry under 'key'. + IsPresent bool `json:"isPresent"` +} + +// NewHasKeychainEntryResponseV1 instantiates a new HasKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryResponseV1(key string, checkedAt string, isPresent bool) *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + this.Key = key + this.CheckedAt = checkedAt + this.IsPresent = isPresent + return &this +} + +// NewHasKeychainEntryResponseV1WithDefaults instantiates a new HasKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryResponseV1WithDefaults() *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetCheckedAt returns the CheckedAt field value +func (o *HasKeychainEntryResponseV1) GetCheckedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CheckedAt +} + +// GetCheckedAtOk returns a tuple with the CheckedAt field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetCheckedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CheckedAt, true +} + +// SetCheckedAt sets field value +func (o *HasKeychainEntryResponseV1) SetCheckedAt(v string) { + o.CheckedAt = v +} + +// GetIsPresent returns the IsPresent field value +func (o *HasKeychainEntryResponseV1) GetIsPresent() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsPresent +} + +// GetIsPresentOk returns a tuple with the IsPresent field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetIsPresentOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsPresent, true +} + +// SetIsPresent sets field value +func (o *HasKeychainEntryResponseV1) SetIsPresent(v bool) { + o.IsPresent = v +} + +func (o HasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["checkedAt"] = o.CheckedAt + toSerialize["isPresent"] = o.IsPresent + return toSerialize, nil +} + +type NullableHasKeychainEntryResponseV1 struct { + value *HasKeychainEntryResponseV1 + isSet bool +} + +func (v NullableHasKeychainEntryResponseV1) Get() *HasKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableHasKeychainEntryResponseV1) Set(val *HasKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryResponseV1(val *HasKeychainEntryResponseV1) *NullableHasKeychainEntryResponseV1 { + return &NullableHasKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go new file mode 100644 index 00000000000..45f6253542b --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryRequestV1{} + +// SetKeychainEntryRequestV1 struct for SetKeychainEntryRequestV1 +type SetKeychainEntryRequestV1 struct { + // The key for the entry to set on the keychain. + Key string `json:"key"` + // The value that will be associated with the key on the keychain. + Value string `json:"value"` +} + +// NewSetKeychainEntryRequestV1 instantiates a new SetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryRequestV1(key string, value string) *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + this.Key = key + this.Value = value + return &this +} + +// NewSetKeychainEntryRequestV1WithDefaults instantiates a new SetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryRequestV1WithDefaults() *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *SetKeychainEntryRequestV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *SetKeychainEntryRequestV1) SetValue(v string) { + o.Value = v +} + +func (o SetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableSetKeychainEntryRequestV1 struct { + value *SetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableSetKeychainEntryRequestV1) Get() *SetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableSetKeychainEntryRequestV1) Set(val *SetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryRequestV1(val *SetKeychainEntryRequestV1) *NullableSetKeychainEntryRequestV1 { + return &NullableSetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go new file mode 100644 index 00000000000..2b974963484 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryResponseV1{} + +// SetKeychainEntryResponseV1 struct for SetKeychainEntryResponseV1 +type SetKeychainEntryResponseV1 struct { + // The key that was used to set the value on the keychain. + Key string `json:"key"` +} + +// NewSetKeychainEntryResponseV1 instantiates a new SetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryResponseV1(key string) *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewSetKeychainEntryResponseV1WithDefaults instantiates a new SetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryResponseV1WithDefaults() *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o SetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableSetKeychainEntryResponseV1 struct { + value *SetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableSetKeychainEntryResponseV1) Get() *SetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableSetKeychainEntryResponseV1) Set(val *SetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryResponseV1(val *SetKeychainEntryResponseV1) *NullableSetKeychainEntryResponseV1 { + return &NullableSetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..3a2add7097f --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..5d94c59dec0 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,73 @@ +/* +Hyperledger Cactus - Keychain API + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-keychain-google-sm + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-keychain-google-sm_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeleteKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeleteKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService HasKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.HasKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..df15f376c00 --- /dev/null +++ b/packages/cactus-plugin-keychain-google-sm/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-google-sm + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-keychain-memory-wasm/package.json b/packages/cactus-plugin-keychain-memory-wasm/package.json index 1a25bd5b2ed..d3cd203b6d7 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/package.json +++ b/packages/cactus-plugin-keychain-memory-wasm/package.json @@ -51,6 +51,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "wasm-pack": "CARGO_TARGET_DIR=${PWD}/dist/target-rustc/ wasm-pack build src/main/rust/cactus-plugin-keychain-memory-wasm/ --release --scope=hyperledger --target=nodejs --out-dir=../../../../src/main/typescript/generated/wasm-pack/", "postwasm-pack": "run-s del-wasm-pack-project-files copy-wasm-bg", "watch": "npm-watch", diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..cff88d4efaa --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,19 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_delete_keychain_entry_request_v1.go +model_delete_keychain_entry_response_v1.go +model_get_keychain_entry_request_v1.go +model_get_keychain_entry_response_v1.go +model_has_keychain_entry_request_v1.go +model_has_keychain_entry_response_v1.go +model_set_keychain_entry_request_v1.go +model_set_keychain_entry_response_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..2f2ccb3fd5d --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,122 @@ +# Go API client for cactus-plugin-keychain-memory-wasm + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-keychain-memory-wasm "github.com/hyperledger/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-memory-wasm.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-memory-wasm.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-memory-wasm.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-keychain-memory-wasm.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeleteKeychainEntryV1**](docs/DefaultApi.md#deletekeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/delete-keychain-entry | Deletes an entry under a key on the keychain backend. +*DefaultApi* | [**GetKeychainEntryV1**](docs/DefaultApi.md#getkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/get-keychain-entry | Retrieves the contents of a keychain entry from the backend. +*DefaultApi* | [**HasKeychainEntryV1**](docs/DefaultApi.md#haskeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/has-keychain-entry | Checks that an entry exists under a key on the keychain backend +*DefaultApi* | [**SetKeychainEntryV1**](docs/DefaultApi.md#setkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/set-keychain-entry | Sets a value under a key on the keychain backend. + + +## Documentation For Models + + - [DeleteKeychainEntryRequestV1](docs/DeleteKeychainEntryRequestV1.md) + - [DeleteKeychainEntryResponseV1](docs/DeleteKeychainEntryResponseV1.md) + - [GetKeychainEntryRequestV1](docs/GetKeychainEntryRequestV1.md) + - [GetKeychainEntryResponseV1](docs/GetKeychainEntryResponseV1.md) + - [HasKeychainEntryRequestV1](docs/HasKeychainEntryRequestV1.md) + - [HasKeychainEntryResponseV1](docs/HasKeychainEntryResponseV1.md) + - [SetKeychainEntryRequestV1](docs/SetKeychainEntryRequestV1.md) + - [SetKeychainEntryResponseV1](docs/SetKeychainEntryResponseV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..60a33b3bda9 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,340 @@ +openapi: 3.0.3 +info: + description: Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin + which is designed to help with testing and development and is implemented in Rust + instead of Typescript. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Keychain Memory WASM + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/get-keychain-entry: + post: + operationId: getKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_get_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "404": + description: A keychain item with the specified key was not found. + "500": + description: Unexpected error. + summary: Retrieves the contents of a keychain entry from the backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/get-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/set-keychain-entry: + post: + operationId: setKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_set_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Sets a value under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/set-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/delete-keychain-entry: + post: + operationId: deleteKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_delete_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Deletes an entry under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/delete-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/has-keychain-entry: + post: + operationId: hasKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_has_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Checks that an entry exists under a key on the keychain backend + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/has-keychain-entry + verbLowerCase: post +components: + requestBodies: + keychain_get_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryRequestV1' + description: Request body to obtain a keychain entry via its key + required: true + keychain_set_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryRequestV1' + description: Request body to write/update a keychain entry via its key + required: true + keychain_delete_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryRequestV1' + description: Request body to delete a keychain entry via its key + required: true + keychain_has_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryRequestV1' + description: Request body for checking a keychain entry via its key + required: true + responses: + keychain_get_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + keychain_get_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_get_entry_401: + description: Authorization information is missing or invalid. + keychain_get_entry_404: + description: A keychain item with the specified key was not found. + keychain_get_entry_500: + description: Unexpected error. + keychain_set_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + keychain_set_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_set_entry_401: + description: Authorization information is missing or invalid. + keychain_set_entry_500: + description: Unexpected error. + keychain_delete_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + keychain_delete_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_delete_entry_401: + description: Authorization information is missing or invalid. + keychain_delete_entry_500: + description: Unexpected error. + keychain_has_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + keychain_has_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_has_entry_401: + description: Authorization information is missing or invalid. + keychain_has_entry_500: + description: Unexpected error. + schemas: + GetKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to get from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetKeychainEntryResponseV1: + example: + value: value + key: key + properties: + key: + description: The key that was used to retrieve the value from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value associated with the requested key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryRequestV1: + additionalProperties: false + example: + value: value + key: key + properties: + key: + description: The key for the entry to set on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value that will be associated with the key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was used to set the value on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to check the presence of on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was deleted from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key to check for presence in the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryResponseV1: + example: + checkedAt: checkedAt + isPresent: true + key: key + properties: + key: + description: The key that was used to check the presence of the value in + the entry store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + checkedAt: + description: Date and time encoded as JSON when the presence check was performed + by the plugin backend. + nullable: false + type: string + isPresent: + description: The boolean true or false indicating the presence or absence + of an entry under 'key'. + nullable: false + type: boolean + required: + - checkedAt + - isPresent + - key + type: object diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..a283b63b992 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,459 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeleteKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deleteKeychainEntryRequestV1 *DeleteKeychainEntryRequestV1 +} + +// Request body to delete a keychain entry via its key +func (r ApiDeleteKeychainEntryV1Request) DeleteKeychainEntryRequestV1(deleteKeychainEntryRequestV1 DeleteKeychainEntryRequestV1) ApiDeleteKeychainEntryV1Request { + r.deleteKeychainEntryRequestV1 = &deleteKeychainEntryRequestV1 + return r +} + +func (r ApiDeleteKeychainEntryV1Request) Execute() (*DeleteKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.DeleteKeychainEntryV1Execute(r) +} + +/* +DeleteKeychainEntryV1 Deletes an entry under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeleteKeychainEntryV1Request +*/ +func (a *DefaultApiService) DeleteKeychainEntryV1(ctx context.Context) ApiDeleteKeychainEntryV1Request { + return ApiDeleteKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeleteKeychainEntryResponseV1 +func (a *DefaultApiService) DeleteKeychainEntryV1Execute(r ApiDeleteKeychainEntryV1Request) (*DeleteKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeleteKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/delete-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.deleteKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("deleteKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deleteKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getKeychainEntryRequestV1 *GetKeychainEntryRequestV1 +} + +// Request body to obtain a keychain entry via its key +func (r ApiGetKeychainEntryV1Request) GetKeychainEntryRequestV1(getKeychainEntryRequestV1 GetKeychainEntryRequestV1) ApiGetKeychainEntryV1Request { + r.getKeychainEntryRequestV1 = &getKeychainEntryRequestV1 + return r +} + +func (r ApiGetKeychainEntryV1Request) Execute() (*GetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.GetKeychainEntryV1Execute(r) +} + +/* +GetKeychainEntryV1 Retrieves the contents of a keychain entry from the backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetKeychainEntryV1Request +*/ +func (a *DefaultApiService) GetKeychainEntryV1(ctx context.Context) ApiGetKeychainEntryV1Request { + return ApiGetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetKeychainEntryResponseV1 +func (a *DefaultApiService) GetKeychainEntryV1Execute(r ApiGetKeychainEntryV1Request) (*GetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/get-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.getKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("getKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiHasKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + hasKeychainEntryRequestV1 *HasKeychainEntryRequestV1 +} + +// Request body for checking a keychain entry via its key +func (r ApiHasKeychainEntryV1Request) HasKeychainEntryRequestV1(hasKeychainEntryRequestV1 HasKeychainEntryRequestV1) ApiHasKeychainEntryV1Request { + r.hasKeychainEntryRequestV1 = &hasKeychainEntryRequestV1 + return r +} + +func (r ApiHasKeychainEntryV1Request) Execute() (*HasKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.HasKeychainEntryV1Execute(r) +} + +/* +HasKeychainEntryV1 Checks that an entry exists under a key on the keychain backend + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiHasKeychainEntryV1Request +*/ +func (a *DefaultApiService) HasKeychainEntryV1(ctx context.Context) ApiHasKeychainEntryV1Request { + return ApiHasKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HasKeychainEntryResponseV1 +func (a *DefaultApiService) HasKeychainEntryV1Execute(r ApiHasKeychainEntryV1Request) (*HasKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HasKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.HasKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/has-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.hasKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("hasKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.hasKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + setKeychainEntryRequestV1 *SetKeychainEntryRequestV1 +} + +// Request body to write/update a keychain entry via its key +func (r ApiSetKeychainEntryV1Request) SetKeychainEntryRequestV1(setKeychainEntryRequestV1 SetKeychainEntryRequestV1) ApiSetKeychainEntryV1Request { + r.setKeychainEntryRequestV1 = &setKeychainEntryRequestV1 + return r +} + +func (r ApiSetKeychainEntryV1Request) Execute() (*SetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.SetKeychainEntryV1Execute(r) +} + +/* +SetKeychainEntryV1 Sets a value under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSetKeychainEntryV1Request +*/ +func (a *DefaultApiService) SetKeychainEntryV1(ctx context.Context) ApiSetKeychainEntryV1Request { + return ApiSetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SetKeychainEntryResponseV1 +func (a *DefaultApiService) SetKeychainEntryV1Execute(r ApiSetKeychainEntryV1Request) (*SetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory-wasm/set-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.setKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("setKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.setKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..8869f654a0f --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Keychain Memory WASM API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..add58054a8b --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..2d7bbd85dca --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go new file mode 100644 index 00000000000..31ab7c7c1a8 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryRequestV1{} + +// DeleteKeychainEntryRequestV1 struct for DeleteKeychainEntryRequestV1 +type DeleteKeychainEntryRequestV1 struct { + // The key for the entry to check the presence of on the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryRequestV1 instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryRequestV1(key string) *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryRequestV1WithDefaults instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryRequestV1WithDefaults() *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryRequestV1 struct { + value *DeleteKeychainEntryRequestV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryRequestV1) Get() *DeleteKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryRequestV1) Set(val *DeleteKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryRequestV1(val *DeleteKeychainEntryRequestV1) *NullableDeleteKeychainEntryRequestV1 { + return &NullableDeleteKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go new file mode 100644 index 00000000000..6c5916d0b98 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryResponseV1{} + +// DeleteKeychainEntryResponseV1 struct for DeleteKeychainEntryResponseV1 +type DeleteKeychainEntryResponseV1 struct { + // The key that was deleted from the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryResponseV1 instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryResponseV1(key string) *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryResponseV1WithDefaults instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryResponseV1WithDefaults() *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryResponseV1 struct { + value *DeleteKeychainEntryResponseV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryResponseV1) Get() *DeleteKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryResponseV1) Set(val *DeleteKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryResponseV1(val *DeleteKeychainEntryResponseV1) *NullableDeleteKeychainEntryResponseV1 { + return &NullableDeleteKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go new file mode 100644 index 00000000000..408b729c24f --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryRequestV1{} + +// GetKeychainEntryRequestV1 struct for GetKeychainEntryRequestV1 +type GetKeychainEntryRequestV1 struct { + // The key for the entry to get from the keychain. + Key string `json:"key"` +} + +// NewGetKeychainEntryRequestV1 instantiates a new GetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryRequestV1(key string) *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewGetKeychainEntryRequestV1WithDefaults instantiates a new GetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryRequestV1WithDefaults() *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o GetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableGetKeychainEntryRequestV1 struct { + value *GetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableGetKeychainEntryRequestV1) Get() *GetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableGetKeychainEntryRequestV1) Set(val *GetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryRequestV1(val *GetKeychainEntryRequestV1) *NullableGetKeychainEntryRequestV1 { + return &NullableGetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go new file mode 100644 index 00000000000..462deda8987 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryResponseV1{} + +// GetKeychainEntryResponseV1 struct for GetKeychainEntryResponseV1 +type GetKeychainEntryResponseV1 struct { + // The key that was used to retrieve the value from the keychain. + Key string `json:"key"` + // The value associated with the requested key on the keychain. + Value string `json:"value"` +} + +// NewGetKeychainEntryResponseV1 instantiates a new GetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryResponseV1(key string, value string) *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + this.Key = key + this.Value = value + return &this +} + +// NewGetKeychainEntryResponseV1WithDefaults instantiates a new GetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryResponseV1WithDefaults() *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *GetKeychainEntryResponseV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *GetKeychainEntryResponseV1) SetValue(v string) { + o.Value = v +} + +func (o GetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableGetKeychainEntryResponseV1 struct { + value *GetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableGetKeychainEntryResponseV1) Get() *GetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableGetKeychainEntryResponseV1) Set(val *GetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryResponseV1(val *GetKeychainEntryResponseV1) *NullableGetKeychainEntryResponseV1 { + return &NullableGetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go new file mode 100644 index 00000000000..3901bc8c89b --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryRequestV1{} + +// HasKeychainEntryRequestV1 struct for HasKeychainEntryRequestV1 +type HasKeychainEntryRequestV1 struct { + // The key to check for presence in the keychain. + Key string `json:"key"` +} + +// NewHasKeychainEntryRequestV1 instantiates a new HasKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryRequestV1(key string) *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewHasKeychainEntryRequestV1WithDefaults instantiates a new HasKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryRequestV1WithDefaults() *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o HasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableHasKeychainEntryRequestV1 struct { + value *HasKeychainEntryRequestV1 + isSet bool +} + +func (v NullableHasKeychainEntryRequestV1) Get() *HasKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableHasKeychainEntryRequestV1) Set(val *HasKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryRequestV1(val *HasKeychainEntryRequestV1) *NullableHasKeychainEntryRequestV1 { + return &NullableHasKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go new file mode 100644 index 00000000000..afccdadcb73 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go @@ -0,0 +1,174 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryResponseV1{} + +// HasKeychainEntryResponseV1 struct for HasKeychainEntryResponseV1 +type HasKeychainEntryResponseV1 struct { + // The key that was used to check the presence of the value in the entry store. + Key string `json:"key"` + // Date and time encoded as JSON when the presence check was performed by the plugin backend. + CheckedAt string `json:"checkedAt"` + // The boolean true or false indicating the presence or absence of an entry under 'key'. + IsPresent bool `json:"isPresent"` +} + +// NewHasKeychainEntryResponseV1 instantiates a new HasKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryResponseV1(key string, checkedAt string, isPresent bool) *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + this.Key = key + this.CheckedAt = checkedAt + this.IsPresent = isPresent + return &this +} + +// NewHasKeychainEntryResponseV1WithDefaults instantiates a new HasKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryResponseV1WithDefaults() *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetCheckedAt returns the CheckedAt field value +func (o *HasKeychainEntryResponseV1) GetCheckedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CheckedAt +} + +// GetCheckedAtOk returns a tuple with the CheckedAt field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetCheckedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CheckedAt, true +} + +// SetCheckedAt sets field value +func (o *HasKeychainEntryResponseV1) SetCheckedAt(v string) { + o.CheckedAt = v +} + +// GetIsPresent returns the IsPresent field value +func (o *HasKeychainEntryResponseV1) GetIsPresent() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsPresent +} + +// GetIsPresentOk returns a tuple with the IsPresent field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetIsPresentOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsPresent, true +} + +// SetIsPresent sets field value +func (o *HasKeychainEntryResponseV1) SetIsPresent(v bool) { + o.IsPresent = v +} + +func (o HasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["checkedAt"] = o.CheckedAt + toSerialize["isPresent"] = o.IsPresent + return toSerialize, nil +} + +type NullableHasKeychainEntryResponseV1 struct { + value *HasKeychainEntryResponseV1 + isSet bool +} + +func (v NullableHasKeychainEntryResponseV1) Get() *HasKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableHasKeychainEntryResponseV1) Set(val *HasKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryResponseV1(val *HasKeychainEntryResponseV1) *NullableHasKeychainEntryResponseV1 { + return &NullableHasKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go new file mode 100644 index 00000000000..f50a829332d --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryRequestV1{} + +// SetKeychainEntryRequestV1 struct for SetKeychainEntryRequestV1 +type SetKeychainEntryRequestV1 struct { + // The key for the entry to set on the keychain. + Key string `json:"key"` + // The value that will be associated with the key on the keychain. + Value string `json:"value"` +} + +// NewSetKeychainEntryRequestV1 instantiates a new SetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryRequestV1(key string, value string) *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + this.Key = key + this.Value = value + return &this +} + +// NewSetKeychainEntryRequestV1WithDefaults instantiates a new SetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryRequestV1WithDefaults() *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *SetKeychainEntryRequestV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *SetKeychainEntryRequestV1) SetValue(v string) { + o.Value = v +} + +func (o SetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableSetKeychainEntryRequestV1 struct { + value *SetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableSetKeychainEntryRequestV1) Get() *SetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableSetKeychainEntryRequestV1) Set(val *SetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryRequestV1(val *SetKeychainEntryRequestV1) *NullableSetKeychainEntryRequestV1 { + return &NullableSetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go new file mode 100644 index 00000000000..1070d8c9bfc --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryResponseV1{} + +// SetKeychainEntryResponseV1 struct for SetKeychainEntryResponseV1 +type SetKeychainEntryResponseV1 struct { + // The key that was used to set the value on the keychain. + Key string `json:"key"` +} + +// NewSetKeychainEntryResponseV1 instantiates a new SetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryResponseV1(key string) *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewSetKeychainEntryResponseV1WithDefaults instantiates a new SetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryResponseV1WithDefaults() *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o SetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableSetKeychainEntryResponseV1 struct { + value *SetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableSetKeychainEntryResponseV1) Get() *SetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableSetKeychainEntryResponseV1) Set(val *SetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryResponseV1(val *SetKeychainEntryResponseV1) *NullableSetKeychainEntryResponseV1 { + return &NullableSetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..751a2daffce --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..6cc6dd021e2 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,73 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-keychain-memory-wasm + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-keychain-memory-wasm_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeleteKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeleteKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService HasKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.HasKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..28bcc5999ec --- /dev/null +++ b/packages/cactus-plugin-keychain-memory-wasm/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory WASM + +Contains/describes the Hyperledger Cactus Keychain Memory WASM plugin which is designed to help with testing and development and is implemented in Rust instead of Typescript. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory-wasm + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-keychain-memory/package.json b/packages/cactus-plugin-keychain-memory/package.json index eae4f5c68ef..a615fb396ab 100644 --- a/packages/cactus-plugin-keychain-memory/package.json +++ b/packages/cactus-plugin-keychain-memory/package.json @@ -49,6 +49,7 @@ "generate-sdk": "run-s 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "proto:crpc": "yarn run --top-level buf generate --debug --verbose --template=./buf.gen.yaml --output ./src/main/typescript/generated/proto/crpc/ ./src/main/proto/generated/openapi/", "proto:openapi": "yarn run --top-level openapi-generator-cli generate -i ./src/main/json/openapi.json -g protobuf-schema --model-name-suffix=PB --language-specific-primitives=google.protobuf.Any --type-mappings=AnyType=google.protobuf.Any --type-mappings=object=google.protobuf.Any --additional-properties=packageName=org.hyperledger.cacti.plugin.keychain.memory -o ./src/main/proto/generated/openapi/ -t=./src/main/mustache/openapi-generator/templates/protobuf-schema/ --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..cff88d4efaa --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,19 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_delete_keychain_entry_request_v1.go +model_delete_keychain_entry_response_v1.go +model_get_keychain_entry_request_v1.go +model_get_keychain_entry_response_v1.go +model_has_keychain_entry_request_v1.go +model_has_keychain_entry_response_v1.go +model_set_keychain_entry_request_v1.go +model_set_keychain_entry_response_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..5b3356b7f97 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,123 @@ +# Go API client for cactus-plugin-keychain-memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-keychain-memory "github.com/hyperledger/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-memory.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-memory.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-memory.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-keychain-memory.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeleteKeychainEntryV1**](docs/DefaultApi.md#deletekeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/delete-keychain-entry | Deletes an entry under a key on the keychain backend. +*DefaultApi* | [**GetKeychainEntryV1**](docs/DefaultApi.md#getkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-keychain-entry | Retrieves the contents of a keychain entry from the backend. +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**HasKeychainEntryV1**](docs/DefaultApi.md#haskeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/has-keychain-entry | Checks that an entry exists under a key on the keychain backend +*DefaultApi* | [**SetKeychainEntryV1**](docs/DefaultApi.md#setkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/set-keychain-entry | Sets a value under a key on the keychain backend. + + +## Documentation For Models + + - [DeleteKeychainEntryRequestV1](docs/DeleteKeychainEntryRequestV1.md) + - [DeleteKeychainEntryResponseV1](docs/DeleteKeychainEntryResponseV1.md) + - [GetKeychainEntryRequestV1](docs/GetKeychainEntryRequestV1.md) + - [GetKeychainEntryResponseV1](docs/GetKeychainEntryResponseV1.md) + - [HasKeychainEntryRequestV1](docs/HasKeychainEntryRequestV1.md) + - [HasKeychainEntryResponseV1](docs/HasKeychainEntryResponseV1.md) + - [SetKeychainEntryRequestV1](docs/SetKeychainEntryRequestV1.md) + - [SetKeychainEntryResponseV1](docs/SetKeychainEntryResponseV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..81c1007d785 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,357 @@ +openapi: 3.0.3 +info: + description: Contains/describes the Hyperledger Cacti Keychain Memory plugin. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: 'Hyperledger Cactus Plugin - Keychain Memory ' + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-keychain-entry: + post: + operationId: getKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_get_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "404": + description: A keychain item with the specified key was not found. + "500": + description: Unexpected error. + summary: Retrieves the contents of a keychain entry from the backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/set-keychain-entry: + post: + operationId: setKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_set_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Sets a value under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/set-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/delete-keychain-entry: + post: + operationId: deleteKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_delete_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Deletes an entry under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/delete-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/has-keychain-entry: + post: + operationId: hasKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_has_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Checks that an entry exists under a key on the keychain backend + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/has-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-prometheus-exporter-metrics +components: + requestBodies: + keychain_get_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryRequestV1' + description: Request body to obtain a keychain entry via its key + required: true + keychain_set_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryRequestV1' + description: Request body to write/update a keychain entry via its key + required: true + keychain_delete_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryRequestV1' + description: Request body to delete a keychain entry via its key + required: true + keychain_has_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryRequestV1' + description: Request body for checking a keychain entry via its key + required: true + responses: + keychain_get_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + keychain_get_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_get_entry_401: + description: Authorization information is missing or invalid. + keychain_get_entry_404: + description: A keychain item with the specified key was not found. + keychain_get_entry_500: + description: Unexpected error. + keychain_set_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + keychain_set_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_set_entry_401: + description: Authorization information is missing or invalid. + keychain_set_entry_500: + description: Unexpected error. + keychain_delete_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + keychain_delete_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_delete_entry_401: + description: Authorization information is missing or invalid. + keychain_delete_entry_500: + description: Unexpected error. + keychain_has_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + keychain_has_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_has_entry_401: + description: Authorization information is missing or invalid. + keychain_has_entry_500: + description: Unexpected error. + schemas: + PrometheusExporterMetricsResponse: + nullable: false + type: string + GetKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to get from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetKeychainEntryResponseV1: + example: + value: value + key: key + properties: + key: + description: The key that was used to retrieve the value from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value associated with the requested key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryRequestV1: + additionalProperties: false + example: + value: value + key: key + properties: + key: + description: The key for the entry to set on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value that will be associated with the key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was used to set the value on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to check the presence of on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was deleted from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key to check for presence in the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryResponseV1: + example: + checkedAt: checkedAt + isPresent: true + key: key + properties: + key: + description: The key that was used to check the presence of the value in + the entry store. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + checkedAt: + description: Date and time encoded as JSON when the presence check was performed + by the plugin backend. + nullable: false + type: string + isPresent: + description: The boolean true or false indicating the presence or absence + of an entry under 'key'. + nullable: false + type: boolean + required: + - checkedAt + - isPresent + - key + type: object diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..748176f7424 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,556 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeleteKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deleteKeychainEntryRequestV1 *DeleteKeychainEntryRequestV1 +} + +// Request body to delete a keychain entry via its key +func (r ApiDeleteKeychainEntryV1Request) DeleteKeychainEntryRequestV1(deleteKeychainEntryRequestV1 DeleteKeychainEntryRequestV1) ApiDeleteKeychainEntryV1Request { + r.deleteKeychainEntryRequestV1 = &deleteKeychainEntryRequestV1 + return r +} + +func (r ApiDeleteKeychainEntryV1Request) Execute() (*DeleteKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.DeleteKeychainEntryV1Execute(r) +} + +/* +DeleteKeychainEntryV1 Deletes an entry under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeleteKeychainEntryV1Request +*/ +func (a *DefaultApiService) DeleteKeychainEntryV1(ctx context.Context) ApiDeleteKeychainEntryV1Request { + return ApiDeleteKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeleteKeychainEntryResponseV1 +func (a *DefaultApiService) DeleteKeychainEntryV1Execute(r ApiDeleteKeychainEntryV1Request) (*DeleteKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeleteKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/delete-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.deleteKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("deleteKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deleteKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getKeychainEntryRequestV1 *GetKeychainEntryRequestV1 +} + +// Request body to obtain a keychain entry via its key +func (r ApiGetKeychainEntryV1Request) GetKeychainEntryRequestV1(getKeychainEntryRequestV1 GetKeychainEntryRequestV1) ApiGetKeychainEntryV1Request { + r.getKeychainEntryRequestV1 = &getKeychainEntryRequestV1 + return r +} + +func (r ApiGetKeychainEntryV1Request) Execute() (*GetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.GetKeychainEntryV1Execute(r) +} + +/* +GetKeychainEntryV1 Retrieves the contents of a keychain entry from the backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetKeychainEntryV1Request +*/ +func (a *DefaultApiService) GetKeychainEntryV1(ctx context.Context) ApiGetKeychainEntryV1Request { + return ApiGetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetKeychainEntryResponseV1 +func (a *DefaultApiService) GetKeychainEntryV1Execute(r ApiGetKeychainEntryV1Request) (*GetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.getKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("getKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiHasKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + hasKeychainEntryRequestV1 *HasKeychainEntryRequestV1 +} + +// Request body for checking a keychain entry via its key +func (r ApiHasKeychainEntryV1Request) HasKeychainEntryRequestV1(hasKeychainEntryRequestV1 HasKeychainEntryRequestV1) ApiHasKeychainEntryV1Request { + r.hasKeychainEntryRequestV1 = &hasKeychainEntryRequestV1 + return r +} + +func (r ApiHasKeychainEntryV1Request) Execute() (*HasKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.HasKeychainEntryV1Execute(r) +} + +/* +HasKeychainEntryV1 Checks that an entry exists under a key on the keychain backend + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiHasKeychainEntryV1Request +*/ +func (a *DefaultApiService) HasKeychainEntryV1(ctx context.Context) ApiHasKeychainEntryV1Request { + return ApiHasKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HasKeychainEntryResponseV1 +func (a *DefaultApiService) HasKeychainEntryV1Execute(r ApiHasKeychainEntryV1Request) (*HasKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HasKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.HasKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/has-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.hasKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("hasKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.hasKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + setKeychainEntryRequestV1 *SetKeychainEntryRequestV1 +} + +// Request body to write/update a keychain entry via its key +func (r ApiSetKeychainEntryV1Request) SetKeychainEntryRequestV1(setKeychainEntryRequestV1 SetKeychainEntryRequestV1) ApiSetKeychainEntryV1Request { + r.setKeychainEntryRequestV1 = &setKeychainEntryRequestV1 + return r +} + +func (r ApiSetKeychainEntryV1Request) Execute() (*SetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.SetKeychainEntryV1Execute(r) +} + +/* +SetKeychainEntryV1 Sets a value under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSetKeychainEntryV1Request +*/ +func (a *DefaultApiService) SetKeychainEntryV1(ctx context.Context) ApiSetKeychainEntryV1Request { + return ApiSetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SetKeychainEntryResponseV1 +func (a *DefaultApiService) SetKeychainEntryV1Execute(r ApiSetKeychainEntryV1Request) (*SetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-memory/set-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.setKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("setKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.setKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..60368fac5a3 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Keychain Memory API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..ff1d4d0f4c4 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..00a696dcdd7 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go new file mode 100644 index 00000000000..06bb1e78a7b --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryRequestV1{} + +// DeleteKeychainEntryRequestV1 struct for DeleteKeychainEntryRequestV1 +type DeleteKeychainEntryRequestV1 struct { + // The key for the entry to check the presence of on the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryRequestV1 instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryRequestV1(key string) *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryRequestV1WithDefaults instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryRequestV1WithDefaults() *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryRequestV1 struct { + value *DeleteKeychainEntryRequestV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryRequestV1) Get() *DeleteKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryRequestV1) Set(val *DeleteKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryRequestV1(val *DeleteKeychainEntryRequestV1) *NullableDeleteKeychainEntryRequestV1 { + return &NullableDeleteKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go new file mode 100644 index 00000000000..fff5a76d9dc --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryResponseV1{} + +// DeleteKeychainEntryResponseV1 struct for DeleteKeychainEntryResponseV1 +type DeleteKeychainEntryResponseV1 struct { + // The key that was deleted from the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryResponseV1 instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryResponseV1(key string) *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryResponseV1WithDefaults instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryResponseV1WithDefaults() *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryResponseV1 struct { + value *DeleteKeychainEntryResponseV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryResponseV1) Get() *DeleteKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryResponseV1) Set(val *DeleteKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryResponseV1(val *DeleteKeychainEntryResponseV1) *NullableDeleteKeychainEntryResponseV1 { + return &NullableDeleteKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go new file mode 100644 index 00000000000..da625b8fdab --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryRequestV1{} + +// GetKeychainEntryRequestV1 struct for GetKeychainEntryRequestV1 +type GetKeychainEntryRequestV1 struct { + // The key for the entry to get from the keychain. + Key string `json:"key"` +} + +// NewGetKeychainEntryRequestV1 instantiates a new GetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryRequestV1(key string) *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewGetKeychainEntryRequestV1WithDefaults instantiates a new GetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryRequestV1WithDefaults() *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o GetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableGetKeychainEntryRequestV1 struct { + value *GetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableGetKeychainEntryRequestV1) Get() *GetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableGetKeychainEntryRequestV1) Set(val *GetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryRequestV1(val *GetKeychainEntryRequestV1) *NullableGetKeychainEntryRequestV1 { + return &NullableGetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go new file mode 100644 index 00000000000..7be1f3a26a4 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryResponseV1{} + +// GetKeychainEntryResponseV1 struct for GetKeychainEntryResponseV1 +type GetKeychainEntryResponseV1 struct { + // The key that was used to retrieve the value from the keychain. + Key string `json:"key"` + // The value associated with the requested key on the keychain. + Value string `json:"value"` +} + +// NewGetKeychainEntryResponseV1 instantiates a new GetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryResponseV1(key string, value string) *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + this.Key = key + this.Value = value + return &this +} + +// NewGetKeychainEntryResponseV1WithDefaults instantiates a new GetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryResponseV1WithDefaults() *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *GetKeychainEntryResponseV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *GetKeychainEntryResponseV1) SetValue(v string) { + o.Value = v +} + +func (o GetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableGetKeychainEntryResponseV1 struct { + value *GetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableGetKeychainEntryResponseV1) Get() *GetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableGetKeychainEntryResponseV1) Set(val *GetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryResponseV1(val *GetKeychainEntryResponseV1) *NullableGetKeychainEntryResponseV1 { + return &NullableGetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go new file mode 100644 index 00000000000..7eb7e96de66 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryRequestV1{} + +// HasKeychainEntryRequestV1 struct for HasKeychainEntryRequestV1 +type HasKeychainEntryRequestV1 struct { + // The key to check for presence in the keychain. + Key string `json:"key"` +} + +// NewHasKeychainEntryRequestV1 instantiates a new HasKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryRequestV1(key string) *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewHasKeychainEntryRequestV1WithDefaults instantiates a new HasKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryRequestV1WithDefaults() *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o HasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableHasKeychainEntryRequestV1 struct { + value *HasKeychainEntryRequestV1 + isSet bool +} + +func (v NullableHasKeychainEntryRequestV1) Get() *HasKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableHasKeychainEntryRequestV1) Set(val *HasKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryRequestV1(val *HasKeychainEntryRequestV1) *NullableHasKeychainEntryRequestV1 { + return &NullableHasKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go new file mode 100644 index 00000000000..ef231362ce0 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go @@ -0,0 +1,174 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryResponseV1{} + +// HasKeychainEntryResponseV1 struct for HasKeychainEntryResponseV1 +type HasKeychainEntryResponseV1 struct { + // The key that was used to check the presence of the value in the entry store. + Key string `json:"key"` + // Date and time encoded as JSON when the presence check was performed by the plugin backend. + CheckedAt string `json:"checkedAt"` + // The boolean true or false indicating the presence or absence of an entry under 'key'. + IsPresent bool `json:"isPresent"` +} + +// NewHasKeychainEntryResponseV1 instantiates a new HasKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryResponseV1(key string, checkedAt string, isPresent bool) *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + this.Key = key + this.CheckedAt = checkedAt + this.IsPresent = isPresent + return &this +} + +// NewHasKeychainEntryResponseV1WithDefaults instantiates a new HasKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryResponseV1WithDefaults() *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetCheckedAt returns the CheckedAt field value +func (o *HasKeychainEntryResponseV1) GetCheckedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CheckedAt +} + +// GetCheckedAtOk returns a tuple with the CheckedAt field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetCheckedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CheckedAt, true +} + +// SetCheckedAt sets field value +func (o *HasKeychainEntryResponseV1) SetCheckedAt(v string) { + o.CheckedAt = v +} + +// GetIsPresent returns the IsPresent field value +func (o *HasKeychainEntryResponseV1) GetIsPresent() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsPresent +} + +// GetIsPresentOk returns a tuple with the IsPresent field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetIsPresentOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsPresent, true +} + +// SetIsPresent sets field value +func (o *HasKeychainEntryResponseV1) SetIsPresent(v bool) { + o.IsPresent = v +} + +func (o HasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["checkedAt"] = o.CheckedAt + toSerialize["isPresent"] = o.IsPresent + return toSerialize, nil +} + +type NullableHasKeychainEntryResponseV1 struct { + value *HasKeychainEntryResponseV1 + isSet bool +} + +func (v NullableHasKeychainEntryResponseV1) Get() *HasKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableHasKeychainEntryResponseV1) Set(val *HasKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryResponseV1(val *HasKeychainEntryResponseV1) *NullableHasKeychainEntryResponseV1 { + return &NullableHasKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go new file mode 100644 index 00000000000..0664d6c1c82 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryRequestV1{} + +// SetKeychainEntryRequestV1 struct for SetKeychainEntryRequestV1 +type SetKeychainEntryRequestV1 struct { + // The key for the entry to set on the keychain. + Key string `json:"key"` + // The value that will be associated with the key on the keychain. + Value string `json:"value"` +} + +// NewSetKeychainEntryRequestV1 instantiates a new SetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryRequestV1(key string, value string) *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + this.Key = key + this.Value = value + return &this +} + +// NewSetKeychainEntryRequestV1WithDefaults instantiates a new SetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryRequestV1WithDefaults() *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *SetKeychainEntryRequestV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *SetKeychainEntryRequestV1) SetValue(v string) { + o.Value = v +} + +func (o SetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableSetKeychainEntryRequestV1 struct { + value *SetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableSetKeychainEntryRequestV1) Get() *SetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableSetKeychainEntryRequestV1) Set(val *SetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryRequestV1(val *SetKeychainEntryRequestV1) *NullableSetKeychainEntryRequestV1 { + return &NullableSetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go new file mode 100644 index 00000000000..e373d3db8a7 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryResponseV1{} + +// SetKeychainEntryResponseV1 struct for SetKeychainEntryResponseV1 +type SetKeychainEntryResponseV1 struct { + // The key that was used to set the value on the keychain. + Key string `json:"key"` +} + +// NewSetKeychainEntryResponseV1 instantiates a new SetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryResponseV1(key string) *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewSetKeychainEntryResponseV1WithDefaults instantiates a new SetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryResponseV1WithDefaults() *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o SetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableSetKeychainEntryResponseV1 struct { + value *SetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableSetKeychainEntryResponseV1) Get() *SetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableSetKeychainEntryResponseV1) Set(val *SetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryResponseV1(val *SetKeychainEntryResponseV1) *NullableSetKeychainEntryResponseV1 { + return &NullableSetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..dc3341531a8 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..1c39df87569 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,85 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-keychain-memory + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-keychain-memory_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeleteKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeleteKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService HasKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.HasKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..262107b77d3 --- /dev/null +++ b/packages/cactus-plugin-keychain-memory/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Keychain Memory + +Contains/describes the Hyperledger Cacti Keychain Memory plugin. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-memory + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-keychain-vault/package.json b/packages/cactus-plugin-keychain-vault/package.json index 3cf0874cdf7..bff336c8ee7 100644 --- a/packages/cactus-plugin-keychain-vault/package.json +++ b/packages/cactus-plugin-keychain-vault/package.json @@ -48,6 +48,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..cff88d4efaa --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,19 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_delete_keychain_entry_request_v1.go +model_delete_keychain_entry_response_v1.go +model_get_keychain_entry_request_v1.go +model_get_keychain_entry_response_v1.go +model_has_keychain_entry_request_v1.go +model_has_keychain_entry_response_v1.go +model_set_keychain_entry_request_v1.go +model_set_keychain_entry_response_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..1c35d996929 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,123 @@ +# Go API client for cactus-plugin-keychain-vault + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-keychain-vault "github.com/hyperledger/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-vault.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-vault.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-keychain-vault.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-keychain-vault.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeleteKeychainEntryV1**](docs/DefaultApi.md#deletekeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/delete-keychain-entry | Deletes an entry from the keychain stored under the provided key. +*DefaultApi* | [**GetKeychainEntryV1**](docs/DefaultApi.md#getkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-keychain-entry | Retrieves the contents of a keychain entry from the backend. +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**HasKeychainEntryV1**](docs/DefaultApi.md#haskeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/has-keychain-entry | Retrieves the information regarding a key being present on the keychain or not. +*DefaultApi* | [**SetKeychainEntryV1**](docs/DefaultApi.md#setkeychainentryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/set-keychain-entry | Sets a value under a key on the keychain backend. + + +## Documentation For Models + + - [DeleteKeychainEntryRequestV1](docs/DeleteKeychainEntryRequestV1.md) + - [DeleteKeychainEntryResponseV1](docs/DeleteKeychainEntryResponseV1.md) + - [GetKeychainEntryRequestV1](docs/GetKeychainEntryRequestV1.md) + - [GetKeychainEntryResponseV1](docs/GetKeychainEntryResponseV1.md) + - [HasKeychainEntryRequestV1](docs/HasKeychainEntryRequestV1.md) + - [HasKeychainEntryResponseV1](docs/HasKeychainEntryResponseV1.md) + - [SetKeychainEntryRequestV1](docs/SetKeychainEntryRequestV1.md) + - [SetKeychainEntryResponseV1](docs/SetKeychainEntryResponseV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..8072a656bd1 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,310 @@ +openapi: 3.0.3 +info: + description: Contains/describes the Keychain API types/paths for Hyperledger Cactus. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus - Keychain API + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-keychain-entry: + post: + operationId: getKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_get_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "404": + description: A keychain item with the specified key was not found. + "500": + description: Unexpected error. + summary: Retrieves the contents of a keychain entry from the backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/delete-keychain-entry: + post: + operationId: deleteKeychainEntryV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryRequestV1' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteKeychainEntryResponseV1' + description: OK + summary: Deletes an entry from the keychain stored under the provided key. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/delete-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/has-keychain-entry: + post: + operationId: hasKeychainEntryV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryRequestV1' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/HasKeychainEntryResponseV1' + description: OK + summary: Retrieves the information regarding a key being present on the keychain + or not. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/has-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/set-keychain-entry: + post: + operationId: setKeychainEntryV1 + parameters: [] + requestBody: + $ref: '#/components/requestBodies/keychain_set_entry_request_body' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + "400": + description: "Bad request. Key must be a string and longer than 0, shorter\ + \ than 1024 characters." + "401": + description: Authorization information is missing or invalid. + "500": + description: Unexpected error. + summary: Sets a value under a key on the keychain backend. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/set-keychain-entry + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-prometheus-exporter-metrics +components: + requestBodies: + keychain_get_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryRequestV1' + description: Request body to obtain a keychain entry via its key + required: true + keychain_set_entry_request_body: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryRequestV1' + description: Request body to write/update a keychain entry via its key + required: true + responses: + keychain_get_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/GetKeychainEntryResponseV1' + description: OK + keychain_get_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_get_entry_401: + description: Authorization information is missing or invalid. + keychain_get_entry_404: + description: A keychain item with the specified key was not found. + keychain_get_entry_500: + description: Unexpected error. + keychain_set_entry_200: + content: + application/json: + schema: + $ref: '#/components/schemas/SetKeychainEntryResponseV1' + description: OK + keychain_set_entry_400: + description: "Bad request. Key must be a string and longer than 0, shorter than\ + \ 1024 characters." + keychain_set_entry_401: + description: Authorization information is missing or invalid. + keychain_set_entry_500: + description: Unexpected error. + schemas: + PrometheusExporterMetricsResponse: + nullable: false + type: string + HasKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key to check for presence in the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + HasKeychainEntryResponseV1: + example: + checkedAt: checkedAt + isPresent: true + key: key + properties: + key: + description: The key that was used to check the presence of the value in + the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + checkedAt: + description: Date and time encoded as JSON when the presence check was performed + by the plugin backend. + nullable: false + type: string + isPresent: + description: The boolean true or false indicating the presence or absence + of an entry under 'key'. + nullable: false + type: boolean + required: + - checkedAt + - isPresent + - key + type: object + DeleteKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key of the entry to delete from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + DeleteKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key of the entry that was deleted from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetKeychainEntryRequestV1: + additionalProperties: false + example: + key: key + properties: + key: + description: The key for the entry to get from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object + GetKeychainEntryResponseV1: + example: + value: value + key: key + properties: + key: + description: The key that was used to retrieve the value from the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value associated with the requested key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryRequestV1: + additionalProperties: false + example: + value: value + key: key + properties: + key: + description: The key for the entry to set on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + value: + description: The value that will be associated with the key on the keychain. + maxLength: 10485760 + minLength: 0 + nullable: false + type: string + required: + - key + - value + type: object + SetKeychainEntryResponseV1: + example: + key: key + properties: + key: + description: The key that was used to set the value on the keychain. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - key + type: object diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..1f0766578dd --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,548 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeleteKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deleteKeychainEntryRequestV1 *DeleteKeychainEntryRequestV1 +} + +func (r ApiDeleteKeychainEntryV1Request) DeleteKeychainEntryRequestV1(deleteKeychainEntryRequestV1 DeleteKeychainEntryRequestV1) ApiDeleteKeychainEntryV1Request { + r.deleteKeychainEntryRequestV1 = &deleteKeychainEntryRequestV1 + return r +} + +func (r ApiDeleteKeychainEntryV1Request) Execute() (*DeleteKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.DeleteKeychainEntryV1Execute(r) +} + +/* +DeleteKeychainEntryV1 Deletes an entry from the keychain stored under the provided key. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeleteKeychainEntryV1Request +*/ +func (a *DefaultApiService) DeleteKeychainEntryV1(ctx context.Context) ApiDeleteKeychainEntryV1Request { + return ApiDeleteKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeleteKeychainEntryResponseV1 +func (a *DefaultApiService) DeleteKeychainEntryV1Execute(r ApiDeleteKeychainEntryV1Request) (*DeleteKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeleteKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeleteKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/delete-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deleteKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getKeychainEntryRequestV1 *GetKeychainEntryRequestV1 +} + +// Request body to obtain a keychain entry via its key +func (r ApiGetKeychainEntryV1Request) GetKeychainEntryRequestV1(getKeychainEntryRequestV1 GetKeychainEntryRequestV1) ApiGetKeychainEntryV1Request { + r.getKeychainEntryRequestV1 = &getKeychainEntryRequestV1 + return r +} + +func (r ApiGetKeychainEntryV1Request) Execute() (*GetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.GetKeychainEntryV1Execute(r) +} + +/* +GetKeychainEntryV1 Retrieves the contents of a keychain entry from the backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetKeychainEntryV1Request +*/ +func (a *DefaultApiService) GetKeychainEntryV1(ctx context.Context) ApiGetKeychainEntryV1Request { + return ApiGetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetKeychainEntryResponseV1 +func (a *DefaultApiService) GetKeychainEntryV1Execute(r ApiGetKeychainEntryV1Request) (*GetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.getKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("getKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiHasKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + hasKeychainEntryRequestV1 *HasKeychainEntryRequestV1 +} + +func (r ApiHasKeychainEntryV1Request) HasKeychainEntryRequestV1(hasKeychainEntryRequestV1 HasKeychainEntryRequestV1) ApiHasKeychainEntryV1Request { + r.hasKeychainEntryRequestV1 = &hasKeychainEntryRequestV1 + return r +} + +func (r ApiHasKeychainEntryV1Request) Execute() (*HasKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.HasKeychainEntryV1Execute(r) +} + +/* +HasKeychainEntryV1 Retrieves the information regarding a key being present on the keychain or not. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiHasKeychainEntryV1Request +*/ +func (a *DefaultApiService) HasKeychainEntryV1(ctx context.Context) ApiHasKeychainEntryV1Request { + return ApiHasKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HasKeychainEntryResponseV1 +func (a *DefaultApiService) HasKeychainEntryV1Execute(r ApiHasKeychainEntryV1Request) (*HasKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HasKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.HasKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/has-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.hasKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSetKeychainEntryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + setKeychainEntryRequestV1 *SetKeychainEntryRequestV1 +} + +// Request body to write/update a keychain entry via its key +func (r ApiSetKeychainEntryV1Request) SetKeychainEntryRequestV1(setKeychainEntryRequestV1 SetKeychainEntryRequestV1) ApiSetKeychainEntryV1Request { + r.setKeychainEntryRequestV1 = &setKeychainEntryRequestV1 + return r +} + +func (r ApiSetKeychainEntryV1Request) Execute() (*SetKeychainEntryResponseV1, *http.Response, error) { + return r.ApiService.SetKeychainEntryV1Execute(r) +} + +/* +SetKeychainEntryV1 Sets a value under a key on the keychain backend. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSetKeychainEntryV1Request +*/ +func (a *DefaultApiService) SetKeychainEntryV1(ctx context.Context) ApiSetKeychainEntryV1Request { + return ApiSetKeychainEntryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SetKeychainEntryResponseV1 +func (a *DefaultApiService) SetKeychainEntryV1Execute(r ApiSetKeychainEntryV1Request) (*SetKeychainEntryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SetKeychainEntryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SetKeychainEntryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-vault/set-keychain-entry" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.setKeychainEntryRequestV1 == nil { + return localVarReturnValue, nil, reportError("setKeychainEntryRequestV1 is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.setKeychainEntryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..e4d95c6610f --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus - Keychain API API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..6915584e46b --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..ea23cb82602 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go new file mode 100644 index 00000000000..805dc1c7608 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryRequestV1{} + +// DeleteKeychainEntryRequestV1 struct for DeleteKeychainEntryRequestV1 +type DeleteKeychainEntryRequestV1 struct { + // The key of the entry to delete from the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryRequestV1 instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryRequestV1(key string) *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryRequestV1WithDefaults instantiates a new DeleteKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryRequestV1WithDefaults() *DeleteKeychainEntryRequestV1 { + this := DeleteKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryRequestV1 struct { + value *DeleteKeychainEntryRequestV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryRequestV1) Get() *DeleteKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryRequestV1) Set(val *DeleteKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryRequestV1(val *DeleteKeychainEntryRequestV1) *NullableDeleteKeychainEntryRequestV1 { + return &NullableDeleteKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go new file mode 100644 index 00000000000..77aecb3225f --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_delete_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "encoding/json" +) + +// checks if the DeleteKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteKeychainEntryResponseV1{} + +// DeleteKeychainEntryResponseV1 struct for DeleteKeychainEntryResponseV1 +type DeleteKeychainEntryResponseV1 struct { + // The key of the entry that was deleted from the keychain. + Key string `json:"key"` +} + +// NewDeleteKeychainEntryResponseV1 instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteKeychainEntryResponseV1(key string) *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewDeleteKeychainEntryResponseV1WithDefaults instantiates a new DeleteKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteKeychainEntryResponseV1WithDefaults() *DeleteKeychainEntryResponseV1 { + this := DeleteKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *DeleteKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *DeleteKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *DeleteKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o DeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableDeleteKeychainEntryResponseV1 struct { + value *DeleteKeychainEntryResponseV1 + isSet bool +} + +func (v NullableDeleteKeychainEntryResponseV1) Get() *DeleteKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableDeleteKeychainEntryResponseV1) Set(val *DeleteKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteKeychainEntryResponseV1(val *DeleteKeychainEntryResponseV1) *NullableDeleteKeychainEntryResponseV1 { + return &NullableDeleteKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableDeleteKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go new file mode 100644 index 00000000000..45c8381107b --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_get_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryRequestV1{} + +// GetKeychainEntryRequestV1 struct for GetKeychainEntryRequestV1 +type GetKeychainEntryRequestV1 struct { + // The key for the entry to get from the keychain. + Key string `json:"key"` +} + +// NewGetKeychainEntryRequestV1 instantiates a new GetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryRequestV1(key string) *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewGetKeychainEntryRequestV1WithDefaults instantiates a new GetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryRequestV1WithDefaults() *GetKeychainEntryRequestV1 { + this := GetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o GetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableGetKeychainEntryRequestV1 struct { + value *GetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableGetKeychainEntryRequestV1) Get() *GetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableGetKeychainEntryRequestV1) Set(val *GetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryRequestV1(val *GetKeychainEntryRequestV1) *NullableGetKeychainEntryRequestV1 { + return &NullableGetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go new file mode 100644 index 00000000000..3bcef9072ee --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_get_keychain_entry_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "encoding/json" +) + +// checks if the GetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetKeychainEntryResponseV1{} + +// GetKeychainEntryResponseV1 struct for GetKeychainEntryResponseV1 +type GetKeychainEntryResponseV1 struct { + // The key that was used to retrieve the value from the keychain. + Key string `json:"key"` + // The value associated with the requested key on the keychain. + Value string `json:"value"` +} + +// NewGetKeychainEntryResponseV1 instantiates a new GetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetKeychainEntryResponseV1(key string, value string) *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + this.Key = key + this.Value = value + return &this +} + +// NewGetKeychainEntryResponseV1WithDefaults instantiates a new GetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetKeychainEntryResponseV1WithDefaults() *GetKeychainEntryResponseV1 { + this := GetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *GetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *GetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *GetKeychainEntryResponseV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *GetKeychainEntryResponseV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *GetKeychainEntryResponseV1) SetValue(v string) { + o.Value = v +} + +func (o GetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableGetKeychainEntryResponseV1 struct { + value *GetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableGetKeychainEntryResponseV1) Get() *GetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableGetKeychainEntryResponseV1) Set(val *GetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetKeychainEntryResponseV1(val *GetKeychainEntryResponseV1) *NullableGetKeychainEntryResponseV1 { + return &NullableGetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableGetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go new file mode 100644 index 00000000000..ce085956115 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_has_keychain_entry_request_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryRequestV1{} + +// HasKeychainEntryRequestV1 struct for HasKeychainEntryRequestV1 +type HasKeychainEntryRequestV1 struct { + // The key to check for presence in the keychain. + Key string `json:"key"` +} + +// NewHasKeychainEntryRequestV1 instantiates a new HasKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryRequestV1(key string) *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + this.Key = key + return &this +} + +// NewHasKeychainEntryRequestV1WithDefaults instantiates a new HasKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryRequestV1WithDefaults() *HasKeychainEntryRequestV1 { + this := HasKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +func (o HasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableHasKeychainEntryRequestV1 struct { + value *HasKeychainEntryRequestV1 + isSet bool +} + +func (v NullableHasKeychainEntryRequestV1) Get() *HasKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableHasKeychainEntryRequestV1) Set(val *HasKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryRequestV1(val *HasKeychainEntryRequestV1) *NullableHasKeychainEntryRequestV1 { + return &NullableHasKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go new file mode 100644 index 00000000000..ae67581f2da --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_has_keychain_entry_response_v1.go @@ -0,0 +1,174 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "encoding/json" +) + +// checks if the HasKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HasKeychainEntryResponseV1{} + +// HasKeychainEntryResponseV1 struct for HasKeychainEntryResponseV1 +type HasKeychainEntryResponseV1 struct { + // The key that was used to check the presence of the value in the keychain. + Key string `json:"key"` + // Date and time encoded as JSON when the presence check was performed by the plugin backend. + CheckedAt string `json:"checkedAt"` + // The boolean true or false indicating the presence or absence of an entry under 'key'. + IsPresent bool `json:"isPresent"` +} + +// NewHasKeychainEntryResponseV1 instantiates a new HasKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHasKeychainEntryResponseV1(key string, checkedAt string, isPresent bool) *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + this.Key = key + this.CheckedAt = checkedAt + this.IsPresent = isPresent + return &this +} + +// NewHasKeychainEntryResponseV1WithDefaults instantiates a new HasKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHasKeychainEntryResponseV1WithDefaults() *HasKeychainEntryResponseV1 { + this := HasKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *HasKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *HasKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +// GetCheckedAt returns the CheckedAt field value +func (o *HasKeychainEntryResponseV1) GetCheckedAt() string { + if o == nil { + var ret string + return ret + } + + return o.CheckedAt +} + +// GetCheckedAtOk returns a tuple with the CheckedAt field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetCheckedAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CheckedAt, true +} + +// SetCheckedAt sets field value +func (o *HasKeychainEntryResponseV1) SetCheckedAt(v string) { + o.CheckedAt = v +} + +// GetIsPresent returns the IsPresent field value +func (o *HasKeychainEntryResponseV1) GetIsPresent() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsPresent +} + +// GetIsPresentOk returns a tuple with the IsPresent field value +// and a boolean to check if the value has been set. +func (o *HasKeychainEntryResponseV1) GetIsPresentOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsPresent, true +} + +// SetIsPresent sets field value +func (o *HasKeychainEntryResponseV1) SetIsPresent(v bool) { + o.IsPresent = v +} + +func (o HasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HasKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["checkedAt"] = o.CheckedAt + toSerialize["isPresent"] = o.IsPresent + return toSerialize, nil +} + +type NullableHasKeychainEntryResponseV1 struct { + value *HasKeychainEntryResponseV1 + isSet bool +} + +func (v NullableHasKeychainEntryResponseV1) Get() *HasKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableHasKeychainEntryResponseV1) Set(val *HasKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableHasKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableHasKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHasKeychainEntryResponseV1(val *HasKeychainEntryResponseV1) *NullableHasKeychainEntryResponseV1 { + return &NullableHasKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableHasKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHasKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go new file mode 100644 index 00000000000..f0818d58637 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_set_keychain_entry_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryRequestV1{} + +// SetKeychainEntryRequestV1 struct for SetKeychainEntryRequestV1 +type SetKeychainEntryRequestV1 struct { + // The key for the entry to set on the keychain. + Key string `json:"key"` + // The value that will be associated with the key on the keychain. + Value string `json:"value"` +} + +// NewSetKeychainEntryRequestV1 instantiates a new SetKeychainEntryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryRequestV1(key string, value string) *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + this.Key = key + this.Value = value + return &this +} + +// NewSetKeychainEntryRequestV1WithDefaults instantiates a new SetKeychainEntryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryRequestV1WithDefaults() *SetKeychainEntryRequestV1 { + this := SetKeychainEntryRequestV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryRequestV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryRequestV1) SetKey(v string) { + o.Key = v +} + +// GetValue returns the Value field value +func (o *SetKeychainEntryRequestV1) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryRequestV1) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *SetKeychainEntryRequestV1) SetValue(v string) { + o.Value = v +} + +func (o SetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableSetKeychainEntryRequestV1 struct { + value *SetKeychainEntryRequestV1 + isSet bool +} + +func (v NullableSetKeychainEntryRequestV1) Get() *SetKeychainEntryRequestV1 { + return v.value +} + +func (v *NullableSetKeychainEntryRequestV1) Set(val *SetKeychainEntryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryRequestV1(val *SetKeychainEntryRequestV1) *NullableSetKeychainEntryRequestV1 { + return &NullableSetKeychainEntryRequestV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go new file mode 100644 index 00000000000..fb6dea7a806 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/model_set_keychain_entry_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "encoding/json" +) + +// checks if the SetKeychainEntryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SetKeychainEntryResponseV1{} + +// SetKeychainEntryResponseV1 struct for SetKeychainEntryResponseV1 +type SetKeychainEntryResponseV1 struct { + // The key that was used to set the value on the keychain. + Key string `json:"key"` +} + +// NewSetKeychainEntryResponseV1 instantiates a new SetKeychainEntryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSetKeychainEntryResponseV1(key string) *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + this.Key = key + return &this +} + +// NewSetKeychainEntryResponseV1WithDefaults instantiates a new SetKeychainEntryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSetKeychainEntryResponseV1WithDefaults() *SetKeychainEntryResponseV1 { + this := SetKeychainEntryResponseV1{} + return &this +} + +// GetKey returns the Key field value +func (o *SetKeychainEntryResponseV1) GetKey() string { + if o == nil { + var ret string + return ret + } + + return o.Key +} + +// GetKeyOk returns a tuple with the Key field value +// and a boolean to check if the value has been set. +func (o *SetKeychainEntryResponseV1) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Key, true +} + +// SetKey sets field value +func (o *SetKeychainEntryResponseV1) SetKey(v string) { + o.Key = v +} + +func (o SetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SetKeychainEntryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["key"] = o.Key + return toSerialize, nil +} + +type NullableSetKeychainEntryResponseV1 struct { + value *SetKeychainEntryResponseV1 + isSet bool +} + +func (v NullableSetKeychainEntryResponseV1) Get() *SetKeychainEntryResponseV1 { + return v.value +} + +func (v *NullableSetKeychainEntryResponseV1) Set(val *SetKeychainEntryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSetKeychainEntryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetKeychainEntryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetKeychainEntryResponseV1(val *SetKeychainEntryResponseV1) *NullableSetKeychainEntryResponseV1 { + return &NullableSetKeychainEntryResponseV1{value: val, isSet: true} +} + +func (v NullableSetKeychainEntryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetKeychainEntryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..38092760447 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..9406f12e36a --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,85 @@ +/* +Hyperledger Cactus - Keychain API + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-keychain-vault + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-keychain-vault_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeleteKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeleteKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService HasKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.HasKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SetKeychainEntryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SetKeychainEntryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..b056566c392 --- /dev/null +++ b/packages/cactus-plugin-keychain-vault/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus - Keychain API + +Contains/describes the Keychain API types/paths for Hyperledger Cactus. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-keychain-vault + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-aries/package.json b/packages/cactus-plugin-ledger-connector-aries/package.json index 4e1f49de6cf..674fb4737ad 100644 --- a/packages/cactus-plugin-ledger-connector-aries/package.json +++ b/packages/cactus-plugin-ledger-connector-aries/package.json @@ -48,6 +48,7 @@ "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore --reserved-words-mappings protected=protected", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..457655ce8e1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,33 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_accept_invitation_v1_request.go +model_accept_invitation_v1_response.go +model_agent_connection_record_v1.go +model_agent_connections_filter_v1.go +model_aries_agent_config_v1.go +model_aries_agent_summary_v1.go +model_aries_agent_summary_v1_wallet_config.go +model_aries_indy_vdr_pool_config_v1.go +model_aries_proof_exchange_record_v1.go +model_cacti_accept_policy_v1.go +model_cacti_proof_request_attribute_v1.go +model_create_new_connection_invitation_v1_request.go +model_create_new_connection_invitation_v1_response.go +model_error_exception_v1_response.go +model_get_connections_v1_request.go +model_request_proof_v1_request.go +model_watch_connection_state_options_v1.go +model_watch_connection_state_progress_v1.go +model_watch_connection_state_v1.go +model_watch_proof_state_options_v1.go +model_watch_proof_state_progress_v1.go +model_watch_proof_state_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..0ecef2fb688 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,137 @@ +# Go API client for cactus-plugin-ledger-connector-aries + +Can communicate with other Aries agents and Cacti Aries connectors + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-aries "github.com/hyperledger/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-aries.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-aries.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-aries.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-aries.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**AcceptInvitationV1**](docs/DefaultApi.md#acceptinvitationv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/accept-invitation | Connect to another agent using it's invitation URL +*DefaultApi* | [**CreateNewConnectionInvitationV1**](docs/DefaultApi.md#createnewconnectioninvitationv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/create-new-connection-invitation | Create new aries agent invitation that other agents can use to connect. +*DefaultApi* | [**GetAgentsV1**](docs/DefaultApi.md#getagentsv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/get-agents | Get all Aries agents configured in this connector plugin. +*DefaultApi* | [**GetConnectionsV1**](docs/DefaultApi.md#getconnectionsv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/get-connections | Get all connections of given aries agent. +*DefaultApi* | [**RequestProofV1**](docs/DefaultApi.md#requestproofv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/request-proof | Request proof matching provided requriements from connected peer agent. + + +## Documentation For Models + + - [AcceptInvitationV1Request](docs/AcceptInvitationV1Request.md) + - [AcceptInvitationV1Response](docs/AcceptInvitationV1Response.md) + - [AgentConnectionRecordV1](docs/AgentConnectionRecordV1.md) + - [AgentConnectionsFilterV1](docs/AgentConnectionsFilterV1.md) + - [AriesAgentConfigV1](docs/AriesAgentConfigV1.md) + - [AriesAgentSummaryV1](docs/AriesAgentSummaryV1.md) + - [AriesAgentSummaryV1WalletConfig](docs/AriesAgentSummaryV1WalletConfig.md) + - [AriesIndyVdrPoolConfigV1](docs/AriesIndyVdrPoolConfigV1.md) + - [AriesProofExchangeRecordV1](docs/AriesProofExchangeRecordV1.md) + - [CactiAcceptPolicyV1](docs/CactiAcceptPolicyV1.md) + - [CactiProofRequestAttributeV1](docs/CactiProofRequestAttributeV1.md) + - [CreateNewConnectionInvitationV1Request](docs/CreateNewConnectionInvitationV1Request.md) + - [CreateNewConnectionInvitationV1Response](docs/CreateNewConnectionInvitationV1Response.md) + - [ErrorExceptionV1Response](docs/ErrorExceptionV1Response.md) + - [GetConnectionsV1Request](docs/GetConnectionsV1Request.md) + - [RequestProofV1Request](docs/RequestProofV1Request.md) + - [WatchConnectionStateOptionsV1](docs/WatchConnectionStateOptionsV1.md) + - [WatchConnectionStateProgressV1](docs/WatchConnectionStateProgressV1.md) + - [WatchConnectionStateV1](docs/WatchConnectionStateV1.md) + - [WatchProofStateOptionsV1](docs/WatchProofStateOptionsV1.md) + - [WatchProofStateProgressV1](docs/WatchProofStateProgressV1.md) + - [WatchProofStateV1](docs/WatchProofStateV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..446e8e21099 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,651 @@ +openapi: 3.0.3 +info: + description: Can communicate with other Aries agents and Cacti Aries connectors + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cacti Plugin - Connector Aries + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/get-agents: + post: + operationId: getAgentsV1 + parameters: [] + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetAgentsV1Response' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionV1Response' + description: Internal Server Error + summary: Get all Aries agents configured in this connector plugin. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/get-agents + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/get-connections: + post: + operationId: getConnectionsV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetConnectionsV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetConnectionsV1Response' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionV1Response' + description: Internal Server Error + summary: Get all connections of given aries agent. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/get-connections + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/create-new-connection-invitation: + post: + operationId: createNewConnectionInvitationV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateNewConnectionInvitationV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/CreateNewConnectionInvitationV1Response' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionV1Response' + description: Internal Server Error + summary: Create new aries agent invitation that other agents can use to connect. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/create-new-connection-invitation + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/accept-invitation: + post: + operationId: acceptInvitationV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AcceptInvitationV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/AcceptInvitationV1Response' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionV1Response' + description: Internal Server Error + summary: Connect to another agent using it's invitation URL + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/accept-invitation + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/request-proof: + post: + operationId: requestProofV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RequestProofV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/AriesProofExchangeRecordV1' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionV1Response' + description: Internal Server Error + summary: Request proof matching provided requriements from connected peer agent. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/request-proof +components: + schemas: + WatchConnectionStateV1: + description: Websocket requests for monitoring connection change events. + enum: + - org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Subscribe + - org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Next + - org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Unsubscribe + - org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Error + - org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Complete + type: string + x-enum-varnames: + - Subscribe + - Next + - Unsubscribe + - Error + - Complete + WatchConnectionStateOptionsV1: + description: Options passed when monitoring connection change events. + properties: + agentName: + description: Aries agent label that will also be used as wallet id. + nullable: false + type: string + required: + - agentName + type: object + WatchConnectionStateProgressV1: + description: Values pushed on each connection state change. + properties: + connectionRecord: + $ref: '#/components/schemas/AgentConnectionRecordV1' + previousState: + nullable: true + type: string + required: + - connectionRecord + - previousState + type: object + WatchProofStateV1: + description: Websocket requests for monitoring proof state change events. + enum: + - org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Subscribe + - org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Next + - org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Unsubscribe + - org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Error + - org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Complete + type: string + x-enum-varnames: + - Subscribe + - Next + - Unsubscribe + - Error + - Complete + WatchProofStateOptionsV1: + description: Options passed when monitoring proof state change events. + properties: + agentName: + description: Aries agent label that will also be used as wallet id. + nullable: false + type: string + required: + - agentName + type: object + WatchProofStateProgressV1: + description: Values pushed on each proof state change. + properties: + proofRecord: + $ref: '#/components/schemas/AriesProofExchangeRecordV1' + previousState: + nullable: true + type: string + required: + - previousState + - proofRecord + type: object + CactiAcceptPolicyV1: + description: Credential / Proof requests acceptance policies for Aries agent + enum: + - always + - contentApproved + - never + type: string + x-enum-varnames: + - Always + - ContentApproved + - Never + CactiProofRequestAttributeV1: + description: Credential attribute checks to be performed by a proof request. + example: + name: name + isValueEqual: "" + isCredentialDefinitionIdEqual: "" + properties: + name: + description: Attribute name. + nullable: false + type: string + isValueEqual: + description: Check if attribute has specified value + nullable: false + isCredentialDefinitionIdEqual: + description: Check if credentialDefinitionId has specified value + nullable: false + required: + - name + type: object + AriesProofExchangeRecordV1: + additionalProperties: true + description: Proof exchange record from Aries framework (simplified) + example: + threadId: threadId + isVerified: true + errorMessage: errorMessage + connectionId: connectionId + protocolVersion: protocolVersion + id: id + state: state + properties: + id: + nullable: false + type: string + connectionId: + nullable: false + type: string + threadId: + nullable: false + type: string + state: + nullable: false + type: string + protocolVersion: + nullable: false + type: string + isVerified: + nullable: false + type: boolean + errorMessage: + nullable: false + type: string + required: + - id + - protocolVersion + - state + - threadId + type: object + AriesIndyVdrPoolConfigV1: + description: Indy VDR network configuration + properties: + genesisTransactions: + description: Indy genesis transactions. + nullable: false + type: string + isProduction: + description: Flag to specify whether this is production or development ledger. + nullable: false + type: boolean + indyNamespace: + description: Indy namespace + nullable: false + type: string + connectOnStartup: + description: Connect to the ledger on startup flag + nullable: false + type: boolean + required: + - genesisTransactions + - indyNamespace + - isProduction + type: object + AriesAgentConfigV1: + description: Aries agent configuration to be setup and used by the connector. + properties: + name: + description: Aries agent label that will also be used as wallet id. + nullable: false + type: string + walletKey: + description: Wallet private key - do not share with anyone. + nullable: false + type: string + walletPath: + description: "Path to wallet sqlite database to use. If not provided, the\ + \ connector default path and agent name will be used." + nullable: false + type: string + indyNetworks: + items: + $ref: '#/components/schemas/AriesIndyVdrPoolConfigV1' + nullable: false + type: array + inboundUrl: + default: undefined + description: Inbound endpoint URL for this agent. Must be unique for this + connector. Must contain port. + example: http://127.0.0.1:1234 + nullable: false + type: string + autoAcceptConnections: + default: false + description: Flag to accept new connection by default + nullable: false + type: boolean + autoAcceptCredentials: + $ref: '#/components/schemas/CactiAcceptPolicyV1' + autoAcceptProofs: + $ref: '#/components/schemas/CactiAcceptPolicyV1' + required: + - indyNetworks + - name + - walletKey + type: object + AriesAgentSummaryV1: + description: Summary of an Aries Agent configured in the connector. + example: + isAgentInitialized: true + isWalletInitialized: true + endpoints: + - endpoints + - endpoints + isWalletProvisioned: true + name: name + walletConfig: + id: id + type: type + properties: + name: + description: Aries label of an agent + nullable: false + type: string + isAgentInitialized: + description: True when Aries agent has been initialized properly. + nullable: false + type: boolean + isWalletInitialized: + description: True when this agents wallet has been initialized properly. + nullable: false + type: boolean + isWalletProvisioned: + description: True when this agents wallet has been provisioned properly. + nullable: false + type: boolean + walletConfig: + $ref: '#/components/schemas/AriesAgentSummaryV1_walletConfig' + endpoints: + description: Aries agent endpoints configured + items: + nullable: false + type: string + nullable: false + type: array + required: + - endpoints + - isAgentInitialized + - isWalletInitialized + - isWalletProvisioned + - name + - walletConfig + type: object + AgentConnectionsFilterV1: + description: Fields that can be used to filter agent connection list. + example: + threadId: threadId + role: role + theirDid: theirDid + invitationDid: invitationDid + outOfBandId: outOfBandId + state: state + did: did + properties: + did: + nullable: false + type: string + invitationDid: + nullable: false + type: string + outOfBandId: + nullable: false + type: string + role: + nullable: false + type: string + state: + nullable: false + type: string + theirDid: + nullable: false + type: string + threadId: + nullable: false + type: string + type: object + AgentConnectionRecordV1: + additionalProperties: true + description: Aries agent connection information. + example: + threadId: threadId + role: role + theirDid: theirDid + theirLabel: theirLabel + isReady: true + errorMessage: errorMessage + alias: alias + invitationDid: invitationDid + outOfBandId: outOfBandId + state: state + did: did + properties: + state: + nullable: false + type: string + role: + nullable: false + type: string + isReady: + nullable: false + type: boolean + did: + nullable: false + type: string + theirDid: + nullable: false + type: string + theirLabel: + nullable: false + type: string + alias: + nullable: false + type: string + threadId: + nullable: false + type: string + errorMessage: + nullable: false + type: string + outOfBandId: + nullable: false + type: string + invitationDid: + nullable: false + type: string + required: + - isReady + - role + - state + type: object + GetConnectionsV1Request: + description: Request for GetConnections endpoint. + example: + filter: + threadId: threadId + role: role + theirDid: theirDid + invitationDid: invitationDid + outOfBandId: outOfBandId + state: state + did: did + agentName: agentName + properties: + agentName: + nullable: false + type: string + filter: + $ref: '#/components/schemas/AgentConnectionsFilterV1' + required: + - agentName + type: object + GetConnectionsV1Response: + default: [] + description: Response for GetConnections endpoint. + items: + $ref: '#/components/schemas/AgentConnectionRecordV1' + type: array + GetAgentsV1Response: + default: [] + description: Response for GetAgents endpoint. + items: + $ref: '#/components/schemas/AriesAgentSummaryV1' + type: array + CreateNewConnectionInvitationV1Request: + description: Request for CreateNewConnectionInvitation endpoint. + example: + invitationDomain: invitationDomain + agentName: agentName + properties: + agentName: + description: Aries label of an agent to use to generate an invitation + nullable: false + type: string + invitationDomain: + description: "Invitation URL domain to use. If not specified, then connector\ + \ default domain will be used" + nullable: false + type: string + required: + - agentName + type: object + CreateNewConnectionInvitationV1Response: + description: Response for CreateNewConnectionInvitation endpoint. + example: + invitationUrl: invitationUrl + outOfBandId: outOfBandId + properties: + invitationUrl: + description: Invitation URL that can be used by another aries agent to connect + to us. + nullable: false + type: string + outOfBandId: + description: ID that can be used to track status of the connection + nullable: false + type: string + required: + - invitationUrl + - outOfBandId + type: object + AcceptInvitationV1Request: + description: Request for AcceptInvitation endpoint. + example: + invitationUrl: invitationUrl + agentName: agentName + properties: + agentName: + description: Aries label of an agent to be used to connect using URL + nullable: false + type: string + invitationUrl: + description: Invitation URL generated by another aries agent. + nullable: false + type: string + required: + - agentName + - invitationUrl + type: object + AcceptInvitationV1Response: + description: Response for AcceptInvitation endpoint. + example: + outOfBandId: outOfBandId + properties: + outOfBandId: + description: ID that can be used to track status of the connection + nullable: false + type: string + required: + - outOfBandId + type: object + RequestProofV1Request: + description: Request for RequestProof endpoint. + example: + agentName: agentName + connectionId: connectionId + proofAttributes: + - name: name + isValueEqual: "" + isCredentialDefinitionIdEqual: "" + - name: name + isValueEqual: "" + isCredentialDefinitionIdEqual: "" + properties: + agentName: + description: Aries label of an agent to be used to connect using URL + nullable: false + type: string + connectionId: + description: Peer connection ID from which we want to request a proof. + nullable: false + type: string + proofAttributes: + items: + $ref: '#/components/schemas/CactiProofRequestAttributeV1' + nullable: false + type: array + required: + - agentName + - connectionId + - proofAttributes + type: object + ErrorExceptionV1Response: + description: Error response from the connector. + properties: + message: + description: Short error description message. + nullable: false + type: string + error: + description: Detailed error information. + nullable: false + type: string + required: + - error + - message + type: object + AriesAgentSummaryV1_walletConfig: + example: + id: id + type: type + nullable: false + properties: + id: + description: Wallet entry ID + nullable: false + type: string + type: + description: Wallet storage type + nullable: false + type: string + required: + - id + - type + type: object diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..25ebb5cc830 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,590 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiAcceptInvitationV1Request struct { + ctx context.Context + ApiService *DefaultApiService + acceptInvitationV1Request *AcceptInvitationV1Request +} + +func (r ApiAcceptInvitationV1Request) AcceptInvitationV1Request(acceptInvitationV1Request AcceptInvitationV1Request) ApiAcceptInvitationV1Request { + r.acceptInvitationV1Request = &acceptInvitationV1Request + return r +} + +func (r ApiAcceptInvitationV1Request) Execute() (*AcceptInvitationV1Response, *http.Response, error) { + return r.ApiService.AcceptInvitationV1Execute(r) +} + +/* +AcceptInvitationV1 Connect to another agent using it's invitation URL + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiAcceptInvitationV1Request +*/ +func (a *DefaultApiService) AcceptInvitationV1(ctx context.Context) ApiAcceptInvitationV1Request { + return ApiAcceptInvitationV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return AcceptInvitationV1Response +func (a *DefaultApiService) AcceptInvitationV1Execute(r ApiAcceptInvitationV1Request) (*AcceptInvitationV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AcceptInvitationV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.AcceptInvitationV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/accept-invitation" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.acceptInvitationV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionV1Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiCreateNewConnectionInvitationV1Request struct { + ctx context.Context + ApiService *DefaultApiService + createNewConnectionInvitationV1Request *CreateNewConnectionInvitationV1Request +} + +func (r ApiCreateNewConnectionInvitationV1Request) CreateNewConnectionInvitationV1Request(createNewConnectionInvitationV1Request CreateNewConnectionInvitationV1Request) ApiCreateNewConnectionInvitationV1Request { + r.createNewConnectionInvitationV1Request = &createNewConnectionInvitationV1Request + return r +} + +func (r ApiCreateNewConnectionInvitationV1Request) Execute() (*CreateNewConnectionInvitationV1Response, *http.Response, error) { + return r.ApiService.CreateNewConnectionInvitationV1Execute(r) +} + +/* +CreateNewConnectionInvitationV1 Create new aries agent invitation that other agents can use to connect. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateNewConnectionInvitationV1Request +*/ +func (a *DefaultApiService) CreateNewConnectionInvitationV1(ctx context.Context) ApiCreateNewConnectionInvitationV1Request { + return ApiCreateNewConnectionInvitationV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return CreateNewConnectionInvitationV1Response +func (a *DefaultApiService) CreateNewConnectionInvitationV1Execute(r ApiCreateNewConnectionInvitationV1Request) (*CreateNewConnectionInvitationV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CreateNewConnectionInvitationV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateNewConnectionInvitationV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/create-new-connection-invitation" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.createNewConnectionInvitationV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionV1Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetAgentsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetAgentsV1Request) Execute() ([]AriesAgentSummaryV1, *http.Response, error) { + return r.ApiService.GetAgentsV1Execute(r) +} + +/* +GetAgentsV1 Get all Aries agents configured in this connector plugin. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetAgentsV1Request +*/ +func (a *DefaultApiService) GetAgentsV1(ctx context.Context) ApiGetAgentsV1Request { + return ApiGetAgentsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []AriesAgentSummaryV1 +func (a *DefaultApiService) GetAgentsV1Execute(r ApiGetAgentsV1Request) ([]AriesAgentSummaryV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []AriesAgentSummaryV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetAgentsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/get-agents" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionV1Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetConnectionsV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getConnectionsV1Request *GetConnectionsV1Request +} + +func (r ApiGetConnectionsV1Request) GetConnectionsV1Request(getConnectionsV1Request GetConnectionsV1Request) ApiGetConnectionsV1Request { + r.getConnectionsV1Request = &getConnectionsV1Request + return r +} + +func (r ApiGetConnectionsV1Request) Execute() ([]AgentConnectionRecordV1, *http.Response, error) { + return r.ApiService.GetConnectionsV1Execute(r) +} + +/* +GetConnectionsV1 Get all connections of given aries agent. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetConnectionsV1Request +*/ +func (a *DefaultApiService) GetConnectionsV1(ctx context.Context) ApiGetConnectionsV1Request { + return ApiGetConnectionsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []AgentConnectionRecordV1 +func (a *DefaultApiService) GetConnectionsV1Execute(r ApiGetConnectionsV1Request) ([]AgentConnectionRecordV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []AgentConnectionRecordV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetConnectionsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/get-connections" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getConnectionsV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionV1Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRequestProofV1Request struct { + ctx context.Context + ApiService *DefaultApiService + requestProofV1Request *RequestProofV1Request +} + +func (r ApiRequestProofV1Request) RequestProofV1Request(requestProofV1Request RequestProofV1Request) ApiRequestProofV1Request { + r.requestProofV1Request = &requestProofV1Request + return r +} + +func (r ApiRequestProofV1Request) Execute() (*AriesProofExchangeRecordV1, *http.Response, error) { + return r.ApiService.RequestProofV1Execute(r) +} + +/* +RequestProofV1 Request proof matching provided requriements from connected peer agent. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRequestProofV1Request +*/ +func (a *DefaultApiService) RequestProofV1(ctx context.Context) ApiRequestProofV1Request { + return ApiRequestProofV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return AriesProofExchangeRecordV1 +func (a *DefaultApiService) RequestProofV1Execute(r ApiRequestProofV1Request) (*AriesProofExchangeRecordV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AriesProofExchangeRecordV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RequestProofV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-aries/request-proof" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.requestProofV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionV1Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..2f592cda6b1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cacti Plugin - Connector Aries API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..26be6b4b25e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..83df8fee325 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_accept_invitation_v1_request.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_accept_invitation_v1_request.go new file mode 100644 index 00000000000..9e7484d121c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_accept_invitation_v1_request.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the AcceptInvitationV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AcceptInvitationV1Request{} + +// AcceptInvitationV1Request Request for AcceptInvitation endpoint. +type AcceptInvitationV1Request struct { + // Aries label of an agent to be used to connect using URL + AgentName string `json:"agentName"` + // Invitation URL generated by another aries agent. + InvitationUrl string `json:"invitationUrl"` +} + +// NewAcceptInvitationV1Request instantiates a new AcceptInvitationV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAcceptInvitationV1Request(agentName string, invitationUrl string) *AcceptInvitationV1Request { + this := AcceptInvitationV1Request{} + this.AgentName = agentName + this.InvitationUrl = invitationUrl + return &this +} + +// NewAcceptInvitationV1RequestWithDefaults instantiates a new AcceptInvitationV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAcceptInvitationV1RequestWithDefaults() *AcceptInvitationV1Request { + this := AcceptInvitationV1Request{} + return &this +} + +// GetAgentName returns the AgentName field value +func (o *AcceptInvitationV1Request) GetAgentName() string { + if o == nil { + var ret string + return ret + } + + return o.AgentName +} + +// GetAgentNameOk returns a tuple with the AgentName field value +// and a boolean to check if the value has been set. +func (o *AcceptInvitationV1Request) GetAgentNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AgentName, true +} + +// SetAgentName sets field value +func (o *AcceptInvitationV1Request) SetAgentName(v string) { + o.AgentName = v +} + +// GetInvitationUrl returns the InvitationUrl field value +func (o *AcceptInvitationV1Request) GetInvitationUrl() string { + if o == nil { + var ret string + return ret + } + + return o.InvitationUrl +} + +// GetInvitationUrlOk returns a tuple with the InvitationUrl field value +// and a boolean to check if the value has been set. +func (o *AcceptInvitationV1Request) GetInvitationUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.InvitationUrl, true +} + +// SetInvitationUrl sets field value +func (o *AcceptInvitationV1Request) SetInvitationUrl(v string) { + o.InvitationUrl = v +} + +func (o AcceptInvitationV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AcceptInvitationV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["agentName"] = o.AgentName + toSerialize["invitationUrl"] = o.InvitationUrl + return toSerialize, nil +} + +type NullableAcceptInvitationV1Request struct { + value *AcceptInvitationV1Request + isSet bool +} + +func (v NullableAcceptInvitationV1Request) Get() *AcceptInvitationV1Request { + return v.value +} + +func (v *NullableAcceptInvitationV1Request) Set(val *AcceptInvitationV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableAcceptInvitationV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableAcceptInvitationV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAcceptInvitationV1Request(val *AcceptInvitationV1Request) *NullableAcceptInvitationV1Request { + return &NullableAcceptInvitationV1Request{value: val, isSet: true} +} + +func (v NullableAcceptInvitationV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAcceptInvitationV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_accept_invitation_v1_response.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_accept_invitation_v1_response.go new file mode 100644 index 00000000000..a741fdc2b1e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_accept_invitation_v1_response.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the AcceptInvitationV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AcceptInvitationV1Response{} + +// AcceptInvitationV1Response Response for AcceptInvitation endpoint. +type AcceptInvitationV1Response struct { + // ID that can be used to track status of the connection + OutOfBandId string `json:"outOfBandId"` +} + +// NewAcceptInvitationV1Response instantiates a new AcceptInvitationV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAcceptInvitationV1Response(outOfBandId string) *AcceptInvitationV1Response { + this := AcceptInvitationV1Response{} + this.OutOfBandId = outOfBandId + return &this +} + +// NewAcceptInvitationV1ResponseWithDefaults instantiates a new AcceptInvitationV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAcceptInvitationV1ResponseWithDefaults() *AcceptInvitationV1Response { + this := AcceptInvitationV1Response{} + return &this +} + +// GetOutOfBandId returns the OutOfBandId field value +func (o *AcceptInvitationV1Response) GetOutOfBandId() string { + if o == nil { + var ret string + return ret + } + + return o.OutOfBandId +} + +// GetOutOfBandIdOk returns a tuple with the OutOfBandId field value +// and a boolean to check if the value has been set. +func (o *AcceptInvitationV1Response) GetOutOfBandIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OutOfBandId, true +} + +// SetOutOfBandId sets field value +func (o *AcceptInvitationV1Response) SetOutOfBandId(v string) { + o.OutOfBandId = v +} + +func (o AcceptInvitationV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AcceptInvitationV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["outOfBandId"] = o.OutOfBandId + return toSerialize, nil +} + +type NullableAcceptInvitationV1Response struct { + value *AcceptInvitationV1Response + isSet bool +} + +func (v NullableAcceptInvitationV1Response) Get() *AcceptInvitationV1Response { + return v.value +} + +func (v *NullableAcceptInvitationV1Response) Set(val *AcceptInvitationV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableAcceptInvitationV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableAcceptInvitationV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAcceptInvitationV1Response(val *AcceptInvitationV1Response) *NullableAcceptInvitationV1Response { + return &NullableAcceptInvitationV1Response{value: val, isSet: true} +} + +func (v NullableAcceptInvitationV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAcceptInvitationV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_agent_connection_record_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_agent_connection_record_v1.go new file mode 100644 index 00000000000..f361ddd17f8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_agent_connection_record_v1.go @@ -0,0 +1,494 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the AgentConnectionRecordV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AgentConnectionRecordV1{} + +// AgentConnectionRecordV1 Aries agent connection information. +type AgentConnectionRecordV1 struct { + State string `json:"state"` + Role string `json:"role"` + IsReady bool `json:"isReady"` + Did *string `json:"did,omitempty"` + TheirDid *string `json:"theirDid,omitempty"` + TheirLabel *string `json:"theirLabel,omitempty"` + Alias *string `json:"alias,omitempty"` + ThreadId *string `json:"threadId,omitempty"` + ErrorMessage *string `json:"errorMessage,omitempty"` + OutOfBandId *string `json:"outOfBandId,omitempty"` + InvitationDid *string `json:"invitationDid,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AgentConnectionRecordV1 AgentConnectionRecordV1 + +// NewAgentConnectionRecordV1 instantiates a new AgentConnectionRecordV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAgentConnectionRecordV1(state string, role string, isReady bool) *AgentConnectionRecordV1 { + this := AgentConnectionRecordV1{} + this.State = state + this.Role = role + this.IsReady = isReady + return &this +} + +// NewAgentConnectionRecordV1WithDefaults instantiates a new AgentConnectionRecordV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAgentConnectionRecordV1WithDefaults() *AgentConnectionRecordV1 { + this := AgentConnectionRecordV1{} + return &this +} + +// GetState returns the State field value +func (o *AgentConnectionRecordV1) GetState() string { + if o == nil { + var ret string + return ret + } + + return o.State +} + +// GetStateOk returns a tuple with the State field value +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetStateOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.State, true +} + +// SetState sets field value +func (o *AgentConnectionRecordV1) SetState(v string) { + o.State = v +} + +// GetRole returns the Role field value +func (o *AgentConnectionRecordV1) GetRole() string { + if o == nil { + var ret string + return ret + } + + return o.Role +} + +// GetRoleOk returns a tuple with the Role field value +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetRoleOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Role, true +} + +// SetRole sets field value +func (o *AgentConnectionRecordV1) SetRole(v string) { + o.Role = v +} + +// GetIsReady returns the IsReady field value +func (o *AgentConnectionRecordV1) GetIsReady() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsReady +} + +// GetIsReadyOk returns a tuple with the IsReady field value +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetIsReadyOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsReady, true +} + +// SetIsReady sets field value +func (o *AgentConnectionRecordV1) SetIsReady(v bool) { + o.IsReady = v +} + +// GetDid returns the Did field value if set, zero value otherwise. +func (o *AgentConnectionRecordV1) GetDid() string { + if o == nil || IsNil(o.Did) { + var ret string + return ret + } + return *o.Did +} + +// GetDidOk returns a tuple with the Did field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetDidOk() (*string, bool) { + if o == nil || IsNil(o.Did) { + return nil, false + } + return o.Did, true +} + +// HasDid returns a boolean if a field has been set. +func (o *AgentConnectionRecordV1) HasDid() bool { + if o != nil && !IsNil(o.Did) { + return true + } + + return false +} + +// SetDid gets a reference to the given string and assigns it to the Did field. +func (o *AgentConnectionRecordV1) SetDid(v string) { + o.Did = &v +} + +// GetTheirDid returns the TheirDid field value if set, zero value otherwise. +func (o *AgentConnectionRecordV1) GetTheirDid() string { + if o == nil || IsNil(o.TheirDid) { + var ret string + return ret + } + return *o.TheirDid +} + +// GetTheirDidOk returns a tuple with the TheirDid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetTheirDidOk() (*string, bool) { + if o == nil || IsNil(o.TheirDid) { + return nil, false + } + return o.TheirDid, true +} + +// HasTheirDid returns a boolean if a field has been set. +func (o *AgentConnectionRecordV1) HasTheirDid() bool { + if o != nil && !IsNil(o.TheirDid) { + return true + } + + return false +} + +// SetTheirDid gets a reference to the given string and assigns it to the TheirDid field. +func (o *AgentConnectionRecordV1) SetTheirDid(v string) { + o.TheirDid = &v +} + +// GetTheirLabel returns the TheirLabel field value if set, zero value otherwise. +func (o *AgentConnectionRecordV1) GetTheirLabel() string { + if o == nil || IsNil(o.TheirLabel) { + var ret string + return ret + } + return *o.TheirLabel +} + +// GetTheirLabelOk returns a tuple with the TheirLabel field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetTheirLabelOk() (*string, bool) { + if o == nil || IsNil(o.TheirLabel) { + return nil, false + } + return o.TheirLabel, true +} + +// HasTheirLabel returns a boolean if a field has been set. +func (o *AgentConnectionRecordV1) HasTheirLabel() bool { + if o != nil && !IsNil(o.TheirLabel) { + return true + } + + return false +} + +// SetTheirLabel gets a reference to the given string and assigns it to the TheirLabel field. +func (o *AgentConnectionRecordV1) SetTheirLabel(v string) { + o.TheirLabel = &v +} + +// GetAlias returns the Alias field value if set, zero value otherwise. +func (o *AgentConnectionRecordV1) GetAlias() string { + if o == nil || IsNil(o.Alias) { + var ret string + return ret + } + return *o.Alias +} + +// GetAliasOk returns a tuple with the Alias field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetAliasOk() (*string, bool) { + if o == nil || IsNil(o.Alias) { + return nil, false + } + return o.Alias, true +} + +// HasAlias returns a boolean if a field has been set. +func (o *AgentConnectionRecordV1) HasAlias() bool { + if o != nil && !IsNil(o.Alias) { + return true + } + + return false +} + +// SetAlias gets a reference to the given string and assigns it to the Alias field. +func (o *AgentConnectionRecordV1) SetAlias(v string) { + o.Alias = &v +} + +// GetThreadId returns the ThreadId field value if set, zero value otherwise. +func (o *AgentConnectionRecordV1) GetThreadId() string { + if o == nil || IsNil(o.ThreadId) { + var ret string + return ret + } + return *o.ThreadId +} + +// GetThreadIdOk returns a tuple with the ThreadId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetThreadIdOk() (*string, bool) { + if o == nil || IsNil(o.ThreadId) { + return nil, false + } + return o.ThreadId, true +} + +// HasThreadId returns a boolean if a field has been set. +func (o *AgentConnectionRecordV1) HasThreadId() bool { + if o != nil && !IsNil(o.ThreadId) { + return true + } + + return false +} + +// SetThreadId gets a reference to the given string and assigns it to the ThreadId field. +func (o *AgentConnectionRecordV1) SetThreadId(v string) { + o.ThreadId = &v +} + +// GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise. +func (o *AgentConnectionRecordV1) GetErrorMessage() string { + if o == nil || IsNil(o.ErrorMessage) { + var ret string + return ret + } + return *o.ErrorMessage +} + +// GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetErrorMessageOk() (*string, bool) { + if o == nil || IsNil(o.ErrorMessage) { + return nil, false + } + return o.ErrorMessage, true +} + +// HasErrorMessage returns a boolean if a field has been set. +func (o *AgentConnectionRecordV1) HasErrorMessage() bool { + if o != nil && !IsNil(o.ErrorMessage) { + return true + } + + return false +} + +// SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field. +func (o *AgentConnectionRecordV1) SetErrorMessage(v string) { + o.ErrorMessage = &v +} + +// GetOutOfBandId returns the OutOfBandId field value if set, zero value otherwise. +func (o *AgentConnectionRecordV1) GetOutOfBandId() string { + if o == nil || IsNil(o.OutOfBandId) { + var ret string + return ret + } + return *o.OutOfBandId +} + +// GetOutOfBandIdOk returns a tuple with the OutOfBandId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetOutOfBandIdOk() (*string, bool) { + if o == nil || IsNil(o.OutOfBandId) { + return nil, false + } + return o.OutOfBandId, true +} + +// HasOutOfBandId returns a boolean if a field has been set. +func (o *AgentConnectionRecordV1) HasOutOfBandId() bool { + if o != nil && !IsNil(o.OutOfBandId) { + return true + } + + return false +} + +// SetOutOfBandId gets a reference to the given string and assigns it to the OutOfBandId field. +func (o *AgentConnectionRecordV1) SetOutOfBandId(v string) { + o.OutOfBandId = &v +} + +// GetInvitationDid returns the InvitationDid field value if set, zero value otherwise. +func (o *AgentConnectionRecordV1) GetInvitationDid() string { + if o == nil || IsNil(o.InvitationDid) { + var ret string + return ret + } + return *o.InvitationDid +} + +// GetInvitationDidOk returns a tuple with the InvitationDid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionRecordV1) GetInvitationDidOk() (*string, bool) { + if o == nil || IsNil(o.InvitationDid) { + return nil, false + } + return o.InvitationDid, true +} + +// HasInvitationDid returns a boolean if a field has been set. +func (o *AgentConnectionRecordV1) HasInvitationDid() bool { + if o != nil && !IsNil(o.InvitationDid) { + return true + } + + return false +} + +// SetInvitationDid gets a reference to the given string and assigns it to the InvitationDid field. +func (o *AgentConnectionRecordV1) SetInvitationDid(v string) { + o.InvitationDid = &v +} + +func (o AgentConnectionRecordV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AgentConnectionRecordV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["state"] = o.State + toSerialize["role"] = o.Role + toSerialize["isReady"] = o.IsReady + if !IsNil(o.Did) { + toSerialize["did"] = o.Did + } + if !IsNil(o.TheirDid) { + toSerialize["theirDid"] = o.TheirDid + } + if !IsNil(o.TheirLabel) { + toSerialize["theirLabel"] = o.TheirLabel + } + if !IsNil(o.Alias) { + toSerialize["alias"] = o.Alias + } + if !IsNil(o.ThreadId) { + toSerialize["threadId"] = o.ThreadId + } + if !IsNil(o.ErrorMessage) { + toSerialize["errorMessage"] = o.ErrorMessage + } + if !IsNil(o.OutOfBandId) { + toSerialize["outOfBandId"] = o.OutOfBandId + } + if !IsNil(o.InvitationDid) { + toSerialize["invitationDid"] = o.InvitationDid + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AgentConnectionRecordV1) UnmarshalJSON(bytes []byte) (err error) { + varAgentConnectionRecordV1 := _AgentConnectionRecordV1{} + + if err = json.Unmarshal(bytes, &varAgentConnectionRecordV1); err == nil { + *o = AgentConnectionRecordV1(varAgentConnectionRecordV1) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "state") + delete(additionalProperties, "role") + delete(additionalProperties, "isReady") + delete(additionalProperties, "did") + delete(additionalProperties, "theirDid") + delete(additionalProperties, "theirLabel") + delete(additionalProperties, "alias") + delete(additionalProperties, "threadId") + delete(additionalProperties, "errorMessage") + delete(additionalProperties, "outOfBandId") + delete(additionalProperties, "invitationDid") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAgentConnectionRecordV1 struct { + value *AgentConnectionRecordV1 + isSet bool +} + +func (v NullableAgentConnectionRecordV1) Get() *AgentConnectionRecordV1 { + return v.value +} + +func (v *NullableAgentConnectionRecordV1) Set(val *AgentConnectionRecordV1) { + v.value = val + v.isSet = true +} + +func (v NullableAgentConnectionRecordV1) IsSet() bool { + return v.isSet +} + +func (v *NullableAgentConnectionRecordV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAgentConnectionRecordV1(val *AgentConnectionRecordV1) *NullableAgentConnectionRecordV1 { + return &NullableAgentConnectionRecordV1{value: val, isSet: true} +} + +func (v NullableAgentConnectionRecordV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAgentConnectionRecordV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_agent_connections_filter_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_agent_connections_filter_v1.go new file mode 100644 index 00000000000..23f260cafb9 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_agent_connections_filter_v1.go @@ -0,0 +1,342 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the AgentConnectionsFilterV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AgentConnectionsFilterV1{} + +// AgentConnectionsFilterV1 Fields that can be used to filter agent connection list. +type AgentConnectionsFilterV1 struct { + Did *string `json:"did,omitempty"` + InvitationDid *string `json:"invitationDid,omitempty"` + OutOfBandId *string `json:"outOfBandId,omitempty"` + Role *string `json:"role,omitempty"` + State *string `json:"state,omitempty"` + TheirDid *string `json:"theirDid,omitempty"` + ThreadId *string `json:"threadId,omitempty"` +} + +// NewAgentConnectionsFilterV1 instantiates a new AgentConnectionsFilterV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAgentConnectionsFilterV1() *AgentConnectionsFilterV1 { + this := AgentConnectionsFilterV1{} + return &this +} + +// NewAgentConnectionsFilterV1WithDefaults instantiates a new AgentConnectionsFilterV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAgentConnectionsFilterV1WithDefaults() *AgentConnectionsFilterV1 { + this := AgentConnectionsFilterV1{} + return &this +} + +// GetDid returns the Did field value if set, zero value otherwise. +func (o *AgentConnectionsFilterV1) GetDid() string { + if o == nil || IsNil(o.Did) { + var ret string + return ret + } + return *o.Did +} + +// GetDidOk returns a tuple with the Did field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionsFilterV1) GetDidOk() (*string, bool) { + if o == nil || IsNil(o.Did) { + return nil, false + } + return o.Did, true +} + +// HasDid returns a boolean if a field has been set. +func (o *AgentConnectionsFilterV1) HasDid() bool { + if o != nil && !IsNil(o.Did) { + return true + } + + return false +} + +// SetDid gets a reference to the given string and assigns it to the Did field. +func (o *AgentConnectionsFilterV1) SetDid(v string) { + o.Did = &v +} + +// GetInvitationDid returns the InvitationDid field value if set, zero value otherwise. +func (o *AgentConnectionsFilterV1) GetInvitationDid() string { + if o == nil || IsNil(o.InvitationDid) { + var ret string + return ret + } + return *o.InvitationDid +} + +// GetInvitationDidOk returns a tuple with the InvitationDid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionsFilterV1) GetInvitationDidOk() (*string, bool) { + if o == nil || IsNil(o.InvitationDid) { + return nil, false + } + return o.InvitationDid, true +} + +// HasInvitationDid returns a boolean if a field has been set. +func (o *AgentConnectionsFilterV1) HasInvitationDid() bool { + if o != nil && !IsNil(o.InvitationDid) { + return true + } + + return false +} + +// SetInvitationDid gets a reference to the given string and assigns it to the InvitationDid field. +func (o *AgentConnectionsFilterV1) SetInvitationDid(v string) { + o.InvitationDid = &v +} + +// GetOutOfBandId returns the OutOfBandId field value if set, zero value otherwise. +func (o *AgentConnectionsFilterV1) GetOutOfBandId() string { + if o == nil || IsNil(o.OutOfBandId) { + var ret string + return ret + } + return *o.OutOfBandId +} + +// GetOutOfBandIdOk returns a tuple with the OutOfBandId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionsFilterV1) GetOutOfBandIdOk() (*string, bool) { + if o == nil || IsNil(o.OutOfBandId) { + return nil, false + } + return o.OutOfBandId, true +} + +// HasOutOfBandId returns a boolean if a field has been set. +func (o *AgentConnectionsFilterV1) HasOutOfBandId() bool { + if o != nil && !IsNil(o.OutOfBandId) { + return true + } + + return false +} + +// SetOutOfBandId gets a reference to the given string and assigns it to the OutOfBandId field. +func (o *AgentConnectionsFilterV1) SetOutOfBandId(v string) { + o.OutOfBandId = &v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *AgentConnectionsFilterV1) GetRole() string { + if o == nil || IsNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionsFilterV1) GetRoleOk() (*string, bool) { + if o == nil || IsNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *AgentConnectionsFilterV1) HasRole() bool { + if o != nil && !IsNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *AgentConnectionsFilterV1) SetRole(v string) { + o.Role = &v +} + +// GetState returns the State field value if set, zero value otherwise. +func (o *AgentConnectionsFilterV1) GetState() string { + if o == nil || IsNil(o.State) { + var ret string + return ret + } + return *o.State +} + +// GetStateOk returns a tuple with the State field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionsFilterV1) GetStateOk() (*string, bool) { + if o == nil || IsNil(o.State) { + return nil, false + } + return o.State, true +} + +// HasState returns a boolean if a field has been set. +func (o *AgentConnectionsFilterV1) HasState() bool { + if o != nil && !IsNil(o.State) { + return true + } + + return false +} + +// SetState gets a reference to the given string and assigns it to the State field. +func (o *AgentConnectionsFilterV1) SetState(v string) { + o.State = &v +} + +// GetTheirDid returns the TheirDid field value if set, zero value otherwise. +func (o *AgentConnectionsFilterV1) GetTheirDid() string { + if o == nil || IsNil(o.TheirDid) { + var ret string + return ret + } + return *o.TheirDid +} + +// GetTheirDidOk returns a tuple with the TheirDid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionsFilterV1) GetTheirDidOk() (*string, bool) { + if o == nil || IsNil(o.TheirDid) { + return nil, false + } + return o.TheirDid, true +} + +// HasTheirDid returns a boolean if a field has been set. +func (o *AgentConnectionsFilterV1) HasTheirDid() bool { + if o != nil && !IsNil(o.TheirDid) { + return true + } + + return false +} + +// SetTheirDid gets a reference to the given string and assigns it to the TheirDid field. +func (o *AgentConnectionsFilterV1) SetTheirDid(v string) { + o.TheirDid = &v +} + +// GetThreadId returns the ThreadId field value if set, zero value otherwise. +func (o *AgentConnectionsFilterV1) GetThreadId() string { + if o == nil || IsNil(o.ThreadId) { + var ret string + return ret + } + return *o.ThreadId +} + +// GetThreadIdOk returns a tuple with the ThreadId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AgentConnectionsFilterV1) GetThreadIdOk() (*string, bool) { + if o == nil || IsNil(o.ThreadId) { + return nil, false + } + return o.ThreadId, true +} + +// HasThreadId returns a boolean if a field has been set. +func (o *AgentConnectionsFilterV1) HasThreadId() bool { + if o != nil && !IsNil(o.ThreadId) { + return true + } + + return false +} + +// SetThreadId gets a reference to the given string and assigns it to the ThreadId field. +func (o *AgentConnectionsFilterV1) SetThreadId(v string) { + o.ThreadId = &v +} + +func (o AgentConnectionsFilterV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AgentConnectionsFilterV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Did) { + toSerialize["did"] = o.Did + } + if !IsNil(o.InvitationDid) { + toSerialize["invitationDid"] = o.InvitationDid + } + if !IsNil(o.OutOfBandId) { + toSerialize["outOfBandId"] = o.OutOfBandId + } + if !IsNil(o.Role) { + toSerialize["role"] = o.Role + } + if !IsNil(o.State) { + toSerialize["state"] = o.State + } + if !IsNil(o.TheirDid) { + toSerialize["theirDid"] = o.TheirDid + } + if !IsNil(o.ThreadId) { + toSerialize["threadId"] = o.ThreadId + } + return toSerialize, nil +} + +type NullableAgentConnectionsFilterV1 struct { + value *AgentConnectionsFilterV1 + isSet bool +} + +func (v NullableAgentConnectionsFilterV1) Get() *AgentConnectionsFilterV1 { + return v.value +} + +func (v *NullableAgentConnectionsFilterV1) Set(val *AgentConnectionsFilterV1) { + v.value = val + v.isSet = true +} + +func (v NullableAgentConnectionsFilterV1) IsSet() bool { + return v.isSet +} + +func (v *NullableAgentConnectionsFilterV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAgentConnectionsFilterV1(val *AgentConnectionsFilterV1) *NullableAgentConnectionsFilterV1 { + return &NullableAgentConnectionsFilterV1{value: val, isSet: true} +} + +func (v NullableAgentConnectionsFilterV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAgentConnectionsFilterV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_agent_config_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_agent_config_v1.go new file mode 100644 index 00000000000..caa49064119 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_agent_config_v1.go @@ -0,0 +1,364 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the AriesAgentConfigV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AriesAgentConfigV1{} + +// AriesAgentConfigV1 Aries agent configuration to be setup and used by the connector. +type AriesAgentConfigV1 struct { + // Aries agent label that will also be used as wallet id. + Name string `json:"name"` + // Wallet private key - do not share with anyone. + WalletKey string `json:"walletKey"` + // Path to wallet sqlite database to use. If not provided, the connector default path and agent name will be used. + WalletPath *string `json:"walletPath,omitempty"` + IndyNetworks []AriesIndyVdrPoolConfigV1 `json:"indyNetworks"` + // Inbound endpoint URL for this agent. Must be unique for this connector. Must contain port. + InboundUrl *string `json:"inboundUrl,omitempty"` + // Flag to accept new connection by default + AutoAcceptConnections *bool `json:"autoAcceptConnections,omitempty"` + AutoAcceptCredentials *CactiAcceptPolicyV1 `json:"autoAcceptCredentials,omitempty"` + AutoAcceptProofs *CactiAcceptPolicyV1 `json:"autoAcceptProofs,omitempty"` +} + +// NewAriesAgentConfigV1 instantiates a new AriesAgentConfigV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAriesAgentConfigV1(name string, walletKey string, indyNetworks []AriesIndyVdrPoolConfigV1) *AriesAgentConfigV1 { + this := AriesAgentConfigV1{} + this.Name = name + this.WalletKey = walletKey + this.IndyNetworks = indyNetworks + var inboundUrl string = "undefined" + this.InboundUrl = &inboundUrl + var autoAcceptConnections bool = false + this.AutoAcceptConnections = &autoAcceptConnections + return &this +} + +// NewAriesAgentConfigV1WithDefaults instantiates a new AriesAgentConfigV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAriesAgentConfigV1WithDefaults() *AriesAgentConfigV1 { + this := AriesAgentConfigV1{} + var inboundUrl string = "undefined" + this.InboundUrl = &inboundUrl + var autoAcceptConnections bool = false + this.AutoAcceptConnections = &autoAcceptConnections + return &this +} + +// GetName returns the Name field value +func (o *AriesAgentConfigV1) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *AriesAgentConfigV1) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *AriesAgentConfigV1) SetName(v string) { + o.Name = v +} + +// GetWalletKey returns the WalletKey field value +func (o *AriesAgentConfigV1) GetWalletKey() string { + if o == nil { + var ret string + return ret + } + + return o.WalletKey +} + +// GetWalletKeyOk returns a tuple with the WalletKey field value +// and a boolean to check if the value has been set. +func (o *AriesAgentConfigV1) GetWalletKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.WalletKey, true +} + +// SetWalletKey sets field value +func (o *AriesAgentConfigV1) SetWalletKey(v string) { + o.WalletKey = v +} + +// GetWalletPath returns the WalletPath field value if set, zero value otherwise. +func (o *AriesAgentConfigV1) GetWalletPath() string { + if o == nil || IsNil(o.WalletPath) { + var ret string + return ret + } + return *o.WalletPath +} + +// GetWalletPathOk returns a tuple with the WalletPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AriesAgentConfigV1) GetWalletPathOk() (*string, bool) { + if o == nil || IsNil(o.WalletPath) { + return nil, false + } + return o.WalletPath, true +} + +// HasWalletPath returns a boolean if a field has been set. +func (o *AriesAgentConfigV1) HasWalletPath() bool { + if o != nil && !IsNil(o.WalletPath) { + return true + } + + return false +} + +// SetWalletPath gets a reference to the given string and assigns it to the WalletPath field. +func (o *AriesAgentConfigV1) SetWalletPath(v string) { + o.WalletPath = &v +} + +// GetIndyNetworks returns the IndyNetworks field value +func (o *AriesAgentConfigV1) GetIndyNetworks() []AriesIndyVdrPoolConfigV1 { + if o == nil { + var ret []AriesIndyVdrPoolConfigV1 + return ret + } + + return o.IndyNetworks +} + +// GetIndyNetworksOk returns a tuple with the IndyNetworks field value +// and a boolean to check if the value has been set. +func (o *AriesAgentConfigV1) GetIndyNetworksOk() ([]AriesIndyVdrPoolConfigV1, bool) { + if o == nil { + return nil, false + } + return o.IndyNetworks, true +} + +// SetIndyNetworks sets field value +func (o *AriesAgentConfigV1) SetIndyNetworks(v []AriesIndyVdrPoolConfigV1) { + o.IndyNetworks = v +} + +// GetInboundUrl returns the InboundUrl field value if set, zero value otherwise. +func (o *AriesAgentConfigV1) GetInboundUrl() string { + if o == nil || IsNil(o.InboundUrl) { + var ret string + return ret + } + return *o.InboundUrl +} + +// GetInboundUrlOk returns a tuple with the InboundUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AriesAgentConfigV1) GetInboundUrlOk() (*string, bool) { + if o == nil || IsNil(o.InboundUrl) { + return nil, false + } + return o.InboundUrl, true +} + +// HasInboundUrl returns a boolean if a field has been set. +func (o *AriesAgentConfigV1) HasInboundUrl() bool { + if o != nil && !IsNil(o.InboundUrl) { + return true + } + + return false +} + +// SetInboundUrl gets a reference to the given string and assigns it to the InboundUrl field. +func (o *AriesAgentConfigV1) SetInboundUrl(v string) { + o.InboundUrl = &v +} + +// GetAutoAcceptConnections returns the AutoAcceptConnections field value if set, zero value otherwise. +func (o *AriesAgentConfigV1) GetAutoAcceptConnections() bool { + if o == nil || IsNil(o.AutoAcceptConnections) { + var ret bool + return ret + } + return *o.AutoAcceptConnections +} + +// GetAutoAcceptConnectionsOk returns a tuple with the AutoAcceptConnections field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AriesAgentConfigV1) GetAutoAcceptConnectionsOk() (*bool, bool) { + if o == nil || IsNil(o.AutoAcceptConnections) { + return nil, false + } + return o.AutoAcceptConnections, true +} + +// HasAutoAcceptConnections returns a boolean if a field has been set. +func (o *AriesAgentConfigV1) HasAutoAcceptConnections() bool { + if o != nil && !IsNil(o.AutoAcceptConnections) { + return true + } + + return false +} + +// SetAutoAcceptConnections gets a reference to the given bool and assigns it to the AutoAcceptConnections field. +func (o *AriesAgentConfigV1) SetAutoAcceptConnections(v bool) { + o.AutoAcceptConnections = &v +} + +// GetAutoAcceptCredentials returns the AutoAcceptCredentials field value if set, zero value otherwise. +func (o *AriesAgentConfigV1) GetAutoAcceptCredentials() CactiAcceptPolicyV1 { + if o == nil || IsNil(o.AutoAcceptCredentials) { + var ret CactiAcceptPolicyV1 + return ret + } + return *o.AutoAcceptCredentials +} + +// GetAutoAcceptCredentialsOk returns a tuple with the AutoAcceptCredentials field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AriesAgentConfigV1) GetAutoAcceptCredentialsOk() (*CactiAcceptPolicyV1, bool) { + if o == nil || IsNil(o.AutoAcceptCredentials) { + return nil, false + } + return o.AutoAcceptCredentials, true +} + +// HasAutoAcceptCredentials returns a boolean if a field has been set. +func (o *AriesAgentConfigV1) HasAutoAcceptCredentials() bool { + if o != nil && !IsNil(o.AutoAcceptCredentials) { + return true + } + + return false +} + +// SetAutoAcceptCredentials gets a reference to the given CactiAcceptPolicyV1 and assigns it to the AutoAcceptCredentials field. +func (o *AriesAgentConfigV1) SetAutoAcceptCredentials(v CactiAcceptPolicyV1) { + o.AutoAcceptCredentials = &v +} + +// GetAutoAcceptProofs returns the AutoAcceptProofs field value if set, zero value otherwise. +func (o *AriesAgentConfigV1) GetAutoAcceptProofs() CactiAcceptPolicyV1 { + if o == nil || IsNil(o.AutoAcceptProofs) { + var ret CactiAcceptPolicyV1 + return ret + } + return *o.AutoAcceptProofs +} + +// GetAutoAcceptProofsOk returns a tuple with the AutoAcceptProofs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AriesAgentConfigV1) GetAutoAcceptProofsOk() (*CactiAcceptPolicyV1, bool) { + if o == nil || IsNil(o.AutoAcceptProofs) { + return nil, false + } + return o.AutoAcceptProofs, true +} + +// HasAutoAcceptProofs returns a boolean if a field has been set. +func (o *AriesAgentConfigV1) HasAutoAcceptProofs() bool { + if o != nil && !IsNil(o.AutoAcceptProofs) { + return true + } + + return false +} + +// SetAutoAcceptProofs gets a reference to the given CactiAcceptPolicyV1 and assigns it to the AutoAcceptProofs field. +func (o *AriesAgentConfigV1) SetAutoAcceptProofs(v CactiAcceptPolicyV1) { + o.AutoAcceptProofs = &v +} + +func (o AriesAgentConfigV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AriesAgentConfigV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["walletKey"] = o.WalletKey + if !IsNil(o.WalletPath) { + toSerialize["walletPath"] = o.WalletPath + } + toSerialize["indyNetworks"] = o.IndyNetworks + if !IsNil(o.InboundUrl) { + toSerialize["inboundUrl"] = o.InboundUrl + } + if !IsNil(o.AutoAcceptConnections) { + toSerialize["autoAcceptConnections"] = o.AutoAcceptConnections + } + if !IsNil(o.AutoAcceptCredentials) { + toSerialize["autoAcceptCredentials"] = o.AutoAcceptCredentials + } + if !IsNil(o.AutoAcceptProofs) { + toSerialize["autoAcceptProofs"] = o.AutoAcceptProofs + } + return toSerialize, nil +} + +type NullableAriesAgentConfigV1 struct { + value *AriesAgentConfigV1 + isSet bool +} + +func (v NullableAriesAgentConfigV1) Get() *AriesAgentConfigV1 { + return v.value +} + +func (v *NullableAriesAgentConfigV1) Set(val *AriesAgentConfigV1) { + v.value = val + v.isSet = true +} + +func (v NullableAriesAgentConfigV1) IsSet() bool { + return v.isSet +} + +func (v *NullableAriesAgentConfigV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAriesAgentConfigV1(val *AriesAgentConfigV1) *NullableAriesAgentConfigV1 { + return &NullableAriesAgentConfigV1{value: val, isSet: true} +} + +func (v NullableAriesAgentConfigV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAriesAgentConfigV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_agent_summary_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_agent_summary_v1.go new file mode 100644 index 00000000000..f163eb5e0e6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_agent_summary_v1.go @@ -0,0 +1,257 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the AriesAgentSummaryV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AriesAgentSummaryV1{} + +// AriesAgentSummaryV1 Summary of an Aries Agent configured in the connector. +type AriesAgentSummaryV1 struct { + // Aries label of an agent + Name string `json:"name"` + // True when Aries agent has been initialized properly. + IsAgentInitialized bool `json:"isAgentInitialized"` + // True when this agents wallet has been initialized properly. + IsWalletInitialized bool `json:"isWalletInitialized"` + // True when this agents wallet has been provisioned properly. + IsWalletProvisioned bool `json:"isWalletProvisioned"` + WalletConfig AriesAgentSummaryV1WalletConfig `json:"walletConfig"` + // Aries agent endpoints configured + Endpoints []string `json:"endpoints"` +} + +// NewAriesAgentSummaryV1 instantiates a new AriesAgentSummaryV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAriesAgentSummaryV1(name string, isAgentInitialized bool, isWalletInitialized bool, isWalletProvisioned bool, walletConfig AriesAgentSummaryV1WalletConfig, endpoints []string) *AriesAgentSummaryV1 { + this := AriesAgentSummaryV1{} + this.Name = name + this.IsAgentInitialized = isAgentInitialized + this.IsWalletInitialized = isWalletInitialized + this.IsWalletProvisioned = isWalletProvisioned + this.WalletConfig = walletConfig + this.Endpoints = endpoints + return &this +} + +// NewAriesAgentSummaryV1WithDefaults instantiates a new AriesAgentSummaryV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAriesAgentSummaryV1WithDefaults() *AriesAgentSummaryV1 { + this := AriesAgentSummaryV1{} + return &this +} + +// GetName returns the Name field value +func (o *AriesAgentSummaryV1) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *AriesAgentSummaryV1) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *AriesAgentSummaryV1) SetName(v string) { + o.Name = v +} + +// GetIsAgentInitialized returns the IsAgentInitialized field value +func (o *AriesAgentSummaryV1) GetIsAgentInitialized() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsAgentInitialized +} + +// GetIsAgentInitializedOk returns a tuple with the IsAgentInitialized field value +// and a boolean to check if the value has been set. +func (o *AriesAgentSummaryV1) GetIsAgentInitializedOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsAgentInitialized, true +} + +// SetIsAgentInitialized sets field value +func (o *AriesAgentSummaryV1) SetIsAgentInitialized(v bool) { + o.IsAgentInitialized = v +} + +// GetIsWalletInitialized returns the IsWalletInitialized field value +func (o *AriesAgentSummaryV1) GetIsWalletInitialized() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsWalletInitialized +} + +// GetIsWalletInitializedOk returns a tuple with the IsWalletInitialized field value +// and a boolean to check if the value has been set. +func (o *AriesAgentSummaryV1) GetIsWalletInitializedOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsWalletInitialized, true +} + +// SetIsWalletInitialized sets field value +func (o *AriesAgentSummaryV1) SetIsWalletInitialized(v bool) { + o.IsWalletInitialized = v +} + +// GetIsWalletProvisioned returns the IsWalletProvisioned field value +func (o *AriesAgentSummaryV1) GetIsWalletProvisioned() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsWalletProvisioned +} + +// GetIsWalletProvisionedOk returns a tuple with the IsWalletProvisioned field value +// and a boolean to check if the value has been set. +func (o *AriesAgentSummaryV1) GetIsWalletProvisionedOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsWalletProvisioned, true +} + +// SetIsWalletProvisioned sets field value +func (o *AriesAgentSummaryV1) SetIsWalletProvisioned(v bool) { + o.IsWalletProvisioned = v +} + +// GetWalletConfig returns the WalletConfig field value +func (o *AriesAgentSummaryV1) GetWalletConfig() AriesAgentSummaryV1WalletConfig { + if o == nil { + var ret AriesAgentSummaryV1WalletConfig + return ret + } + + return o.WalletConfig +} + +// GetWalletConfigOk returns a tuple with the WalletConfig field value +// and a boolean to check if the value has been set. +func (o *AriesAgentSummaryV1) GetWalletConfigOk() (*AriesAgentSummaryV1WalletConfig, bool) { + if o == nil { + return nil, false + } + return &o.WalletConfig, true +} + +// SetWalletConfig sets field value +func (o *AriesAgentSummaryV1) SetWalletConfig(v AriesAgentSummaryV1WalletConfig) { + o.WalletConfig = v +} + +// GetEndpoints returns the Endpoints field value +func (o *AriesAgentSummaryV1) GetEndpoints() []string { + if o == nil { + var ret []string + return ret + } + + return o.Endpoints +} + +// GetEndpointsOk returns a tuple with the Endpoints field value +// and a boolean to check if the value has been set. +func (o *AriesAgentSummaryV1) GetEndpointsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Endpoints, true +} + +// SetEndpoints sets field value +func (o *AriesAgentSummaryV1) SetEndpoints(v []string) { + o.Endpoints = v +} + +func (o AriesAgentSummaryV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AriesAgentSummaryV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["isAgentInitialized"] = o.IsAgentInitialized + toSerialize["isWalletInitialized"] = o.IsWalletInitialized + toSerialize["isWalletProvisioned"] = o.IsWalletProvisioned + toSerialize["walletConfig"] = o.WalletConfig + toSerialize["endpoints"] = o.Endpoints + return toSerialize, nil +} + +type NullableAriesAgentSummaryV1 struct { + value *AriesAgentSummaryV1 + isSet bool +} + +func (v NullableAriesAgentSummaryV1) Get() *AriesAgentSummaryV1 { + return v.value +} + +func (v *NullableAriesAgentSummaryV1) Set(val *AriesAgentSummaryV1) { + v.value = val + v.isSet = true +} + +func (v NullableAriesAgentSummaryV1) IsSet() bool { + return v.isSet +} + +func (v *NullableAriesAgentSummaryV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAriesAgentSummaryV1(val *AriesAgentSummaryV1) *NullableAriesAgentSummaryV1 { + return &NullableAriesAgentSummaryV1{value: val, isSet: true} +} + +func (v NullableAriesAgentSummaryV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAriesAgentSummaryV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_agent_summary_v1_wallet_config.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_agent_summary_v1_wallet_config.go new file mode 100644 index 00000000000..d215cce89bc --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_agent_summary_v1_wallet_config.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the AriesAgentSummaryV1WalletConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AriesAgentSummaryV1WalletConfig{} + +// AriesAgentSummaryV1WalletConfig struct for AriesAgentSummaryV1WalletConfig +type AriesAgentSummaryV1WalletConfig struct { + // Wallet entry ID + Id string `json:"id"` + // Wallet storage type + Type string `json:"type"` +} + +// NewAriesAgentSummaryV1WalletConfig instantiates a new AriesAgentSummaryV1WalletConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAriesAgentSummaryV1WalletConfig(id string, type_ string) *AriesAgentSummaryV1WalletConfig { + this := AriesAgentSummaryV1WalletConfig{} + this.Id = id + this.Type = type_ + return &this +} + +// NewAriesAgentSummaryV1WalletConfigWithDefaults instantiates a new AriesAgentSummaryV1WalletConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAriesAgentSummaryV1WalletConfigWithDefaults() *AriesAgentSummaryV1WalletConfig { + this := AriesAgentSummaryV1WalletConfig{} + return &this +} + +// GetId returns the Id field value +func (o *AriesAgentSummaryV1WalletConfig) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *AriesAgentSummaryV1WalletConfig) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *AriesAgentSummaryV1WalletConfig) SetId(v string) { + o.Id = v +} + +// GetType returns the Type field value +func (o *AriesAgentSummaryV1WalletConfig) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *AriesAgentSummaryV1WalletConfig) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *AriesAgentSummaryV1WalletConfig) SetType(v string) { + o.Type = v +} + +func (o AriesAgentSummaryV1WalletConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AriesAgentSummaryV1WalletConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["type"] = o.Type + return toSerialize, nil +} + +type NullableAriesAgentSummaryV1WalletConfig struct { + value *AriesAgentSummaryV1WalletConfig + isSet bool +} + +func (v NullableAriesAgentSummaryV1WalletConfig) Get() *AriesAgentSummaryV1WalletConfig { + return v.value +} + +func (v *NullableAriesAgentSummaryV1WalletConfig) Set(val *AriesAgentSummaryV1WalletConfig) { + v.value = val + v.isSet = true +} + +func (v NullableAriesAgentSummaryV1WalletConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableAriesAgentSummaryV1WalletConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAriesAgentSummaryV1WalletConfig(val *AriesAgentSummaryV1WalletConfig) *NullableAriesAgentSummaryV1WalletConfig { + return &NullableAriesAgentSummaryV1WalletConfig{value: val, isSet: true} +} + +func (v NullableAriesAgentSummaryV1WalletConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAriesAgentSummaryV1WalletConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_indy_vdr_pool_config_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_indy_vdr_pool_config_v1.go new file mode 100644 index 00000000000..895ab51c73e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_indy_vdr_pool_config_v1.go @@ -0,0 +1,211 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the AriesIndyVdrPoolConfigV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AriesIndyVdrPoolConfigV1{} + +// AriesIndyVdrPoolConfigV1 Indy VDR network configuration +type AriesIndyVdrPoolConfigV1 struct { + // Indy genesis transactions. + GenesisTransactions string `json:"genesisTransactions"` + // Flag to specify whether this is production or development ledger. + IsProduction bool `json:"isProduction"` + // Indy namespace + IndyNamespace string `json:"indyNamespace"` + // Connect to the ledger on startup flag + ConnectOnStartup *bool `json:"connectOnStartup,omitempty"` +} + +// NewAriesIndyVdrPoolConfigV1 instantiates a new AriesIndyVdrPoolConfigV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAriesIndyVdrPoolConfigV1(genesisTransactions string, isProduction bool, indyNamespace string) *AriesIndyVdrPoolConfigV1 { + this := AriesIndyVdrPoolConfigV1{} + this.GenesisTransactions = genesisTransactions + this.IsProduction = isProduction + this.IndyNamespace = indyNamespace + return &this +} + +// NewAriesIndyVdrPoolConfigV1WithDefaults instantiates a new AriesIndyVdrPoolConfigV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAriesIndyVdrPoolConfigV1WithDefaults() *AriesIndyVdrPoolConfigV1 { + this := AriesIndyVdrPoolConfigV1{} + return &this +} + +// GetGenesisTransactions returns the GenesisTransactions field value +func (o *AriesIndyVdrPoolConfigV1) GetGenesisTransactions() string { + if o == nil { + var ret string + return ret + } + + return o.GenesisTransactions +} + +// GetGenesisTransactionsOk returns a tuple with the GenesisTransactions field value +// and a boolean to check if the value has been set. +func (o *AriesIndyVdrPoolConfigV1) GetGenesisTransactionsOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GenesisTransactions, true +} + +// SetGenesisTransactions sets field value +func (o *AriesIndyVdrPoolConfigV1) SetGenesisTransactions(v string) { + o.GenesisTransactions = v +} + +// GetIsProduction returns the IsProduction field value +func (o *AriesIndyVdrPoolConfigV1) GetIsProduction() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsProduction +} + +// GetIsProductionOk returns a tuple with the IsProduction field value +// and a boolean to check if the value has been set. +func (o *AriesIndyVdrPoolConfigV1) GetIsProductionOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsProduction, true +} + +// SetIsProduction sets field value +func (o *AriesIndyVdrPoolConfigV1) SetIsProduction(v bool) { + o.IsProduction = v +} + +// GetIndyNamespace returns the IndyNamespace field value +func (o *AriesIndyVdrPoolConfigV1) GetIndyNamespace() string { + if o == nil { + var ret string + return ret + } + + return o.IndyNamespace +} + +// GetIndyNamespaceOk returns a tuple with the IndyNamespace field value +// and a boolean to check if the value has been set. +func (o *AriesIndyVdrPoolConfigV1) GetIndyNamespaceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.IndyNamespace, true +} + +// SetIndyNamespace sets field value +func (o *AriesIndyVdrPoolConfigV1) SetIndyNamespace(v string) { + o.IndyNamespace = v +} + +// GetConnectOnStartup returns the ConnectOnStartup field value if set, zero value otherwise. +func (o *AriesIndyVdrPoolConfigV1) GetConnectOnStartup() bool { + if o == nil || IsNil(o.ConnectOnStartup) { + var ret bool + return ret + } + return *o.ConnectOnStartup +} + +// GetConnectOnStartupOk returns a tuple with the ConnectOnStartup field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AriesIndyVdrPoolConfigV1) GetConnectOnStartupOk() (*bool, bool) { + if o == nil || IsNil(o.ConnectOnStartup) { + return nil, false + } + return o.ConnectOnStartup, true +} + +// HasConnectOnStartup returns a boolean if a field has been set. +func (o *AriesIndyVdrPoolConfigV1) HasConnectOnStartup() bool { + if o != nil && !IsNil(o.ConnectOnStartup) { + return true + } + + return false +} + +// SetConnectOnStartup gets a reference to the given bool and assigns it to the ConnectOnStartup field. +func (o *AriesIndyVdrPoolConfigV1) SetConnectOnStartup(v bool) { + o.ConnectOnStartup = &v +} + +func (o AriesIndyVdrPoolConfigV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AriesIndyVdrPoolConfigV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["genesisTransactions"] = o.GenesisTransactions + toSerialize["isProduction"] = o.IsProduction + toSerialize["indyNamespace"] = o.IndyNamespace + if !IsNil(o.ConnectOnStartup) { + toSerialize["connectOnStartup"] = o.ConnectOnStartup + } + return toSerialize, nil +} + +type NullableAriesIndyVdrPoolConfigV1 struct { + value *AriesIndyVdrPoolConfigV1 + isSet bool +} + +func (v NullableAriesIndyVdrPoolConfigV1) Get() *AriesIndyVdrPoolConfigV1 { + return v.value +} + +func (v *NullableAriesIndyVdrPoolConfigV1) Set(val *AriesIndyVdrPoolConfigV1) { + v.value = val + v.isSet = true +} + +func (v NullableAriesIndyVdrPoolConfigV1) IsSet() bool { + return v.isSet +} + +func (v *NullableAriesIndyVdrPoolConfigV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAriesIndyVdrPoolConfigV1(val *AriesIndyVdrPoolConfigV1) *NullableAriesIndyVdrPoolConfigV1 { + return &NullableAriesIndyVdrPoolConfigV1{value: val, isSet: true} +} + +func (v NullableAriesIndyVdrPoolConfigV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAriesIndyVdrPoolConfigV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_proof_exchange_record_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_proof_exchange_record_v1.go new file mode 100644 index 00000000000..a79b0212fc1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_aries_proof_exchange_record_v1.go @@ -0,0 +1,337 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the AriesProofExchangeRecordV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AriesProofExchangeRecordV1{} + +// AriesProofExchangeRecordV1 Proof exchange record from Aries framework (simplified) +type AriesProofExchangeRecordV1 struct { + Id string `json:"id"` + ConnectionId *string `json:"connectionId,omitempty"` + ThreadId string `json:"threadId"` + State string `json:"state"` + ProtocolVersion string `json:"protocolVersion"` + IsVerified *bool `json:"isVerified,omitempty"` + ErrorMessage *string `json:"errorMessage,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AriesProofExchangeRecordV1 AriesProofExchangeRecordV1 + +// NewAriesProofExchangeRecordV1 instantiates a new AriesProofExchangeRecordV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAriesProofExchangeRecordV1(id string, threadId string, state string, protocolVersion string) *AriesProofExchangeRecordV1 { + this := AriesProofExchangeRecordV1{} + this.Id = id + this.ThreadId = threadId + this.State = state + this.ProtocolVersion = protocolVersion + return &this +} + +// NewAriesProofExchangeRecordV1WithDefaults instantiates a new AriesProofExchangeRecordV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAriesProofExchangeRecordV1WithDefaults() *AriesProofExchangeRecordV1 { + this := AriesProofExchangeRecordV1{} + return &this +} + +// GetId returns the Id field value +func (o *AriesProofExchangeRecordV1) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *AriesProofExchangeRecordV1) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *AriesProofExchangeRecordV1) SetId(v string) { + o.Id = v +} + +// GetConnectionId returns the ConnectionId field value if set, zero value otherwise. +func (o *AriesProofExchangeRecordV1) GetConnectionId() string { + if o == nil || IsNil(o.ConnectionId) { + var ret string + return ret + } + return *o.ConnectionId +} + +// GetConnectionIdOk returns a tuple with the ConnectionId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AriesProofExchangeRecordV1) GetConnectionIdOk() (*string, bool) { + if o == nil || IsNil(o.ConnectionId) { + return nil, false + } + return o.ConnectionId, true +} + +// HasConnectionId returns a boolean if a field has been set. +func (o *AriesProofExchangeRecordV1) HasConnectionId() bool { + if o != nil && !IsNil(o.ConnectionId) { + return true + } + + return false +} + +// SetConnectionId gets a reference to the given string and assigns it to the ConnectionId field. +func (o *AriesProofExchangeRecordV1) SetConnectionId(v string) { + o.ConnectionId = &v +} + +// GetThreadId returns the ThreadId field value +func (o *AriesProofExchangeRecordV1) GetThreadId() string { + if o == nil { + var ret string + return ret + } + + return o.ThreadId +} + +// GetThreadIdOk returns a tuple with the ThreadId field value +// and a boolean to check if the value has been set. +func (o *AriesProofExchangeRecordV1) GetThreadIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ThreadId, true +} + +// SetThreadId sets field value +func (o *AriesProofExchangeRecordV1) SetThreadId(v string) { + o.ThreadId = v +} + +// GetState returns the State field value +func (o *AriesProofExchangeRecordV1) GetState() string { + if o == nil { + var ret string + return ret + } + + return o.State +} + +// GetStateOk returns a tuple with the State field value +// and a boolean to check if the value has been set. +func (o *AriesProofExchangeRecordV1) GetStateOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.State, true +} + +// SetState sets field value +func (o *AriesProofExchangeRecordV1) SetState(v string) { + o.State = v +} + +// GetProtocolVersion returns the ProtocolVersion field value +func (o *AriesProofExchangeRecordV1) GetProtocolVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ProtocolVersion +} + +// GetProtocolVersionOk returns a tuple with the ProtocolVersion field value +// and a boolean to check if the value has been set. +func (o *AriesProofExchangeRecordV1) GetProtocolVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ProtocolVersion, true +} + +// SetProtocolVersion sets field value +func (o *AriesProofExchangeRecordV1) SetProtocolVersion(v string) { + o.ProtocolVersion = v +} + +// GetIsVerified returns the IsVerified field value if set, zero value otherwise. +func (o *AriesProofExchangeRecordV1) GetIsVerified() bool { + if o == nil || IsNil(o.IsVerified) { + var ret bool + return ret + } + return *o.IsVerified +} + +// GetIsVerifiedOk returns a tuple with the IsVerified field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AriesProofExchangeRecordV1) GetIsVerifiedOk() (*bool, bool) { + if o == nil || IsNil(o.IsVerified) { + return nil, false + } + return o.IsVerified, true +} + +// HasIsVerified returns a boolean if a field has been set. +func (o *AriesProofExchangeRecordV1) HasIsVerified() bool { + if o != nil && !IsNil(o.IsVerified) { + return true + } + + return false +} + +// SetIsVerified gets a reference to the given bool and assigns it to the IsVerified field. +func (o *AriesProofExchangeRecordV1) SetIsVerified(v bool) { + o.IsVerified = &v +} + +// GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise. +func (o *AriesProofExchangeRecordV1) GetErrorMessage() string { + if o == nil || IsNil(o.ErrorMessage) { + var ret string + return ret + } + return *o.ErrorMessage +} + +// GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AriesProofExchangeRecordV1) GetErrorMessageOk() (*string, bool) { + if o == nil || IsNil(o.ErrorMessage) { + return nil, false + } + return o.ErrorMessage, true +} + +// HasErrorMessage returns a boolean if a field has been set. +func (o *AriesProofExchangeRecordV1) HasErrorMessage() bool { + if o != nil && !IsNil(o.ErrorMessage) { + return true + } + + return false +} + +// SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field. +func (o *AriesProofExchangeRecordV1) SetErrorMessage(v string) { + o.ErrorMessage = &v +} + +func (o AriesProofExchangeRecordV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AriesProofExchangeRecordV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + if !IsNil(o.ConnectionId) { + toSerialize["connectionId"] = o.ConnectionId + } + toSerialize["threadId"] = o.ThreadId + toSerialize["state"] = o.State + toSerialize["protocolVersion"] = o.ProtocolVersion + if !IsNil(o.IsVerified) { + toSerialize["isVerified"] = o.IsVerified + } + if !IsNil(o.ErrorMessage) { + toSerialize["errorMessage"] = o.ErrorMessage + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AriesProofExchangeRecordV1) UnmarshalJSON(bytes []byte) (err error) { + varAriesProofExchangeRecordV1 := _AriesProofExchangeRecordV1{} + + if err = json.Unmarshal(bytes, &varAriesProofExchangeRecordV1); err == nil { + *o = AriesProofExchangeRecordV1(varAriesProofExchangeRecordV1) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "connectionId") + delete(additionalProperties, "threadId") + delete(additionalProperties, "state") + delete(additionalProperties, "protocolVersion") + delete(additionalProperties, "isVerified") + delete(additionalProperties, "errorMessage") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAriesProofExchangeRecordV1 struct { + value *AriesProofExchangeRecordV1 + isSet bool +} + +func (v NullableAriesProofExchangeRecordV1) Get() *AriesProofExchangeRecordV1 { + return v.value +} + +func (v *NullableAriesProofExchangeRecordV1) Set(val *AriesProofExchangeRecordV1) { + v.value = val + v.isSet = true +} + +func (v NullableAriesProofExchangeRecordV1) IsSet() bool { + return v.isSet +} + +func (v *NullableAriesProofExchangeRecordV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAriesProofExchangeRecordV1(val *AriesProofExchangeRecordV1) *NullableAriesProofExchangeRecordV1 { + return &NullableAriesProofExchangeRecordV1{value: val, isSet: true} +} + +func (v NullableAriesProofExchangeRecordV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAriesProofExchangeRecordV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_cacti_accept_policy_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_cacti_accept_policy_v1.go new file mode 100644 index 00000000000..7bc1ba29eb4 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_cacti_accept_policy_v1.go @@ -0,0 +1,113 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" + "fmt" +) + +// CactiAcceptPolicyV1 Credential / Proof requests acceptance policies for Aries agent +type CactiAcceptPolicyV1 string + +// List of CactiAcceptPolicyV1 +const ( + Always CactiAcceptPolicyV1 = "always" + ContentApproved CactiAcceptPolicyV1 = "contentApproved" + Never CactiAcceptPolicyV1 = "never" +) + +// All allowed values of CactiAcceptPolicyV1 enum +var AllowedCactiAcceptPolicyV1EnumValues = []CactiAcceptPolicyV1{ + "always", + "contentApproved", + "never", +} + +func (v *CactiAcceptPolicyV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CactiAcceptPolicyV1(value) + for _, existing := range AllowedCactiAcceptPolicyV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CactiAcceptPolicyV1", value) +} + +// NewCactiAcceptPolicyV1FromValue returns a pointer to a valid CactiAcceptPolicyV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCactiAcceptPolicyV1FromValue(v string) (*CactiAcceptPolicyV1, error) { + ev := CactiAcceptPolicyV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CactiAcceptPolicyV1: valid values are %v", v, AllowedCactiAcceptPolicyV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CactiAcceptPolicyV1) IsValid() bool { + for _, existing := range AllowedCactiAcceptPolicyV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to CactiAcceptPolicyV1 value +func (v CactiAcceptPolicyV1) Ptr() *CactiAcceptPolicyV1 { + return &v +} + +type NullableCactiAcceptPolicyV1 struct { + value *CactiAcceptPolicyV1 + isSet bool +} + +func (v NullableCactiAcceptPolicyV1) Get() *CactiAcceptPolicyV1 { + return v.value +} + +func (v *NullableCactiAcceptPolicyV1) Set(val *CactiAcceptPolicyV1) { + v.value = val + v.isSet = true +} + +func (v NullableCactiAcceptPolicyV1) IsSet() bool { + return v.isSet +} + +func (v *NullableCactiAcceptPolicyV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCactiAcceptPolicyV1(val *CactiAcceptPolicyV1) *NullableCactiAcceptPolicyV1 { + return &NullableCactiAcceptPolicyV1{value: val, isSet: true} +} + +func (v NullableCactiAcceptPolicyV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCactiAcceptPolicyV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_cacti_proof_request_attribute_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_cacti_proof_request_attribute_v1.go new file mode 100644 index 00000000000..823da18829a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_cacti_proof_request_attribute_v1.go @@ -0,0 +1,194 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the CactiProofRequestAttributeV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CactiProofRequestAttributeV1{} + +// CactiProofRequestAttributeV1 Credential attribute checks to be performed by a proof request. +type CactiProofRequestAttributeV1 struct { + // Attribute name. + Name string `json:"name"` + // Check if attribute has specified value + IsValueEqual interface{} `json:"isValueEqual,omitempty"` + // Check if credentialDefinitionId has specified value + IsCredentialDefinitionIdEqual interface{} `json:"isCredentialDefinitionIdEqual,omitempty"` +} + +// NewCactiProofRequestAttributeV1 instantiates a new CactiProofRequestAttributeV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCactiProofRequestAttributeV1(name string) *CactiProofRequestAttributeV1 { + this := CactiProofRequestAttributeV1{} + this.Name = name + return &this +} + +// NewCactiProofRequestAttributeV1WithDefaults instantiates a new CactiProofRequestAttributeV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCactiProofRequestAttributeV1WithDefaults() *CactiProofRequestAttributeV1 { + this := CactiProofRequestAttributeV1{} + return &this +} + +// GetName returns the Name field value +func (o *CactiProofRequestAttributeV1) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *CactiProofRequestAttributeV1) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *CactiProofRequestAttributeV1) SetName(v string) { + o.Name = v +} + +// GetIsValueEqual returns the IsValueEqual field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CactiProofRequestAttributeV1) GetIsValueEqual() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.IsValueEqual +} + +// GetIsValueEqualOk returns a tuple with the IsValueEqual field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CactiProofRequestAttributeV1) GetIsValueEqualOk() (*interface{}, bool) { + if o == nil || IsNil(o.IsValueEqual) { + return nil, false + } + return &o.IsValueEqual, true +} + +// HasIsValueEqual returns a boolean if a field has been set. +func (o *CactiProofRequestAttributeV1) HasIsValueEqual() bool { + if o != nil && IsNil(o.IsValueEqual) { + return true + } + + return false +} + +// SetIsValueEqual gets a reference to the given interface{} and assigns it to the IsValueEqual field. +func (o *CactiProofRequestAttributeV1) SetIsValueEqual(v interface{}) { + o.IsValueEqual = v +} + +// GetIsCredentialDefinitionIdEqual returns the IsCredentialDefinitionIdEqual field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CactiProofRequestAttributeV1) GetIsCredentialDefinitionIdEqual() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.IsCredentialDefinitionIdEqual +} + +// GetIsCredentialDefinitionIdEqualOk returns a tuple with the IsCredentialDefinitionIdEqual field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CactiProofRequestAttributeV1) GetIsCredentialDefinitionIdEqualOk() (*interface{}, bool) { + if o == nil || IsNil(o.IsCredentialDefinitionIdEqual) { + return nil, false + } + return &o.IsCredentialDefinitionIdEqual, true +} + +// HasIsCredentialDefinitionIdEqual returns a boolean if a field has been set. +func (o *CactiProofRequestAttributeV1) HasIsCredentialDefinitionIdEqual() bool { + if o != nil && IsNil(o.IsCredentialDefinitionIdEqual) { + return true + } + + return false +} + +// SetIsCredentialDefinitionIdEqual gets a reference to the given interface{} and assigns it to the IsCredentialDefinitionIdEqual field. +func (o *CactiProofRequestAttributeV1) SetIsCredentialDefinitionIdEqual(v interface{}) { + o.IsCredentialDefinitionIdEqual = v +} + +func (o CactiProofRequestAttributeV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CactiProofRequestAttributeV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if o.IsValueEqual != nil { + toSerialize["isValueEqual"] = o.IsValueEqual + } + if o.IsCredentialDefinitionIdEqual != nil { + toSerialize["isCredentialDefinitionIdEqual"] = o.IsCredentialDefinitionIdEqual + } + return toSerialize, nil +} + +type NullableCactiProofRequestAttributeV1 struct { + value *CactiProofRequestAttributeV1 + isSet bool +} + +func (v NullableCactiProofRequestAttributeV1) Get() *CactiProofRequestAttributeV1 { + return v.value +} + +func (v *NullableCactiProofRequestAttributeV1) Set(val *CactiProofRequestAttributeV1) { + v.value = val + v.isSet = true +} + +func (v NullableCactiProofRequestAttributeV1) IsSet() bool { + return v.isSet +} + +func (v *NullableCactiProofRequestAttributeV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCactiProofRequestAttributeV1(val *CactiProofRequestAttributeV1) *NullableCactiProofRequestAttributeV1 { + return &NullableCactiProofRequestAttributeV1{value: val, isSet: true} +} + +func (v NullableCactiProofRequestAttributeV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCactiProofRequestAttributeV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_create_new_connection_invitation_v1_request.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_create_new_connection_invitation_v1_request.go new file mode 100644 index 00000000000..95d41b1343a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_create_new_connection_invitation_v1_request.go @@ -0,0 +1,155 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the CreateNewConnectionInvitationV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CreateNewConnectionInvitationV1Request{} + +// CreateNewConnectionInvitationV1Request Request for CreateNewConnectionInvitation endpoint. +type CreateNewConnectionInvitationV1Request struct { + // Aries label of an agent to use to generate an invitation + AgentName string `json:"agentName"` + // Invitation URL domain to use. If not specified, then connector default domain will be used + InvitationDomain *string `json:"invitationDomain,omitempty"` +} + +// NewCreateNewConnectionInvitationV1Request instantiates a new CreateNewConnectionInvitationV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCreateNewConnectionInvitationV1Request(agentName string) *CreateNewConnectionInvitationV1Request { + this := CreateNewConnectionInvitationV1Request{} + this.AgentName = agentName + return &this +} + +// NewCreateNewConnectionInvitationV1RequestWithDefaults instantiates a new CreateNewConnectionInvitationV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCreateNewConnectionInvitationV1RequestWithDefaults() *CreateNewConnectionInvitationV1Request { + this := CreateNewConnectionInvitationV1Request{} + return &this +} + +// GetAgentName returns the AgentName field value +func (o *CreateNewConnectionInvitationV1Request) GetAgentName() string { + if o == nil { + var ret string + return ret + } + + return o.AgentName +} + +// GetAgentNameOk returns a tuple with the AgentName field value +// and a boolean to check if the value has been set. +func (o *CreateNewConnectionInvitationV1Request) GetAgentNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AgentName, true +} + +// SetAgentName sets field value +func (o *CreateNewConnectionInvitationV1Request) SetAgentName(v string) { + o.AgentName = v +} + +// GetInvitationDomain returns the InvitationDomain field value if set, zero value otherwise. +func (o *CreateNewConnectionInvitationV1Request) GetInvitationDomain() string { + if o == nil || IsNil(o.InvitationDomain) { + var ret string + return ret + } + return *o.InvitationDomain +} + +// GetInvitationDomainOk returns a tuple with the InvitationDomain field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CreateNewConnectionInvitationV1Request) GetInvitationDomainOk() (*string, bool) { + if o == nil || IsNil(o.InvitationDomain) { + return nil, false + } + return o.InvitationDomain, true +} + +// HasInvitationDomain returns a boolean if a field has been set. +func (o *CreateNewConnectionInvitationV1Request) HasInvitationDomain() bool { + if o != nil && !IsNil(o.InvitationDomain) { + return true + } + + return false +} + +// SetInvitationDomain gets a reference to the given string and assigns it to the InvitationDomain field. +func (o *CreateNewConnectionInvitationV1Request) SetInvitationDomain(v string) { + o.InvitationDomain = &v +} + +func (o CreateNewConnectionInvitationV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CreateNewConnectionInvitationV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["agentName"] = o.AgentName + if !IsNil(o.InvitationDomain) { + toSerialize["invitationDomain"] = o.InvitationDomain + } + return toSerialize, nil +} + +type NullableCreateNewConnectionInvitationV1Request struct { + value *CreateNewConnectionInvitationV1Request + isSet bool +} + +func (v NullableCreateNewConnectionInvitationV1Request) Get() *CreateNewConnectionInvitationV1Request { + return v.value +} + +func (v *NullableCreateNewConnectionInvitationV1Request) Set(val *CreateNewConnectionInvitationV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableCreateNewConnectionInvitationV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateNewConnectionInvitationV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateNewConnectionInvitationV1Request(val *CreateNewConnectionInvitationV1Request) *NullableCreateNewConnectionInvitationV1Request { + return &NullableCreateNewConnectionInvitationV1Request{value: val, isSet: true} +} + +func (v NullableCreateNewConnectionInvitationV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateNewConnectionInvitationV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_create_new_connection_invitation_v1_response.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_create_new_connection_invitation_v1_response.go new file mode 100644 index 00000000000..09bd51018eb --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_create_new_connection_invitation_v1_response.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the CreateNewConnectionInvitationV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CreateNewConnectionInvitationV1Response{} + +// CreateNewConnectionInvitationV1Response Response for CreateNewConnectionInvitation endpoint. +type CreateNewConnectionInvitationV1Response struct { + // Invitation URL that can be used by another aries agent to connect to us. + InvitationUrl string `json:"invitationUrl"` + // ID that can be used to track status of the connection + OutOfBandId string `json:"outOfBandId"` +} + +// NewCreateNewConnectionInvitationV1Response instantiates a new CreateNewConnectionInvitationV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCreateNewConnectionInvitationV1Response(invitationUrl string, outOfBandId string) *CreateNewConnectionInvitationV1Response { + this := CreateNewConnectionInvitationV1Response{} + this.InvitationUrl = invitationUrl + this.OutOfBandId = outOfBandId + return &this +} + +// NewCreateNewConnectionInvitationV1ResponseWithDefaults instantiates a new CreateNewConnectionInvitationV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCreateNewConnectionInvitationV1ResponseWithDefaults() *CreateNewConnectionInvitationV1Response { + this := CreateNewConnectionInvitationV1Response{} + return &this +} + +// GetInvitationUrl returns the InvitationUrl field value +func (o *CreateNewConnectionInvitationV1Response) GetInvitationUrl() string { + if o == nil { + var ret string + return ret + } + + return o.InvitationUrl +} + +// GetInvitationUrlOk returns a tuple with the InvitationUrl field value +// and a boolean to check if the value has been set. +func (o *CreateNewConnectionInvitationV1Response) GetInvitationUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.InvitationUrl, true +} + +// SetInvitationUrl sets field value +func (o *CreateNewConnectionInvitationV1Response) SetInvitationUrl(v string) { + o.InvitationUrl = v +} + +// GetOutOfBandId returns the OutOfBandId field value +func (o *CreateNewConnectionInvitationV1Response) GetOutOfBandId() string { + if o == nil { + var ret string + return ret + } + + return o.OutOfBandId +} + +// GetOutOfBandIdOk returns a tuple with the OutOfBandId field value +// and a boolean to check if the value has been set. +func (o *CreateNewConnectionInvitationV1Response) GetOutOfBandIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OutOfBandId, true +} + +// SetOutOfBandId sets field value +func (o *CreateNewConnectionInvitationV1Response) SetOutOfBandId(v string) { + o.OutOfBandId = v +} + +func (o CreateNewConnectionInvitationV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CreateNewConnectionInvitationV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["invitationUrl"] = o.InvitationUrl + toSerialize["outOfBandId"] = o.OutOfBandId + return toSerialize, nil +} + +type NullableCreateNewConnectionInvitationV1Response struct { + value *CreateNewConnectionInvitationV1Response + isSet bool +} + +func (v NullableCreateNewConnectionInvitationV1Response) Get() *CreateNewConnectionInvitationV1Response { + return v.value +} + +func (v *NullableCreateNewConnectionInvitationV1Response) Set(val *CreateNewConnectionInvitationV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableCreateNewConnectionInvitationV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateNewConnectionInvitationV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateNewConnectionInvitationV1Response(val *CreateNewConnectionInvitationV1Response) *NullableCreateNewConnectionInvitationV1Response { + return &NullableCreateNewConnectionInvitationV1Response{value: val, isSet: true} +} + +func (v NullableCreateNewConnectionInvitationV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateNewConnectionInvitationV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_error_exception_v1_response.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_error_exception_v1_response.go new file mode 100644 index 00000000000..ed85f7f832b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_error_exception_v1_response.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the ErrorExceptionV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ErrorExceptionV1Response{} + +// ErrorExceptionV1Response Error response from the connector. +type ErrorExceptionV1Response struct { + // Short error description message. + Message string `json:"message"` + // Detailed error information. + Error string `json:"error"` +} + +// NewErrorExceptionV1Response instantiates a new ErrorExceptionV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewErrorExceptionV1Response(message string, error_ string) *ErrorExceptionV1Response { + this := ErrorExceptionV1Response{} + this.Message = message + this.Error = error_ + return &this +} + +// NewErrorExceptionV1ResponseWithDefaults instantiates a new ErrorExceptionV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewErrorExceptionV1ResponseWithDefaults() *ErrorExceptionV1Response { + this := ErrorExceptionV1Response{} + return &this +} + +// GetMessage returns the Message field value +func (o *ErrorExceptionV1Response) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionV1Response) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *ErrorExceptionV1Response) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +func (o *ErrorExceptionV1Response) GetError() string { + if o == nil { + var ret string + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionV1Response) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *ErrorExceptionV1Response) SetError(v string) { + o.Error = v +} + +func (o ErrorExceptionV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ErrorExceptionV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error + return toSerialize, nil +} + +type NullableErrorExceptionV1Response struct { + value *ErrorExceptionV1Response + isSet bool +} + +func (v NullableErrorExceptionV1Response) Get() *ErrorExceptionV1Response { + return v.value +} + +func (v *NullableErrorExceptionV1Response) Set(val *ErrorExceptionV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableErrorExceptionV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableErrorExceptionV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableErrorExceptionV1Response(val *ErrorExceptionV1Response) *NullableErrorExceptionV1Response { + return &NullableErrorExceptionV1Response{value: val, isSet: true} +} + +func (v NullableErrorExceptionV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableErrorExceptionV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_get_connections_v1_request.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_get_connections_v1_request.go new file mode 100644 index 00000000000..3150d5249ba --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_get_connections_v1_request.go @@ -0,0 +1,153 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the GetConnectionsV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetConnectionsV1Request{} + +// GetConnectionsV1Request Request for GetConnections endpoint. +type GetConnectionsV1Request struct { + AgentName string `json:"agentName"` + Filter *AgentConnectionsFilterV1 `json:"filter,omitempty"` +} + +// NewGetConnectionsV1Request instantiates a new GetConnectionsV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetConnectionsV1Request(agentName string) *GetConnectionsV1Request { + this := GetConnectionsV1Request{} + this.AgentName = agentName + return &this +} + +// NewGetConnectionsV1RequestWithDefaults instantiates a new GetConnectionsV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetConnectionsV1RequestWithDefaults() *GetConnectionsV1Request { + this := GetConnectionsV1Request{} + return &this +} + +// GetAgentName returns the AgentName field value +func (o *GetConnectionsV1Request) GetAgentName() string { + if o == nil { + var ret string + return ret + } + + return o.AgentName +} + +// GetAgentNameOk returns a tuple with the AgentName field value +// and a boolean to check if the value has been set. +func (o *GetConnectionsV1Request) GetAgentNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AgentName, true +} + +// SetAgentName sets field value +func (o *GetConnectionsV1Request) SetAgentName(v string) { + o.AgentName = v +} + +// GetFilter returns the Filter field value if set, zero value otherwise. +func (o *GetConnectionsV1Request) GetFilter() AgentConnectionsFilterV1 { + if o == nil || IsNil(o.Filter) { + var ret AgentConnectionsFilterV1 + return ret + } + return *o.Filter +} + +// GetFilterOk returns a tuple with the Filter field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetConnectionsV1Request) GetFilterOk() (*AgentConnectionsFilterV1, bool) { + if o == nil || IsNil(o.Filter) { + return nil, false + } + return o.Filter, true +} + +// HasFilter returns a boolean if a field has been set. +func (o *GetConnectionsV1Request) HasFilter() bool { + if o != nil && !IsNil(o.Filter) { + return true + } + + return false +} + +// SetFilter gets a reference to the given AgentConnectionsFilterV1 and assigns it to the Filter field. +func (o *GetConnectionsV1Request) SetFilter(v AgentConnectionsFilterV1) { + o.Filter = &v +} + +func (o GetConnectionsV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetConnectionsV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["agentName"] = o.AgentName + if !IsNil(o.Filter) { + toSerialize["filter"] = o.Filter + } + return toSerialize, nil +} + +type NullableGetConnectionsV1Request struct { + value *GetConnectionsV1Request + isSet bool +} + +func (v NullableGetConnectionsV1Request) Get() *GetConnectionsV1Request { + return v.value +} + +func (v *NullableGetConnectionsV1Request) Set(val *GetConnectionsV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableGetConnectionsV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableGetConnectionsV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetConnectionsV1Request(val *GetConnectionsV1Request) *NullableGetConnectionsV1Request { + return &NullableGetConnectionsV1Request{value: val, isSet: true} +} + +func (v NullableGetConnectionsV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetConnectionsV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_request_proof_v1_request.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_request_proof_v1_request.go new file mode 100644 index 00000000000..73761b7f01e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_request_proof_v1_request.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the RequestProofV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RequestProofV1Request{} + +// RequestProofV1Request Request for RequestProof endpoint. +type RequestProofV1Request struct { + // Aries label of an agent to be used to connect using URL + AgentName string `json:"agentName"` + // Peer connection ID from which we want to request a proof. + ConnectionId string `json:"connectionId"` + ProofAttributes []CactiProofRequestAttributeV1 `json:"proofAttributes"` +} + +// NewRequestProofV1Request instantiates a new RequestProofV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRequestProofV1Request(agentName string, connectionId string, proofAttributes []CactiProofRequestAttributeV1) *RequestProofV1Request { + this := RequestProofV1Request{} + this.AgentName = agentName + this.ConnectionId = connectionId + this.ProofAttributes = proofAttributes + return &this +} + +// NewRequestProofV1RequestWithDefaults instantiates a new RequestProofV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRequestProofV1RequestWithDefaults() *RequestProofV1Request { + this := RequestProofV1Request{} + return &this +} + +// GetAgentName returns the AgentName field value +func (o *RequestProofV1Request) GetAgentName() string { + if o == nil { + var ret string + return ret + } + + return o.AgentName +} + +// GetAgentNameOk returns a tuple with the AgentName field value +// and a boolean to check if the value has been set. +func (o *RequestProofV1Request) GetAgentNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AgentName, true +} + +// SetAgentName sets field value +func (o *RequestProofV1Request) SetAgentName(v string) { + o.AgentName = v +} + +// GetConnectionId returns the ConnectionId field value +func (o *RequestProofV1Request) GetConnectionId() string { + if o == nil { + var ret string + return ret + } + + return o.ConnectionId +} + +// GetConnectionIdOk returns a tuple with the ConnectionId field value +// and a boolean to check if the value has been set. +func (o *RequestProofV1Request) GetConnectionIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConnectionId, true +} + +// SetConnectionId sets field value +func (o *RequestProofV1Request) SetConnectionId(v string) { + o.ConnectionId = v +} + +// GetProofAttributes returns the ProofAttributes field value +func (o *RequestProofV1Request) GetProofAttributes() []CactiProofRequestAttributeV1 { + if o == nil { + var ret []CactiProofRequestAttributeV1 + return ret + } + + return o.ProofAttributes +} + +// GetProofAttributesOk returns a tuple with the ProofAttributes field value +// and a boolean to check if the value has been set. +func (o *RequestProofV1Request) GetProofAttributesOk() ([]CactiProofRequestAttributeV1, bool) { + if o == nil { + return nil, false + } + return o.ProofAttributes, true +} + +// SetProofAttributes sets field value +func (o *RequestProofV1Request) SetProofAttributes(v []CactiProofRequestAttributeV1) { + o.ProofAttributes = v +} + +func (o RequestProofV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RequestProofV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["agentName"] = o.AgentName + toSerialize["connectionId"] = o.ConnectionId + toSerialize["proofAttributes"] = o.ProofAttributes + return toSerialize, nil +} + +type NullableRequestProofV1Request struct { + value *RequestProofV1Request + isSet bool +} + +func (v NullableRequestProofV1Request) Get() *RequestProofV1Request { + return v.value +} + +func (v *NullableRequestProofV1Request) Set(val *RequestProofV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableRequestProofV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableRequestProofV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRequestProofV1Request(val *RequestProofV1Request) *NullableRequestProofV1Request { + return &NullableRequestProofV1Request{value: val, isSet: true} +} + +func (v NullableRequestProofV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRequestProofV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_connection_state_options_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_connection_state_options_v1.go new file mode 100644 index 00000000000..9cdef1d3405 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_connection_state_options_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the WatchConnectionStateOptionsV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchConnectionStateOptionsV1{} + +// WatchConnectionStateOptionsV1 Options passed when monitoring connection change events. +type WatchConnectionStateOptionsV1 struct { + // Aries agent label that will also be used as wallet id. + AgentName string `json:"agentName"` +} + +// NewWatchConnectionStateOptionsV1 instantiates a new WatchConnectionStateOptionsV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchConnectionStateOptionsV1(agentName string) *WatchConnectionStateOptionsV1 { + this := WatchConnectionStateOptionsV1{} + this.AgentName = agentName + return &this +} + +// NewWatchConnectionStateOptionsV1WithDefaults instantiates a new WatchConnectionStateOptionsV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchConnectionStateOptionsV1WithDefaults() *WatchConnectionStateOptionsV1 { + this := WatchConnectionStateOptionsV1{} + return &this +} + +// GetAgentName returns the AgentName field value +func (o *WatchConnectionStateOptionsV1) GetAgentName() string { + if o == nil { + var ret string + return ret + } + + return o.AgentName +} + +// GetAgentNameOk returns a tuple with the AgentName field value +// and a boolean to check if the value has been set. +func (o *WatchConnectionStateOptionsV1) GetAgentNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AgentName, true +} + +// SetAgentName sets field value +func (o *WatchConnectionStateOptionsV1) SetAgentName(v string) { + o.AgentName = v +} + +func (o WatchConnectionStateOptionsV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchConnectionStateOptionsV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["agentName"] = o.AgentName + return toSerialize, nil +} + +type NullableWatchConnectionStateOptionsV1 struct { + value *WatchConnectionStateOptionsV1 + isSet bool +} + +func (v NullableWatchConnectionStateOptionsV1) Get() *WatchConnectionStateOptionsV1 { + return v.value +} + +func (v *NullableWatchConnectionStateOptionsV1) Set(val *WatchConnectionStateOptionsV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchConnectionStateOptionsV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchConnectionStateOptionsV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchConnectionStateOptionsV1(val *WatchConnectionStateOptionsV1) *NullableWatchConnectionStateOptionsV1 { + return &NullableWatchConnectionStateOptionsV1{value: val, isSet: true} +} + +func (v NullableWatchConnectionStateOptionsV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchConnectionStateOptionsV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_connection_state_progress_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_connection_state_progress_v1.go new file mode 100644 index 00000000000..e4be1e64ed0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_connection_state_progress_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the WatchConnectionStateProgressV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchConnectionStateProgressV1{} + +// WatchConnectionStateProgressV1 Values pushed on each connection state change. +type WatchConnectionStateProgressV1 struct { + ConnectionRecord AgentConnectionRecordV1 `json:"connectionRecord"` + PreviousState NullableString `json:"previousState"` +} + +// NewWatchConnectionStateProgressV1 instantiates a new WatchConnectionStateProgressV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchConnectionStateProgressV1(connectionRecord AgentConnectionRecordV1, previousState NullableString) *WatchConnectionStateProgressV1 { + this := WatchConnectionStateProgressV1{} + this.ConnectionRecord = connectionRecord + this.PreviousState = previousState + return &this +} + +// NewWatchConnectionStateProgressV1WithDefaults instantiates a new WatchConnectionStateProgressV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchConnectionStateProgressV1WithDefaults() *WatchConnectionStateProgressV1 { + this := WatchConnectionStateProgressV1{} + return &this +} + +// GetConnectionRecord returns the ConnectionRecord field value +func (o *WatchConnectionStateProgressV1) GetConnectionRecord() AgentConnectionRecordV1 { + if o == nil { + var ret AgentConnectionRecordV1 + return ret + } + + return o.ConnectionRecord +} + +// GetConnectionRecordOk returns a tuple with the ConnectionRecord field value +// and a boolean to check if the value has been set. +func (o *WatchConnectionStateProgressV1) GetConnectionRecordOk() (*AgentConnectionRecordV1, bool) { + if o == nil { + return nil, false + } + return &o.ConnectionRecord, true +} + +// SetConnectionRecord sets field value +func (o *WatchConnectionStateProgressV1) SetConnectionRecord(v AgentConnectionRecordV1) { + o.ConnectionRecord = v +} + +// GetPreviousState returns the PreviousState field value +// If the value is explicit nil, the zero value for string will be returned +func (o *WatchConnectionStateProgressV1) GetPreviousState() string { + if o == nil || o.PreviousState.Get() == nil { + var ret string + return ret + } + + return *o.PreviousState.Get() +} + +// GetPreviousStateOk returns a tuple with the PreviousState field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WatchConnectionStateProgressV1) GetPreviousStateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.PreviousState.Get(), o.PreviousState.IsSet() +} + +// SetPreviousState sets field value +func (o *WatchConnectionStateProgressV1) SetPreviousState(v string) { + o.PreviousState.Set(&v) +} + +func (o WatchConnectionStateProgressV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchConnectionStateProgressV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["connectionRecord"] = o.ConnectionRecord + toSerialize["previousState"] = o.PreviousState.Get() + return toSerialize, nil +} + +type NullableWatchConnectionStateProgressV1 struct { + value *WatchConnectionStateProgressV1 + isSet bool +} + +func (v NullableWatchConnectionStateProgressV1) Get() *WatchConnectionStateProgressV1 { + return v.value +} + +func (v *NullableWatchConnectionStateProgressV1) Set(val *WatchConnectionStateProgressV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchConnectionStateProgressV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchConnectionStateProgressV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchConnectionStateProgressV1(val *WatchConnectionStateProgressV1) *NullableWatchConnectionStateProgressV1 { + return &NullableWatchConnectionStateProgressV1{value: val, isSet: true} +} + +func (v NullableWatchConnectionStateProgressV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchConnectionStateProgressV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_connection_state_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_connection_state_v1.go new file mode 100644 index 00000000000..3d44d86371b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_connection_state_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" + "fmt" +) + +// WatchConnectionStateV1 Websocket requests for monitoring connection change events. +type WatchConnectionStateV1 string + +// List of WatchConnectionStateV1 +const ( + Subscribe WatchConnectionStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Subscribe" + Next WatchConnectionStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Next" + Unsubscribe WatchConnectionStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Unsubscribe" + Error WatchConnectionStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Error" + Complete WatchConnectionStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Complete" +) + +// All allowed values of WatchConnectionStateV1 enum +var AllowedWatchConnectionStateV1EnumValues = []WatchConnectionStateV1{ + "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Subscribe", + "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Next", + "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Unsubscribe", + "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Error", + "org.hyperledger.cactus.api.async.hlaries.WatchConnectionStateV1.Complete", +} + +func (v *WatchConnectionStateV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchConnectionStateV1(value) + for _, existing := range AllowedWatchConnectionStateV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchConnectionStateV1", value) +} + +// NewWatchConnectionStateV1FromValue returns a pointer to a valid WatchConnectionStateV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchConnectionStateV1FromValue(v string) (*WatchConnectionStateV1, error) { + ev := WatchConnectionStateV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchConnectionStateV1: valid values are %v", v, AllowedWatchConnectionStateV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchConnectionStateV1) IsValid() bool { + for _, existing := range AllowedWatchConnectionStateV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchConnectionStateV1 value +func (v WatchConnectionStateV1) Ptr() *WatchConnectionStateV1 { + return &v +} + +type NullableWatchConnectionStateV1 struct { + value *WatchConnectionStateV1 + isSet bool +} + +func (v NullableWatchConnectionStateV1) Get() *WatchConnectionStateV1 { + return v.value +} + +func (v *NullableWatchConnectionStateV1) Set(val *WatchConnectionStateV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchConnectionStateV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchConnectionStateV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchConnectionStateV1(val *WatchConnectionStateV1) *NullableWatchConnectionStateV1 { + return &NullableWatchConnectionStateV1{value: val, isSet: true} +} + +func (v NullableWatchConnectionStateV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchConnectionStateV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_proof_state_options_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_proof_state_options_v1.go new file mode 100644 index 00000000000..35275137e39 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_proof_state_options_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the WatchProofStateOptionsV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchProofStateOptionsV1{} + +// WatchProofStateOptionsV1 Options passed when monitoring proof state change events. +type WatchProofStateOptionsV1 struct { + // Aries agent label that will also be used as wallet id. + AgentName string `json:"agentName"` +} + +// NewWatchProofStateOptionsV1 instantiates a new WatchProofStateOptionsV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchProofStateOptionsV1(agentName string) *WatchProofStateOptionsV1 { + this := WatchProofStateOptionsV1{} + this.AgentName = agentName + return &this +} + +// NewWatchProofStateOptionsV1WithDefaults instantiates a new WatchProofStateOptionsV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchProofStateOptionsV1WithDefaults() *WatchProofStateOptionsV1 { + this := WatchProofStateOptionsV1{} + return &this +} + +// GetAgentName returns the AgentName field value +func (o *WatchProofStateOptionsV1) GetAgentName() string { + if o == nil { + var ret string + return ret + } + + return o.AgentName +} + +// GetAgentNameOk returns a tuple with the AgentName field value +// and a boolean to check if the value has been set. +func (o *WatchProofStateOptionsV1) GetAgentNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AgentName, true +} + +// SetAgentName sets field value +func (o *WatchProofStateOptionsV1) SetAgentName(v string) { + o.AgentName = v +} + +func (o WatchProofStateOptionsV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchProofStateOptionsV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["agentName"] = o.AgentName + return toSerialize, nil +} + +type NullableWatchProofStateOptionsV1 struct { + value *WatchProofStateOptionsV1 + isSet bool +} + +func (v NullableWatchProofStateOptionsV1) Get() *WatchProofStateOptionsV1 { + return v.value +} + +func (v *NullableWatchProofStateOptionsV1) Set(val *WatchProofStateOptionsV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchProofStateOptionsV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchProofStateOptionsV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchProofStateOptionsV1(val *WatchProofStateOptionsV1) *NullableWatchProofStateOptionsV1 { + return &NullableWatchProofStateOptionsV1{value: val, isSet: true} +} + +func (v NullableWatchProofStateOptionsV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchProofStateOptionsV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_proof_state_progress_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_proof_state_progress_v1.go new file mode 100644 index 00000000000..753ed340cca --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_proof_state_progress_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" +) + +// checks if the WatchProofStateProgressV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchProofStateProgressV1{} + +// WatchProofStateProgressV1 Values pushed on each proof state change. +type WatchProofStateProgressV1 struct { + ProofRecord AriesProofExchangeRecordV1 `json:"proofRecord"` + PreviousState NullableString `json:"previousState"` +} + +// NewWatchProofStateProgressV1 instantiates a new WatchProofStateProgressV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchProofStateProgressV1(proofRecord AriesProofExchangeRecordV1, previousState NullableString) *WatchProofStateProgressV1 { + this := WatchProofStateProgressV1{} + this.ProofRecord = proofRecord + this.PreviousState = previousState + return &this +} + +// NewWatchProofStateProgressV1WithDefaults instantiates a new WatchProofStateProgressV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchProofStateProgressV1WithDefaults() *WatchProofStateProgressV1 { + this := WatchProofStateProgressV1{} + return &this +} + +// GetProofRecord returns the ProofRecord field value +func (o *WatchProofStateProgressV1) GetProofRecord() AriesProofExchangeRecordV1 { + if o == nil { + var ret AriesProofExchangeRecordV1 + return ret + } + + return o.ProofRecord +} + +// GetProofRecordOk returns a tuple with the ProofRecord field value +// and a boolean to check if the value has been set. +func (o *WatchProofStateProgressV1) GetProofRecordOk() (*AriesProofExchangeRecordV1, bool) { + if o == nil { + return nil, false + } + return &o.ProofRecord, true +} + +// SetProofRecord sets field value +func (o *WatchProofStateProgressV1) SetProofRecord(v AriesProofExchangeRecordV1) { + o.ProofRecord = v +} + +// GetPreviousState returns the PreviousState field value +// If the value is explicit nil, the zero value for string will be returned +func (o *WatchProofStateProgressV1) GetPreviousState() string { + if o == nil || o.PreviousState.Get() == nil { + var ret string + return ret + } + + return *o.PreviousState.Get() +} + +// GetPreviousStateOk returns a tuple with the PreviousState field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WatchProofStateProgressV1) GetPreviousStateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.PreviousState.Get(), o.PreviousState.IsSet() +} + +// SetPreviousState sets field value +func (o *WatchProofStateProgressV1) SetPreviousState(v string) { + o.PreviousState.Set(&v) +} + +func (o WatchProofStateProgressV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchProofStateProgressV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["proofRecord"] = o.ProofRecord + toSerialize["previousState"] = o.PreviousState.Get() + return toSerialize, nil +} + +type NullableWatchProofStateProgressV1 struct { + value *WatchProofStateProgressV1 + isSet bool +} + +func (v NullableWatchProofStateProgressV1) Get() *WatchProofStateProgressV1 { + return v.value +} + +func (v *NullableWatchProofStateProgressV1) Set(val *WatchProofStateProgressV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchProofStateProgressV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchProofStateProgressV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchProofStateProgressV1(val *WatchProofStateProgressV1) *NullableWatchProofStateProgressV1 { + return &NullableWatchProofStateProgressV1{value: val, isSet: true} +} + +func (v NullableWatchProofStateProgressV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchProofStateProgressV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_proof_state_v1.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_proof_state_v1.go new file mode 100644 index 00000000000..1495e78c941 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/model_watch_proof_state_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" + "fmt" +) + +// WatchProofStateV1 Websocket requests for monitoring proof state change events. +type WatchProofStateV1 string + +// List of WatchProofStateV1 +const ( + Subscribe WatchProofStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Subscribe" + Next WatchProofStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Next" + Unsubscribe WatchProofStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Unsubscribe" + Error WatchProofStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Error" + Complete WatchProofStateV1 = "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Complete" +) + +// All allowed values of WatchProofStateV1 enum +var AllowedWatchProofStateV1EnumValues = []WatchProofStateV1{ + "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Subscribe", + "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Next", + "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Unsubscribe", + "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Error", + "org.hyperledger.cactus.api.async.hlaries.WatchProofStateV1.Complete", +} + +func (v *WatchProofStateV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchProofStateV1(value) + for _, existing := range AllowedWatchProofStateV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchProofStateV1", value) +} + +// NewWatchProofStateV1FromValue returns a pointer to a valid WatchProofStateV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchProofStateV1FromValue(v string) (*WatchProofStateV1, error) { + ev := WatchProofStateV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchProofStateV1: valid values are %v", v, AllowedWatchProofStateV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchProofStateV1) IsValid() bool { + for _, existing := range AllowedWatchProofStateV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchProofStateV1 value +func (v WatchProofStateV1) Ptr() *WatchProofStateV1 { + return &v +} + +type NullableWatchProofStateV1 struct { + value *WatchProofStateV1 + isSet bool +} + +func (v NullableWatchProofStateV1) Get() *WatchProofStateV1 { + return v.value +} + +func (v *NullableWatchProofStateV1) Set(val *WatchProofStateV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchProofStateV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchProofStateV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchProofStateV1(val *WatchProofStateV1) *NullableWatchProofStateV1 { + return &NullableWatchProofStateV1{value: val, isSet: true} +} + +func (v NullableWatchProofStateV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchProofStateV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..8213b09ea0c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..427f8fdfd3a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,85 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-aries + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-aries_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService AcceptInvitationV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.AcceptInvitationV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService CreateNewConnectionInvitationV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.CreateNewConnectionInvitationV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetAgentsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetAgentsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetConnectionsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetConnectionsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RequestProofV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RequestProofV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..0bd79e443e8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-aries/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cacti Plugin - Connector Aries + +Can communicate with other Aries agents and Cacti Aries connectors + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-aries + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-besu/package.json b/packages/cactus-plugin-ledger-connector-besu/package.json index fe4c3e156e8..a35dbf5d33b 100644 --- a/packages/cactus-plugin-ledger-connector-besu/package.json +++ b/packages/cactus-plugin-ledger-connector-besu/package.json @@ -49,6 +49,7 @@ "codegen:proto": "run-s proto:openapi proto:protoc-gen-ts", "generate-sdk": "run-s 'generate-sdk:*'", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "proto:openapi": "yarn run --top-level openapi-generator-cli generate -i ./src/main/json/openapi.json -g protobuf-schema --model-name-suffix=PB --language-specific-primitives=google.protobuf.Any --type-mappings=AnyType=google.protobuf.Any --type-mappings=object=google.protobuf.Any --additional-properties=packageName=org.hyperledger.cacti.plugin.ledger.connector.besu -o ./src/main/proto/generated/openapi/ -t=./src/main/mustache/openapi-generator/templates/protobuf-schema/ --ignore-file-override ../../openapi-generator-ignore", "proto:protoc-gen-ts": "yarn run --top-level grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/ --proto_path ./src/main/proto/generated/openapi/ --proto_path ./src/main/proto/generated/openapi/models/ --proto_path ./src/main/proto/ ./src/main/proto/generated/openapi/services/*.proto ./src/main/proto/services/*.proto", "watch": "npm-watch", diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..351572d1165 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,53 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_besu_private_transaction_config.go +model_besu_transaction_config.go +model_besu_transaction_config_to.go +model_consistency_strategy.go +model_deploy_contract_solidity_bytecode_v1_request.go +model_deploy_contract_solidity_bytecode_v1_response.go +model_eth_contract_invocation_type.go +model_evm_block.go +model_evm_log.go +model_evm_transaction.go +model_get_balance_v1_request.go +model_get_balance_v1_response.go +model_get_besu_record_v1_request.go +model_get_besu_record_v1_response.go +model_get_block_v1_request.go +model_get_block_v1_response.go +model_get_past_logs_v1_request.go +model_get_past_logs_v1_response.go +model_get_transaction_v1_request.go +model_get_transaction_v1_response.go +model_invoke_contract_v1_request.go +model_invoke_contract_v1_response.go +model_receipt_type.go +model_run_transaction_request.go +model_run_transaction_response.go +model_sign_transaction_request.go +model_sign_transaction_response.go +model_solidity_contract_json_artifact.go +model_solidity_contract_json_artifact_compiler.go +model_solidity_contract_json_artifact_gas_estimates.go +model_solidity_contract_json_artifact_gas_estimates_creation.go +model_watch_blocks_v1.go +model_watch_blocks_v1_progress.go +model_watch_blocks_v1_request.go +model_web3_block_header.go +model_web3_block_header_timestamp.go +model_web3_signing_credential.go +model_web3_signing_credential_cactus_keychain_ref.go +model_web3_signing_credential_none.go +model_web3_signing_credential_private_key_hex.go +model_web3_signing_credential_type.go +model_web3_transaction_receipt.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..5adc0b8eb55 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,163 @@ +# Go API client for cactus-plugin-ledger-connector-besu + +Can perform basic tasks on a Besu ledger + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-besu "github.com/hyperledger/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-besu.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-besu.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-besu.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-besu.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeployContractSolBytecodeV1**](docs/DefaultApi.md#deploycontractsolbytecodev1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/deploy-contract-solidity-bytecode | Deploys the bytecode of a Solidity contract. +*DefaultApi* | [**GetBalanceV1**](docs/DefaultApi.md#getbalancev1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-balance | Return balance of an address of a given block +*DefaultApi* | [**GetBesuRecordV1**](docs/DefaultApi.md#getbesurecordv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-besu-record | Retrieves an arbitrary record (any piece of information) from the ledger. Ledger records can be call outputs, transaction input, etc. +*DefaultApi* | [**GetBlockV1**](docs/DefaultApi.md#getblockv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-block | Returns a block matching the block +*DefaultApi* | [**GetOpenApiSpecV1**](docs/DefaultApi.md#getopenapispecv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-open-api-spec | Retrieves the .json file that contains the OpenAPI specification for the plugin. +*DefaultApi* | [**GetPastLogsV1**](docs/DefaultApi.md#getpastlogsv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-past-logs | Gets past logs, matching the given options. +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**GetTransactionV1**](docs/DefaultApi.md#gettransactionv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-transaction | Executes a transaction on a besu ledger +*DefaultApi* | [**InvokeContractV1**](docs/DefaultApi.md#invokecontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/invoke-contract | Invokes a contract on a besu ledger +*DefaultApi* | [**RunTransactionV1**](docs/DefaultApi.md#runtransactionv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/run-transaction | Executes a transaction on a besu ledger +*DefaultApi* | [**SignTransactionV1**](docs/DefaultApi.md#signtransactionv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/sign-transaction | Obtain signatures of ledger from the corresponding transaction hash. + + +## Documentation For Models + + - [BesuPrivateTransactionConfig](docs/BesuPrivateTransactionConfig.md) + - [BesuTransactionConfig](docs/BesuTransactionConfig.md) + - [BesuTransactionConfigTo](docs/BesuTransactionConfigTo.md) + - [ConsistencyStrategy](docs/ConsistencyStrategy.md) + - [DeployContractSolidityBytecodeV1Request](docs/DeployContractSolidityBytecodeV1Request.md) + - [DeployContractSolidityBytecodeV1Response](docs/DeployContractSolidityBytecodeV1Response.md) + - [EthContractInvocationType](docs/EthContractInvocationType.md) + - [EvmBlock](docs/EvmBlock.md) + - [EvmLog](docs/EvmLog.md) + - [EvmTransaction](docs/EvmTransaction.md) + - [GetBalanceV1Request](docs/GetBalanceV1Request.md) + - [GetBalanceV1Response](docs/GetBalanceV1Response.md) + - [GetBesuRecordV1Request](docs/GetBesuRecordV1Request.md) + - [GetBesuRecordV1Response](docs/GetBesuRecordV1Response.md) + - [GetBlockV1Request](docs/GetBlockV1Request.md) + - [GetBlockV1Response](docs/GetBlockV1Response.md) + - [GetPastLogsV1Request](docs/GetPastLogsV1Request.md) + - [GetPastLogsV1Response](docs/GetPastLogsV1Response.md) + - [GetTransactionV1Request](docs/GetTransactionV1Request.md) + - [GetTransactionV1Response](docs/GetTransactionV1Response.md) + - [InvokeContractV1Request](docs/InvokeContractV1Request.md) + - [InvokeContractV1Response](docs/InvokeContractV1Response.md) + - [ReceiptType](docs/ReceiptType.md) + - [RunTransactionRequest](docs/RunTransactionRequest.md) + - [RunTransactionResponse](docs/RunTransactionResponse.md) + - [SignTransactionRequest](docs/SignTransactionRequest.md) + - [SignTransactionResponse](docs/SignTransactionResponse.md) + - [SolidityContractJsonArtifact](docs/SolidityContractJsonArtifact.md) + - [SolidityContractJsonArtifactCompiler](docs/SolidityContractJsonArtifactCompiler.md) + - [SolidityContractJsonArtifactGasEstimates](docs/SolidityContractJsonArtifactGasEstimates.md) + - [SolidityContractJsonArtifactGasEstimatesCreation](docs/SolidityContractJsonArtifactGasEstimatesCreation.md) + - [WatchBlocksV1](docs/WatchBlocksV1.md) + - [WatchBlocksV1Progress](docs/WatchBlocksV1Progress.md) + - [WatchBlocksV1Request](docs/WatchBlocksV1Request.md) + - [Web3BlockHeader](docs/Web3BlockHeader.md) + - [Web3BlockHeaderTimestamp](docs/Web3BlockHeaderTimestamp.md) + - [Web3SigningCredential](docs/Web3SigningCredential.md) + - [Web3SigningCredentialCactusKeychainRef](docs/Web3SigningCredentialCactusKeychainRef.md) + - [Web3SigningCredentialNone](docs/Web3SigningCredentialNone.md) + - [Web3SigningCredentialPrivateKeyHex](docs/Web3SigningCredentialPrivateKeyHex.md) + - [Web3SigningCredentialType](docs/Web3SigningCredentialType.md) + - [Web3TransactionReceipt](docs/Web3TransactionReceipt.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..3178368ad5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,1235 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on a Besu ledger + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Connector Besu + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-open-api-spec: + get: + operationId: getOpenApiSpecV1 + parameters: [] + responses: + "200": + content: + application/json: + schema: + type: string + description: OK + summary: Retrieves the .json file that contains the OpenAPI specification for + the plugin. + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-open-api-spec + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/deploy-contract-solidity-bytecode: + post: + operationId: deployContractSolBytecodeV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractSolidityBytecodeV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractSolidityBytecodeV1Response' + description: OK + summary: Deploys the bytecode of a Solidity contract. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/deploy-contract-solidity-bytecode + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-balance: + post: + operationId: getBalanceV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetBalanceV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetBalanceV1Response' + description: OK + summary: Return balance of an address of a given block + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-balance + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-block: + post: + operationId: getBlockV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetBlockV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetBlockV1Response' + description: OK + summary: Returns a block matching the block + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-block + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/run-transaction: + post: + operationId: runTransactionV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionResponse' + description: OK + summary: Executes a transaction on a besu ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/run-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-transaction: + post: + operationId: getTransactionV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetTransactionV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetTransactionV1Response' + description: OK + summary: Executes a transaction on a besu ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-past-logs: + post: + operationId: getPastLogsV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetPastLogsV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetPastLogsV1Response' + description: OK + summary: "Gets past logs, matching the given options." + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-past-logs + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/invoke-contract: + post: + operationId: invokeContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + summary: Invokes a contract on a besu ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/invoke-contract + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/sign-transaction: + post: + description: Obtain signatures of ledger from the corresponding transaction + hash. + operationId: signTransactionV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SignTransactionRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SignTransactionResponse' + description: OK + "404": + description: Not able to find the corresponding tranaction from the transaction + hash + summary: Obtain signatures of ledger from the corresponding transaction hash. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/sign-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-prometheus-exporter-metrics + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-besu-record: + post: + operationId: getBesuRecordV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetBesuRecordV1Request' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/GetBesuRecordV1Response' + description: OK + summary: "Retrieves an arbitrary record (any piece of information) from the\ + \ ledger. Ledger records can be call outputs, transaction input, etc." + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-besu-record +components: + schemas: + GetBalanceV1Response: + example: + balance: balance + properties: + balance: + type: string + required: + - balance + type: object + GetBalanceV1Request: + additionalProperties: false + example: + address: address + defaultBlock: "" + properties: + address: + type: string + defaultBlock: {} + required: + - address + type: object + EvmBlock: + example: + logsBloom: logsBloom + totalDifficulty: 1.4658129805029452 + extraData: extraData + transactions: + - "" + - "" + nonce: nonce + miner: miner + difficulty: 6.027456183070403 + number: 0.8008281904610115 + gasLimit: 5.637376656633329 + gasUsed: 2.3021358869347655 + uncles: + - "" + - "" + sha3Uncles: sha3Uncles + size: 5.962133916683182 + transactionsRoot: transactionsRoot + stateRoot: stateRoot + parentHash: parentHash + hash: hash + timestamp: "" + properties: + number: + type: number + hash: + type: string + parentHash: + type: string + nonce: + type: string + sha3Uncles: + type: string + logsBloom: + type: string + transactionsRoot: + type: string + stateRoot: + type: string + miner: + type: string + difficulty: + type: number + totalDifficulty: + type: number + extraData: + type: string + size: + type: number + gasLimit: + type: number + gasUsed: + type: number + timestamp: {} + transactions: + items: {} + type: array + uncles: + items: {} + type: array + type: object + GetBlockV1Response: + example: + block: + logsBloom: logsBloom + totalDifficulty: 1.4658129805029452 + extraData: extraData + transactions: + - "" + - "" + nonce: nonce + miner: miner + difficulty: 6.027456183070403 + number: 0.8008281904610115 + gasLimit: 5.637376656633329 + gasUsed: 2.3021358869347655 + uncles: + - "" + - "" + sha3Uncles: sha3Uncles + size: 5.962133916683182 + transactionsRoot: transactionsRoot + stateRoot: stateRoot + parentHash: parentHash + hash: hash + timestamp: "" + properties: + block: + $ref: '#/components/schemas/EvmBlock' + required: + - block + type: object + EvmTransaction: + example: + blockHash: "" + input: input + blockNumber: "" + gas: 6.027456183070403 + transactionIndex: "" + from: from + to: "" + nonce: 0.8008281904610115 + value: value + hash: hash + gasPrice: gasPrice + properties: + hash: + type: string + nonce: + type: number + blockHash: {} + blockNumber: {} + transactionIndex: {} + from: + type: string + to: {} + value: + type: string + gasPrice: + type: string + gas: + type: number + input: + type: string + type: object + GetTransactionV1Response: + example: + transaction: + blockHash: "" + input: input + blockNumber: "" + gas: 6.027456183070403 + transactionIndex: "" + from: from + to: "" + nonce: 0.8008281904610115 + value: value + hash: hash + gasPrice: gasPrice + properties: + transaction: + $ref: '#/components/schemas/EvmTransaction' + required: + - transaction + type: object + GetTransactionV1Request: + additionalProperties: false + example: + transactionHash: transactionHash + properties: + transactionHash: + type: string + required: + - transactionHash + type: object + GetPastLogsV1Response: + example: + logs: + - blockHash: blockHash + address: address + logIndex: 0.8008281904610115 + data: data + topics: + - topics + - topics + blockNumber: 1.4658129805029452 + transactionIndex: 6.027456183070403 + transactionHash: transactionHash + - blockHash: blockHash + address: address + logIndex: 0.8008281904610115 + data: data + topics: + - topics + - topics + blockNumber: 1.4658129805029452 + transactionIndex: 6.027456183070403 + transactionHash: transactionHash + properties: + logs: + items: + $ref: '#/components/schemas/EvmLog' + type: array + required: + - logs + type: object + GetPastLogsV1Request: + additionalProperties: false + example: + fromBlock: "" + toBlock: "" + address: "" + topics: + - "" + - "" + properties: + toBlock: {} + fromBlock: {} + address: {} + topics: + items: {} + type: array + type: object + EvmLog: + example: + blockHash: blockHash + address: address + logIndex: 0.8008281904610115 + data: data + topics: + - topics + - topics + blockNumber: 1.4658129805029452 + transactionIndex: 6.027456183070403 + transactionHash: transactionHash + properties: + address: + type: string + data: + type: string + blockHash: + type: string + transactionHash: + type: string + topics: + items: + type: string + type: array + logIndex: + type: number + transactionIndex: + type: number + blockNumber: + type: number + required: + - address + - blockHash + - blockNumber + - data + - logIndex + - topics + - transactionHash + - transactionIndex + type: object + GetBlockV1Request: + additionalProperties: false + example: + blockHashOrBlockNumber: "" + properties: + blockHashOrBlockNumber: {} + required: + - blockHashOrBlockNumber + type: object + WatchBlocksV1: + enum: + - org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Subscribe + - org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Next + - org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Unsubscribe + - org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Error + - org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Complete + type: string + x-enum-varnames: + - Subscribe + - Next + - Unsubscribe + - Error + - Complete + WatchBlocksV1Request: + properties: + event: + $ref: '#/components/schemas/WatchBlocksV1' + required: + - event + type: object + Web3BlockHeader: + properties: + number: + type: number + hash: + type: string + parentHash: + type: string + nonce: + type: string + sha3Uncles: + type: string + logsBloom: + type: string + transactionRoot: + type: string + stateRoot: + type: string + receiptRoot: + type: string + miner: + type: string + extraData: + type: string + gasLimit: + type: integer + gasUsed: + type: integer + timestamp: + $ref: '#/components/schemas/Web3BlockHeader_timestamp' + required: + - extraData + - gasLimit + - gasUsed + - hash + - logsBloom + - miner + - nonce + - number + - parentHash + - receiptRoot + - sha3Uncles + - stateRoot + - timestamp + - transactionRoot + type: object + WatchBlocksV1Progress: + properties: + blockHeader: + $ref: '#/components/schemas/Web3BlockHeader' + required: + - blockHeader + type: object + ReceiptType: + description: Enumerates the possible types of receipts that can be waited for + by someone or something that has requested the execution of a transaction + on a ledger. + enum: + - NODE_TX_POOL_ACK + - LEDGER_BLOCK_ACK + type: string + ConsistencyStrategy: + example: + blockConfirmations: 2931 + receiptType: null + timeoutMs: 0 + properties: + receiptType: + $ref: '#/components/schemas/ReceiptType' + timeoutMs: + description: "The amount of milliseconds to wait for the receipt to arrive\ + \ to the connector. Defaults to 0 which means to wait for an unlimited\ + \ amount of time. Note that this wait may be interrupted still by other\ + \ parts of the infrastructure such as load balancers cutting of HTTP requests\ + \ after some time even if they are the type that is supposed to be kept\ + \ alive. The question of re-entrance is a broader topic not in scope to\ + \ discuss here, but it is important to mention it." + minimum: 0 + type: integer + blockConfirmations: + description: "The number of blocks to wait to be confirmed in addition to\ + \ the block containing the transaction in question. Note that if the receipt\ + \ type is set to only wait for node transaction pool ACK and this parameter\ + \ is set to anything, but zero then the API will not accept the request\ + \ due to conflicting parameters." + maximum: 20000 + minimum: 0 + type: integer + required: + - blockConfirmations + - receiptType + type: object + Web3SigningCredential: + discriminator: + propertyName: type + example: + type: null + oneOf: + - $ref: '#/components/schemas/Web3SigningCredentialCactusKeychainRef' + - $ref: '#/components/schemas/Web3SigningCredentialPrivateKeyHex' + - $ref: '#/components/schemas/Web3SigningCredentialNone' + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialCactusKeychainRef: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + keychainEntryKey: + description: The key to use when looking up the the keychain entry holding + the secret pointed to by the keychainEntryKey parameter. + maxLength: 1024 + minLength: 0 + type: string + keychainId: + description: The keychain ID to use when looking up the the keychain plugin + instance that will be used to retrieve the secret pointed to by the keychainEntryKey + parameter. + maxLength: 1024 + minLength: 0 + type: string + required: + - ethAccount + - keychainEntryKey + - keychainId + - type + type: object + Web3SigningCredentialPrivateKeyHex: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + secret: + description: The HEX encoded private key of an eth account. + maxLength: 65535 + minLength: 0 + type: string + required: + - ethAccount + - secret + - type + type: object + Web3SigningCredentialNone: + description: Using this denotes that there is no signing required because the + transaction is pre-signed. + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialType: + enum: + - CACTUS_KEYCHAIN_REF + - GETH_KEYCHAIN_PASSWORD + - PRIVATE_KEY_HEX + - NONE + type: string + EthContractInvocationType: + enum: + - SEND + - CALL + type: string + SolidityContractJsonArtifact: + properties: + contractName: + nullable: false + type: string + metadata: + nullable: false + type: string + bytecode: + nullable: false + type: string + deployedBytecode: + nullable: false + type: string + sourceMap: + nullable: false + type: string + deployedSourceMap: + nullable: false + type: string + sourcePath: + type: string + compiler: + $ref: '#/components/schemas/SolidityContractJsonArtifact_compiler' + functionHashes: + additionalProperties: true + type: object + gasEstimates: + $ref: '#/components/schemas/SolidityContractJsonArtifact_gasEstimates' + required: + - contractName + type: object + BesuTransactionConfig: + additionalProperties: true + example: + rawTransaction: rawTransaction + data: null + gas: null + from: null + to: null + value: null + nonce: 0.8008281904610115 + gasPrice: null + properties: + rawTransaction: + nullable: false + type: string + from: + $ref: '#/components/schemas/Web3BlockHeader_timestamp' + to: + $ref: '#/components/schemas/BesuTransactionConfig_to' + value: + $ref: '#/components/schemas/Web3BlockHeader_timestamp' + gas: + $ref: '#/components/schemas/Web3BlockHeader_timestamp' + gasPrice: + $ref: '#/components/schemas/Web3BlockHeader_timestamp' + nonce: + type: number + data: + $ref: '#/components/schemas/BesuTransactionConfig_to' + type: object + BesuPrivateTransactionConfig: + example: + privateFrom: privateFrom + privateFor: + - "" + - "" + properties: + privateFrom: + nullable: false + type: string + privateFor: + default: [] + items: {} + nullable: false + type: array + required: + - privateFor + - privateFrom + type: object + Web3TransactionReceipt: + additionalProperties: true + example: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + status: + nullable: false + type: boolean + transactionHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + transactionIndex: + nullable: false + type: number + blockHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + blockNumber: + nullable: false + type: number + gasUsed: + nullable: false + type: number + contractAddress: + nullable: true + type: string + from: + nullable: false + type: string + to: + nullable: false + type: string + required: + - blockHash + - blockNumber + - from + - gasUsed + - status + - to + - transactionHash + - transactionIndex + type: object + RunTransactionRequest: + additionalProperties: false + example: + privateTransactionConfig: + privateFrom: privateFrom + privateFor: + - "" + - "" + transactionConfig: + rawTransaction: rawTransaction + data: null + gas: null + from: null + to: null + value: null + nonce: 0.8008281904610115 + gasPrice: null + consistencyStrategy: + blockConfirmations: 2931 + receiptType: null + timeoutMs: 0 + web3SigningCredential: + type: null + properties: + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + transactionConfig: + $ref: '#/components/schemas/BesuTransactionConfig' + consistencyStrategy: + $ref: '#/components/schemas/ConsistencyStrategy' + privateTransactionConfig: + $ref: '#/components/schemas/BesuPrivateTransactionConfig' + required: + - consistencyStrategy + - transactionConfig + - web3SigningCredential + type: object + RunTransactionResponse: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + required: + - transactionReceipt + type: object + DeployContractSolidityBytecodeV1Request: + additionalProperties: false + example: + bytecode: bytecode + privateTransactionConfig: + privateFrom: privateFrom + privateFor: + - "" + - "" + keychainId: keychainId + constructorArgs: + - "" + - "" + timeoutMs: 0.6027456183070403 + contractAbi: + - "" + - "" + gas: 0.8008281904610115 + web3SigningCredential: + type: null + contractName: contractName + gasPrice: gasPrice + properties: + contractName: + description: The contract name for retrieve the contracts json on the keychain. + maxLength: 100 + minLength: 1 + nullable: false + type: string + contractAbi: + description: The application binary interface of the solidity contract + items: {} + nullable: false + type: array + constructorArgs: + default: [] + items: {} + type: array + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + bytecode: + description: See https://ethereum.stackexchange.com/a/47556 regarding the + maximum length of the bytecode + maxLength: 24576 + minLength: 1 + nullable: false + type: string + keychainId: + description: The keychainId for retrieve the contracts json. + maxLength: 100 + minLength: 1 + nullable: false + type: string + gas: + nullable: false + type: number + gasPrice: + nullable: false + type: string + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + with theaddress of the contract(which indicates successful deployment) + beforegiving up and crashing. + minimum: 0 + nullable: false + type: number + privateTransactionConfig: + $ref: '#/components/schemas/BesuPrivateTransactionConfig' + required: + - bytecode + - constructorArgs + - contractAbi + - contractName + - keychainId + - web3SigningCredential + type: object + DeployContractSolidityBytecodeV1Response: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + required: + - transactionReceipt + type: object + InvokeContractV1Request: + additionalProperties: false + example: + privateTransactionConfig: + privateFrom: privateFrom + privateFor: + - "" + - "" + methodName: methodName + contractAddress: contractAddress + params: + - "" + - "" + nonce: 0.8008281904610115 + invocationType: null + keychainId: keychainId + timeoutMs: 0.6027456183070403 + contractAbi: + - "" + - "" + gas: null + contractName: contractName + value: null + signingCredential: + type: null + gasPrice: null + properties: + contractName: + nullable: false + type: string + signingCredential: + $ref: '#/components/schemas/Web3SigningCredential' + invocationType: + $ref: '#/components/schemas/EthContractInvocationType' + methodName: + description: The name of the contract method to invoke. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + params: + default: [] + description: The list of arguments to pass in to the contract method being + invoked. + items: {} + type: array + contractAbi: + description: "The application binary interface of the solidity contract,\ + \ optional parameter" + items: {} + nullable: false + type: array + contractAddress: + description: "Address of the solidity contract, optional parameter" + nullable: false + type: string + value: + $ref: '#/components/schemas/Web3BlockHeader_timestamp' + gas: + $ref: '#/components/schemas/Web3BlockHeader_timestamp' + gasPrice: + $ref: '#/components/schemas/Web3BlockHeader_timestamp' + nonce: + type: number + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + beforegiving up and crashing. Only has any effect if the invocation type + is SEND + minimum: 0 + nullable: false + type: number + keychainId: + description: The keychainId for retrieve the contracts json. + maxLength: 100 + minLength: 1 + type: string + privateTransactionConfig: + $ref: '#/components/schemas/BesuPrivateTransactionConfig' + required: + - contractName + - invocationType + - methodName + - params + - signingCredential + type: object + InvokeContractV1Response: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + callOutput: "" + success: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + callOutput: {} + success: + nullable: false + type: boolean + required: + - success + type: object + SignTransactionRequest: + additionalProperties: false + example: + keychainId: keychainId + keychainRef: keychainRef + transactionHash: transactionHash + properties: + keychainId: + maxLength: 100 + minLength: 1 + nullable: false + type: string + keychainRef: + maxLength: 100 + minLength: 1 + nullable: false + type: string + transactionHash: + description: The transaction hash of ledger will be used to fetch the contain. + maxLength: 2048 + minLength: 0 + nullable: false + type: string + required: + - keychainId + - keychainRef + - transactionHash + type: object + SignTransactionResponse: + example: + signature: signature + properties: + signature: + description: The signatures of ledger from the corresponding transaction + hash. + maxLength: 2048 + minLength: 0 + nullable: false + type: string + required: + - signature + type: object + PrometheusExporterMetricsResponse: + nullable: false + type: string + GetBesuRecordV1Request: + additionalProperties: false + example: + invokeCall: + privateTransactionConfig: + privateFrom: privateFrom + privateFor: + - "" + - "" + methodName: methodName + contractAddress: contractAddress + params: + - "" + - "" + nonce: 0.8008281904610115 + invocationType: null + keychainId: keychainId + timeoutMs: 0.6027456183070403 + contractAbi: + - "" + - "" + gas: null + contractName: contractName + value: null + signingCredential: + type: null + gasPrice: null + transactionHash: transactionHash + properties: + invokeCall: + $ref: '#/components/schemas/InvokeContractV1Request' + transactionHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + type: object + GetBesuRecordV1Response: + properties: + ledgerId: + type: string + stateContract: + type: string + transactionInputData: {} + callOutput: {} + type: object + Web3BlockHeader_timestamp: + oneOf: + - type: string + - type: number + SolidityContractJsonArtifact_compiler: + additionalProperties: true + properties: + name: + type: string + version: + type: string + type: object + SolidityContractJsonArtifact_gasEstimates_creation: + properties: + codeDepositCost: + type: string + executionCost: + type: string + totalCost: + type: string + type: object + SolidityContractJsonArtifact_gasEstimates: + properties: + creation: + $ref: '#/components/schemas/SolidityContractJsonArtifact_gasEstimates_creation' + external: + additionalProperties: true + type: object + BesuTransactionConfig_to: + oneOf: + - type: string diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..997df0bf8ba --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,1167 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeployContractSolBytecodeV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deployContractSolidityBytecodeV1Request *DeployContractSolidityBytecodeV1Request +} + +func (r ApiDeployContractSolBytecodeV1Request) DeployContractSolidityBytecodeV1Request(deployContractSolidityBytecodeV1Request DeployContractSolidityBytecodeV1Request) ApiDeployContractSolBytecodeV1Request { + r.deployContractSolidityBytecodeV1Request = &deployContractSolidityBytecodeV1Request + return r +} + +func (r ApiDeployContractSolBytecodeV1Request) Execute() (*DeployContractSolidityBytecodeV1Response, *http.Response, error) { + return r.ApiService.DeployContractSolBytecodeV1Execute(r) +} + +/* +DeployContractSolBytecodeV1 Deploys the bytecode of a Solidity contract. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractSolBytecodeV1Request +*/ +func (a *DefaultApiService) DeployContractSolBytecodeV1(ctx context.Context) ApiDeployContractSolBytecodeV1Request { + return ApiDeployContractSolBytecodeV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeployContractSolidityBytecodeV1Response +func (a *DefaultApiService) DeployContractSolBytecodeV1Execute(r ApiDeployContractSolBytecodeV1Request) (*DeployContractSolidityBytecodeV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeployContractSolidityBytecodeV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContractSolBytecodeV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/deploy-contract-solidity-bytecode" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractSolidityBytecodeV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetBalanceV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getBalanceV1Request *GetBalanceV1Request +} + +func (r ApiGetBalanceV1Request) GetBalanceV1Request(getBalanceV1Request GetBalanceV1Request) ApiGetBalanceV1Request { + r.getBalanceV1Request = &getBalanceV1Request + return r +} + +func (r ApiGetBalanceV1Request) Execute() (*GetBalanceV1Response, *http.Response, error) { + return r.ApiService.GetBalanceV1Execute(r) +} + +/* +GetBalanceV1 Return balance of an address of a given block + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetBalanceV1Request +*/ +func (a *DefaultApiService) GetBalanceV1(ctx context.Context) ApiGetBalanceV1Request { + return ApiGetBalanceV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetBalanceV1Response +func (a *DefaultApiService) GetBalanceV1Execute(r ApiGetBalanceV1Request) (*GetBalanceV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetBalanceV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBalanceV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-balance" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getBalanceV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetBesuRecordV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getBesuRecordV1Request *GetBesuRecordV1Request +} + +func (r ApiGetBesuRecordV1Request) GetBesuRecordV1Request(getBesuRecordV1Request GetBesuRecordV1Request) ApiGetBesuRecordV1Request { + r.getBesuRecordV1Request = &getBesuRecordV1Request + return r +} + +func (r ApiGetBesuRecordV1Request) Execute() (*GetBesuRecordV1Response, *http.Response, error) { + return r.ApiService.GetBesuRecordV1Execute(r) +} + +/* +GetBesuRecordV1 Retrieves an arbitrary record (any piece of information) from the ledger. Ledger records can be call outputs, transaction input, etc. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetBesuRecordV1Request +*/ +func (a *DefaultApiService) GetBesuRecordV1(ctx context.Context) ApiGetBesuRecordV1Request { + return ApiGetBesuRecordV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetBesuRecordV1Response +func (a *DefaultApiService) GetBesuRecordV1Execute(r ApiGetBesuRecordV1Request) (*GetBesuRecordV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetBesuRecordV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBesuRecordV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-besu-record" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getBesuRecordV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetBlockV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getBlockV1Request *GetBlockV1Request +} + +func (r ApiGetBlockV1Request) GetBlockV1Request(getBlockV1Request GetBlockV1Request) ApiGetBlockV1Request { + r.getBlockV1Request = &getBlockV1Request + return r +} + +func (r ApiGetBlockV1Request) Execute() (*GetBlockV1Response, *http.Response, error) { + return r.ApiService.GetBlockV1Execute(r) +} + +/* +GetBlockV1 Returns a block matching the block + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetBlockV1Request +*/ +func (a *DefaultApiService) GetBlockV1(ctx context.Context) ApiGetBlockV1Request { + return ApiGetBlockV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetBlockV1Response +func (a *DefaultApiService) GetBlockV1Execute(r ApiGetBlockV1Request) (*GetBlockV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetBlockV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBlockV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-block" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getBlockV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetOpenApiSpecV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetOpenApiSpecV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetOpenApiSpecV1Execute(r) +} + +/* +GetOpenApiSpecV1 Retrieves the .json file that contains the OpenAPI specification for the plugin. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetOpenApiSpecV1Request +*/ +func (a *DefaultApiService) GetOpenApiSpecV1(ctx context.Context) ApiGetOpenApiSpecV1Request { + return ApiGetOpenApiSpecV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetOpenApiSpecV1Execute(r ApiGetOpenApiSpecV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetOpenApiSpecV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-open-api-spec" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPastLogsV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getPastLogsV1Request *GetPastLogsV1Request +} + +func (r ApiGetPastLogsV1Request) GetPastLogsV1Request(getPastLogsV1Request GetPastLogsV1Request) ApiGetPastLogsV1Request { + r.getPastLogsV1Request = &getPastLogsV1Request + return r +} + +func (r ApiGetPastLogsV1Request) Execute() (*GetPastLogsV1Response, *http.Response, error) { + return r.ApiService.GetPastLogsV1Execute(r) +} + +/* +GetPastLogsV1 Gets past logs, matching the given options. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPastLogsV1Request +*/ +func (a *DefaultApiService) GetPastLogsV1(ctx context.Context) ApiGetPastLogsV1Request { + return ApiGetPastLogsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetPastLogsV1Response +func (a *DefaultApiService) GetPastLogsV1Execute(r ApiGetPastLogsV1Request) (*GetPastLogsV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetPastLogsV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPastLogsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-past-logs" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getPastLogsV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetTransactionV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getTransactionV1Request *GetTransactionV1Request +} + +func (r ApiGetTransactionV1Request) GetTransactionV1Request(getTransactionV1Request GetTransactionV1Request) ApiGetTransactionV1Request { + r.getTransactionV1Request = &getTransactionV1Request + return r +} + +func (r ApiGetTransactionV1Request) Execute() (*GetTransactionV1Response, *http.Response, error) { + return r.ApiService.GetTransactionV1Execute(r) +} + +/* +GetTransactionV1 Executes a transaction on a besu ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetTransactionV1Request +*/ +func (a *DefaultApiService) GetTransactionV1(ctx context.Context) ApiGetTransactionV1Request { + return ApiGetTransactionV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetTransactionV1Response +func (a *DefaultApiService) GetTransactionV1Execute(r ApiGetTransactionV1Request) (*GetTransactionV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetTransactionV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetTransactionV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/get-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getTransactionV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + invokeContractV1Request *InvokeContractV1Request +} + +func (r ApiInvokeContractV1Request) InvokeContractV1Request(invokeContractV1Request InvokeContractV1Request) ApiInvokeContractV1Request { + r.invokeContractV1Request = &invokeContractV1Request + return r +} + +func (r ApiInvokeContractV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.InvokeContractV1Execute(r) +} + +/* +InvokeContractV1 Invokes a contract on a besu ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeContractV1Request +*/ +func (a *DefaultApiService) InvokeContractV1(ctx context.Context) ApiInvokeContractV1Request { + return ApiInvokeContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) InvokeContractV1Execute(r ApiInvokeContractV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/invoke-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRunTransactionV1Request struct { + ctx context.Context + ApiService *DefaultApiService + runTransactionRequest *RunTransactionRequest +} + +func (r ApiRunTransactionV1Request) RunTransactionRequest(runTransactionRequest RunTransactionRequest) ApiRunTransactionV1Request { + r.runTransactionRequest = &runTransactionRequest + return r +} + +func (r ApiRunTransactionV1Request) Execute() (*RunTransactionResponse, *http.Response, error) { + return r.ApiService.RunTransactionV1Execute(r) +} + +/* +RunTransactionV1 Executes a transaction on a besu ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRunTransactionV1Request +*/ +func (a *DefaultApiService) RunTransactionV1(ctx context.Context) ApiRunTransactionV1Request { + return ApiRunTransactionV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionResponse +func (a *DefaultApiService) RunTransactionV1Execute(r ApiRunTransactionV1Request) (*RunTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RunTransactionV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/run-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSignTransactionV1Request struct { + ctx context.Context + ApiService *DefaultApiService + signTransactionRequest *SignTransactionRequest +} + +func (r ApiSignTransactionV1Request) SignTransactionRequest(signTransactionRequest SignTransactionRequest) ApiSignTransactionV1Request { + r.signTransactionRequest = &signTransactionRequest + return r +} + +func (r ApiSignTransactionV1Request) Execute() (*SignTransactionResponse, *http.Response, error) { + return r.ApiService.SignTransactionV1Execute(r) +} + +/* +SignTransactionV1 Obtain signatures of ledger from the corresponding transaction hash. + +Obtain signatures of ledger from the corresponding transaction hash. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSignTransactionV1Request +*/ +func (a *DefaultApiService) SignTransactionV1(ctx context.Context) ApiSignTransactionV1Request { + return ApiSignTransactionV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SignTransactionResponse +func (a *DefaultApiService) SignTransactionV1Execute(r ApiSignTransactionV1Request) (*SignTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SignTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SignTransactionV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-besu/sign-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.signTransactionRequest == nil { + return localVarReturnValue, nil, reportError("signTransactionRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.signTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..49c08cba0b6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Connector Besu API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..8c2917f44d5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..9ed243b897a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_besu_private_transaction_config.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_besu_private_transaction_config.go new file mode 100644 index 00000000000..9271d96eb74 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_besu_private_transaction_config.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the BesuPrivateTransactionConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BesuPrivateTransactionConfig{} + +// BesuPrivateTransactionConfig struct for BesuPrivateTransactionConfig +type BesuPrivateTransactionConfig struct { + PrivateFrom string `json:"privateFrom"` + PrivateFor []interface{} `json:"privateFor"` +} + +// NewBesuPrivateTransactionConfig instantiates a new BesuPrivateTransactionConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBesuPrivateTransactionConfig(privateFrom string, privateFor []interface{}) *BesuPrivateTransactionConfig { + this := BesuPrivateTransactionConfig{} + this.PrivateFrom = privateFrom + this.PrivateFor = privateFor + return &this +} + +// NewBesuPrivateTransactionConfigWithDefaults instantiates a new BesuPrivateTransactionConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewBesuPrivateTransactionConfigWithDefaults() *BesuPrivateTransactionConfig { + this := BesuPrivateTransactionConfig{} + return &this +} + +// GetPrivateFrom returns the PrivateFrom field value +func (o *BesuPrivateTransactionConfig) GetPrivateFrom() string { + if o == nil { + var ret string + return ret + } + + return o.PrivateFrom +} + +// GetPrivateFromOk returns a tuple with the PrivateFrom field value +// and a boolean to check if the value has been set. +func (o *BesuPrivateTransactionConfig) GetPrivateFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PrivateFrom, true +} + +// SetPrivateFrom sets field value +func (o *BesuPrivateTransactionConfig) SetPrivateFrom(v string) { + o.PrivateFrom = v +} + +// GetPrivateFor returns the PrivateFor field value +func (o *BesuPrivateTransactionConfig) GetPrivateFor() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.PrivateFor +} + +// GetPrivateForOk returns a tuple with the PrivateFor field value +// and a boolean to check if the value has been set. +func (o *BesuPrivateTransactionConfig) GetPrivateForOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.PrivateFor, true +} + +// SetPrivateFor sets field value +func (o *BesuPrivateTransactionConfig) SetPrivateFor(v []interface{}) { + o.PrivateFor = v +} + +func (o BesuPrivateTransactionConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BesuPrivateTransactionConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["privateFrom"] = o.PrivateFrom + toSerialize["privateFor"] = o.PrivateFor + return toSerialize, nil +} + +type NullableBesuPrivateTransactionConfig struct { + value *BesuPrivateTransactionConfig + isSet bool +} + +func (v NullableBesuPrivateTransactionConfig) Get() *BesuPrivateTransactionConfig { + return v.value +} + +func (v *NullableBesuPrivateTransactionConfig) Set(val *BesuPrivateTransactionConfig) { + v.value = val + v.isSet = true +} + +func (v NullableBesuPrivateTransactionConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableBesuPrivateTransactionConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBesuPrivateTransactionConfig(val *BesuPrivateTransactionConfig) *NullableBesuPrivateTransactionConfig { + return &NullableBesuPrivateTransactionConfig{value: val, isSet: true} +} + +func (v NullableBesuPrivateTransactionConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBesuPrivateTransactionConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_besu_transaction_config.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_besu_transaction_config.go new file mode 100644 index 00000000000..1fcc9ae2e45 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_besu_transaction_config.go @@ -0,0 +1,410 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the BesuTransactionConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BesuTransactionConfig{} + +// BesuTransactionConfig struct for BesuTransactionConfig +type BesuTransactionConfig struct { + RawTransaction *string `json:"rawTransaction,omitempty"` + From *Web3BlockHeaderTimestamp `json:"from,omitempty"` + To *BesuTransactionConfigTo `json:"to,omitempty"` + Value *Web3BlockHeaderTimestamp `json:"value,omitempty"` + Gas *Web3BlockHeaderTimestamp `json:"gas,omitempty"` + GasPrice *Web3BlockHeaderTimestamp `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + Data *BesuTransactionConfigTo `json:"data,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BesuTransactionConfig BesuTransactionConfig + +// NewBesuTransactionConfig instantiates a new BesuTransactionConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBesuTransactionConfig() *BesuTransactionConfig { + this := BesuTransactionConfig{} + return &this +} + +// NewBesuTransactionConfigWithDefaults instantiates a new BesuTransactionConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewBesuTransactionConfigWithDefaults() *BesuTransactionConfig { + this := BesuTransactionConfig{} + return &this +} + +// GetRawTransaction returns the RawTransaction field value if set, zero value otherwise. +func (o *BesuTransactionConfig) GetRawTransaction() string { + if o == nil || IsNil(o.RawTransaction) { + var ret string + return ret + } + return *o.RawTransaction +} + +// GetRawTransactionOk returns a tuple with the RawTransaction field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BesuTransactionConfig) GetRawTransactionOk() (*string, bool) { + if o == nil || IsNil(o.RawTransaction) { + return nil, false + } + return o.RawTransaction, true +} + +// HasRawTransaction returns a boolean if a field has been set. +func (o *BesuTransactionConfig) HasRawTransaction() bool { + if o != nil && !IsNil(o.RawTransaction) { + return true + } + + return false +} + +// SetRawTransaction gets a reference to the given string and assigns it to the RawTransaction field. +func (o *BesuTransactionConfig) SetRawTransaction(v string) { + o.RawTransaction = &v +} + +// GetFrom returns the From field value if set, zero value otherwise. +func (o *BesuTransactionConfig) GetFrom() Web3BlockHeaderTimestamp { + if o == nil || IsNil(o.From) { + var ret Web3BlockHeaderTimestamp + return ret + } + return *o.From +} + +// GetFromOk returns a tuple with the From field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BesuTransactionConfig) GetFromOk() (*Web3BlockHeaderTimestamp, bool) { + if o == nil || IsNil(o.From) { + return nil, false + } + return o.From, true +} + +// HasFrom returns a boolean if a field has been set. +func (o *BesuTransactionConfig) HasFrom() bool { + if o != nil && !IsNil(o.From) { + return true + } + + return false +} + +// SetFrom gets a reference to the given Web3BlockHeaderTimestamp and assigns it to the From field. +func (o *BesuTransactionConfig) SetFrom(v Web3BlockHeaderTimestamp) { + o.From = &v +} + +// GetTo returns the To field value if set, zero value otherwise. +func (o *BesuTransactionConfig) GetTo() BesuTransactionConfigTo { + if o == nil || IsNil(o.To) { + var ret BesuTransactionConfigTo + return ret + } + return *o.To +} + +// GetToOk returns a tuple with the To field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BesuTransactionConfig) GetToOk() (*BesuTransactionConfigTo, bool) { + if o == nil || IsNil(o.To) { + return nil, false + } + return o.To, true +} + +// HasTo returns a boolean if a field has been set. +func (o *BesuTransactionConfig) HasTo() bool { + if o != nil && !IsNil(o.To) { + return true + } + + return false +} + +// SetTo gets a reference to the given BesuTransactionConfigTo and assigns it to the To field. +func (o *BesuTransactionConfig) SetTo(v BesuTransactionConfigTo) { + o.To = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *BesuTransactionConfig) GetValue() Web3BlockHeaderTimestamp { + if o == nil || IsNil(o.Value) { + var ret Web3BlockHeaderTimestamp + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BesuTransactionConfig) GetValueOk() (*Web3BlockHeaderTimestamp, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *BesuTransactionConfig) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given Web3BlockHeaderTimestamp and assigns it to the Value field. +func (o *BesuTransactionConfig) SetValue(v Web3BlockHeaderTimestamp) { + o.Value = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *BesuTransactionConfig) GetGas() Web3BlockHeaderTimestamp { + if o == nil || IsNil(o.Gas) { + var ret Web3BlockHeaderTimestamp + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BesuTransactionConfig) GetGasOk() (*Web3BlockHeaderTimestamp, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *BesuTransactionConfig) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given Web3BlockHeaderTimestamp and assigns it to the Gas field. +func (o *BesuTransactionConfig) SetGas(v Web3BlockHeaderTimestamp) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *BesuTransactionConfig) GetGasPrice() Web3BlockHeaderTimestamp { + if o == nil || IsNil(o.GasPrice) { + var ret Web3BlockHeaderTimestamp + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BesuTransactionConfig) GetGasPriceOk() (*Web3BlockHeaderTimestamp, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *BesuTransactionConfig) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given Web3BlockHeaderTimestamp and assigns it to the GasPrice field. +func (o *BesuTransactionConfig) SetGasPrice(v Web3BlockHeaderTimestamp) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *BesuTransactionConfig) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BesuTransactionConfig) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *BesuTransactionConfig) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *BesuTransactionConfig) SetNonce(v float32) { + o.Nonce = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *BesuTransactionConfig) GetData() BesuTransactionConfigTo { + if o == nil || IsNil(o.Data) { + var ret BesuTransactionConfigTo + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BesuTransactionConfig) GetDataOk() (*BesuTransactionConfigTo, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *BesuTransactionConfig) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given BesuTransactionConfigTo and assigns it to the Data field. +func (o *BesuTransactionConfig) SetData(v BesuTransactionConfigTo) { + o.Data = &v +} + +func (o BesuTransactionConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BesuTransactionConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.RawTransaction) { + toSerialize["rawTransaction"] = o.RawTransaction + } + if !IsNil(o.From) { + toSerialize["from"] = o.From + } + if !IsNil(o.To) { + toSerialize["to"] = o.To + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BesuTransactionConfig) UnmarshalJSON(bytes []byte) (err error) { + varBesuTransactionConfig := _BesuTransactionConfig{} + + if err = json.Unmarshal(bytes, &varBesuTransactionConfig); err == nil { + *o = BesuTransactionConfig(varBesuTransactionConfig) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "rawTransaction") + delete(additionalProperties, "from") + delete(additionalProperties, "to") + delete(additionalProperties, "value") + delete(additionalProperties, "gas") + delete(additionalProperties, "gasPrice") + delete(additionalProperties, "nonce") + delete(additionalProperties, "data") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBesuTransactionConfig struct { + value *BesuTransactionConfig + isSet bool +} + +func (v NullableBesuTransactionConfig) Get() *BesuTransactionConfig { + return v.value +} + +func (v *NullableBesuTransactionConfig) Set(val *BesuTransactionConfig) { + v.value = val + v.isSet = true +} + +func (v NullableBesuTransactionConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableBesuTransactionConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBesuTransactionConfig(val *BesuTransactionConfig) *NullableBesuTransactionConfig { + return &NullableBesuTransactionConfig{value: val, isSet: true} +} + +func (v NullableBesuTransactionConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBesuTransactionConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_besu_transaction_config_to.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_besu_transaction_config_to.go new file mode 100644 index 00000000000..0cd08280d1e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_besu_transaction_config_to.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" + "fmt" +) + +// BesuTransactionConfigTo - struct for BesuTransactionConfigTo +type BesuTransactionConfigTo struct { + String *string +} + +// stringAsBesuTransactionConfigTo is a convenience function that returns string wrapped in BesuTransactionConfigTo +func StringAsBesuTransactionConfigTo(v *string) BesuTransactionConfigTo { + return BesuTransactionConfigTo{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *BesuTransactionConfigTo) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(BesuTransactionConfigTo)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(BesuTransactionConfigTo)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src BesuTransactionConfigTo) MarshalJSON() ([]byte, error) { + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *BesuTransactionConfigTo) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableBesuTransactionConfigTo struct { + value *BesuTransactionConfigTo + isSet bool +} + +func (v NullableBesuTransactionConfigTo) Get() *BesuTransactionConfigTo { + return v.value +} + +func (v *NullableBesuTransactionConfigTo) Set(val *BesuTransactionConfigTo) { + v.value = val + v.isSet = true +} + +func (v NullableBesuTransactionConfigTo) IsSet() bool { + return v.isSet +} + +func (v *NullableBesuTransactionConfigTo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBesuTransactionConfigTo(val *BesuTransactionConfigTo) *NullableBesuTransactionConfigTo { + return &NullableBesuTransactionConfigTo{value: val, isSet: true} +} + +func (v NullableBesuTransactionConfigTo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBesuTransactionConfigTo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_consistency_strategy.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_consistency_strategy.go new file mode 100644 index 00000000000..942cd8711eb --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_consistency_strategy.go @@ -0,0 +1,182 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the ConsistencyStrategy type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ConsistencyStrategy{} + +// ConsistencyStrategy struct for ConsistencyStrategy +type ConsistencyStrategy struct { + ReceiptType ReceiptType `json:"receiptType"` + // The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrance is a broader topic not in scope to discuss here, but it is important to mention it. + TimeoutMs *int32 `json:"timeoutMs,omitempty"` + // The number of blocks to wait to be confirmed in addition to the block containing the transaction in question. Note that if the receipt type is set to only wait for node transaction pool ACK and this parameter is set to anything, but zero then the API will not accept the request due to conflicting parameters. + BlockConfirmations int32 `json:"blockConfirmations"` +} + +// NewConsistencyStrategy instantiates a new ConsistencyStrategy object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewConsistencyStrategy(receiptType ReceiptType, blockConfirmations int32) *ConsistencyStrategy { + this := ConsistencyStrategy{} + this.ReceiptType = receiptType + this.BlockConfirmations = blockConfirmations + return &this +} + +// NewConsistencyStrategyWithDefaults instantiates a new ConsistencyStrategy object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewConsistencyStrategyWithDefaults() *ConsistencyStrategy { + this := ConsistencyStrategy{} + return &this +} + +// GetReceiptType returns the ReceiptType field value +func (o *ConsistencyStrategy) GetReceiptType() ReceiptType { + if o == nil { + var ret ReceiptType + return ret + } + + return o.ReceiptType +} + +// GetReceiptTypeOk returns a tuple with the ReceiptType field value +// and a boolean to check if the value has been set. +func (o *ConsistencyStrategy) GetReceiptTypeOk() (*ReceiptType, bool) { + if o == nil { + return nil, false + } + return &o.ReceiptType, true +} + +// SetReceiptType sets field value +func (o *ConsistencyStrategy) SetReceiptType(v ReceiptType) { + o.ReceiptType = v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *ConsistencyStrategy) GetTimeoutMs() int32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret int32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConsistencyStrategy) GetTimeoutMsOk() (*int32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *ConsistencyStrategy) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given int32 and assigns it to the TimeoutMs field. +func (o *ConsistencyStrategy) SetTimeoutMs(v int32) { + o.TimeoutMs = &v +} + +// GetBlockConfirmations returns the BlockConfirmations field value +func (o *ConsistencyStrategy) GetBlockConfirmations() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.BlockConfirmations +} + +// GetBlockConfirmationsOk returns a tuple with the BlockConfirmations field value +// and a boolean to check if the value has been set. +func (o *ConsistencyStrategy) GetBlockConfirmationsOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.BlockConfirmations, true +} + +// SetBlockConfirmations sets field value +func (o *ConsistencyStrategy) SetBlockConfirmations(v int32) { + o.BlockConfirmations = v +} + +func (o ConsistencyStrategy) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ConsistencyStrategy) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["receiptType"] = o.ReceiptType + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + toSerialize["blockConfirmations"] = o.BlockConfirmations + return toSerialize, nil +} + +type NullableConsistencyStrategy struct { + value *ConsistencyStrategy + isSet bool +} + +func (v NullableConsistencyStrategy) Get() *ConsistencyStrategy { + return v.value +} + +func (v *NullableConsistencyStrategy) Set(val *ConsistencyStrategy) { + v.value = val + v.isSet = true +} + +func (v NullableConsistencyStrategy) IsSet() bool { + return v.isSet +} + +func (v *NullableConsistencyStrategy) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConsistencyStrategy(val *ConsistencyStrategy) *NullableConsistencyStrategy { + return &NullableConsistencyStrategy{value: val, isSet: true} +} + +func (v NullableConsistencyStrategy) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConsistencyStrategy) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_request.go new file mode 100644 index 00000000000..b3c214824e0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_request.go @@ -0,0 +1,405 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the DeployContractSolidityBytecodeV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractSolidityBytecodeV1Request{} + +// DeployContractSolidityBytecodeV1Request struct for DeployContractSolidityBytecodeV1Request +type DeployContractSolidityBytecodeV1Request struct { + // The contract name for retrieve the contracts json on the keychain. + ContractName string `json:"contractName"` + // The application binary interface of the solidity contract + ContractAbi []interface{} `json:"contractAbi"` + ConstructorArgs []interface{} `json:"constructorArgs"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // See https://ethereum.stackexchange.com/a/47556 regarding the maximum length of the bytecode + Bytecode string `json:"bytecode"` + // The keychainId for retrieve the contracts json. + KeychainId string `json:"keychainId"` + Gas *float32 `json:"gas,omitempty"` + GasPrice *string `json:"gasPrice,omitempty"` + // The amount of milliseconds to wait for a transaction receipt with theaddress of the contract(which indicates successful deployment) beforegiving up and crashing. + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + PrivateTransactionConfig *BesuPrivateTransactionConfig `json:"privateTransactionConfig,omitempty"` +} + +// NewDeployContractSolidityBytecodeV1Request instantiates a new DeployContractSolidityBytecodeV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractSolidityBytecodeV1Request(contractName string, contractAbi []interface{}, constructorArgs []interface{}, web3SigningCredential Web3SigningCredential, bytecode string, keychainId string) *DeployContractSolidityBytecodeV1Request { + this := DeployContractSolidityBytecodeV1Request{} + this.ContractName = contractName + this.ContractAbi = contractAbi + this.ConstructorArgs = constructorArgs + this.Web3SigningCredential = web3SigningCredential + this.Bytecode = bytecode + this.KeychainId = keychainId + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// NewDeployContractSolidityBytecodeV1RequestWithDefaults instantiates a new DeployContractSolidityBytecodeV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractSolidityBytecodeV1RequestWithDefaults() *DeployContractSolidityBytecodeV1Request { + this := DeployContractSolidityBytecodeV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetContractName returns the ContractName field value +func (o *DeployContractSolidityBytecodeV1Request) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *DeployContractSolidityBytecodeV1Request) SetContractName(v string) { + o.ContractName = v +} + +// GetContractAbi returns the ContractAbi field value +func (o *DeployContractSolidityBytecodeV1Request) GetContractAbi() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.ContractAbi +} + +// GetContractAbiOk returns a tuple with the ContractAbi field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetContractAbiOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.ContractAbi, true +} + +// SetContractAbi sets field value +func (o *DeployContractSolidityBytecodeV1Request) SetContractAbi(v []interface{}) { + o.ContractAbi = v +} + +// GetConstructorArgs returns the ConstructorArgs field value +func (o *DeployContractSolidityBytecodeV1Request) GetConstructorArgs() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.ConstructorArgs, true +} + +// SetConstructorArgs sets field value +func (o *DeployContractSolidityBytecodeV1Request) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *DeployContractSolidityBytecodeV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *DeployContractSolidityBytecodeV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetBytecode returns the Bytecode field value +func (o *DeployContractSolidityBytecodeV1Request) GetBytecode() string { + if o == nil { + var ret string + return ret + } + + return o.Bytecode +} + +// GetBytecodeOk returns a tuple with the Bytecode field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetBytecodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Bytecode, true +} + +// SetBytecode sets field value +func (o *DeployContractSolidityBytecodeV1Request) SetBytecode(v string) { + o.Bytecode = v +} + +// GetKeychainId returns the KeychainId field value +func (o *DeployContractSolidityBytecodeV1Request) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *DeployContractSolidityBytecodeV1Request) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *DeployContractSolidityBytecodeV1Request) SetGas(v float32) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetGasPrice() string { + if o == nil || IsNil(o.GasPrice) { + var ret string + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetGasPriceOk() (*string, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given string and assigns it to the GasPrice field. +func (o *DeployContractSolidityBytecodeV1Request) SetGasPrice(v string) { + o.GasPrice = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *DeployContractSolidityBytecodeV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetPrivateTransactionConfig returns the PrivateTransactionConfig field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetPrivateTransactionConfig() BesuPrivateTransactionConfig { + if o == nil || IsNil(o.PrivateTransactionConfig) { + var ret BesuPrivateTransactionConfig + return ret + } + return *o.PrivateTransactionConfig +} + +// GetPrivateTransactionConfigOk returns a tuple with the PrivateTransactionConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetPrivateTransactionConfigOk() (*BesuPrivateTransactionConfig, bool) { + if o == nil || IsNil(o.PrivateTransactionConfig) { + return nil, false + } + return o.PrivateTransactionConfig, true +} + +// HasPrivateTransactionConfig returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasPrivateTransactionConfig() bool { + if o != nil && !IsNil(o.PrivateTransactionConfig) { + return true + } + + return false +} + +// SetPrivateTransactionConfig gets a reference to the given BesuPrivateTransactionConfig and assigns it to the PrivateTransactionConfig field. +func (o *DeployContractSolidityBytecodeV1Request) SetPrivateTransactionConfig(v BesuPrivateTransactionConfig) { + o.PrivateTransactionConfig = &v +} + +func (o DeployContractSolidityBytecodeV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractSolidityBytecodeV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + toSerialize["contractAbi"] = o.ContractAbi + toSerialize["constructorArgs"] = o.ConstructorArgs + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["bytecode"] = o.Bytecode + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + if !IsNil(o.PrivateTransactionConfig) { + toSerialize["privateTransactionConfig"] = o.PrivateTransactionConfig + } + return toSerialize, nil +} + +type NullableDeployContractSolidityBytecodeV1Request struct { + value *DeployContractSolidityBytecodeV1Request + isSet bool +} + +func (v NullableDeployContractSolidityBytecodeV1Request) Get() *DeployContractSolidityBytecodeV1Request { + return v.value +} + +func (v *NullableDeployContractSolidityBytecodeV1Request) Set(val *DeployContractSolidityBytecodeV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractSolidityBytecodeV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractSolidityBytecodeV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractSolidityBytecodeV1Request(val *DeployContractSolidityBytecodeV1Request) *NullableDeployContractSolidityBytecodeV1Request { + return &NullableDeployContractSolidityBytecodeV1Request{value: val, isSet: true} +} + +func (v NullableDeployContractSolidityBytecodeV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractSolidityBytecodeV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_response.go new file mode 100644 index 00000000000..f63c352fc77 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the DeployContractSolidityBytecodeV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractSolidityBytecodeV1Response{} + +// DeployContractSolidityBytecodeV1Response struct for DeployContractSolidityBytecodeV1Response +type DeployContractSolidityBytecodeV1Response struct { + TransactionReceipt Web3TransactionReceipt `json:"transactionReceipt"` +} + +// NewDeployContractSolidityBytecodeV1Response instantiates a new DeployContractSolidityBytecodeV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractSolidityBytecodeV1Response(transactionReceipt Web3TransactionReceipt) *DeployContractSolidityBytecodeV1Response { + this := DeployContractSolidityBytecodeV1Response{} + this.TransactionReceipt = transactionReceipt + return &this +} + +// NewDeployContractSolidityBytecodeV1ResponseWithDefaults instantiates a new DeployContractSolidityBytecodeV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractSolidityBytecodeV1ResponseWithDefaults() *DeployContractSolidityBytecodeV1Response { + this := DeployContractSolidityBytecodeV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value +func (o *DeployContractSolidityBytecodeV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil { + var ret Web3TransactionReceipt + return ret + } + + return o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil { + return nil, false + } + return &o.TransactionReceipt, true +} + +// SetTransactionReceipt sets field value +func (o *DeployContractSolidityBytecodeV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = v +} + +func (o DeployContractSolidityBytecodeV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractSolidityBytecodeV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionReceipt"] = o.TransactionReceipt + return toSerialize, nil +} + +type NullableDeployContractSolidityBytecodeV1Response struct { + value *DeployContractSolidityBytecodeV1Response + isSet bool +} + +func (v NullableDeployContractSolidityBytecodeV1Response) Get() *DeployContractSolidityBytecodeV1Response { + return v.value +} + +func (v *NullableDeployContractSolidityBytecodeV1Response) Set(val *DeployContractSolidityBytecodeV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractSolidityBytecodeV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractSolidityBytecodeV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractSolidityBytecodeV1Response(val *DeployContractSolidityBytecodeV1Response) *NullableDeployContractSolidityBytecodeV1Response { + return &NullableDeployContractSolidityBytecodeV1Response{value: val, isSet: true} +} + +func (v NullableDeployContractSolidityBytecodeV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractSolidityBytecodeV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go new file mode 100644 index 00000000000..7185a28ac59 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" + "fmt" +) + +// EthContractInvocationType the model 'EthContractInvocationType' +type EthContractInvocationType string + +// List of EthContractInvocationType +const ( + SEND EthContractInvocationType = "SEND" + CALL EthContractInvocationType = "CALL" +) + +// All allowed values of EthContractInvocationType enum +var AllowedEthContractInvocationTypeEnumValues = []EthContractInvocationType{ + "SEND", + "CALL", +} + +func (v *EthContractInvocationType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := EthContractInvocationType(value) + for _, existing := range AllowedEthContractInvocationTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid EthContractInvocationType", value) +} + +// NewEthContractInvocationTypeFromValue returns a pointer to a valid EthContractInvocationType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEthContractInvocationTypeFromValue(v string) (*EthContractInvocationType, error) { + ev := EthContractInvocationType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for EthContractInvocationType: valid values are %v", v, AllowedEthContractInvocationTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v EthContractInvocationType) IsValid() bool { + for _, existing := range AllowedEthContractInvocationTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to EthContractInvocationType value +func (v EthContractInvocationType) Ptr() *EthContractInvocationType { + return &v +} + +type NullableEthContractInvocationType struct { + value *EthContractInvocationType + isSet bool +} + +func (v NullableEthContractInvocationType) Get() *EthContractInvocationType { + return v.value +} + +func (v *NullableEthContractInvocationType) Set(val *EthContractInvocationType) { + v.value = val + v.isSet = true +} + +func (v NullableEthContractInvocationType) IsSet() bool { + return v.isSet +} + +func (v *NullableEthContractInvocationType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEthContractInvocationType(val *EthContractInvocationType) *NullableEthContractInvocationType { + return &NullableEthContractInvocationType{value: val, isSet: true} +} + +func (v NullableEthContractInvocationType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEthContractInvocationType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_evm_block.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_evm_block.go new file mode 100644 index 00000000000..dcffe7a48b6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_evm_block.go @@ -0,0 +1,739 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the EvmBlock type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &EvmBlock{} + +// EvmBlock struct for EvmBlock +type EvmBlock struct { + Number *float32 `json:"number,omitempty"` + Hash *string `json:"hash,omitempty"` + ParentHash *string `json:"parentHash,omitempty"` + Nonce *string `json:"nonce,omitempty"` + Sha3Uncles *string `json:"sha3Uncles,omitempty"` + LogsBloom *string `json:"logsBloom,omitempty"` + TransactionsRoot *string `json:"transactionsRoot,omitempty"` + StateRoot *string `json:"stateRoot,omitempty"` + Miner *string `json:"miner,omitempty"` + Difficulty *float32 `json:"difficulty,omitempty"` + TotalDifficulty *float32 `json:"totalDifficulty,omitempty"` + ExtraData *string `json:"extraData,omitempty"` + Size *float32 `json:"size,omitempty"` + GasLimit *float32 `json:"gasLimit,omitempty"` + GasUsed *float32 `json:"gasUsed,omitempty"` + Timestamp interface{} `json:"timestamp,omitempty"` + Transactions []interface{} `json:"transactions,omitempty"` + Uncles []interface{} `json:"uncles,omitempty"` +} + +// NewEvmBlock instantiates a new EvmBlock object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEvmBlock() *EvmBlock { + this := EvmBlock{} + return &this +} + +// NewEvmBlockWithDefaults instantiates a new EvmBlock object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEvmBlockWithDefaults() *EvmBlock { + this := EvmBlock{} + return &this +} + +// GetNumber returns the Number field value if set, zero value otherwise. +func (o *EvmBlock) GetNumber() float32 { + if o == nil || IsNil(o.Number) { + var ret float32 + return ret + } + return *o.Number +} + +// GetNumberOk returns a tuple with the Number field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetNumberOk() (*float32, bool) { + if o == nil || IsNil(o.Number) { + return nil, false + } + return o.Number, true +} + +// HasNumber returns a boolean if a field has been set. +func (o *EvmBlock) HasNumber() bool { + if o != nil && !IsNil(o.Number) { + return true + } + + return false +} + +// SetNumber gets a reference to the given float32 and assigns it to the Number field. +func (o *EvmBlock) SetNumber(v float32) { + o.Number = &v +} + +// GetHash returns the Hash field value if set, zero value otherwise. +func (o *EvmBlock) GetHash() string { + if o == nil || IsNil(o.Hash) { + var ret string + return ret + } + return *o.Hash +} + +// GetHashOk returns a tuple with the Hash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetHashOk() (*string, bool) { + if o == nil || IsNil(o.Hash) { + return nil, false + } + return o.Hash, true +} + +// HasHash returns a boolean if a field has been set. +func (o *EvmBlock) HasHash() bool { + if o != nil && !IsNil(o.Hash) { + return true + } + + return false +} + +// SetHash gets a reference to the given string and assigns it to the Hash field. +func (o *EvmBlock) SetHash(v string) { + o.Hash = &v +} + +// GetParentHash returns the ParentHash field value if set, zero value otherwise. +func (o *EvmBlock) GetParentHash() string { + if o == nil || IsNil(o.ParentHash) { + var ret string + return ret + } + return *o.ParentHash +} + +// GetParentHashOk returns a tuple with the ParentHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetParentHashOk() (*string, bool) { + if o == nil || IsNil(o.ParentHash) { + return nil, false + } + return o.ParentHash, true +} + +// HasParentHash returns a boolean if a field has been set. +func (o *EvmBlock) HasParentHash() bool { + if o != nil && !IsNil(o.ParentHash) { + return true + } + + return false +} + +// SetParentHash gets a reference to the given string and assigns it to the ParentHash field. +func (o *EvmBlock) SetParentHash(v string) { + o.ParentHash = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *EvmBlock) GetNonce() string { + if o == nil || IsNil(o.Nonce) { + var ret string + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetNonceOk() (*string, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *EvmBlock) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given string and assigns it to the Nonce field. +func (o *EvmBlock) SetNonce(v string) { + o.Nonce = &v +} + +// GetSha3Uncles returns the Sha3Uncles field value if set, zero value otherwise. +func (o *EvmBlock) GetSha3Uncles() string { + if o == nil || IsNil(o.Sha3Uncles) { + var ret string + return ret + } + return *o.Sha3Uncles +} + +// GetSha3UnclesOk returns a tuple with the Sha3Uncles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetSha3UnclesOk() (*string, bool) { + if o == nil || IsNil(o.Sha3Uncles) { + return nil, false + } + return o.Sha3Uncles, true +} + +// HasSha3Uncles returns a boolean if a field has been set. +func (o *EvmBlock) HasSha3Uncles() bool { + if o != nil && !IsNil(o.Sha3Uncles) { + return true + } + + return false +} + +// SetSha3Uncles gets a reference to the given string and assigns it to the Sha3Uncles field. +func (o *EvmBlock) SetSha3Uncles(v string) { + o.Sha3Uncles = &v +} + +// GetLogsBloom returns the LogsBloom field value if set, zero value otherwise. +func (o *EvmBlock) GetLogsBloom() string { + if o == nil || IsNil(o.LogsBloom) { + var ret string + return ret + } + return *o.LogsBloom +} + +// GetLogsBloomOk returns a tuple with the LogsBloom field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetLogsBloomOk() (*string, bool) { + if o == nil || IsNil(o.LogsBloom) { + return nil, false + } + return o.LogsBloom, true +} + +// HasLogsBloom returns a boolean if a field has been set. +func (o *EvmBlock) HasLogsBloom() bool { + if o != nil && !IsNil(o.LogsBloom) { + return true + } + + return false +} + +// SetLogsBloom gets a reference to the given string and assigns it to the LogsBloom field. +func (o *EvmBlock) SetLogsBloom(v string) { + o.LogsBloom = &v +} + +// GetTransactionsRoot returns the TransactionsRoot field value if set, zero value otherwise. +func (o *EvmBlock) GetTransactionsRoot() string { + if o == nil || IsNil(o.TransactionsRoot) { + var ret string + return ret + } + return *o.TransactionsRoot +} + +// GetTransactionsRootOk returns a tuple with the TransactionsRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetTransactionsRootOk() (*string, bool) { + if o == nil || IsNil(o.TransactionsRoot) { + return nil, false + } + return o.TransactionsRoot, true +} + +// HasTransactionsRoot returns a boolean if a field has been set. +func (o *EvmBlock) HasTransactionsRoot() bool { + if o != nil && !IsNil(o.TransactionsRoot) { + return true + } + + return false +} + +// SetTransactionsRoot gets a reference to the given string and assigns it to the TransactionsRoot field. +func (o *EvmBlock) SetTransactionsRoot(v string) { + o.TransactionsRoot = &v +} + +// GetStateRoot returns the StateRoot field value if set, zero value otherwise. +func (o *EvmBlock) GetStateRoot() string { + if o == nil || IsNil(o.StateRoot) { + var ret string + return ret + } + return *o.StateRoot +} + +// GetStateRootOk returns a tuple with the StateRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetStateRootOk() (*string, bool) { + if o == nil || IsNil(o.StateRoot) { + return nil, false + } + return o.StateRoot, true +} + +// HasStateRoot returns a boolean if a field has been set. +func (o *EvmBlock) HasStateRoot() bool { + if o != nil && !IsNil(o.StateRoot) { + return true + } + + return false +} + +// SetStateRoot gets a reference to the given string and assigns it to the StateRoot field. +func (o *EvmBlock) SetStateRoot(v string) { + o.StateRoot = &v +} + +// GetMiner returns the Miner field value if set, zero value otherwise. +func (o *EvmBlock) GetMiner() string { + if o == nil || IsNil(o.Miner) { + var ret string + return ret + } + return *o.Miner +} + +// GetMinerOk returns a tuple with the Miner field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetMinerOk() (*string, bool) { + if o == nil || IsNil(o.Miner) { + return nil, false + } + return o.Miner, true +} + +// HasMiner returns a boolean if a field has been set. +func (o *EvmBlock) HasMiner() bool { + if o != nil && !IsNil(o.Miner) { + return true + } + + return false +} + +// SetMiner gets a reference to the given string and assigns it to the Miner field. +func (o *EvmBlock) SetMiner(v string) { + o.Miner = &v +} + +// GetDifficulty returns the Difficulty field value if set, zero value otherwise. +func (o *EvmBlock) GetDifficulty() float32 { + if o == nil || IsNil(o.Difficulty) { + var ret float32 + return ret + } + return *o.Difficulty +} + +// GetDifficultyOk returns a tuple with the Difficulty field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetDifficultyOk() (*float32, bool) { + if o == nil || IsNil(o.Difficulty) { + return nil, false + } + return o.Difficulty, true +} + +// HasDifficulty returns a boolean if a field has been set. +func (o *EvmBlock) HasDifficulty() bool { + if o != nil && !IsNil(o.Difficulty) { + return true + } + + return false +} + +// SetDifficulty gets a reference to the given float32 and assigns it to the Difficulty field. +func (o *EvmBlock) SetDifficulty(v float32) { + o.Difficulty = &v +} + +// GetTotalDifficulty returns the TotalDifficulty field value if set, zero value otherwise. +func (o *EvmBlock) GetTotalDifficulty() float32 { + if o == nil || IsNil(o.TotalDifficulty) { + var ret float32 + return ret + } + return *o.TotalDifficulty +} + +// GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetTotalDifficultyOk() (*float32, bool) { + if o == nil || IsNil(o.TotalDifficulty) { + return nil, false + } + return o.TotalDifficulty, true +} + +// HasTotalDifficulty returns a boolean if a field has been set. +func (o *EvmBlock) HasTotalDifficulty() bool { + if o != nil && !IsNil(o.TotalDifficulty) { + return true + } + + return false +} + +// SetTotalDifficulty gets a reference to the given float32 and assigns it to the TotalDifficulty field. +func (o *EvmBlock) SetTotalDifficulty(v float32) { + o.TotalDifficulty = &v +} + +// GetExtraData returns the ExtraData field value if set, zero value otherwise. +func (o *EvmBlock) GetExtraData() string { + if o == nil || IsNil(o.ExtraData) { + var ret string + return ret + } + return *o.ExtraData +} + +// GetExtraDataOk returns a tuple with the ExtraData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetExtraDataOk() (*string, bool) { + if o == nil || IsNil(o.ExtraData) { + return nil, false + } + return o.ExtraData, true +} + +// HasExtraData returns a boolean if a field has been set. +func (o *EvmBlock) HasExtraData() bool { + if o != nil && !IsNil(o.ExtraData) { + return true + } + + return false +} + +// SetExtraData gets a reference to the given string and assigns it to the ExtraData field. +func (o *EvmBlock) SetExtraData(v string) { + o.ExtraData = &v +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *EvmBlock) GetSize() float32 { + if o == nil || IsNil(o.Size) { + var ret float32 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetSizeOk() (*float32, bool) { + if o == nil || IsNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *EvmBlock) HasSize() bool { + if o != nil && !IsNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given float32 and assigns it to the Size field. +func (o *EvmBlock) SetSize(v float32) { + o.Size = &v +} + +// GetGasLimit returns the GasLimit field value if set, zero value otherwise. +func (o *EvmBlock) GetGasLimit() float32 { + if o == nil || IsNil(o.GasLimit) { + var ret float32 + return ret + } + return *o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetGasLimitOk() (*float32, bool) { + if o == nil || IsNil(o.GasLimit) { + return nil, false + } + return o.GasLimit, true +} + +// HasGasLimit returns a boolean if a field has been set. +func (o *EvmBlock) HasGasLimit() bool { + if o != nil && !IsNil(o.GasLimit) { + return true + } + + return false +} + +// SetGasLimit gets a reference to the given float32 and assigns it to the GasLimit field. +func (o *EvmBlock) SetGasLimit(v float32) { + o.GasLimit = &v +} + +// GetGasUsed returns the GasUsed field value if set, zero value otherwise. +func (o *EvmBlock) GetGasUsed() float32 { + if o == nil || IsNil(o.GasUsed) { + var ret float32 + return ret + } + return *o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetGasUsedOk() (*float32, bool) { + if o == nil || IsNil(o.GasUsed) { + return nil, false + } + return o.GasUsed, true +} + +// HasGasUsed returns a boolean if a field has been set. +func (o *EvmBlock) HasGasUsed() bool { + if o != nil && !IsNil(o.GasUsed) { + return true + } + + return false +} + +// SetGasUsed gets a reference to the given float32 and assigns it to the GasUsed field. +func (o *EvmBlock) SetGasUsed(v float32) { + o.GasUsed = &v +} + +// GetTimestamp returns the Timestamp field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *EvmBlock) GetTimestamp() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *EvmBlock) GetTimestampOk() (*interface{}, bool) { + if o == nil || IsNil(o.Timestamp) { + return nil, false + } + return &o.Timestamp, true +} + +// HasTimestamp returns a boolean if a field has been set. +func (o *EvmBlock) HasTimestamp() bool { + if o != nil && IsNil(o.Timestamp) { + return true + } + + return false +} + +// SetTimestamp gets a reference to the given interface{} and assigns it to the Timestamp field. +func (o *EvmBlock) SetTimestamp(v interface{}) { + o.Timestamp = v +} + +// GetTransactions returns the Transactions field value if set, zero value otherwise. +func (o *EvmBlock) GetTransactions() []interface{} { + if o == nil || IsNil(o.Transactions) { + var ret []interface{} + return ret + } + return o.Transactions +} + +// GetTransactionsOk returns a tuple with the Transactions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetTransactionsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Transactions) { + return nil, false + } + return o.Transactions, true +} + +// HasTransactions returns a boolean if a field has been set. +func (o *EvmBlock) HasTransactions() bool { + if o != nil && !IsNil(o.Transactions) { + return true + } + + return false +} + +// SetTransactions gets a reference to the given []interface{} and assigns it to the Transactions field. +func (o *EvmBlock) SetTransactions(v []interface{}) { + o.Transactions = v +} + +// GetUncles returns the Uncles field value if set, zero value otherwise. +func (o *EvmBlock) GetUncles() []interface{} { + if o == nil || IsNil(o.Uncles) { + var ret []interface{} + return ret + } + return o.Uncles +} + +// GetUnclesOk returns a tuple with the Uncles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmBlock) GetUnclesOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Uncles) { + return nil, false + } + return o.Uncles, true +} + +// HasUncles returns a boolean if a field has been set. +func (o *EvmBlock) HasUncles() bool { + if o != nil && !IsNil(o.Uncles) { + return true + } + + return false +} + +// SetUncles gets a reference to the given []interface{} and assigns it to the Uncles field. +func (o *EvmBlock) SetUncles(v []interface{}) { + o.Uncles = v +} + +func (o EvmBlock) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o EvmBlock) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Number) { + toSerialize["number"] = o.Number + } + if !IsNil(o.Hash) { + toSerialize["hash"] = o.Hash + } + if !IsNil(o.ParentHash) { + toSerialize["parentHash"] = o.ParentHash + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.Sha3Uncles) { + toSerialize["sha3Uncles"] = o.Sha3Uncles + } + if !IsNil(o.LogsBloom) { + toSerialize["logsBloom"] = o.LogsBloom + } + if !IsNil(o.TransactionsRoot) { + toSerialize["transactionsRoot"] = o.TransactionsRoot + } + if !IsNil(o.StateRoot) { + toSerialize["stateRoot"] = o.StateRoot + } + if !IsNil(o.Miner) { + toSerialize["miner"] = o.Miner + } + if !IsNil(o.Difficulty) { + toSerialize["difficulty"] = o.Difficulty + } + if !IsNil(o.TotalDifficulty) { + toSerialize["totalDifficulty"] = o.TotalDifficulty + } + if !IsNil(o.ExtraData) { + toSerialize["extraData"] = o.ExtraData + } + if !IsNil(o.Size) { + toSerialize["size"] = o.Size + } + if !IsNil(o.GasLimit) { + toSerialize["gasLimit"] = o.GasLimit + } + if !IsNil(o.GasUsed) { + toSerialize["gasUsed"] = o.GasUsed + } + if o.Timestamp != nil { + toSerialize["timestamp"] = o.Timestamp + } + if !IsNil(o.Transactions) { + toSerialize["transactions"] = o.Transactions + } + if !IsNil(o.Uncles) { + toSerialize["uncles"] = o.Uncles + } + return toSerialize, nil +} + +type NullableEvmBlock struct { + value *EvmBlock + isSet bool +} + +func (v NullableEvmBlock) Get() *EvmBlock { + return v.value +} + +func (v *NullableEvmBlock) Set(val *EvmBlock) { + v.value = val + v.isSet = true +} + +func (v NullableEvmBlock) IsSet() bool { + return v.isSet +} + +func (v *NullableEvmBlock) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEvmBlock(val *EvmBlock) *NullableEvmBlock { + return &NullableEvmBlock{value: val, isSet: true} +} + +func (v NullableEvmBlock) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEvmBlock) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_evm_log.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_evm_log.go new file mode 100644 index 00000000000..2e5b6079483 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_evm_log.go @@ -0,0 +1,306 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the EvmLog type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &EvmLog{} + +// EvmLog struct for EvmLog +type EvmLog struct { + Address string `json:"address"` + Data string `json:"data"` + BlockHash string `json:"blockHash"` + TransactionHash string `json:"transactionHash"` + Topics []string `json:"topics"` + LogIndex float32 `json:"logIndex"` + TransactionIndex float32 `json:"transactionIndex"` + BlockNumber float32 `json:"blockNumber"` +} + +// NewEvmLog instantiates a new EvmLog object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEvmLog(address string, data string, blockHash string, transactionHash string, topics []string, logIndex float32, transactionIndex float32, blockNumber float32) *EvmLog { + this := EvmLog{} + this.Address = address + this.Data = data + this.BlockHash = blockHash + this.TransactionHash = transactionHash + this.Topics = topics + this.LogIndex = logIndex + this.TransactionIndex = transactionIndex + this.BlockNumber = blockNumber + return &this +} + +// NewEvmLogWithDefaults instantiates a new EvmLog object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEvmLogWithDefaults() *EvmLog { + this := EvmLog{} + return &this +} + +// GetAddress returns the Address field value +func (o *EvmLog) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *EvmLog) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *EvmLog) SetAddress(v string) { + o.Address = v +} + +// GetData returns the Data field value +func (o *EvmLog) GetData() string { + if o == nil { + var ret string + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *EvmLog) GetDataOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *EvmLog) SetData(v string) { + o.Data = v +} + +// GetBlockHash returns the BlockHash field value +func (o *EvmLog) GetBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +func (o *EvmLog) GetBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockHash, true +} + +// SetBlockHash sets field value +func (o *EvmLog) SetBlockHash(v string) { + o.BlockHash = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *EvmLog) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *EvmLog) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *EvmLog) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTopics returns the Topics field value +func (o *EvmLog) GetTopics() []string { + if o == nil { + var ret []string + return ret + } + + return o.Topics +} + +// GetTopicsOk returns a tuple with the Topics field value +// and a boolean to check if the value has been set. +func (o *EvmLog) GetTopicsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Topics, true +} + +// SetTopics sets field value +func (o *EvmLog) SetTopics(v []string) { + o.Topics = v +} + +// GetLogIndex returns the LogIndex field value +func (o *EvmLog) GetLogIndex() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.LogIndex +} + +// GetLogIndexOk returns a tuple with the LogIndex field value +// and a boolean to check if the value has been set. +func (o *EvmLog) GetLogIndexOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.LogIndex, true +} + +// SetLogIndex sets field value +func (o *EvmLog) SetLogIndex(v float32) { + o.LogIndex = v +} + +// GetTransactionIndex returns the TransactionIndex field value +func (o *EvmLog) GetTransactionIndex() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.TransactionIndex +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value +// and a boolean to check if the value has been set. +func (o *EvmLog) GetTransactionIndexOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.TransactionIndex, true +} + +// SetTransactionIndex sets field value +func (o *EvmLog) SetTransactionIndex(v float32) { + o.TransactionIndex = v +} + +// GetBlockNumber returns the BlockNumber field value +func (o *EvmLog) GetBlockNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value +// and a boolean to check if the value has been set. +func (o *EvmLog) GetBlockNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.BlockNumber, true +} + +// SetBlockNumber sets field value +func (o *EvmLog) SetBlockNumber(v float32) { + o.BlockNumber = v +} + +func (o EvmLog) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o EvmLog) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["address"] = o.Address + toSerialize["data"] = o.Data + toSerialize["blockHash"] = o.BlockHash + toSerialize["transactionHash"] = o.TransactionHash + toSerialize["topics"] = o.Topics + toSerialize["logIndex"] = o.LogIndex + toSerialize["transactionIndex"] = o.TransactionIndex + toSerialize["blockNumber"] = o.BlockNumber + return toSerialize, nil +} + +type NullableEvmLog struct { + value *EvmLog + isSet bool +} + +func (v NullableEvmLog) Get() *EvmLog { + return v.value +} + +func (v *NullableEvmLog) Set(val *EvmLog) { + v.value = val + v.isSet = true +} + +func (v NullableEvmLog) IsSet() bool { + return v.isSet +} + +func (v *NullableEvmLog) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEvmLog(val *EvmLog) *NullableEvmLog { + return &NullableEvmLog{value: val, isSet: true} +} + +func (v NullableEvmLog) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEvmLog) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_evm_transaction.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_evm_transaction.go new file mode 100644 index 00000000000..650abb41cb1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_evm_transaction.go @@ -0,0 +1,490 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the EvmTransaction type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &EvmTransaction{} + +// EvmTransaction struct for EvmTransaction +type EvmTransaction struct { + Hash *string `json:"hash,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + BlockHash interface{} `json:"blockHash,omitempty"` + BlockNumber interface{} `json:"blockNumber,omitempty"` + TransactionIndex interface{} `json:"transactionIndex,omitempty"` + From *string `json:"from,omitempty"` + To interface{} `json:"to,omitempty"` + Value *string `json:"value,omitempty"` + GasPrice *string `json:"gasPrice,omitempty"` + Gas *float32 `json:"gas,omitempty"` + Input *string `json:"input,omitempty"` +} + +// NewEvmTransaction instantiates a new EvmTransaction object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEvmTransaction() *EvmTransaction { + this := EvmTransaction{} + return &this +} + +// NewEvmTransactionWithDefaults instantiates a new EvmTransaction object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEvmTransactionWithDefaults() *EvmTransaction { + this := EvmTransaction{} + return &this +} + +// GetHash returns the Hash field value if set, zero value otherwise. +func (o *EvmTransaction) GetHash() string { + if o == nil || IsNil(o.Hash) { + var ret string + return ret + } + return *o.Hash +} + +// GetHashOk returns a tuple with the Hash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmTransaction) GetHashOk() (*string, bool) { + if o == nil || IsNil(o.Hash) { + return nil, false + } + return o.Hash, true +} + +// HasHash returns a boolean if a field has been set. +func (o *EvmTransaction) HasHash() bool { + if o != nil && !IsNil(o.Hash) { + return true + } + + return false +} + +// SetHash gets a reference to the given string and assigns it to the Hash field. +func (o *EvmTransaction) SetHash(v string) { + o.Hash = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *EvmTransaction) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmTransaction) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *EvmTransaction) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *EvmTransaction) SetNonce(v float32) { + o.Nonce = &v +} + +// GetBlockHash returns the BlockHash field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *EvmTransaction) GetBlockHash() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *EvmTransaction) GetBlockHashOk() (*interface{}, bool) { + if o == nil || IsNil(o.BlockHash) { + return nil, false + } + return &o.BlockHash, true +} + +// HasBlockHash returns a boolean if a field has been set. +func (o *EvmTransaction) HasBlockHash() bool { + if o != nil && IsNil(o.BlockHash) { + return true + } + + return false +} + +// SetBlockHash gets a reference to the given interface{} and assigns it to the BlockHash field. +func (o *EvmTransaction) SetBlockHash(v interface{}) { + o.BlockHash = v +} + +// GetBlockNumber returns the BlockNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *EvmTransaction) GetBlockNumber() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *EvmTransaction) GetBlockNumberOk() (*interface{}, bool) { + if o == nil || IsNil(o.BlockNumber) { + return nil, false + } + return &o.BlockNumber, true +} + +// HasBlockNumber returns a boolean if a field has been set. +func (o *EvmTransaction) HasBlockNumber() bool { + if o != nil && IsNil(o.BlockNumber) { + return true + } + + return false +} + +// SetBlockNumber gets a reference to the given interface{} and assigns it to the BlockNumber field. +func (o *EvmTransaction) SetBlockNumber(v interface{}) { + o.BlockNumber = v +} + +// GetTransactionIndex returns the TransactionIndex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *EvmTransaction) GetTransactionIndex() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.TransactionIndex +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *EvmTransaction) GetTransactionIndexOk() (*interface{}, bool) { + if o == nil || IsNil(o.TransactionIndex) { + return nil, false + } + return &o.TransactionIndex, true +} + +// HasTransactionIndex returns a boolean if a field has been set. +func (o *EvmTransaction) HasTransactionIndex() bool { + if o != nil && IsNil(o.TransactionIndex) { + return true + } + + return false +} + +// SetTransactionIndex gets a reference to the given interface{} and assigns it to the TransactionIndex field. +func (o *EvmTransaction) SetTransactionIndex(v interface{}) { + o.TransactionIndex = v +} + +// GetFrom returns the From field value if set, zero value otherwise. +func (o *EvmTransaction) GetFrom() string { + if o == nil || IsNil(o.From) { + var ret string + return ret + } + return *o.From +} + +// GetFromOk returns a tuple with the From field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmTransaction) GetFromOk() (*string, bool) { + if o == nil || IsNil(o.From) { + return nil, false + } + return o.From, true +} + +// HasFrom returns a boolean if a field has been set. +func (o *EvmTransaction) HasFrom() bool { + if o != nil && !IsNil(o.From) { + return true + } + + return false +} + +// SetFrom gets a reference to the given string and assigns it to the From field. +func (o *EvmTransaction) SetFrom(v string) { + o.From = &v +} + +// GetTo returns the To field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *EvmTransaction) GetTo() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.To +} + +// GetToOk returns a tuple with the To field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *EvmTransaction) GetToOk() (*interface{}, bool) { + if o == nil || IsNil(o.To) { + return nil, false + } + return &o.To, true +} + +// HasTo returns a boolean if a field has been set. +func (o *EvmTransaction) HasTo() bool { + if o != nil && IsNil(o.To) { + return true + } + + return false +} + +// SetTo gets a reference to the given interface{} and assigns it to the To field. +func (o *EvmTransaction) SetTo(v interface{}) { + o.To = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *EvmTransaction) GetValue() string { + if o == nil || IsNil(o.Value) { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmTransaction) GetValueOk() (*string, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *EvmTransaction) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *EvmTransaction) SetValue(v string) { + o.Value = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *EvmTransaction) GetGasPrice() string { + if o == nil || IsNil(o.GasPrice) { + var ret string + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmTransaction) GetGasPriceOk() (*string, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *EvmTransaction) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given string and assigns it to the GasPrice field. +func (o *EvmTransaction) SetGasPrice(v string) { + o.GasPrice = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *EvmTransaction) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmTransaction) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *EvmTransaction) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *EvmTransaction) SetGas(v float32) { + o.Gas = &v +} + +// GetInput returns the Input field value if set, zero value otherwise. +func (o *EvmTransaction) GetInput() string { + if o == nil || IsNil(o.Input) { + var ret string + return ret + } + return *o.Input +} + +// GetInputOk returns a tuple with the Input field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EvmTransaction) GetInputOk() (*string, bool) { + if o == nil || IsNil(o.Input) { + return nil, false + } + return o.Input, true +} + +// HasInput returns a boolean if a field has been set. +func (o *EvmTransaction) HasInput() bool { + if o != nil && !IsNil(o.Input) { + return true + } + + return false +} + +// SetInput gets a reference to the given string and assigns it to the Input field. +func (o *EvmTransaction) SetInput(v string) { + o.Input = &v +} + +func (o EvmTransaction) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o EvmTransaction) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Hash) { + toSerialize["hash"] = o.Hash + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if o.BlockHash != nil { + toSerialize["blockHash"] = o.BlockHash + } + if o.BlockNumber != nil { + toSerialize["blockNumber"] = o.BlockNumber + } + if o.TransactionIndex != nil { + toSerialize["transactionIndex"] = o.TransactionIndex + } + if !IsNil(o.From) { + toSerialize["from"] = o.From + } + if o.To != nil { + toSerialize["to"] = o.To + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.Input) { + toSerialize["input"] = o.Input + } + return toSerialize, nil +} + +type NullableEvmTransaction struct { + value *EvmTransaction + isSet bool +} + +func (v NullableEvmTransaction) Get() *EvmTransaction { + return v.value +} + +func (v *NullableEvmTransaction) Set(val *EvmTransaction) { + v.value = val + v.isSet = true +} + +func (v NullableEvmTransaction) IsSet() bool { + return v.isSet +} + +func (v *NullableEvmTransaction) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEvmTransaction(val *EvmTransaction) *NullableEvmTransaction { + return &NullableEvmTransaction{value: val, isSet: true} +} + +func (v NullableEvmTransaction) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEvmTransaction) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_balance_v1_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_balance_v1_request.go new file mode 100644 index 00000000000..dc885dbc977 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_balance_v1_request.go @@ -0,0 +1,154 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetBalanceV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBalanceV1Request{} + +// GetBalanceV1Request struct for GetBalanceV1Request +type GetBalanceV1Request struct { + Address string `json:"address"` + DefaultBlock interface{} `json:"defaultBlock,omitempty"` +} + +// NewGetBalanceV1Request instantiates a new GetBalanceV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBalanceV1Request(address string) *GetBalanceV1Request { + this := GetBalanceV1Request{} + this.Address = address + return &this +} + +// NewGetBalanceV1RequestWithDefaults instantiates a new GetBalanceV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBalanceV1RequestWithDefaults() *GetBalanceV1Request { + this := GetBalanceV1Request{} + return &this +} + +// GetAddress returns the Address field value +func (o *GetBalanceV1Request) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *GetBalanceV1Request) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *GetBalanceV1Request) SetAddress(v string) { + o.Address = v +} + +// GetDefaultBlock returns the DefaultBlock field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GetBalanceV1Request) GetDefaultBlock() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.DefaultBlock +} + +// GetDefaultBlockOk returns a tuple with the DefaultBlock field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GetBalanceV1Request) GetDefaultBlockOk() (*interface{}, bool) { + if o == nil || IsNil(o.DefaultBlock) { + return nil, false + } + return &o.DefaultBlock, true +} + +// HasDefaultBlock returns a boolean if a field has been set. +func (o *GetBalanceV1Request) HasDefaultBlock() bool { + if o != nil && IsNil(o.DefaultBlock) { + return true + } + + return false +} + +// SetDefaultBlock gets a reference to the given interface{} and assigns it to the DefaultBlock field. +func (o *GetBalanceV1Request) SetDefaultBlock(v interface{}) { + o.DefaultBlock = v +} + +func (o GetBalanceV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBalanceV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["address"] = o.Address + if o.DefaultBlock != nil { + toSerialize["defaultBlock"] = o.DefaultBlock + } + return toSerialize, nil +} + +type NullableGetBalanceV1Request struct { + value *GetBalanceV1Request + isSet bool +} + +func (v NullableGetBalanceV1Request) Get() *GetBalanceV1Request { + return v.value +} + +func (v *NullableGetBalanceV1Request) Set(val *GetBalanceV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableGetBalanceV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBalanceV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBalanceV1Request(val *GetBalanceV1Request) *NullableGetBalanceV1Request { + return &NullableGetBalanceV1Request{value: val, isSet: true} +} + +func (v NullableGetBalanceV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBalanceV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_balance_v1_response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_balance_v1_response.go new file mode 100644 index 00000000000..ac9994dff1d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_balance_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetBalanceV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBalanceV1Response{} + +// GetBalanceV1Response struct for GetBalanceV1Response +type GetBalanceV1Response struct { + Balance string `json:"balance"` +} + +// NewGetBalanceV1Response instantiates a new GetBalanceV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBalanceV1Response(balance string) *GetBalanceV1Response { + this := GetBalanceV1Response{} + this.Balance = balance + return &this +} + +// NewGetBalanceV1ResponseWithDefaults instantiates a new GetBalanceV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBalanceV1ResponseWithDefaults() *GetBalanceV1Response { + this := GetBalanceV1Response{} + return &this +} + +// GetBalance returns the Balance field value +func (o *GetBalanceV1Response) GetBalance() string { + if o == nil { + var ret string + return ret + } + + return o.Balance +} + +// GetBalanceOk returns a tuple with the Balance field value +// and a boolean to check if the value has been set. +func (o *GetBalanceV1Response) GetBalanceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Balance, true +} + +// SetBalance sets field value +func (o *GetBalanceV1Response) SetBalance(v string) { + o.Balance = v +} + +func (o GetBalanceV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBalanceV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["balance"] = o.Balance + return toSerialize, nil +} + +type NullableGetBalanceV1Response struct { + value *GetBalanceV1Response + isSet bool +} + +func (v NullableGetBalanceV1Response) Get() *GetBalanceV1Response { + return v.value +} + +func (v *NullableGetBalanceV1Response) Set(val *GetBalanceV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableGetBalanceV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBalanceV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBalanceV1Response(val *GetBalanceV1Response) *NullableGetBalanceV1Response { + return &NullableGetBalanceV1Response{value: val, isSet: true} +} + +func (v NullableGetBalanceV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBalanceV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_besu_record_v1_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_besu_record_v1_request.go new file mode 100644 index 00000000000..ce576c76df0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_besu_record_v1_request.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetBesuRecordV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBesuRecordV1Request{} + +// GetBesuRecordV1Request struct for GetBesuRecordV1Request +type GetBesuRecordV1Request struct { + InvokeCall *InvokeContractV1Request `json:"invokeCall,omitempty"` + TransactionHash *string `json:"transactionHash,omitempty"` +} + +// NewGetBesuRecordV1Request instantiates a new GetBesuRecordV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBesuRecordV1Request() *GetBesuRecordV1Request { + this := GetBesuRecordV1Request{} + return &this +} + +// NewGetBesuRecordV1RequestWithDefaults instantiates a new GetBesuRecordV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBesuRecordV1RequestWithDefaults() *GetBesuRecordV1Request { + this := GetBesuRecordV1Request{} + return &this +} + +// GetInvokeCall returns the InvokeCall field value if set, zero value otherwise. +func (o *GetBesuRecordV1Request) GetInvokeCall() InvokeContractV1Request { + if o == nil || IsNil(o.InvokeCall) { + var ret InvokeContractV1Request + return ret + } + return *o.InvokeCall +} + +// GetInvokeCallOk returns a tuple with the InvokeCall field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBesuRecordV1Request) GetInvokeCallOk() (*InvokeContractV1Request, bool) { + if o == nil || IsNil(o.InvokeCall) { + return nil, false + } + return o.InvokeCall, true +} + +// HasInvokeCall returns a boolean if a field has been set. +func (o *GetBesuRecordV1Request) HasInvokeCall() bool { + if o != nil && !IsNil(o.InvokeCall) { + return true + } + + return false +} + +// SetInvokeCall gets a reference to the given InvokeContractV1Request and assigns it to the InvokeCall field. +func (o *GetBesuRecordV1Request) SetInvokeCall(v InvokeContractV1Request) { + o.InvokeCall = &v +} + +// GetTransactionHash returns the TransactionHash field value if set, zero value otherwise. +func (o *GetBesuRecordV1Request) GetTransactionHash() string { + if o == nil || IsNil(o.TransactionHash) { + var ret string + return ret + } + return *o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBesuRecordV1Request) GetTransactionHashOk() (*string, bool) { + if o == nil || IsNil(o.TransactionHash) { + return nil, false + } + return o.TransactionHash, true +} + +// HasTransactionHash returns a boolean if a field has been set. +func (o *GetBesuRecordV1Request) HasTransactionHash() bool { + if o != nil && !IsNil(o.TransactionHash) { + return true + } + + return false +} + +// SetTransactionHash gets a reference to the given string and assigns it to the TransactionHash field. +func (o *GetBesuRecordV1Request) SetTransactionHash(v string) { + o.TransactionHash = &v +} + +func (o GetBesuRecordV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBesuRecordV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.InvokeCall) { + toSerialize["invokeCall"] = o.InvokeCall + } + if !IsNil(o.TransactionHash) { + toSerialize["transactionHash"] = o.TransactionHash + } + return toSerialize, nil +} + +type NullableGetBesuRecordV1Request struct { + value *GetBesuRecordV1Request + isSet bool +} + +func (v NullableGetBesuRecordV1Request) Get() *GetBesuRecordV1Request { + return v.value +} + +func (v *NullableGetBesuRecordV1Request) Set(val *GetBesuRecordV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableGetBesuRecordV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBesuRecordV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBesuRecordV1Request(val *GetBesuRecordV1Request) *NullableGetBesuRecordV1Request { + return &NullableGetBesuRecordV1Request{value: val, isSet: true} +} + +func (v NullableGetBesuRecordV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBesuRecordV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_besu_record_v1_response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_besu_record_v1_response.go new file mode 100644 index 00000000000..a3a65deb0c5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_besu_record_v1_response.go @@ -0,0 +1,236 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetBesuRecordV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBesuRecordV1Response{} + +// GetBesuRecordV1Response struct for GetBesuRecordV1Response +type GetBesuRecordV1Response struct { + LedgerId *string `json:"ledgerId,omitempty"` + StateContract *string `json:"stateContract,omitempty"` + TransactionInputData interface{} `json:"transactionInputData,omitempty"` + CallOutput interface{} `json:"callOutput,omitempty"` +} + +// NewGetBesuRecordV1Response instantiates a new GetBesuRecordV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBesuRecordV1Response() *GetBesuRecordV1Response { + this := GetBesuRecordV1Response{} + return &this +} + +// NewGetBesuRecordV1ResponseWithDefaults instantiates a new GetBesuRecordV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBesuRecordV1ResponseWithDefaults() *GetBesuRecordV1Response { + this := GetBesuRecordV1Response{} + return &this +} + +// GetLedgerId returns the LedgerId field value if set, zero value otherwise. +func (o *GetBesuRecordV1Response) GetLedgerId() string { + if o == nil || IsNil(o.LedgerId) { + var ret string + return ret + } + return *o.LedgerId +} + +// GetLedgerIdOk returns a tuple with the LedgerId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBesuRecordV1Response) GetLedgerIdOk() (*string, bool) { + if o == nil || IsNil(o.LedgerId) { + return nil, false + } + return o.LedgerId, true +} + +// HasLedgerId returns a boolean if a field has been set. +func (o *GetBesuRecordV1Response) HasLedgerId() bool { + if o != nil && !IsNil(o.LedgerId) { + return true + } + + return false +} + +// SetLedgerId gets a reference to the given string and assigns it to the LedgerId field. +func (o *GetBesuRecordV1Response) SetLedgerId(v string) { + o.LedgerId = &v +} + +// GetStateContract returns the StateContract field value if set, zero value otherwise. +func (o *GetBesuRecordV1Response) GetStateContract() string { + if o == nil || IsNil(o.StateContract) { + var ret string + return ret + } + return *o.StateContract +} + +// GetStateContractOk returns a tuple with the StateContract field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBesuRecordV1Response) GetStateContractOk() (*string, bool) { + if o == nil || IsNil(o.StateContract) { + return nil, false + } + return o.StateContract, true +} + +// HasStateContract returns a boolean if a field has been set. +func (o *GetBesuRecordV1Response) HasStateContract() bool { + if o != nil && !IsNil(o.StateContract) { + return true + } + + return false +} + +// SetStateContract gets a reference to the given string and assigns it to the StateContract field. +func (o *GetBesuRecordV1Response) SetStateContract(v string) { + o.StateContract = &v +} + +// GetTransactionInputData returns the TransactionInputData field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GetBesuRecordV1Response) GetTransactionInputData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.TransactionInputData +} + +// GetTransactionInputDataOk returns a tuple with the TransactionInputData field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GetBesuRecordV1Response) GetTransactionInputDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.TransactionInputData) { + return nil, false + } + return &o.TransactionInputData, true +} + +// HasTransactionInputData returns a boolean if a field has been set. +func (o *GetBesuRecordV1Response) HasTransactionInputData() bool { + if o != nil && IsNil(o.TransactionInputData) { + return true + } + + return false +} + +// SetTransactionInputData gets a reference to the given interface{} and assigns it to the TransactionInputData field. +func (o *GetBesuRecordV1Response) SetTransactionInputData(v interface{}) { + o.TransactionInputData = v +} + +// GetCallOutput returns the CallOutput field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GetBesuRecordV1Response) GetCallOutput() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CallOutput +} + +// GetCallOutputOk returns a tuple with the CallOutput field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GetBesuRecordV1Response) GetCallOutputOk() (*interface{}, bool) { + if o == nil || IsNil(o.CallOutput) { + return nil, false + } + return &o.CallOutput, true +} + +// HasCallOutput returns a boolean if a field has been set. +func (o *GetBesuRecordV1Response) HasCallOutput() bool { + if o != nil && IsNil(o.CallOutput) { + return true + } + + return false +} + +// SetCallOutput gets a reference to the given interface{} and assigns it to the CallOutput field. +func (o *GetBesuRecordV1Response) SetCallOutput(v interface{}) { + o.CallOutput = v +} + +func (o GetBesuRecordV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBesuRecordV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.LedgerId) { + toSerialize["ledgerId"] = o.LedgerId + } + if !IsNil(o.StateContract) { + toSerialize["stateContract"] = o.StateContract + } + if o.TransactionInputData != nil { + toSerialize["transactionInputData"] = o.TransactionInputData + } + if o.CallOutput != nil { + toSerialize["callOutput"] = o.CallOutput + } + return toSerialize, nil +} + +type NullableGetBesuRecordV1Response struct { + value *GetBesuRecordV1Response + isSet bool +} + +func (v NullableGetBesuRecordV1Response) Get() *GetBesuRecordV1Response { + return v.value +} + +func (v *NullableGetBesuRecordV1Response) Set(val *GetBesuRecordV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableGetBesuRecordV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBesuRecordV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBesuRecordV1Response(val *GetBesuRecordV1Response) *NullableGetBesuRecordV1Response { + return &NullableGetBesuRecordV1Response{value: val, isSet: true} +} + +func (v NullableGetBesuRecordV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBesuRecordV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_block_v1_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_block_v1_request.go new file mode 100644 index 00000000000..c095bbde711 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_block_v1_request.go @@ -0,0 +1,121 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetBlockV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBlockV1Request{} + +// GetBlockV1Request struct for GetBlockV1Request +type GetBlockV1Request struct { + BlockHashOrBlockNumber interface{} `json:"blockHashOrBlockNumber"` +} + +// NewGetBlockV1Request instantiates a new GetBlockV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockV1Request(blockHashOrBlockNumber interface{}) *GetBlockV1Request { + this := GetBlockV1Request{} + this.BlockHashOrBlockNumber = blockHashOrBlockNumber + return &this +} + +// NewGetBlockV1RequestWithDefaults instantiates a new GetBlockV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockV1RequestWithDefaults() *GetBlockV1Request { + this := GetBlockV1Request{} + return &this +} + +// GetBlockHashOrBlockNumber returns the BlockHashOrBlockNumber field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *GetBlockV1Request) GetBlockHashOrBlockNumber() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.BlockHashOrBlockNumber +} + +// GetBlockHashOrBlockNumberOk returns a tuple with the BlockHashOrBlockNumber field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GetBlockV1Request) GetBlockHashOrBlockNumberOk() (*interface{}, bool) { + if o == nil || IsNil(o.BlockHashOrBlockNumber) { + return nil, false + } + return &o.BlockHashOrBlockNumber, true +} + +// SetBlockHashOrBlockNumber sets field value +func (o *GetBlockV1Request) SetBlockHashOrBlockNumber(v interface{}) { + o.BlockHashOrBlockNumber = v +} + +func (o GetBlockV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBlockV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.BlockHashOrBlockNumber != nil { + toSerialize["blockHashOrBlockNumber"] = o.BlockHashOrBlockNumber + } + return toSerialize, nil +} + +type NullableGetBlockV1Request struct { + value *GetBlockV1Request + isSet bool +} + +func (v NullableGetBlockV1Request) Get() *GetBlockV1Request { + return v.value +} + +func (v *NullableGetBlockV1Request) Set(val *GetBlockV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockV1Request(val *GetBlockV1Request) *NullableGetBlockV1Request { + return &NullableGetBlockV1Request{value: val, isSet: true} +} + +func (v NullableGetBlockV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_block_v1_response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_block_v1_response.go new file mode 100644 index 00000000000..c154ef9d2d7 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_block_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetBlockV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBlockV1Response{} + +// GetBlockV1Response struct for GetBlockV1Response +type GetBlockV1Response struct { + Block EvmBlock `json:"block"` +} + +// NewGetBlockV1Response instantiates a new GetBlockV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockV1Response(block EvmBlock) *GetBlockV1Response { + this := GetBlockV1Response{} + this.Block = block + return &this +} + +// NewGetBlockV1ResponseWithDefaults instantiates a new GetBlockV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockV1ResponseWithDefaults() *GetBlockV1Response { + this := GetBlockV1Response{} + return &this +} + +// GetBlock returns the Block field value +func (o *GetBlockV1Response) GetBlock() EvmBlock { + if o == nil { + var ret EvmBlock + return ret + } + + return o.Block +} + +// GetBlockOk returns a tuple with the Block field value +// and a boolean to check if the value has been set. +func (o *GetBlockV1Response) GetBlockOk() (*EvmBlock, bool) { + if o == nil { + return nil, false + } + return &o.Block, true +} + +// SetBlock sets field value +func (o *GetBlockV1Response) SetBlock(v EvmBlock) { + o.Block = v +} + +func (o GetBlockV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBlockV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["block"] = o.Block + return toSerialize, nil +} + +type NullableGetBlockV1Response struct { + value *GetBlockV1Response + isSet bool +} + +func (v NullableGetBlockV1Response) Get() *GetBlockV1Response { + return v.value +} + +func (v *NullableGetBlockV1Response) Set(val *GetBlockV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockV1Response(val *GetBlockV1Response) *NullableGetBlockV1Response { + return &NullableGetBlockV1Response{value: val, isSet: true} +} + +func (v NullableGetBlockV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_past_logs_v1_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_past_logs_v1_request.go new file mode 100644 index 00000000000..e7626ccca34 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_past_logs_v1_request.go @@ -0,0 +1,237 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetPastLogsV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetPastLogsV1Request{} + +// GetPastLogsV1Request struct for GetPastLogsV1Request +type GetPastLogsV1Request struct { + ToBlock interface{} `json:"toBlock,omitempty"` + FromBlock interface{} `json:"fromBlock,omitempty"` + Address interface{} `json:"address,omitempty"` + Topics []interface{} `json:"topics,omitempty"` +} + +// NewGetPastLogsV1Request instantiates a new GetPastLogsV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetPastLogsV1Request() *GetPastLogsV1Request { + this := GetPastLogsV1Request{} + return &this +} + +// NewGetPastLogsV1RequestWithDefaults instantiates a new GetPastLogsV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetPastLogsV1RequestWithDefaults() *GetPastLogsV1Request { + this := GetPastLogsV1Request{} + return &this +} + +// GetToBlock returns the ToBlock field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GetPastLogsV1Request) GetToBlock() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ToBlock +} + +// GetToBlockOk returns a tuple with the ToBlock field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GetPastLogsV1Request) GetToBlockOk() (*interface{}, bool) { + if o == nil || IsNil(o.ToBlock) { + return nil, false + } + return &o.ToBlock, true +} + +// HasToBlock returns a boolean if a field has been set. +func (o *GetPastLogsV1Request) HasToBlock() bool { + if o != nil && IsNil(o.ToBlock) { + return true + } + + return false +} + +// SetToBlock gets a reference to the given interface{} and assigns it to the ToBlock field. +func (o *GetPastLogsV1Request) SetToBlock(v interface{}) { + o.ToBlock = v +} + +// GetFromBlock returns the FromBlock field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GetPastLogsV1Request) GetFromBlock() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.FromBlock +} + +// GetFromBlockOk returns a tuple with the FromBlock field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GetPastLogsV1Request) GetFromBlockOk() (*interface{}, bool) { + if o == nil || IsNil(o.FromBlock) { + return nil, false + } + return &o.FromBlock, true +} + +// HasFromBlock returns a boolean if a field has been set. +func (o *GetPastLogsV1Request) HasFromBlock() bool { + if o != nil && IsNil(o.FromBlock) { + return true + } + + return false +} + +// SetFromBlock gets a reference to the given interface{} and assigns it to the FromBlock field. +func (o *GetPastLogsV1Request) SetFromBlock(v interface{}) { + o.FromBlock = v +} + +// GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GetPastLogsV1Request) GetAddress() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GetPastLogsV1Request) GetAddressOk() (*interface{}, bool) { + if o == nil || IsNil(o.Address) { + return nil, false + } + return &o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *GetPastLogsV1Request) HasAddress() bool { + if o != nil && IsNil(o.Address) { + return true + } + + return false +} + +// SetAddress gets a reference to the given interface{} and assigns it to the Address field. +func (o *GetPastLogsV1Request) SetAddress(v interface{}) { + o.Address = v +} + +// GetTopics returns the Topics field value if set, zero value otherwise. +func (o *GetPastLogsV1Request) GetTopics() []interface{} { + if o == nil || IsNil(o.Topics) { + var ret []interface{} + return ret + } + return o.Topics +} + +// GetTopicsOk returns a tuple with the Topics field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetPastLogsV1Request) GetTopicsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Topics) { + return nil, false + } + return o.Topics, true +} + +// HasTopics returns a boolean if a field has been set. +func (o *GetPastLogsV1Request) HasTopics() bool { + if o != nil && !IsNil(o.Topics) { + return true + } + + return false +} + +// SetTopics gets a reference to the given []interface{} and assigns it to the Topics field. +func (o *GetPastLogsV1Request) SetTopics(v []interface{}) { + o.Topics = v +} + +func (o GetPastLogsV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetPastLogsV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.ToBlock != nil { + toSerialize["toBlock"] = o.ToBlock + } + if o.FromBlock != nil { + toSerialize["fromBlock"] = o.FromBlock + } + if o.Address != nil { + toSerialize["address"] = o.Address + } + if !IsNil(o.Topics) { + toSerialize["topics"] = o.Topics + } + return toSerialize, nil +} + +type NullableGetPastLogsV1Request struct { + value *GetPastLogsV1Request + isSet bool +} + +func (v NullableGetPastLogsV1Request) Get() *GetPastLogsV1Request { + return v.value +} + +func (v *NullableGetPastLogsV1Request) Set(val *GetPastLogsV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableGetPastLogsV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableGetPastLogsV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetPastLogsV1Request(val *GetPastLogsV1Request) *NullableGetPastLogsV1Request { + return &NullableGetPastLogsV1Request{value: val, isSet: true} +} + +func (v NullableGetPastLogsV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetPastLogsV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_past_logs_v1_response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_past_logs_v1_response.go new file mode 100644 index 00000000000..4a26a2e69a5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_past_logs_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetPastLogsV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetPastLogsV1Response{} + +// GetPastLogsV1Response struct for GetPastLogsV1Response +type GetPastLogsV1Response struct { + Logs []EvmLog `json:"logs"` +} + +// NewGetPastLogsV1Response instantiates a new GetPastLogsV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetPastLogsV1Response(logs []EvmLog) *GetPastLogsV1Response { + this := GetPastLogsV1Response{} + this.Logs = logs + return &this +} + +// NewGetPastLogsV1ResponseWithDefaults instantiates a new GetPastLogsV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetPastLogsV1ResponseWithDefaults() *GetPastLogsV1Response { + this := GetPastLogsV1Response{} + return &this +} + +// GetLogs returns the Logs field value +func (o *GetPastLogsV1Response) GetLogs() []EvmLog { + if o == nil { + var ret []EvmLog + return ret + } + + return o.Logs +} + +// GetLogsOk returns a tuple with the Logs field value +// and a boolean to check if the value has been set. +func (o *GetPastLogsV1Response) GetLogsOk() ([]EvmLog, bool) { + if o == nil { + return nil, false + } + return o.Logs, true +} + +// SetLogs sets field value +func (o *GetPastLogsV1Response) SetLogs(v []EvmLog) { + o.Logs = v +} + +func (o GetPastLogsV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetPastLogsV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["logs"] = o.Logs + return toSerialize, nil +} + +type NullableGetPastLogsV1Response struct { + value *GetPastLogsV1Response + isSet bool +} + +func (v NullableGetPastLogsV1Response) Get() *GetPastLogsV1Response { + return v.value +} + +func (v *NullableGetPastLogsV1Response) Set(val *GetPastLogsV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableGetPastLogsV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGetPastLogsV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetPastLogsV1Response(val *GetPastLogsV1Response) *NullableGetPastLogsV1Response { + return &NullableGetPastLogsV1Response{value: val, isSet: true} +} + +func (v NullableGetPastLogsV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetPastLogsV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_transaction_v1_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_transaction_v1_request.go new file mode 100644 index 00000000000..5de9a18ab98 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_transaction_v1_request.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetTransactionV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetTransactionV1Request{} + +// GetTransactionV1Request struct for GetTransactionV1Request +type GetTransactionV1Request struct { + TransactionHash string `json:"transactionHash"` +} + +// NewGetTransactionV1Request instantiates a new GetTransactionV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetTransactionV1Request(transactionHash string) *GetTransactionV1Request { + this := GetTransactionV1Request{} + this.TransactionHash = transactionHash + return &this +} + +// NewGetTransactionV1RequestWithDefaults instantiates a new GetTransactionV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetTransactionV1RequestWithDefaults() *GetTransactionV1Request { + this := GetTransactionV1Request{} + return &this +} + +// GetTransactionHash returns the TransactionHash field value +func (o *GetTransactionV1Request) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *GetTransactionV1Request) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *GetTransactionV1Request) SetTransactionHash(v string) { + o.TransactionHash = v +} + +func (o GetTransactionV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetTransactionV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionHash"] = o.TransactionHash + return toSerialize, nil +} + +type NullableGetTransactionV1Request struct { + value *GetTransactionV1Request + isSet bool +} + +func (v NullableGetTransactionV1Request) Get() *GetTransactionV1Request { + return v.value +} + +func (v *NullableGetTransactionV1Request) Set(val *GetTransactionV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableGetTransactionV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTransactionV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTransactionV1Request(val *GetTransactionV1Request) *NullableGetTransactionV1Request { + return &NullableGetTransactionV1Request{value: val, isSet: true} +} + +func (v NullableGetTransactionV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTransactionV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_transaction_v1_response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_transaction_v1_response.go new file mode 100644 index 00000000000..2bafe3c63e8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_get_transaction_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the GetTransactionV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetTransactionV1Response{} + +// GetTransactionV1Response struct for GetTransactionV1Response +type GetTransactionV1Response struct { + Transaction EvmTransaction `json:"transaction"` +} + +// NewGetTransactionV1Response instantiates a new GetTransactionV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetTransactionV1Response(transaction EvmTransaction) *GetTransactionV1Response { + this := GetTransactionV1Response{} + this.Transaction = transaction + return &this +} + +// NewGetTransactionV1ResponseWithDefaults instantiates a new GetTransactionV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetTransactionV1ResponseWithDefaults() *GetTransactionV1Response { + this := GetTransactionV1Response{} + return &this +} + +// GetTransaction returns the Transaction field value +func (o *GetTransactionV1Response) GetTransaction() EvmTransaction { + if o == nil { + var ret EvmTransaction + return ret + } + + return o.Transaction +} + +// GetTransactionOk returns a tuple with the Transaction field value +// and a boolean to check if the value has been set. +func (o *GetTransactionV1Response) GetTransactionOk() (*EvmTransaction, bool) { + if o == nil { + return nil, false + } + return &o.Transaction, true +} + +// SetTransaction sets field value +func (o *GetTransactionV1Response) SetTransaction(v EvmTransaction) { + o.Transaction = v +} + +func (o GetTransactionV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetTransactionV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transaction"] = o.Transaction + return toSerialize, nil +} + +type NullableGetTransactionV1Response struct { + value *GetTransactionV1Response + isSet bool +} + +func (v NullableGetTransactionV1Response) Get() *GetTransactionV1Response { + return v.value +} + +func (v *NullableGetTransactionV1Response) Set(val *GetTransactionV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableGetTransactionV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTransactionV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTransactionV1Response(val *GetTransactionV1Response) *NullableGetTransactionV1Response { + return &NullableGetTransactionV1Response{value: val, isSet: true} +} + +func (v NullableGetTransactionV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTransactionV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go new file mode 100644 index 00000000000..d708d91869c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go @@ -0,0 +1,559 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Request{} + +// InvokeContractV1Request struct for InvokeContractV1Request +type InvokeContractV1Request struct { + ContractName string `json:"contractName"` + SigningCredential Web3SigningCredential `json:"signingCredential"` + InvocationType EthContractInvocationType `json:"invocationType"` + // The name of the contract method to invoke. + MethodName string `json:"methodName"` + // The list of arguments to pass in to the contract method being invoked. + Params []interface{} `json:"params"` + // The application binary interface of the solidity contract, optional parameter + ContractAbi []interface{} `json:"contractAbi,omitempty"` + // Address of the solidity contract, optional parameter + ContractAddress *string `json:"contractAddress,omitempty"` + Value *Web3BlockHeaderTimestamp `json:"value,omitempty"` + Gas *Web3BlockHeaderTimestamp `json:"gas,omitempty"` + GasPrice *Web3BlockHeaderTimestamp `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + // The amount of milliseconds to wait for a transaction receipt beforegiving up and crashing. Only has any effect if the invocation type is SEND + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + // The keychainId for retrieve the contracts json. + KeychainId *string `json:"keychainId,omitempty"` + PrivateTransactionConfig *BesuPrivateTransactionConfig `json:"privateTransactionConfig,omitempty"` +} + +// NewInvokeContractV1Request instantiates a new InvokeContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Request(contractName string, signingCredential Web3SigningCredential, invocationType EthContractInvocationType, methodName string, params []interface{}) *InvokeContractV1Request { + this := InvokeContractV1Request{} + this.ContractName = contractName + this.SigningCredential = signingCredential + this.InvocationType = invocationType + this.MethodName = methodName + this.Params = params + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// NewInvokeContractV1RequestWithDefaults instantiates a new InvokeContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1RequestWithDefaults() *InvokeContractV1Request { + this := InvokeContractV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetContractName returns the ContractName field value +func (o *InvokeContractV1Request) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *InvokeContractV1Request) SetContractName(v string) { + o.ContractName = v +} + +// GetSigningCredential returns the SigningCredential field value +func (o *InvokeContractV1Request) GetSigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.SigningCredential +} + +// GetSigningCredentialOk returns a tuple with the SigningCredential field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetSigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.SigningCredential, true +} + +// SetSigningCredential sets field value +func (o *InvokeContractV1Request) SetSigningCredential(v Web3SigningCredential) { + o.SigningCredential = v +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeContractV1Request) GetInvocationType() EthContractInvocationType { + if o == nil { + var ret EthContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetInvocationTypeOk() (*EthContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeContractV1Request) SetInvocationType(v EthContractInvocationType) { + o.InvocationType = v +} + +// GetMethodName returns the MethodName field value +func (o *InvokeContractV1Request) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeContractV1Request) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value +func (o *InvokeContractV1Request) GetParams() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetParamsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *InvokeContractV1Request) SetParams(v []interface{}) { + o.Params = v +} + +// GetContractAbi returns the ContractAbi field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetContractAbi() []interface{} { + if o == nil || IsNil(o.ContractAbi) { + var ret []interface{} + return ret + } + return o.ContractAbi +} + +// GetContractAbiOk returns a tuple with the ContractAbi field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetContractAbiOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ContractAbi) { + return nil, false + } + return o.ContractAbi, true +} + +// HasContractAbi returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasContractAbi() bool { + if o != nil && !IsNil(o.ContractAbi) { + return true + } + + return false +} + +// SetContractAbi gets a reference to the given []interface{} and assigns it to the ContractAbi field. +func (o *InvokeContractV1Request) SetContractAbi(v []interface{}) { + o.ContractAbi = v +} + +// GetContractAddress returns the ContractAddress field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetContractAddress() string { + if o == nil || IsNil(o.ContractAddress) { + var ret string + return ret + } + return *o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetContractAddressOk() (*string, bool) { + if o == nil || IsNil(o.ContractAddress) { + return nil, false + } + return o.ContractAddress, true +} + +// HasContractAddress returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasContractAddress() bool { + if o != nil && !IsNil(o.ContractAddress) { + return true + } + + return false +} + +// SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field. +func (o *InvokeContractV1Request) SetContractAddress(v string) { + o.ContractAddress = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetValue() Web3BlockHeaderTimestamp { + if o == nil || IsNil(o.Value) { + var ret Web3BlockHeaderTimestamp + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetValueOk() (*Web3BlockHeaderTimestamp, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given Web3BlockHeaderTimestamp and assigns it to the Value field. +func (o *InvokeContractV1Request) SetValue(v Web3BlockHeaderTimestamp) { + o.Value = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetGas() Web3BlockHeaderTimestamp { + if o == nil || IsNil(o.Gas) { + var ret Web3BlockHeaderTimestamp + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetGasOk() (*Web3BlockHeaderTimestamp, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given Web3BlockHeaderTimestamp and assigns it to the Gas field. +func (o *InvokeContractV1Request) SetGas(v Web3BlockHeaderTimestamp) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetGasPrice() Web3BlockHeaderTimestamp { + if o == nil || IsNil(o.GasPrice) { + var ret Web3BlockHeaderTimestamp + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetGasPriceOk() (*Web3BlockHeaderTimestamp, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given Web3BlockHeaderTimestamp and assigns it to the GasPrice field. +func (o *InvokeContractV1Request) SetGasPrice(v Web3BlockHeaderTimestamp) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *InvokeContractV1Request) SetNonce(v float32) { + o.Nonce = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *InvokeContractV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetKeychainId returns the KeychainId field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetKeychainId() string { + if o == nil || IsNil(o.KeychainId) { + var ret string + return ret + } + return *o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetKeychainIdOk() (*string, bool) { + if o == nil || IsNil(o.KeychainId) { + return nil, false + } + return o.KeychainId, true +} + +// HasKeychainId returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasKeychainId() bool { + if o != nil && !IsNil(o.KeychainId) { + return true + } + + return false +} + +// SetKeychainId gets a reference to the given string and assigns it to the KeychainId field. +func (o *InvokeContractV1Request) SetKeychainId(v string) { + o.KeychainId = &v +} + +// GetPrivateTransactionConfig returns the PrivateTransactionConfig field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetPrivateTransactionConfig() BesuPrivateTransactionConfig { + if o == nil || IsNil(o.PrivateTransactionConfig) { + var ret BesuPrivateTransactionConfig + return ret + } + return *o.PrivateTransactionConfig +} + +// GetPrivateTransactionConfigOk returns a tuple with the PrivateTransactionConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetPrivateTransactionConfigOk() (*BesuPrivateTransactionConfig, bool) { + if o == nil || IsNil(o.PrivateTransactionConfig) { + return nil, false + } + return o.PrivateTransactionConfig, true +} + +// HasPrivateTransactionConfig returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasPrivateTransactionConfig() bool { + if o != nil && !IsNil(o.PrivateTransactionConfig) { + return true + } + + return false +} + +// SetPrivateTransactionConfig gets a reference to the given BesuPrivateTransactionConfig and assigns it to the PrivateTransactionConfig field. +func (o *InvokeContractV1Request) SetPrivateTransactionConfig(v BesuPrivateTransactionConfig) { + o.PrivateTransactionConfig = &v +} + +func (o InvokeContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + toSerialize["signingCredential"] = o.SigningCredential + toSerialize["invocationType"] = o.InvocationType + toSerialize["methodName"] = o.MethodName + toSerialize["params"] = o.Params + if !IsNil(o.ContractAbi) { + toSerialize["contractAbi"] = o.ContractAbi + } + if !IsNil(o.ContractAddress) { + toSerialize["contractAddress"] = o.ContractAddress + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + if !IsNil(o.KeychainId) { + toSerialize["keychainId"] = o.KeychainId + } + if !IsNil(o.PrivateTransactionConfig) { + toSerialize["privateTransactionConfig"] = o.PrivateTransactionConfig + } + return toSerialize, nil +} + +type NullableInvokeContractV1Request struct { + value *InvokeContractV1Request + isSet bool +} + +func (v NullableInvokeContractV1Request) Get() *InvokeContractV1Request { + return v.value +} + +func (v *NullableInvokeContractV1Request) Set(val *InvokeContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Request(val *InvokeContractV1Request) *NullableInvokeContractV1Request { + return &NullableInvokeContractV1Request{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go new file mode 100644 index 00000000000..8d0e4e6a66a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go @@ -0,0 +1,190 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Response{} + +// InvokeContractV1Response struct for InvokeContractV1Response +type InvokeContractV1Response struct { + TransactionReceipt *Web3TransactionReceipt `json:"transactionReceipt,omitempty"` + CallOutput interface{} `json:"callOutput,omitempty"` + Success bool `json:"success"` +} + +// NewInvokeContractV1Response instantiates a new InvokeContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Response(success bool) *InvokeContractV1Response { + this := InvokeContractV1Response{} + this.Success = success + return &this +} + +// NewInvokeContractV1ResponseWithDefaults instantiates a new InvokeContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1ResponseWithDefaults() *InvokeContractV1Response { + this := InvokeContractV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value if set, zero value otherwise. +func (o *InvokeContractV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil || IsNil(o.TransactionReceipt) { + var ret Web3TransactionReceipt + return ret + } + return *o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil || IsNil(o.TransactionReceipt) { + return nil, false + } + return o.TransactionReceipt, true +} + +// HasTransactionReceipt returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasTransactionReceipt() bool { + if o != nil && !IsNil(o.TransactionReceipt) { + return true + } + + return false +} + +// SetTransactionReceipt gets a reference to the given Web3TransactionReceipt and assigns it to the TransactionReceipt field. +func (o *InvokeContractV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = &v +} + +// GetCallOutput returns the CallOutput field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeContractV1Response) GetCallOutput() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CallOutput +} + +// GetCallOutputOk returns a tuple with the CallOutput field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeContractV1Response) GetCallOutputOk() (*interface{}, bool) { + if o == nil || IsNil(o.CallOutput) { + return nil, false + } + return &o.CallOutput, true +} + +// HasCallOutput returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasCallOutput() bool { + if o != nil && IsNil(o.CallOutput) { + return true + } + + return false +} + +// SetCallOutput gets a reference to the given interface{} and assigns it to the CallOutput field. +func (o *InvokeContractV1Response) SetCallOutput(v interface{}) { + o.CallOutput = v +} + +// GetSuccess returns the Success field value +func (o *InvokeContractV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *InvokeContractV1Response) SetSuccess(v bool) { + o.Success = v +} + +func (o InvokeContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.TransactionReceipt) { + toSerialize["transactionReceipt"] = o.TransactionReceipt + } + if o.CallOutput != nil { + toSerialize["callOutput"] = o.CallOutput + } + toSerialize["success"] = o.Success + return toSerialize, nil +} + +type NullableInvokeContractV1Response struct { + value *InvokeContractV1Response + isSet bool +} + +func (v NullableInvokeContractV1Response) Get() *InvokeContractV1Response { + return v.value +} + +func (v *NullableInvokeContractV1Response) Set(val *InvokeContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Response(val *InvokeContractV1Response) *NullableInvokeContractV1Response { + return &NullableInvokeContractV1Response{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_receipt_type.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_receipt_type.go new file mode 100644 index 00000000000..7e729ca5117 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_receipt_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" + "fmt" +) + +// ReceiptType Enumerates the possible types of receipts that can be waited for by someone or something that has requested the execution of a transaction on a ledger. +type ReceiptType string + +// List of ReceiptType +const ( + NODE_TX_POOL_ACK ReceiptType = "NODE_TX_POOL_ACK" + LEDGER_BLOCK_ACK ReceiptType = "LEDGER_BLOCK_ACK" +) + +// All allowed values of ReceiptType enum +var AllowedReceiptTypeEnumValues = []ReceiptType{ + "NODE_TX_POOL_ACK", + "LEDGER_BLOCK_ACK", +} + +func (v *ReceiptType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ReceiptType(value) + for _, existing := range AllowedReceiptTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ReceiptType", value) +} + +// NewReceiptTypeFromValue returns a pointer to a valid ReceiptType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewReceiptTypeFromValue(v string) (*ReceiptType, error) { + ev := ReceiptType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ReceiptType: valid values are %v", v, AllowedReceiptTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ReceiptType) IsValid() bool { + for _, existing := range AllowedReceiptTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ReceiptType value +func (v ReceiptType) Ptr() *ReceiptType { + return &v +} + +type NullableReceiptType struct { + value *ReceiptType + isSet bool +} + +func (v NullableReceiptType) Get() *ReceiptType { + return v.value +} + +func (v *NullableReceiptType) Set(val *ReceiptType) { + v.value = val + v.isSet = true +} + +func (v NullableReceiptType) IsSet() bool { + return v.isSet +} + +func (v *NullableReceiptType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReceiptType(val *ReceiptType) *NullableReceiptType { + return &NullableReceiptType{value: val, isSet: true} +} + +func (v NullableReceiptType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReceiptType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_run_transaction_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_run_transaction_request.go new file mode 100644 index 00000000000..a72071e0f0f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_run_transaction_request.go @@ -0,0 +1,207 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the RunTransactionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionRequest{} + +// RunTransactionRequest struct for RunTransactionRequest +type RunTransactionRequest struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + TransactionConfig BesuTransactionConfig `json:"transactionConfig"` + ConsistencyStrategy ConsistencyStrategy `json:"consistencyStrategy"` + PrivateTransactionConfig *BesuPrivateTransactionConfig `json:"privateTransactionConfig,omitempty"` +} + +// NewRunTransactionRequest instantiates a new RunTransactionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionRequest(web3SigningCredential Web3SigningCredential, transactionConfig BesuTransactionConfig, consistencyStrategy ConsistencyStrategy) *RunTransactionRequest { + this := RunTransactionRequest{} + this.Web3SigningCredential = web3SigningCredential + this.TransactionConfig = transactionConfig + this.ConsistencyStrategy = consistencyStrategy + return &this +} + +// NewRunTransactionRequestWithDefaults instantiates a new RunTransactionRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionRequestWithDefaults() *RunTransactionRequest { + this := RunTransactionRequest{} + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *RunTransactionRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *RunTransactionRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetTransactionConfig returns the TransactionConfig field value +func (o *RunTransactionRequest) GetTransactionConfig() BesuTransactionConfig { + if o == nil { + var ret BesuTransactionConfig + return ret + } + + return o.TransactionConfig +} + +// GetTransactionConfigOk returns a tuple with the TransactionConfig field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetTransactionConfigOk() (*BesuTransactionConfig, bool) { + if o == nil { + return nil, false + } + return &o.TransactionConfig, true +} + +// SetTransactionConfig sets field value +func (o *RunTransactionRequest) SetTransactionConfig(v BesuTransactionConfig) { + o.TransactionConfig = v +} + +// GetConsistencyStrategy returns the ConsistencyStrategy field value +func (o *RunTransactionRequest) GetConsistencyStrategy() ConsistencyStrategy { + if o == nil { + var ret ConsistencyStrategy + return ret + } + + return o.ConsistencyStrategy +} + +// GetConsistencyStrategyOk returns a tuple with the ConsistencyStrategy field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetConsistencyStrategyOk() (*ConsistencyStrategy, bool) { + if o == nil { + return nil, false + } + return &o.ConsistencyStrategy, true +} + +// SetConsistencyStrategy sets field value +func (o *RunTransactionRequest) SetConsistencyStrategy(v ConsistencyStrategy) { + o.ConsistencyStrategy = v +} + +// GetPrivateTransactionConfig returns the PrivateTransactionConfig field value if set, zero value otherwise. +func (o *RunTransactionRequest) GetPrivateTransactionConfig() BesuPrivateTransactionConfig { + if o == nil || IsNil(o.PrivateTransactionConfig) { + var ret BesuPrivateTransactionConfig + return ret + } + return *o.PrivateTransactionConfig +} + +// GetPrivateTransactionConfigOk returns a tuple with the PrivateTransactionConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetPrivateTransactionConfigOk() (*BesuPrivateTransactionConfig, bool) { + if o == nil || IsNil(o.PrivateTransactionConfig) { + return nil, false + } + return o.PrivateTransactionConfig, true +} + +// HasPrivateTransactionConfig returns a boolean if a field has been set. +func (o *RunTransactionRequest) HasPrivateTransactionConfig() bool { + if o != nil && !IsNil(o.PrivateTransactionConfig) { + return true + } + + return false +} + +// SetPrivateTransactionConfig gets a reference to the given BesuPrivateTransactionConfig and assigns it to the PrivateTransactionConfig field. +func (o *RunTransactionRequest) SetPrivateTransactionConfig(v BesuPrivateTransactionConfig) { + o.PrivateTransactionConfig = &v +} + +func (o RunTransactionRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["transactionConfig"] = o.TransactionConfig + toSerialize["consistencyStrategy"] = o.ConsistencyStrategy + if !IsNil(o.PrivateTransactionConfig) { + toSerialize["privateTransactionConfig"] = o.PrivateTransactionConfig + } + return toSerialize, nil +} + +type NullableRunTransactionRequest struct { + value *RunTransactionRequest + isSet bool +} + +func (v NullableRunTransactionRequest) Get() *RunTransactionRequest { + return v.value +} + +func (v *NullableRunTransactionRequest) Set(val *RunTransactionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionRequest(val *RunTransactionRequest) *NullableRunTransactionRequest { + return &NullableRunTransactionRequest{value: val, isSet: true} +} + +func (v NullableRunTransactionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_run_transaction_response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_run_transaction_response.go new file mode 100644 index 00000000000..627cac1fa4c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_run_transaction_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the RunTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionResponse{} + +// RunTransactionResponse struct for RunTransactionResponse +type RunTransactionResponse struct { + TransactionReceipt Web3TransactionReceipt `json:"transactionReceipt"` +} + +// NewRunTransactionResponse instantiates a new RunTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionResponse(transactionReceipt Web3TransactionReceipt) *RunTransactionResponse { + this := RunTransactionResponse{} + this.TransactionReceipt = transactionReceipt + return &this +} + +// NewRunTransactionResponseWithDefaults instantiates a new RunTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionResponseWithDefaults() *RunTransactionResponse { + this := RunTransactionResponse{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value +func (o *RunTransactionResponse) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil { + var ret Web3TransactionReceipt + return ret + } + + return o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil { + return nil, false + } + return &o.TransactionReceipt, true +} + +// SetTransactionReceipt sets field value +func (o *RunTransactionResponse) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = v +} + +func (o RunTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionReceipt"] = o.TransactionReceipt + return toSerialize, nil +} + +type NullableRunTransactionResponse struct { + value *RunTransactionResponse + isSet bool +} + +func (v NullableRunTransactionResponse) Get() *RunTransactionResponse { + return v.value +} + +func (v *NullableRunTransactionResponse) Set(val *RunTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionResponse(val *RunTransactionResponse) *NullableRunTransactionResponse { + return &NullableRunTransactionResponse{value: val, isSet: true} +} + +func (v NullableRunTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_sign_transaction_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_sign_transaction_request.go new file mode 100644 index 00000000000..844e41f9eb6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_sign_transaction_request.go @@ -0,0 +1,172 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the SignTransactionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SignTransactionRequest{} + +// SignTransactionRequest struct for SignTransactionRequest +type SignTransactionRequest struct { + KeychainId string `json:"keychainId"` + KeychainRef string `json:"keychainRef"` + // The transaction hash of ledger will be used to fetch the contain. + TransactionHash string `json:"transactionHash"` +} + +// NewSignTransactionRequest instantiates a new SignTransactionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSignTransactionRequest(keychainId string, keychainRef string, transactionHash string) *SignTransactionRequest { + this := SignTransactionRequest{} + this.KeychainId = keychainId + this.KeychainRef = keychainRef + this.TransactionHash = transactionHash + return &this +} + +// NewSignTransactionRequestWithDefaults instantiates a new SignTransactionRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSignTransactionRequestWithDefaults() *SignTransactionRequest { + this := SignTransactionRequest{} + return &this +} + +// GetKeychainId returns the KeychainId field value +func (o *SignTransactionRequest) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *SignTransactionRequest) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *SignTransactionRequest) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetKeychainRef returns the KeychainRef field value +func (o *SignTransactionRequest) GetKeychainRef() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainRef +} + +// GetKeychainRefOk returns a tuple with the KeychainRef field value +// and a boolean to check if the value has been set. +func (o *SignTransactionRequest) GetKeychainRefOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainRef, true +} + +// SetKeychainRef sets field value +func (o *SignTransactionRequest) SetKeychainRef(v string) { + o.KeychainRef = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *SignTransactionRequest) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *SignTransactionRequest) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *SignTransactionRequest) SetTransactionHash(v string) { + o.TransactionHash = v +} + +func (o SignTransactionRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SignTransactionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["keychainId"] = o.KeychainId + toSerialize["keychainRef"] = o.KeychainRef + toSerialize["transactionHash"] = o.TransactionHash + return toSerialize, nil +} + +type NullableSignTransactionRequest struct { + value *SignTransactionRequest + isSet bool +} + +func (v NullableSignTransactionRequest) Get() *SignTransactionRequest { + return v.value +} + +func (v *NullableSignTransactionRequest) Set(val *SignTransactionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableSignTransactionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableSignTransactionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSignTransactionRequest(val *SignTransactionRequest) *NullableSignTransactionRequest { + return &NullableSignTransactionRequest{value: val, isSet: true} +} + +func (v NullableSignTransactionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSignTransactionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_sign_transaction_response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_sign_transaction_response.go new file mode 100644 index 00000000000..bac3b0f4342 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_sign_transaction_response.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the SignTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SignTransactionResponse{} + +// SignTransactionResponse struct for SignTransactionResponse +type SignTransactionResponse struct { + // The signatures of ledger from the corresponding transaction hash. + Signature string `json:"signature"` +} + +// NewSignTransactionResponse instantiates a new SignTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSignTransactionResponse(signature string) *SignTransactionResponse { + this := SignTransactionResponse{} + this.Signature = signature + return &this +} + +// NewSignTransactionResponseWithDefaults instantiates a new SignTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSignTransactionResponseWithDefaults() *SignTransactionResponse { + this := SignTransactionResponse{} + return &this +} + +// GetSignature returns the Signature field value +func (o *SignTransactionResponse) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *SignTransactionResponse) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *SignTransactionResponse) SetSignature(v string) { + o.Signature = v +} + +func (o SignTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SignTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["signature"] = o.Signature + return toSerialize, nil +} + +type NullableSignTransactionResponse struct { + value *SignTransactionResponse + isSet bool +} + +func (v NullableSignTransactionResponse) Get() *SignTransactionResponse { + return v.value +} + +func (v *NullableSignTransactionResponse) Set(val *SignTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableSignTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableSignTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSignTransactionResponse(val *SignTransactionResponse) *NullableSignTransactionResponse { + return &NullableSignTransactionResponse{value: val, isSet: true} +} + +func (v NullableSignTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSignTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact.go new file mode 100644 index 00000000000..6cd73d2ae57 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact.go @@ -0,0 +1,441 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifact type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifact{} + +// SolidityContractJsonArtifact struct for SolidityContractJsonArtifact +type SolidityContractJsonArtifact struct { + ContractName string `json:"contractName"` + Metadata *string `json:"metadata,omitempty"` + Bytecode *string `json:"bytecode,omitempty"` + DeployedBytecode *string `json:"deployedBytecode,omitempty"` + SourceMap *string `json:"sourceMap,omitempty"` + DeployedSourceMap *string `json:"deployedSourceMap,omitempty"` + SourcePath *string `json:"sourcePath,omitempty"` + Compiler *SolidityContractJsonArtifactCompiler `json:"compiler,omitempty"` + FunctionHashes map[string]interface{} `json:"functionHashes,omitempty"` + GasEstimates *SolidityContractJsonArtifactGasEstimates `json:"gasEstimates,omitempty"` +} + +// NewSolidityContractJsonArtifact instantiates a new SolidityContractJsonArtifact object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifact(contractName string) *SolidityContractJsonArtifact { + this := SolidityContractJsonArtifact{} + this.ContractName = contractName + return &this +} + +// NewSolidityContractJsonArtifactWithDefaults instantiates a new SolidityContractJsonArtifact object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactWithDefaults() *SolidityContractJsonArtifact { + this := SolidityContractJsonArtifact{} + return &this +} + +// GetContractName returns the ContractName field value +func (o *SolidityContractJsonArtifact) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *SolidityContractJsonArtifact) SetContractName(v string) { + o.ContractName = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetMetadata() string { + if o == nil || IsNil(o.Metadata) { + var ret string + return ret + } + return *o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetMetadataOk() (*string, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasMetadata() bool { + if o != nil && !IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given string and assigns it to the Metadata field. +func (o *SolidityContractJsonArtifact) SetMetadata(v string) { + o.Metadata = &v +} + +// GetBytecode returns the Bytecode field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetBytecode() string { + if o == nil || IsNil(o.Bytecode) { + var ret string + return ret + } + return *o.Bytecode +} + +// GetBytecodeOk returns a tuple with the Bytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.Bytecode) { + return nil, false + } + return o.Bytecode, true +} + +// HasBytecode returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasBytecode() bool { + if o != nil && !IsNil(o.Bytecode) { + return true + } + + return false +} + +// SetBytecode gets a reference to the given string and assigns it to the Bytecode field. +func (o *SolidityContractJsonArtifact) SetBytecode(v string) { + o.Bytecode = &v +} + +// GetDeployedBytecode returns the DeployedBytecode field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetDeployedBytecode() string { + if o == nil || IsNil(o.DeployedBytecode) { + var ret string + return ret + } + return *o.DeployedBytecode +} + +// GetDeployedBytecodeOk returns a tuple with the DeployedBytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetDeployedBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.DeployedBytecode) { + return nil, false + } + return o.DeployedBytecode, true +} + +// HasDeployedBytecode returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasDeployedBytecode() bool { + if o != nil && !IsNil(o.DeployedBytecode) { + return true + } + + return false +} + +// SetDeployedBytecode gets a reference to the given string and assigns it to the DeployedBytecode field. +func (o *SolidityContractJsonArtifact) SetDeployedBytecode(v string) { + o.DeployedBytecode = &v +} + +// GetSourceMap returns the SourceMap field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetSourceMap() string { + if o == nil || IsNil(o.SourceMap) { + var ret string + return ret + } + return *o.SourceMap +} + +// GetSourceMapOk returns a tuple with the SourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.SourceMap) { + return nil, false + } + return o.SourceMap, true +} + +// HasSourceMap returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasSourceMap() bool { + if o != nil && !IsNil(o.SourceMap) { + return true + } + + return false +} + +// SetSourceMap gets a reference to the given string and assigns it to the SourceMap field. +func (o *SolidityContractJsonArtifact) SetSourceMap(v string) { + o.SourceMap = &v +} + +// GetDeployedSourceMap returns the DeployedSourceMap field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetDeployedSourceMap() string { + if o == nil || IsNil(o.DeployedSourceMap) { + var ret string + return ret + } + return *o.DeployedSourceMap +} + +// GetDeployedSourceMapOk returns a tuple with the DeployedSourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetDeployedSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.DeployedSourceMap) { + return nil, false + } + return o.DeployedSourceMap, true +} + +// HasDeployedSourceMap returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasDeployedSourceMap() bool { + if o != nil && !IsNil(o.DeployedSourceMap) { + return true + } + + return false +} + +// SetDeployedSourceMap gets a reference to the given string and assigns it to the DeployedSourceMap field. +func (o *SolidityContractJsonArtifact) SetDeployedSourceMap(v string) { + o.DeployedSourceMap = &v +} + +// GetSourcePath returns the SourcePath field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetSourcePath() string { + if o == nil || IsNil(o.SourcePath) { + var ret string + return ret + } + return *o.SourcePath +} + +// GetSourcePathOk returns a tuple with the SourcePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetSourcePathOk() (*string, bool) { + if o == nil || IsNil(o.SourcePath) { + return nil, false + } + return o.SourcePath, true +} + +// HasSourcePath returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasSourcePath() bool { + if o != nil && !IsNil(o.SourcePath) { + return true + } + + return false +} + +// SetSourcePath gets a reference to the given string and assigns it to the SourcePath field. +func (o *SolidityContractJsonArtifact) SetSourcePath(v string) { + o.SourcePath = &v +} + +// GetCompiler returns the Compiler field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetCompiler() SolidityContractJsonArtifactCompiler { + if o == nil || IsNil(o.Compiler) { + var ret SolidityContractJsonArtifactCompiler + return ret + } + return *o.Compiler +} + +// GetCompilerOk returns a tuple with the Compiler field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetCompilerOk() (*SolidityContractJsonArtifactCompiler, bool) { + if o == nil || IsNil(o.Compiler) { + return nil, false + } + return o.Compiler, true +} + +// HasCompiler returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasCompiler() bool { + if o != nil && !IsNil(o.Compiler) { + return true + } + + return false +} + +// SetCompiler gets a reference to the given SolidityContractJsonArtifactCompiler and assigns it to the Compiler field. +func (o *SolidityContractJsonArtifact) SetCompiler(v SolidityContractJsonArtifactCompiler) { + o.Compiler = &v +} + +// GetFunctionHashes returns the FunctionHashes field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetFunctionHashes() map[string]interface{} { + if o == nil || IsNil(o.FunctionHashes) { + var ret map[string]interface{} + return ret + } + return o.FunctionHashes +} + +// GetFunctionHashesOk returns a tuple with the FunctionHashes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetFunctionHashesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.FunctionHashes) { + return map[string]interface{}{}, false + } + return o.FunctionHashes, true +} + +// HasFunctionHashes returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasFunctionHashes() bool { + if o != nil && !IsNil(o.FunctionHashes) { + return true + } + + return false +} + +// SetFunctionHashes gets a reference to the given map[string]interface{} and assigns it to the FunctionHashes field. +func (o *SolidityContractJsonArtifact) SetFunctionHashes(v map[string]interface{}) { + o.FunctionHashes = v +} + +// GetGasEstimates returns the GasEstimates field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetGasEstimates() SolidityContractJsonArtifactGasEstimates { + if o == nil || IsNil(o.GasEstimates) { + var ret SolidityContractJsonArtifactGasEstimates + return ret + } + return *o.GasEstimates +} + +// GetGasEstimatesOk returns a tuple with the GasEstimates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetGasEstimatesOk() (*SolidityContractJsonArtifactGasEstimates, bool) { + if o == nil || IsNil(o.GasEstimates) { + return nil, false + } + return o.GasEstimates, true +} + +// HasGasEstimates returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasGasEstimates() bool { + if o != nil && !IsNil(o.GasEstimates) { + return true + } + + return false +} + +// SetGasEstimates gets a reference to the given SolidityContractJsonArtifactGasEstimates and assigns it to the GasEstimates field. +func (o *SolidityContractJsonArtifact) SetGasEstimates(v SolidityContractJsonArtifactGasEstimates) { + o.GasEstimates = &v +} + +func (o SolidityContractJsonArtifact) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifact) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + if !IsNil(o.Metadata) { + toSerialize["metadata"] = o.Metadata + } + if !IsNil(o.Bytecode) { + toSerialize["bytecode"] = o.Bytecode + } + if !IsNil(o.DeployedBytecode) { + toSerialize["deployedBytecode"] = o.DeployedBytecode + } + if !IsNil(o.SourceMap) { + toSerialize["sourceMap"] = o.SourceMap + } + if !IsNil(o.DeployedSourceMap) { + toSerialize["deployedSourceMap"] = o.DeployedSourceMap + } + if !IsNil(o.SourcePath) { + toSerialize["sourcePath"] = o.SourcePath + } + if !IsNil(o.Compiler) { + toSerialize["compiler"] = o.Compiler + } + if !IsNil(o.FunctionHashes) { + toSerialize["functionHashes"] = o.FunctionHashes + } + if !IsNil(o.GasEstimates) { + toSerialize["gasEstimates"] = o.GasEstimates + } + return toSerialize, nil +} + +type NullableSolidityContractJsonArtifact struct { + value *SolidityContractJsonArtifact + isSet bool +} + +func (v NullableSolidityContractJsonArtifact) Get() *SolidityContractJsonArtifact { + return v.value +} + +func (v *NullableSolidityContractJsonArtifact) Set(val *SolidityContractJsonArtifact) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifact) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifact) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifact(val *SolidityContractJsonArtifact) *NullableSolidityContractJsonArtifact { + return &NullableSolidityContractJsonArtifact{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifact) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifact) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_compiler.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_compiler.go new file mode 100644 index 00000000000..4b927356a89 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_compiler.go @@ -0,0 +1,188 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifactCompiler type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifactCompiler{} + +// SolidityContractJsonArtifactCompiler struct for SolidityContractJsonArtifactCompiler +type SolidityContractJsonArtifactCompiler struct { + Name *string `json:"name,omitempty"` + Version *string `json:"version,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SolidityContractJsonArtifactCompiler SolidityContractJsonArtifactCompiler + +// NewSolidityContractJsonArtifactCompiler instantiates a new SolidityContractJsonArtifactCompiler object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifactCompiler() *SolidityContractJsonArtifactCompiler { + this := SolidityContractJsonArtifactCompiler{} + return &this +} + +// NewSolidityContractJsonArtifactCompilerWithDefaults instantiates a new SolidityContractJsonArtifactCompiler object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactCompilerWithDefaults() *SolidityContractJsonArtifactCompiler { + this := SolidityContractJsonArtifactCompiler{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactCompiler) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactCompiler) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactCompiler) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *SolidityContractJsonArtifactCompiler) SetName(v string) { + o.Name = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactCompiler) GetVersion() string { + if o == nil || IsNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactCompiler) GetVersionOk() (*string, bool) { + if o == nil || IsNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactCompiler) HasVersion() bool { + if o != nil && !IsNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *SolidityContractJsonArtifactCompiler) SetVersion(v string) { + o.Version = &v +} + +func (o SolidityContractJsonArtifactCompiler) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifactCompiler) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Version) { + toSerialize["version"] = o.Version + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SolidityContractJsonArtifactCompiler) UnmarshalJSON(bytes []byte) (err error) { + varSolidityContractJsonArtifactCompiler := _SolidityContractJsonArtifactCompiler{} + + if err = json.Unmarshal(bytes, &varSolidityContractJsonArtifactCompiler); err == nil { + *o = SolidityContractJsonArtifactCompiler(varSolidityContractJsonArtifactCompiler) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "version") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSolidityContractJsonArtifactCompiler struct { + value *SolidityContractJsonArtifactCompiler + isSet bool +} + +func (v NullableSolidityContractJsonArtifactCompiler) Get() *SolidityContractJsonArtifactCompiler { + return v.value +} + +func (v *NullableSolidityContractJsonArtifactCompiler) Set(val *SolidityContractJsonArtifactCompiler) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifactCompiler) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifactCompiler) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifactCompiler(val *SolidityContractJsonArtifactCompiler) *NullableSolidityContractJsonArtifactCompiler { + return &NullableSolidityContractJsonArtifactCompiler{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifactCompiler) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifactCompiler) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates.go new file mode 100644 index 00000000000..226fc7181ac --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifactGasEstimates type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifactGasEstimates{} + +// SolidityContractJsonArtifactGasEstimates struct for SolidityContractJsonArtifactGasEstimates +type SolidityContractJsonArtifactGasEstimates struct { + Creation *SolidityContractJsonArtifactGasEstimatesCreation `json:"creation,omitempty"` + External map[string]interface{} `json:"external,omitempty"` +} + +// NewSolidityContractJsonArtifactGasEstimates instantiates a new SolidityContractJsonArtifactGasEstimates object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifactGasEstimates() *SolidityContractJsonArtifactGasEstimates { + this := SolidityContractJsonArtifactGasEstimates{} + return &this +} + +// NewSolidityContractJsonArtifactGasEstimatesWithDefaults instantiates a new SolidityContractJsonArtifactGasEstimates object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactGasEstimatesWithDefaults() *SolidityContractJsonArtifactGasEstimates { + this := SolidityContractJsonArtifactGasEstimates{} + return &this +} + +// GetCreation returns the Creation field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimates) GetCreation() SolidityContractJsonArtifactGasEstimatesCreation { + if o == nil || IsNil(o.Creation) { + var ret SolidityContractJsonArtifactGasEstimatesCreation + return ret + } + return *o.Creation +} + +// GetCreationOk returns a tuple with the Creation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimates) GetCreationOk() (*SolidityContractJsonArtifactGasEstimatesCreation, bool) { + if o == nil || IsNil(o.Creation) { + return nil, false + } + return o.Creation, true +} + +// HasCreation returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimates) HasCreation() bool { + if o != nil && !IsNil(o.Creation) { + return true + } + + return false +} + +// SetCreation gets a reference to the given SolidityContractJsonArtifactGasEstimatesCreation and assigns it to the Creation field. +func (o *SolidityContractJsonArtifactGasEstimates) SetCreation(v SolidityContractJsonArtifactGasEstimatesCreation) { + o.Creation = &v +} + +// GetExternal returns the External field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimates) GetExternal() map[string]interface{} { + if o == nil || IsNil(o.External) { + var ret map[string]interface{} + return ret + } + return o.External +} + +// GetExternalOk returns a tuple with the External field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimates) GetExternalOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.External) { + return map[string]interface{}{}, false + } + return o.External, true +} + +// HasExternal returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimates) HasExternal() bool { + if o != nil && !IsNil(o.External) { + return true + } + + return false +} + +// SetExternal gets a reference to the given map[string]interface{} and assigns it to the External field. +func (o *SolidityContractJsonArtifactGasEstimates) SetExternal(v map[string]interface{}) { + o.External = v +} + +func (o SolidityContractJsonArtifactGasEstimates) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifactGasEstimates) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Creation) { + toSerialize["creation"] = o.Creation + } + if !IsNil(o.External) { + toSerialize["external"] = o.External + } + return toSerialize, nil +} + +type NullableSolidityContractJsonArtifactGasEstimates struct { + value *SolidityContractJsonArtifactGasEstimates + isSet bool +} + +func (v NullableSolidityContractJsonArtifactGasEstimates) Get() *SolidityContractJsonArtifactGasEstimates { + return v.value +} + +func (v *NullableSolidityContractJsonArtifactGasEstimates) Set(val *SolidityContractJsonArtifactGasEstimates) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifactGasEstimates) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifactGasEstimates) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifactGasEstimates(val *SolidityContractJsonArtifactGasEstimates) *NullableSolidityContractJsonArtifactGasEstimates { + return &NullableSolidityContractJsonArtifactGasEstimates{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifactGasEstimates) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifactGasEstimates) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates_creation.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates_creation.go new file mode 100644 index 00000000000..01601925d27 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates_creation.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifactGasEstimatesCreation type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifactGasEstimatesCreation{} + +// SolidityContractJsonArtifactGasEstimatesCreation struct for SolidityContractJsonArtifactGasEstimatesCreation +type SolidityContractJsonArtifactGasEstimatesCreation struct { + CodeDepositCost *string `json:"codeDepositCost,omitempty"` + ExecutionCost *string `json:"executionCost,omitempty"` + TotalCost *string `json:"totalCost,omitempty"` +} + +// NewSolidityContractJsonArtifactGasEstimatesCreation instantiates a new SolidityContractJsonArtifactGasEstimatesCreation object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifactGasEstimatesCreation() *SolidityContractJsonArtifactGasEstimatesCreation { + this := SolidityContractJsonArtifactGasEstimatesCreation{} + return &this +} + +// NewSolidityContractJsonArtifactGasEstimatesCreationWithDefaults instantiates a new SolidityContractJsonArtifactGasEstimatesCreation object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactGasEstimatesCreationWithDefaults() *SolidityContractJsonArtifactGasEstimatesCreation { + this := SolidityContractJsonArtifactGasEstimatesCreation{} + return &this +} + +// GetCodeDepositCost returns the CodeDepositCost field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetCodeDepositCost() string { + if o == nil || IsNil(o.CodeDepositCost) { + var ret string + return ret + } + return *o.CodeDepositCost +} + +// GetCodeDepositCostOk returns a tuple with the CodeDepositCost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetCodeDepositCostOk() (*string, bool) { + if o == nil || IsNil(o.CodeDepositCost) { + return nil, false + } + return o.CodeDepositCost, true +} + +// HasCodeDepositCost returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) HasCodeDepositCost() bool { + if o != nil && !IsNil(o.CodeDepositCost) { + return true + } + + return false +} + +// SetCodeDepositCost gets a reference to the given string and assigns it to the CodeDepositCost field. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) SetCodeDepositCost(v string) { + o.CodeDepositCost = &v +} + +// GetExecutionCost returns the ExecutionCost field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetExecutionCost() string { + if o == nil || IsNil(o.ExecutionCost) { + var ret string + return ret + } + return *o.ExecutionCost +} + +// GetExecutionCostOk returns a tuple with the ExecutionCost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetExecutionCostOk() (*string, bool) { + if o == nil || IsNil(o.ExecutionCost) { + return nil, false + } + return o.ExecutionCost, true +} + +// HasExecutionCost returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) HasExecutionCost() bool { + if o != nil && !IsNil(o.ExecutionCost) { + return true + } + + return false +} + +// SetExecutionCost gets a reference to the given string and assigns it to the ExecutionCost field. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) SetExecutionCost(v string) { + o.ExecutionCost = &v +} + +// GetTotalCost returns the TotalCost field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetTotalCost() string { + if o == nil || IsNil(o.TotalCost) { + var ret string + return ret + } + return *o.TotalCost +} + +// GetTotalCostOk returns a tuple with the TotalCost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetTotalCostOk() (*string, bool) { + if o == nil || IsNil(o.TotalCost) { + return nil, false + } + return o.TotalCost, true +} + +// HasTotalCost returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) HasTotalCost() bool { + if o != nil && !IsNil(o.TotalCost) { + return true + } + + return false +} + +// SetTotalCost gets a reference to the given string and assigns it to the TotalCost field. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) SetTotalCost(v string) { + o.TotalCost = &v +} + +func (o SolidityContractJsonArtifactGasEstimatesCreation) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifactGasEstimatesCreation) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.CodeDepositCost) { + toSerialize["codeDepositCost"] = o.CodeDepositCost + } + if !IsNil(o.ExecutionCost) { + toSerialize["executionCost"] = o.ExecutionCost + } + if !IsNil(o.TotalCost) { + toSerialize["totalCost"] = o.TotalCost + } + return toSerialize, nil +} + +type NullableSolidityContractJsonArtifactGasEstimatesCreation struct { + value *SolidityContractJsonArtifactGasEstimatesCreation + isSet bool +} + +func (v NullableSolidityContractJsonArtifactGasEstimatesCreation) Get() *SolidityContractJsonArtifactGasEstimatesCreation { + return v.value +} + +func (v *NullableSolidityContractJsonArtifactGasEstimatesCreation) Set(val *SolidityContractJsonArtifactGasEstimatesCreation) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifactGasEstimatesCreation) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifactGasEstimatesCreation) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifactGasEstimatesCreation(val *SolidityContractJsonArtifactGasEstimatesCreation) *NullableSolidityContractJsonArtifactGasEstimatesCreation { + return &NullableSolidityContractJsonArtifactGasEstimatesCreation{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifactGasEstimatesCreation) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifactGasEstimatesCreation) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go new file mode 100644 index 00000000000..f604658d4dc --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksV1 the model 'WatchBlocksV1' +type WatchBlocksV1 string + +// List of WatchBlocksV1 +const ( + Subscribe WatchBlocksV1 = "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Subscribe" + Next WatchBlocksV1 = "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Next" + Unsubscribe WatchBlocksV1 = "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Unsubscribe" + Error WatchBlocksV1 = "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Error" + Complete WatchBlocksV1 = "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Complete" +) + +// All allowed values of WatchBlocksV1 enum +var AllowedWatchBlocksV1EnumValues = []WatchBlocksV1{ + "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Subscribe", + "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Next", + "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Unsubscribe", + "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Error", + "org.hyperledger.cactus.api.async.besu.WatchBlocksV1.Complete", +} + +func (v *WatchBlocksV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchBlocksV1(value) + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchBlocksV1", value) +} + +// NewWatchBlocksV1FromValue returns a pointer to a valid WatchBlocksV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchBlocksV1FromValue(v string) (*WatchBlocksV1, error) { + ev := WatchBlocksV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchBlocksV1: valid values are %v", v, AllowedWatchBlocksV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchBlocksV1) IsValid() bool { + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchBlocksV1 value +func (v WatchBlocksV1) Ptr() *WatchBlocksV1 { + return &v +} + +type NullableWatchBlocksV1 struct { + value *WatchBlocksV1 + isSet bool +} + +func (v NullableWatchBlocksV1) Get() *WatchBlocksV1 { + return v.value +} + +func (v *NullableWatchBlocksV1) Set(val *WatchBlocksV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1(val *WatchBlocksV1) *NullableWatchBlocksV1 { + return &NullableWatchBlocksV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go new file mode 100644 index 00000000000..f1242a35216 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1Progress type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1Progress{} + +// WatchBlocksV1Progress struct for WatchBlocksV1Progress +type WatchBlocksV1Progress struct { + BlockHeader Web3BlockHeader `json:"blockHeader"` +} + +// NewWatchBlocksV1Progress instantiates a new WatchBlocksV1Progress object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1Progress(blockHeader Web3BlockHeader) *WatchBlocksV1Progress { + this := WatchBlocksV1Progress{} + this.BlockHeader = blockHeader + return &this +} + +// NewWatchBlocksV1ProgressWithDefaults instantiates a new WatchBlocksV1Progress object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1ProgressWithDefaults() *WatchBlocksV1Progress { + this := WatchBlocksV1Progress{} + return &this +} + +// GetBlockHeader returns the BlockHeader field value +func (o *WatchBlocksV1Progress) GetBlockHeader() Web3BlockHeader { + if o == nil { + var ret Web3BlockHeader + return ret + } + + return o.BlockHeader +} + +// GetBlockHeaderOk returns a tuple with the BlockHeader field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Progress) GetBlockHeaderOk() (*Web3BlockHeader, bool) { + if o == nil { + return nil, false + } + return &o.BlockHeader, true +} + +// SetBlockHeader sets field value +func (o *WatchBlocksV1Progress) SetBlockHeader(v Web3BlockHeader) { + o.BlockHeader = v +} + +func (o WatchBlocksV1Progress) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1Progress) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["blockHeader"] = o.BlockHeader + return toSerialize, nil +} + +type NullableWatchBlocksV1Progress struct { + value *WatchBlocksV1Progress + isSet bool +} + +func (v NullableWatchBlocksV1Progress) Get() *WatchBlocksV1Progress { + return v.value +} + +func (v *NullableWatchBlocksV1Progress) Set(val *WatchBlocksV1Progress) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1Progress) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1Progress) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1Progress(val *WatchBlocksV1Progress) *NullableWatchBlocksV1Progress { + return &NullableWatchBlocksV1Progress{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1Progress) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1Progress) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_request.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_request.go new file mode 100644 index 00000000000..bb749b97e49 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_request.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1Request{} + +// WatchBlocksV1Request struct for WatchBlocksV1Request +type WatchBlocksV1Request struct { + Event WatchBlocksV1 `json:"event"` +} + +// NewWatchBlocksV1Request instantiates a new WatchBlocksV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1Request(event WatchBlocksV1) *WatchBlocksV1Request { + this := WatchBlocksV1Request{} + this.Event = event + return &this +} + +// NewWatchBlocksV1RequestWithDefaults instantiates a new WatchBlocksV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1RequestWithDefaults() *WatchBlocksV1Request { + this := WatchBlocksV1Request{} + return &this +} + +// GetEvent returns the Event field value +func (o *WatchBlocksV1Request) GetEvent() WatchBlocksV1 { + if o == nil { + var ret WatchBlocksV1 + return ret + } + + return o.Event +} + +// GetEventOk returns a tuple with the Event field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Request) GetEventOk() (*WatchBlocksV1, bool) { + if o == nil { + return nil, false + } + return &o.Event, true +} + +// SetEvent sets field value +func (o *WatchBlocksV1Request) SetEvent(v WatchBlocksV1) { + o.Event = v +} + +func (o WatchBlocksV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["event"] = o.Event + return toSerialize, nil +} + +type NullableWatchBlocksV1Request struct { + value *WatchBlocksV1Request + isSet bool +} + +func (v NullableWatchBlocksV1Request) Get() *WatchBlocksV1Request { + return v.value +} + +func (v *NullableWatchBlocksV1Request) Set(val *WatchBlocksV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1Request(val *WatchBlocksV1Request) *NullableWatchBlocksV1Request { + return &NullableWatchBlocksV1Request{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_block_header.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_block_header.go new file mode 100644 index 00000000000..54dec170522 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_block_header.go @@ -0,0 +1,468 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the Web3BlockHeader type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3BlockHeader{} + +// Web3BlockHeader struct for Web3BlockHeader +type Web3BlockHeader struct { + Number float32 `json:"number"` + Hash string `json:"hash"` + ParentHash string `json:"parentHash"` + Nonce string `json:"nonce"` + Sha3Uncles string `json:"sha3Uncles"` + LogsBloom string `json:"logsBloom"` + TransactionRoot string `json:"transactionRoot"` + StateRoot string `json:"stateRoot"` + ReceiptRoot string `json:"receiptRoot"` + Miner string `json:"miner"` + ExtraData string `json:"extraData"` + GasLimit int32 `json:"gasLimit"` + GasUsed int32 `json:"gasUsed"` + Timestamp Web3BlockHeaderTimestamp `json:"timestamp"` +} + +// NewWeb3BlockHeader instantiates a new Web3BlockHeader object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3BlockHeader(number float32, hash string, parentHash string, nonce string, sha3Uncles string, logsBloom string, transactionRoot string, stateRoot string, receiptRoot string, miner string, extraData string, gasLimit int32, gasUsed int32, timestamp Web3BlockHeaderTimestamp) *Web3BlockHeader { + this := Web3BlockHeader{} + this.Number = number + this.Hash = hash + this.ParentHash = parentHash + this.Nonce = nonce + this.Sha3Uncles = sha3Uncles + this.LogsBloom = logsBloom + this.TransactionRoot = transactionRoot + this.StateRoot = stateRoot + this.ReceiptRoot = receiptRoot + this.Miner = miner + this.ExtraData = extraData + this.GasLimit = gasLimit + this.GasUsed = gasUsed + this.Timestamp = timestamp + return &this +} + +// NewWeb3BlockHeaderWithDefaults instantiates a new Web3BlockHeader object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3BlockHeaderWithDefaults() *Web3BlockHeader { + this := Web3BlockHeader{} + return &this +} + +// GetNumber returns the Number field value +func (o *Web3BlockHeader) GetNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Number +} + +// GetNumberOk returns a tuple with the Number field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Number, true +} + +// SetNumber sets field value +func (o *Web3BlockHeader) SetNumber(v float32) { + o.Number = v +} + +// GetHash returns the Hash field value +func (o *Web3BlockHeader) GetHash() string { + if o == nil { + var ret string + return ret + } + + return o.Hash +} + +// GetHashOk returns a tuple with the Hash field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Hash, true +} + +// SetHash sets field value +func (o *Web3BlockHeader) SetHash(v string) { + o.Hash = v +} + +// GetParentHash returns the ParentHash field value +func (o *Web3BlockHeader) GetParentHash() string { + if o == nil { + var ret string + return ret + } + + return o.ParentHash +} + +// GetParentHashOk returns a tuple with the ParentHash field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetParentHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ParentHash, true +} + +// SetParentHash sets field value +func (o *Web3BlockHeader) SetParentHash(v string) { + o.ParentHash = v +} + +// GetNonce returns the Nonce field value +func (o *Web3BlockHeader) GetNonce() string { + if o == nil { + var ret string + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetNonceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *Web3BlockHeader) SetNonce(v string) { + o.Nonce = v +} + +// GetSha3Uncles returns the Sha3Uncles field value +func (o *Web3BlockHeader) GetSha3Uncles() string { + if o == nil { + var ret string + return ret + } + + return o.Sha3Uncles +} + +// GetSha3UnclesOk returns a tuple with the Sha3Uncles field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetSha3UnclesOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sha3Uncles, true +} + +// SetSha3Uncles sets field value +func (o *Web3BlockHeader) SetSha3Uncles(v string) { + o.Sha3Uncles = v +} + +// GetLogsBloom returns the LogsBloom field value +func (o *Web3BlockHeader) GetLogsBloom() string { + if o == nil { + var ret string + return ret + } + + return o.LogsBloom +} + +// GetLogsBloomOk returns a tuple with the LogsBloom field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetLogsBloomOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.LogsBloom, true +} + +// SetLogsBloom sets field value +func (o *Web3BlockHeader) SetLogsBloom(v string) { + o.LogsBloom = v +} + +// GetTransactionRoot returns the TransactionRoot field value +func (o *Web3BlockHeader) GetTransactionRoot() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionRoot +} + +// GetTransactionRootOk returns a tuple with the TransactionRoot field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetTransactionRootOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionRoot, true +} + +// SetTransactionRoot sets field value +func (o *Web3BlockHeader) SetTransactionRoot(v string) { + o.TransactionRoot = v +} + +// GetStateRoot returns the StateRoot field value +func (o *Web3BlockHeader) GetStateRoot() string { + if o == nil { + var ret string + return ret + } + + return o.StateRoot +} + +// GetStateRootOk returns a tuple with the StateRoot field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetStateRootOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StateRoot, true +} + +// SetStateRoot sets field value +func (o *Web3BlockHeader) SetStateRoot(v string) { + o.StateRoot = v +} + +// GetReceiptRoot returns the ReceiptRoot field value +func (o *Web3BlockHeader) GetReceiptRoot() string { + if o == nil { + var ret string + return ret + } + + return o.ReceiptRoot +} + +// GetReceiptRootOk returns a tuple with the ReceiptRoot field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetReceiptRootOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ReceiptRoot, true +} + +// SetReceiptRoot sets field value +func (o *Web3BlockHeader) SetReceiptRoot(v string) { + o.ReceiptRoot = v +} + +// GetMiner returns the Miner field value +func (o *Web3BlockHeader) GetMiner() string { + if o == nil { + var ret string + return ret + } + + return o.Miner +} + +// GetMinerOk returns a tuple with the Miner field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetMinerOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Miner, true +} + +// SetMiner sets field value +func (o *Web3BlockHeader) SetMiner(v string) { + o.Miner = v +} + +// GetExtraData returns the ExtraData field value +func (o *Web3BlockHeader) GetExtraData() string { + if o == nil { + var ret string + return ret + } + + return o.ExtraData +} + +// GetExtraDataOk returns a tuple with the ExtraData field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetExtraDataOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ExtraData, true +} + +// SetExtraData sets field value +func (o *Web3BlockHeader) SetExtraData(v string) { + o.ExtraData = v +} + +// GetGasLimit returns the GasLimit field value +func (o *Web3BlockHeader) GetGasLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetGasLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *Web3BlockHeader) SetGasLimit(v int32) { + o.GasLimit = v +} + +// GetGasUsed returns the GasUsed field value +func (o *Web3BlockHeader) GetGasUsed() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetGasUsedOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *Web3BlockHeader) SetGasUsed(v int32) { + o.GasUsed = v +} + +// GetTimestamp returns the Timestamp field value +func (o *Web3BlockHeader) GetTimestamp() Web3BlockHeaderTimestamp { + if o == nil { + var ret Web3BlockHeaderTimestamp + return ret + } + + return o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetTimestampOk() (*Web3BlockHeaderTimestamp, bool) { + if o == nil { + return nil, false + } + return &o.Timestamp, true +} + +// SetTimestamp sets field value +func (o *Web3BlockHeader) SetTimestamp(v Web3BlockHeaderTimestamp) { + o.Timestamp = v +} + +func (o Web3BlockHeader) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3BlockHeader) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["number"] = o.Number + toSerialize["hash"] = o.Hash + toSerialize["parentHash"] = o.ParentHash + toSerialize["nonce"] = o.Nonce + toSerialize["sha3Uncles"] = o.Sha3Uncles + toSerialize["logsBloom"] = o.LogsBloom + toSerialize["transactionRoot"] = o.TransactionRoot + toSerialize["stateRoot"] = o.StateRoot + toSerialize["receiptRoot"] = o.ReceiptRoot + toSerialize["miner"] = o.Miner + toSerialize["extraData"] = o.ExtraData + toSerialize["gasLimit"] = o.GasLimit + toSerialize["gasUsed"] = o.GasUsed + toSerialize["timestamp"] = o.Timestamp + return toSerialize, nil +} + +type NullableWeb3BlockHeader struct { + value *Web3BlockHeader + isSet bool +} + +func (v NullableWeb3BlockHeader) Get() *Web3BlockHeader { + return v.value +} + +func (v *NullableWeb3BlockHeader) Set(val *Web3BlockHeader) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3BlockHeader) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3BlockHeader) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3BlockHeader(val *Web3BlockHeader) *NullableWeb3BlockHeader { + return &NullableWeb3BlockHeader{value: val, isSet: true} +} + +func (v NullableWeb3BlockHeader) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3BlockHeader) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_block_header_timestamp.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_block_header_timestamp.go new file mode 100644 index 00000000000..c9f09a037ee --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_block_header_timestamp.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" + "fmt" +) + +// Web3BlockHeaderTimestamp - struct for Web3BlockHeaderTimestamp +type Web3BlockHeaderTimestamp struct { + Float32 *float32 + String *string +} + +// float32AsWeb3BlockHeaderTimestamp is a convenience function that returns float32 wrapped in Web3BlockHeaderTimestamp +func Float32AsWeb3BlockHeaderTimestamp(v *float32) Web3BlockHeaderTimestamp { + return Web3BlockHeaderTimestamp{ + Float32: v, + } +} + +// stringAsWeb3BlockHeaderTimestamp is a convenience function that returns string wrapped in Web3BlockHeaderTimestamp +func StringAsWeb3BlockHeaderTimestamp(v *string) Web3BlockHeaderTimestamp { + return Web3BlockHeaderTimestamp{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Web3BlockHeaderTimestamp) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Float32 + err = newStrictDecoder(data).Decode(&dst.Float32) + if err == nil { + jsonFloat32, _ := json.Marshal(dst.Float32) + if string(jsonFloat32) == "{}" { // empty struct + dst.Float32 = nil + } else { + match++ + } + } else { + dst.Float32 = nil + } + + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Float32 = nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Web3BlockHeaderTimestamp)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Web3BlockHeaderTimestamp)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Web3BlockHeaderTimestamp) MarshalJSON() ([]byte, error) { + if src.Float32 != nil { + return json.Marshal(&src.Float32) + } + + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Web3BlockHeaderTimestamp) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Float32 != nil { + return obj.Float32 + } + + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableWeb3BlockHeaderTimestamp struct { + value *Web3BlockHeaderTimestamp + isSet bool +} + +func (v NullableWeb3BlockHeaderTimestamp) Get() *Web3BlockHeaderTimestamp { + return v.value +} + +func (v *NullableWeb3BlockHeaderTimestamp) Set(val *Web3BlockHeaderTimestamp) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3BlockHeaderTimestamp) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3BlockHeaderTimestamp) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3BlockHeaderTimestamp(val *Web3BlockHeaderTimestamp) *NullableWeb3BlockHeaderTimestamp { + return &NullableWeb3BlockHeaderTimestamp{value: val, isSet: true} +} + +func (v NullableWeb3BlockHeaderTimestamp) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3BlockHeaderTimestamp) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go new file mode 100644 index 00000000000..af9428c82c5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go @@ -0,0 +1,178 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredential - struct for Web3SigningCredential +type Web3SigningCredential struct { + Web3SigningCredentialCactusKeychainRef *Web3SigningCredentialCactusKeychainRef + Web3SigningCredentialNone *Web3SigningCredentialNone + Web3SigningCredentialPrivateKeyHex *Web3SigningCredentialPrivateKeyHex +} + +// Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialCactusKeychainRef wrapped in Web3SigningCredential +func Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential(v *Web3SigningCredentialCactusKeychainRef) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialCactusKeychainRef: v, + } +} + +// Web3SigningCredentialNoneAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialNone wrapped in Web3SigningCredential +func Web3SigningCredentialNoneAsWeb3SigningCredential(v *Web3SigningCredentialNone) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialNone: v, + } +} + +// Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialPrivateKeyHex wrapped in Web3SigningCredential +func Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential(v *Web3SigningCredentialPrivateKeyHex) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialPrivateKeyHex: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Web3SigningCredential) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Web3SigningCredentialCactusKeychainRef + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialCactusKeychainRef) + if err == nil { + jsonWeb3SigningCredentialCactusKeychainRef, _ := json.Marshal(dst.Web3SigningCredentialCactusKeychainRef) + if string(jsonWeb3SigningCredentialCactusKeychainRef) == "{}" { // empty struct + dst.Web3SigningCredentialCactusKeychainRef = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialCactusKeychainRef = nil + } + + // try to unmarshal data into Web3SigningCredentialNone + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialNone) + if err == nil { + jsonWeb3SigningCredentialNone, _ := json.Marshal(dst.Web3SigningCredentialNone) + if string(jsonWeb3SigningCredentialNone) == "{}" { // empty struct + dst.Web3SigningCredentialNone = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialNone = nil + } + + // try to unmarshal data into Web3SigningCredentialPrivateKeyHex + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialPrivateKeyHex) + if err == nil { + jsonWeb3SigningCredentialPrivateKeyHex, _ := json.Marshal(dst.Web3SigningCredentialPrivateKeyHex) + if string(jsonWeb3SigningCredentialPrivateKeyHex) == "{}" { // empty struct + dst.Web3SigningCredentialPrivateKeyHex = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialPrivateKeyHex = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Web3SigningCredentialCactusKeychainRef = nil + dst.Web3SigningCredentialNone = nil + dst.Web3SigningCredentialPrivateKeyHex = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Web3SigningCredential)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Web3SigningCredential)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Web3SigningCredential) MarshalJSON() ([]byte, error) { + if src.Web3SigningCredentialCactusKeychainRef != nil { + return json.Marshal(&src.Web3SigningCredentialCactusKeychainRef) + } + + if src.Web3SigningCredentialNone != nil { + return json.Marshal(&src.Web3SigningCredentialNone) + } + + if src.Web3SigningCredentialPrivateKeyHex != nil { + return json.Marshal(&src.Web3SigningCredentialPrivateKeyHex) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Web3SigningCredential) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Web3SigningCredentialCactusKeychainRef != nil { + return obj.Web3SigningCredentialCactusKeychainRef + } + + if obj.Web3SigningCredentialNone != nil { + return obj.Web3SigningCredentialNone + } + + if obj.Web3SigningCredentialPrivateKeyHex != nil { + return obj.Web3SigningCredentialPrivateKeyHex + } + + // all schemas are nil + return nil +} + +type NullableWeb3SigningCredential struct { + value *Web3SigningCredential + isSet bool +} + +func (v NullableWeb3SigningCredential) Get() *Web3SigningCredential { + return v.value +} + +func (v *NullableWeb3SigningCredential) Set(val *Web3SigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredential(val *Web3SigningCredential) *NullableWeb3SigningCredential { + return &NullableWeb3SigningCredential{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go new file mode 100644 index 00000000000..4aa2ce22898 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go @@ -0,0 +1,201 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialCactusKeychainRef type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialCactusKeychainRef{} + +// Web3SigningCredentialCactusKeychainRef struct for Web3SigningCredentialCactusKeychainRef +type Web3SigningCredentialCactusKeychainRef struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The key to use when looking up the the keychain entry holding the secret pointed to by the keychainEntryKey parameter. + KeychainEntryKey string `json:"keychainEntryKey"` + // The keychain ID to use when looking up the the keychain plugin instance that will be used to retrieve the secret pointed to by the keychainEntryKey parameter. + KeychainId string `json:"keychainId"` +} + +// NewWeb3SigningCredentialCactusKeychainRef instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialCactusKeychainRef(type_ Web3SigningCredentialType, ethAccount string, keychainEntryKey string, keychainId string) *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + this.Type = type_ + this.EthAccount = ethAccount + this.KeychainEntryKey = keychainEntryKey + this.KeychainId = keychainId + return &this +} + +// NewWeb3SigningCredentialCactusKeychainRefWithDefaults instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialCactusKeychainRefWithDefaults() *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialCactusKeychainRef) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetKeychainEntryKey returns the KeychainEntryKey field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKey() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainEntryKey +} + +// GetKeychainEntryKeyOk returns a tuple with the KeychainEntryKey field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainEntryKey, true +} + +// SetKeychainEntryKey sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainEntryKey(v string) { + o.KeychainEntryKey = v +} + +// GetKeychainId returns the KeychainId field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o Web3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialCactusKeychainRef) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["keychainEntryKey"] = o.KeychainEntryKey + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableWeb3SigningCredentialCactusKeychainRef struct { + value *Web3SigningCredentialCactusKeychainRef + isSet bool +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) Get() *Web3SigningCredentialCactusKeychainRef { + return v.value +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Set(val *Web3SigningCredentialCactusKeychainRef) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialCactusKeychainRef(val *Web3SigningCredentialCactusKeychainRef) *NullableWeb3SigningCredentialCactusKeychainRef { + return &NullableWeb3SigningCredentialCactusKeychainRef{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go new file mode 100644 index 00000000000..ba1ca853781 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialNone type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialNone{} + +// Web3SigningCredentialNone Using this denotes that there is no signing required because the transaction is pre-signed. +type Web3SigningCredentialNone struct { + Type Web3SigningCredentialType `json:"type"` +} + +// NewWeb3SigningCredentialNone instantiates a new Web3SigningCredentialNone object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialNone(type_ Web3SigningCredentialType) *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + this.Type = type_ + return &this +} + +// NewWeb3SigningCredentialNoneWithDefaults instantiates a new Web3SigningCredentialNone object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialNoneWithDefaults() *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialNone) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialNone) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialNone) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +func (o Web3SigningCredentialNone) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialNone) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + return toSerialize, nil +} + +type NullableWeb3SigningCredentialNone struct { + value *Web3SigningCredentialNone + isSet bool +} + +func (v NullableWeb3SigningCredentialNone) Get() *Web3SigningCredentialNone { + return v.value +} + +func (v *NullableWeb3SigningCredentialNone) Set(val *Web3SigningCredentialNone) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialNone) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialNone) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialNone(val *Web3SigningCredentialNone) *NullableWeb3SigningCredentialNone { + return &NullableWeb3SigningCredentialNone{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialNone) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialNone) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go new file mode 100644 index 00000000000..72f2dd4a429 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialPrivateKeyHex type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialPrivateKeyHex{} + +// Web3SigningCredentialPrivateKeyHex struct for Web3SigningCredentialPrivateKeyHex +type Web3SigningCredentialPrivateKeyHex struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The HEX encoded private key of an eth account. + Secret string `json:"secret"` +} + +// NewWeb3SigningCredentialPrivateKeyHex instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialPrivateKeyHex(type_ Web3SigningCredentialType, ethAccount string, secret string) *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + this.Type = type_ + this.EthAccount = ethAccount + this.Secret = secret + return &this +} + +// NewWeb3SigningCredentialPrivateKeyHexWithDefaults instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialPrivateKeyHexWithDefaults() *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialPrivateKeyHex) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetSecret returns the Secret field value +func (o *Web3SigningCredentialPrivateKeyHex) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetSecret(v string) { + o.Secret = v +} + +func (o Web3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialPrivateKeyHex) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["secret"] = o.Secret + return toSerialize, nil +} + +type NullableWeb3SigningCredentialPrivateKeyHex struct { + value *Web3SigningCredentialPrivateKeyHex + isSet bool +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) Get() *Web3SigningCredentialPrivateKeyHex { + return v.value +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Set(val *Web3SigningCredentialPrivateKeyHex) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialPrivateKeyHex(val *Web3SigningCredentialPrivateKeyHex) *NullableWeb3SigningCredentialPrivateKeyHex { + return &NullableWeb3SigningCredentialPrivateKeyHex{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go new file mode 100644 index 00000000000..5649dd04945 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredentialType the model 'Web3SigningCredentialType' +type Web3SigningCredentialType string + +// List of Web3SigningCredentialType +const ( + CACTUS_KEYCHAIN_REF Web3SigningCredentialType = "CACTUS_KEYCHAIN_REF" + GETH_KEYCHAIN_PASSWORD Web3SigningCredentialType = "GETH_KEYCHAIN_PASSWORD" + PRIVATE_KEY_HEX Web3SigningCredentialType = "PRIVATE_KEY_HEX" + NONE Web3SigningCredentialType = "NONE" +) + +// All allowed values of Web3SigningCredentialType enum +var AllowedWeb3SigningCredentialTypeEnumValues = []Web3SigningCredentialType{ + "CACTUS_KEYCHAIN_REF", + "GETH_KEYCHAIN_PASSWORD", + "PRIVATE_KEY_HEX", + "NONE", +} + +func (v *Web3SigningCredentialType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Web3SigningCredentialType(value) + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Web3SigningCredentialType", value) +} + +// NewWeb3SigningCredentialTypeFromValue returns a pointer to a valid Web3SigningCredentialType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWeb3SigningCredentialTypeFromValue(v string) (*Web3SigningCredentialType, error) { + ev := Web3SigningCredentialType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Web3SigningCredentialType: valid values are %v", v, AllowedWeb3SigningCredentialTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Web3SigningCredentialType) IsValid() bool { + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Web3SigningCredentialType value +func (v Web3SigningCredentialType) Ptr() *Web3SigningCredentialType { + return &v +} + +type NullableWeb3SigningCredentialType struct { + value *Web3SigningCredentialType + isSet bool +} + +func (v NullableWeb3SigningCredentialType) Get() *Web3SigningCredentialType { + return v.value +} + +func (v *NullableWeb3SigningCredentialType) Set(val *Web3SigningCredentialType) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialType) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialType(val *Web3SigningCredentialType) *NullableWeb3SigningCredentialType { + return &NullableWeb3SigningCredentialType{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go new file mode 100644 index 00000000000..4c1b772e59a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go @@ -0,0 +1,385 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" +) + +// checks if the Web3TransactionReceipt type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3TransactionReceipt{} + +// Web3TransactionReceipt struct for Web3TransactionReceipt +type Web3TransactionReceipt struct { + Status bool `json:"status"` + TransactionHash string `json:"transactionHash"` + TransactionIndex float32 `json:"transactionIndex"` + BlockHash string `json:"blockHash"` + BlockNumber float32 `json:"blockNumber"` + GasUsed float32 `json:"gasUsed"` + ContractAddress NullableString `json:"contractAddress,omitempty"` + From string `json:"from"` + To string `json:"to"` + AdditionalProperties map[string]interface{} +} + +type _Web3TransactionReceipt Web3TransactionReceipt + +// NewWeb3TransactionReceipt instantiates a new Web3TransactionReceipt object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3TransactionReceipt(status bool, transactionHash string, transactionIndex float32, blockHash string, blockNumber float32, gasUsed float32, from string, to string) *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + this.Status = status + this.TransactionHash = transactionHash + this.TransactionIndex = transactionIndex + this.BlockHash = blockHash + this.BlockNumber = blockNumber + this.GasUsed = gasUsed + this.From = from + this.To = to + return &this +} + +// NewWeb3TransactionReceiptWithDefaults instantiates a new Web3TransactionReceipt object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3TransactionReceiptWithDefaults() *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + return &this +} + +// GetStatus returns the Status field value +func (o *Web3TransactionReceipt) GetStatus() bool { + if o == nil { + var ret bool + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetStatusOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *Web3TransactionReceipt) SetStatus(v bool) { + o.Status = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *Web3TransactionReceipt) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *Web3TransactionReceipt) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTransactionIndex returns the TransactionIndex field value +func (o *Web3TransactionReceipt) GetTransactionIndex() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.TransactionIndex +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionIndexOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.TransactionIndex, true +} + +// SetTransactionIndex sets field value +func (o *Web3TransactionReceipt) SetTransactionIndex(v float32) { + o.TransactionIndex = v +} + +// GetBlockHash returns the BlockHash field value +func (o *Web3TransactionReceipt) GetBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockHash, true +} + +// SetBlockHash sets field value +func (o *Web3TransactionReceipt) SetBlockHash(v string) { + o.BlockHash = v +} + +// GetBlockNumber returns the BlockNumber field value +func (o *Web3TransactionReceipt) GetBlockNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.BlockNumber, true +} + +// SetBlockNumber sets field value +func (o *Web3TransactionReceipt) SetBlockNumber(v float32) { + o.BlockNumber = v +} + +// GetGasUsed returns the GasUsed field value +func (o *Web3TransactionReceipt) GetGasUsed() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetGasUsedOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *Web3TransactionReceipt) SetGasUsed(v float32) { + o.GasUsed = v +} + +// GetContractAddress returns the ContractAddress field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Web3TransactionReceipt) GetContractAddress() string { + if o == nil || IsNil(o.ContractAddress.Get()) { + var ret string + return ret + } + return *o.ContractAddress.Get() +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3TransactionReceipt) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ContractAddress.Get(), o.ContractAddress.IsSet() +} + +// HasContractAddress returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasContractAddress() bool { + if o != nil && o.ContractAddress.IsSet() { + return true + } + + return false +} + +// SetContractAddress gets a reference to the given NullableString and assigns it to the ContractAddress field. +func (o *Web3TransactionReceipt) SetContractAddress(v string) { + o.ContractAddress.Set(&v) +} +// SetContractAddressNil sets the value for ContractAddress to be an explicit nil +func (o *Web3TransactionReceipt) SetContractAddressNil() { + o.ContractAddress.Set(nil) +} + +// UnsetContractAddress ensures that no value is present for ContractAddress, not even an explicit nil +func (o *Web3TransactionReceipt) UnsetContractAddress() { + o.ContractAddress.Unset() +} + +// GetFrom returns the From field value +func (o *Web3TransactionReceipt) GetFrom() string { + if o == nil { + var ret string + return ret + } + + return o.From +} + +// GetFromOk returns a tuple with the From field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.From, true +} + +// SetFrom sets field value +func (o *Web3TransactionReceipt) SetFrom(v string) { + o.From = v +} + +// GetTo returns the To field value +func (o *Web3TransactionReceipt) GetTo() string { + if o == nil { + var ret string + return ret + } + + return o.To +} + +// GetToOk returns a tuple with the To field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetToOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.To, true +} + +// SetTo sets field value +func (o *Web3TransactionReceipt) SetTo(v string) { + o.To = v +} + +func (o Web3TransactionReceipt) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3TransactionReceipt) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + toSerialize["transactionHash"] = o.TransactionHash + toSerialize["transactionIndex"] = o.TransactionIndex + toSerialize["blockHash"] = o.BlockHash + toSerialize["blockNumber"] = o.BlockNumber + toSerialize["gasUsed"] = o.GasUsed + if o.ContractAddress.IsSet() { + toSerialize["contractAddress"] = o.ContractAddress.Get() + } + toSerialize["from"] = o.From + toSerialize["to"] = o.To + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Web3TransactionReceipt) UnmarshalJSON(bytes []byte) (err error) { + varWeb3TransactionReceipt := _Web3TransactionReceipt{} + + if err = json.Unmarshal(bytes, &varWeb3TransactionReceipt); err == nil { + *o = Web3TransactionReceipt(varWeb3TransactionReceipt) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "status") + delete(additionalProperties, "transactionHash") + delete(additionalProperties, "transactionIndex") + delete(additionalProperties, "blockHash") + delete(additionalProperties, "blockNumber") + delete(additionalProperties, "gasUsed") + delete(additionalProperties, "contractAddress") + delete(additionalProperties, "from") + delete(additionalProperties, "to") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWeb3TransactionReceipt struct { + value *Web3TransactionReceipt + isSet bool +} + +func (v NullableWeb3TransactionReceipt) Get() *Web3TransactionReceipt { + return v.value +} + +func (v *NullableWeb3TransactionReceipt) Set(val *Web3TransactionReceipt) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3TransactionReceipt) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3TransactionReceipt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3TransactionReceipt(val *Web3TransactionReceipt) *NullableWeb3TransactionReceipt { + return &NullableWeb3TransactionReceipt{value: val, isSet: true} +} + +func (v NullableWeb3TransactionReceipt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3TransactionReceipt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..a2ae524e0d0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..92a89ef0d21 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,157 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-besu + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-besu_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeployContractSolBytecodeV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContractSolBytecodeV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetBalanceV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetBalanceV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetBesuRecordV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetBesuRecordV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetBlockV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetBlockV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetOpenApiSpecV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetOpenApiSpecV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPastLogsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPastLogsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetTransactionV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetTransactionV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RunTransactionV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RunTransactionV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SignTransactionV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SignTransactionV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..41b7dc28cf0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-besu/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Connector Besu + +Can perform basic tasks on a Besu ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-besu + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-cdl/package.json b/packages/cactus-plugin-ledger-connector-cdl/package.json index 26ac52a849d..fc8953aec1a 100644 --- a/packages/cactus-plugin-ledger-connector-cdl/package.json +++ b/packages/cactus-plugin-ledger-connector-cdl/package.json @@ -48,6 +48,7 @@ "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..7aa5d797e06 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,27 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_auth_info_access_token_v1.go +model_auth_info_subscription_key_v1.go +model_auth_info_v1.go +model_cdl_common_response_v1.go +model_error_exception_response_v1.go +model_event_lineage_v1.go +model_gateway_configuration_v1.go +model_get_lineage_option_direction_v1.go +model_get_lineage_request_v1.go +model_get_lineage_response_v1.go +model_register_history_data_request_v1.go +model_register_history_data_v1_response.go +model_search_lineage_request_v1.go +model_search_lineage_response_v1.go +model_search_lineage_type_v1.go +model_trail_event_details_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..e7e42a4b585 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.3.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..157028ceb97 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,130 @@ +# Go API client for cactus-plugin-ledger-connector-cdl + +Can perform basic tasks on Fujitsu CDL service. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-cdl "github.com/hyperledger/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-cdl.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-cdl.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-cdl.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-cdl.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**GetLineageV1**](docs/DefaultApi.md#getlineagev1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/get-lineage | Get lineage trail from CDL. +*DefaultApi* | [**RegisterHistoryDataV1**](docs/DefaultApi.md#registerhistorydatav1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/register-history-data | Register new data trail on CDL +*DefaultApi* | [**SearchLineageByGlobalDataV1**](docs/DefaultApi.md#searchlineagebyglobaldatav1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/search-lineage-by-globaldata | Search lineage using global data fields. +*DefaultApi* | [**SearchLineageByHeaderV1**](docs/DefaultApi.md#searchlineagebyheaderv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/search-lineage-by-header | Search lineage using header fields. + + +## Documentation For Models + + - [AuthInfoAccessTokenV1](docs/AuthInfoAccessTokenV1.md) + - [AuthInfoSubscriptionKeyV1](docs/AuthInfoSubscriptionKeyV1.md) + - [AuthInfoV1](docs/AuthInfoV1.md) + - [CDLCommonResponseV1](docs/CDLCommonResponseV1.md) + - [ErrorExceptionResponseV1](docs/ErrorExceptionResponseV1.md) + - [EventLineageV1](docs/EventLineageV1.md) + - [GatewayConfigurationV1](docs/GatewayConfigurationV1.md) + - [GetLineageOptionDirectionV1](docs/GetLineageOptionDirectionV1.md) + - [GetLineageRequestV1](docs/GetLineageRequestV1.md) + - [GetLineageResponseV1](docs/GetLineageResponseV1.md) + - [RegisterHistoryDataRequestV1](docs/RegisterHistoryDataRequestV1.md) + - [RegisterHistoryDataV1Response](docs/RegisterHistoryDataV1Response.md) + - [SearchLineageRequestV1](docs/SearchLineageRequestV1.md) + - [SearchLineageResponseV1](docs/SearchLineageResponseV1.md) + - [SearchLineageTypeV1](docs/SearchLineageTypeV1.md) + - [TrailEventDetailsV1](docs/TrailEventDetailsV1.md) + + +## Documentation For Authorization + + Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..c50ec6493e3 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,498 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on Fujitsu CDL service. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cacti Plugin - Connector CDL + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/register-history-data: + post: + operationId: registerHistoryDataV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RegisterHistoryDataRequestV1' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RegisterHistoryDataV1Response' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Register new data trail on CDL + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/register-history-data + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/get-lineage: + post: + operationId: getLineageV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetLineageRequestV1' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetLineageResponseV1' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Get lineage trail from CDL. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/get-lineage + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/search-lineage-by-header: + post: + operationId: searchLineageByHeaderV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SearchLineageRequestV1' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SearchLineageResponseV1' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Search lineage using header fields. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/search-lineage-by-header + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/search-lineage-by-globaldata: + post: + operationId: searchLineageByGlobalDataV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SearchLineageRequestV1' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SearchLineageResponseV1' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Search lineage using global data fields. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/search-lineage-by-globaldata +components: + schemas: + GetLineageOptionDirectionV1: + enum: + - backward + - forward + - both + type: string + x-enum-varnames: + - Backward + - Forward + - Both + SearchLineageTypeV1: + enum: + - exactmatch + - partialmatch + - regexpmatch + type: string + x-enum-varnames: + - ExactMatch + - PartialMatch + - RegexMatch + GatewayConfigurationV1: + properties: + url: + description: Gateway URL + nullable: false + type: string + userAgent: + description: Value of User-Agent header sent to CDL (to identify this client) + nullable: false + type: string + skipCertCheck: + default: false + description: Set to true to ignore self-signed and other rejected certificates + nullable: false + type: boolean + caPath: + description: CA of CDL API gateway server in PEM format to use + nullable: false + type: string + serverName: + description: Overwrite server name from cdlApiGateway.url to match one specified + in CA + nullable: false + type: string + required: + - url + type: object + AuthInfoAccessTokenV1: + properties: + accessToken: + nullable: false + type: string + trustAgentId: + nullable: false + type: string + required: + - accessToken + - trustAgentId + type: object + AuthInfoSubscriptionKeyV1: + properties: + subscriptionKey: + nullable: false + type: string + trustAgentId: + nullable: false + type: string + trustAgentRole: + nullable: false + type: string + trustUserId: + nullable: false + type: string + trustUserRole: + nullable: false + type: string + required: + - subscriptionKey + - trustAgentId + - trustAgentRole + - trustUserId + - trustUserRole + type: object + AuthInfoV1: + oneOf: + - $ref: '#/components/schemas/AuthInfoAccessTokenV1' + - $ref: '#/components/schemas/AuthInfoSubscriptionKeyV1' + type: object + EventLineageV1: + description: CDL event linage information (used to identify related events) + example: + cdl:NextEventIdList: + - "" + - "" + cdl:DataModelMode: "" + cdl:EventId: "" + cdl:PreviousEventIdList: + - "" + - "" + cdl:LineageId: "" + cdl:DataRegistrationTimeStamp: "" + cdl:DataModelVersion: "" + properties: + cdl:EventId: + nullable: false + type: ' string' + cdl:LineageId: + nullable: false + type: ' string' + cdl:DataModelMode: + nullable: false + type: ' string' + cdl:DataModelVersion: + nullable: false + type: ' string' + cdl:DataRegistrationTimeStamp: + nullable: false + type: ' string' + cdl:NextEventIdList: + items: + nullable: false + type: ' string' + type: array + cdl:PreviousEventIdList: + items: + nullable: false + type: ' string' + type: array + required: + - cdl:DataModelMode + - cdl:DataModelVersion + - cdl:DataRegistrationTimeStamp + - cdl:EventId + - cdl:LineageId + - cdl:NextEventIdList + - cdl:PreviousEventIdList + type: object + TrailEventDetailsV1: + description: Details of newly created CDL event. + example: + cdl:Event: "" + cdl:Lineage: + cdl:NextEventIdList: + - "" + - "" + cdl:DataModelMode: "" + cdl:EventId: "" + cdl:PreviousEventIdList: + - "" + - "" + cdl:LineageId: "" + cdl:DataRegistrationTimeStamp: "" + cdl:DataModelVersion: "" + cdl:Verification: "" + cdl:Tags: "" + properties: + cdl:Event: + nullable: false + cdl:Lineage: + $ref: '#/components/schemas/EventLineageV1' + cdl:Tags: + nullable: false + cdl:Verification: + nullable: false + required: + - cdl:Lineage + - cdl:Tags + - cdl:Verification + type: object + CDLCommonResponseV1: + properties: + detail: + nullable: false + result: + nullable: false + type: ' string' + required: + - result + type: object + RegisterHistoryDataRequestV1: + example: + eventId: eventId + lineageId: lineageId + properties: "" + authInfo: null + tags: "" + properties: + authInfo: + $ref: '#/components/schemas/AuthInfoV1' + eventId: + nullable: false + type: string + lineageId: + nullable: false + type: string + tags: + nullable: false + properties: + nullable: false + required: + - authInfo + type: object + RegisterHistoryDataV1Response: + example: + result: "" + detail: + cdl:Event: "" + cdl:Lineage: + cdl:NextEventIdList: + - "" + - "" + cdl:DataModelMode: "" + cdl:EventId: "" + cdl:PreviousEventIdList: + - "" + - "" + cdl:LineageId: "" + cdl:DataRegistrationTimeStamp: "" + cdl:DataModelVersion: "" + cdl:Verification: "" + cdl:Tags: "" + properties: + detail: + $ref: '#/components/schemas/TrailEventDetailsV1' + result: + nullable: false + type: ' string' + required: + - detail + - result + type: object + GetLineageRequestV1: + example: + eventId: eventId + depth: "-1" + authInfo: null + direction: null + properties: + authInfo: + $ref: '#/components/schemas/AuthInfoV1' + eventId: + nullable: false + type: string + direction: + $ref: '#/components/schemas/GetLineageOptionDirectionV1' + depth: + default: "-1" + nullable: false + type: string + required: + - authInfo + - eventId + type: object + GetLineageResponseV1: + example: + result: "" + detail: + - cdl:Event: "" + cdl:Lineage: + cdl:NextEventIdList: + - "" + - "" + cdl:DataModelMode: "" + cdl:EventId: "" + cdl:PreviousEventIdList: + - "" + - "" + cdl:LineageId: "" + cdl:DataRegistrationTimeStamp: "" + cdl:DataModelVersion: "" + cdl:Verification: "" + cdl:Tags: "" + - cdl:Event: "" + cdl:Lineage: + cdl:NextEventIdList: + - "" + - "" + cdl:DataModelMode: "" + cdl:EventId: "" + cdl:PreviousEventIdList: + - "" + - "" + cdl:LineageId: "" + cdl:DataRegistrationTimeStamp: "" + cdl:DataModelVersion: "" + cdl:Verification: "" + cdl:Tags: "" + properties: + detail: + items: + $ref: '#/components/schemas/TrailEventDetailsV1' + type: array + result: + nullable: false + type: ' string' + required: + - detail + - result + type: object + SearchLineageRequestV1: + example: + searchType: null + fields: "" + authInfo: null + properties: + authInfo: + $ref: '#/components/schemas/AuthInfoV1' + searchType: + $ref: '#/components/schemas/SearchLineageTypeV1' + fields: + nullable: false + required: + - authInfo + - fields + - searchType + type: object + SearchLineageResponseV1: + example: + result: "" + detail: + - cdl:Event: "" + cdl:Lineage: + cdl:NextEventIdList: + - "" + - "" + cdl:DataModelMode: "" + cdl:EventId: "" + cdl:PreviousEventIdList: + - "" + - "" + cdl:LineageId: "" + cdl:DataRegistrationTimeStamp: "" + cdl:DataModelVersion: "" + cdl:Verification: "" + cdl:Tags: "" + - cdl:Event: "" + cdl:Lineage: + cdl:NextEventIdList: + - "" + - "" + cdl:DataModelMode: "" + cdl:EventId: "" + cdl:PreviousEventIdList: + - "" + - "" + cdl:LineageId: "" + cdl:DataRegistrationTimeStamp: "" + cdl:DataModelVersion: "" + cdl:Verification: "" + cdl:Tags: "" + properties: + detail: + items: + $ref: '#/components/schemas/TrailEventDetailsV1' + type: array + result: + nullable: false + type: ' string' + required: + - detail + - result + type: object + ErrorExceptionResponseV1: + description: Error response from the connector. + properties: + message: + description: Short error description message. + nullable: false + type: string + error: + description: Detailed error information. + nullable: false + type: string + required: + - error + - message + type: object diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..9c42a4936d6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,483 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "bytes" + "context" + "io/ioutil" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiGetLineageV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getLineageRequestV1 *GetLineageRequestV1 +} + +func (r ApiGetLineageV1Request) GetLineageRequestV1(getLineageRequestV1 GetLineageRequestV1) ApiGetLineageV1Request { + r.getLineageRequestV1 = &getLineageRequestV1 + return r +} + +func (r ApiGetLineageV1Request) Execute() (*GetLineageResponseV1, *http.Response, error) { + return r.ApiService.GetLineageV1Execute(r) +} + +/* +GetLineageV1 Get lineage trail from CDL. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetLineageV1Request +*/ +func (a *DefaultApiService) GetLineageV1(ctx context.Context) ApiGetLineageV1Request { + return ApiGetLineageV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetLineageResponseV1 +func (a *DefaultApiService) GetLineageV1Execute(r ApiGetLineageV1Request) (*GetLineageResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetLineageResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetLineageV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/get-lineage" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getLineageRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRegisterHistoryDataV1Request struct { + ctx context.Context + ApiService *DefaultApiService + registerHistoryDataRequestV1 *RegisterHistoryDataRequestV1 +} + +func (r ApiRegisterHistoryDataV1Request) RegisterHistoryDataRequestV1(registerHistoryDataRequestV1 RegisterHistoryDataRequestV1) ApiRegisterHistoryDataV1Request { + r.registerHistoryDataRequestV1 = ®isterHistoryDataRequestV1 + return r +} + +func (r ApiRegisterHistoryDataV1Request) Execute() (*RegisterHistoryDataV1Response, *http.Response, error) { + return r.ApiService.RegisterHistoryDataV1Execute(r) +} + +/* +RegisterHistoryDataV1 Register new data trail on CDL + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRegisterHistoryDataV1Request +*/ +func (a *DefaultApiService) RegisterHistoryDataV1(ctx context.Context) ApiRegisterHistoryDataV1Request { + return ApiRegisterHistoryDataV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RegisterHistoryDataV1Response +func (a *DefaultApiService) RegisterHistoryDataV1Execute(r ApiRegisterHistoryDataV1Request) (*RegisterHistoryDataV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RegisterHistoryDataV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RegisterHistoryDataV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/register-history-data" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.registerHistoryDataRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSearchLineageByGlobalDataV1Request struct { + ctx context.Context + ApiService *DefaultApiService + searchLineageRequestV1 *SearchLineageRequestV1 +} + +func (r ApiSearchLineageByGlobalDataV1Request) SearchLineageRequestV1(searchLineageRequestV1 SearchLineageRequestV1) ApiSearchLineageByGlobalDataV1Request { + r.searchLineageRequestV1 = &searchLineageRequestV1 + return r +} + +func (r ApiSearchLineageByGlobalDataV1Request) Execute() (*SearchLineageResponseV1, *http.Response, error) { + return r.ApiService.SearchLineageByGlobalDataV1Execute(r) +} + +/* +SearchLineageByGlobalDataV1 Search lineage using global data fields. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSearchLineageByGlobalDataV1Request +*/ +func (a *DefaultApiService) SearchLineageByGlobalDataV1(ctx context.Context) ApiSearchLineageByGlobalDataV1Request { + return ApiSearchLineageByGlobalDataV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SearchLineageResponseV1 +func (a *DefaultApiService) SearchLineageByGlobalDataV1Execute(r ApiSearchLineageByGlobalDataV1Request) (*SearchLineageResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SearchLineageResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SearchLineageByGlobalDataV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/search-lineage-by-globaldata" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.searchLineageRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSearchLineageByHeaderV1Request struct { + ctx context.Context + ApiService *DefaultApiService + searchLineageRequestV1 *SearchLineageRequestV1 +} + +func (r ApiSearchLineageByHeaderV1Request) SearchLineageRequestV1(searchLineageRequestV1 SearchLineageRequestV1) ApiSearchLineageByHeaderV1Request { + r.searchLineageRequestV1 = &searchLineageRequestV1 + return r +} + +func (r ApiSearchLineageByHeaderV1Request) Execute() (*SearchLineageResponseV1, *http.Response, error) { + return r.ApiService.SearchLineageByHeaderV1Execute(r) +} + +/* +SearchLineageByHeaderV1 Search lineage using header fields. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSearchLineageByHeaderV1Request +*/ +func (a *DefaultApiService) SearchLineageByHeaderV1(ctx context.Context) ApiSearchLineageByHeaderV1Request { + return ApiSearchLineageByHeaderV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SearchLineageResponseV1 +func (a *DefaultApiService) SearchLineageByHeaderV1Execute(r ApiSearchLineageByHeaderV1Request) (*SearchLineageResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SearchLineageResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SearchLineageByHeaderV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-cdl/search-lineage-by-header" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.searchLineageRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..4d6513e7578 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,655 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "io/ioutil" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cacti Plugin - Connector CDL API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToQuery adds the provided object to the url query supporting deep object syntax +func parameterAddToQuery(queryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToQuery(queryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToQuery(queryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = ioutil.TempFile("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = ioutil.TempFile("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + + // status title (detail) + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..118023d861a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..f01a23d7789 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client + +go 1.13 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_auth_info_access_token_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_auth_info_access_token_v1.go new file mode 100644 index 00000000000..0bcb55c12c4 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_auth_info_access_token_v1.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the AuthInfoAccessTokenV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AuthInfoAccessTokenV1{} + +// AuthInfoAccessTokenV1 struct for AuthInfoAccessTokenV1 +type AuthInfoAccessTokenV1 struct { + AccessToken string `json:"accessToken"` + TrustAgentId string `json:"trustAgentId"` +} + +// NewAuthInfoAccessTokenV1 instantiates a new AuthInfoAccessTokenV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAuthInfoAccessTokenV1(accessToken string, trustAgentId string) *AuthInfoAccessTokenV1 { + this := AuthInfoAccessTokenV1{} + this.AccessToken = accessToken + this.TrustAgentId = trustAgentId + return &this +} + +// NewAuthInfoAccessTokenV1WithDefaults instantiates a new AuthInfoAccessTokenV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAuthInfoAccessTokenV1WithDefaults() *AuthInfoAccessTokenV1 { + this := AuthInfoAccessTokenV1{} + return &this +} + +// GetAccessToken returns the AccessToken field value +func (o *AuthInfoAccessTokenV1) GetAccessToken() string { + if o == nil { + var ret string + return ret + } + + return o.AccessToken +} + +// GetAccessTokenOk returns a tuple with the AccessToken field value +// and a boolean to check if the value has been set. +func (o *AuthInfoAccessTokenV1) GetAccessTokenOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AccessToken, true +} + +// SetAccessToken sets field value +func (o *AuthInfoAccessTokenV1) SetAccessToken(v string) { + o.AccessToken = v +} + +// GetTrustAgentId returns the TrustAgentId field value +func (o *AuthInfoAccessTokenV1) GetTrustAgentId() string { + if o == nil { + var ret string + return ret + } + + return o.TrustAgentId +} + +// GetTrustAgentIdOk returns a tuple with the TrustAgentId field value +// and a boolean to check if the value has been set. +func (o *AuthInfoAccessTokenV1) GetTrustAgentIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TrustAgentId, true +} + +// SetTrustAgentId sets field value +func (o *AuthInfoAccessTokenV1) SetTrustAgentId(v string) { + o.TrustAgentId = v +} + +func (o AuthInfoAccessTokenV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AuthInfoAccessTokenV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["accessToken"] = o.AccessToken + toSerialize["trustAgentId"] = o.TrustAgentId + return toSerialize, nil +} + +type NullableAuthInfoAccessTokenV1 struct { + value *AuthInfoAccessTokenV1 + isSet bool +} + +func (v NullableAuthInfoAccessTokenV1) Get() *AuthInfoAccessTokenV1 { + return v.value +} + +func (v *NullableAuthInfoAccessTokenV1) Set(val *AuthInfoAccessTokenV1) { + v.value = val + v.isSet = true +} + +func (v NullableAuthInfoAccessTokenV1) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthInfoAccessTokenV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthInfoAccessTokenV1(val *AuthInfoAccessTokenV1) *NullableAuthInfoAccessTokenV1 { + return &NullableAuthInfoAccessTokenV1{value: val, isSet: true} +} + +func (v NullableAuthInfoAccessTokenV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthInfoAccessTokenV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_auth_info_subscription_key_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_auth_info_subscription_key_v1.go new file mode 100644 index 00000000000..d3f381e70f4 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_auth_info_subscription_key_v1.go @@ -0,0 +1,225 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the AuthInfoSubscriptionKeyV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AuthInfoSubscriptionKeyV1{} + +// AuthInfoSubscriptionKeyV1 struct for AuthInfoSubscriptionKeyV1 +type AuthInfoSubscriptionKeyV1 struct { + SubscriptionKey string `json:"subscriptionKey"` + TrustAgentId string `json:"trustAgentId"` + TrustAgentRole string `json:"trustAgentRole"` + TrustUserId string `json:"trustUserId"` + TrustUserRole string `json:"trustUserRole"` +} + +// NewAuthInfoSubscriptionKeyV1 instantiates a new AuthInfoSubscriptionKeyV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAuthInfoSubscriptionKeyV1(subscriptionKey string, trustAgentId string, trustAgentRole string, trustUserId string, trustUserRole string) *AuthInfoSubscriptionKeyV1 { + this := AuthInfoSubscriptionKeyV1{} + this.SubscriptionKey = subscriptionKey + this.TrustAgentId = trustAgentId + this.TrustAgentRole = trustAgentRole + this.TrustUserId = trustUserId + this.TrustUserRole = trustUserRole + return &this +} + +// NewAuthInfoSubscriptionKeyV1WithDefaults instantiates a new AuthInfoSubscriptionKeyV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAuthInfoSubscriptionKeyV1WithDefaults() *AuthInfoSubscriptionKeyV1 { + this := AuthInfoSubscriptionKeyV1{} + return &this +} + +// GetSubscriptionKey returns the SubscriptionKey field value +func (o *AuthInfoSubscriptionKeyV1) GetSubscriptionKey() string { + if o == nil { + var ret string + return ret + } + + return o.SubscriptionKey +} + +// GetSubscriptionKeyOk returns a tuple with the SubscriptionKey field value +// and a boolean to check if the value has been set. +func (o *AuthInfoSubscriptionKeyV1) GetSubscriptionKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SubscriptionKey, true +} + +// SetSubscriptionKey sets field value +func (o *AuthInfoSubscriptionKeyV1) SetSubscriptionKey(v string) { + o.SubscriptionKey = v +} + +// GetTrustAgentId returns the TrustAgentId field value +func (o *AuthInfoSubscriptionKeyV1) GetTrustAgentId() string { + if o == nil { + var ret string + return ret + } + + return o.TrustAgentId +} + +// GetTrustAgentIdOk returns a tuple with the TrustAgentId field value +// and a boolean to check if the value has been set. +func (o *AuthInfoSubscriptionKeyV1) GetTrustAgentIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TrustAgentId, true +} + +// SetTrustAgentId sets field value +func (o *AuthInfoSubscriptionKeyV1) SetTrustAgentId(v string) { + o.TrustAgentId = v +} + +// GetTrustAgentRole returns the TrustAgentRole field value +func (o *AuthInfoSubscriptionKeyV1) GetTrustAgentRole() string { + if o == nil { + var ret string + return ret + } + + return o.TrustAgentRole +} + +// GetTrustAgentRoleOk returns a tuple with the TrustAgentRole field value +// and a boolean to check if the value has been set. +func (o *AuthInfoSubscriptionKeyV1) GetTrustAgentRoleOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TrustAgentRole, true +} + +// SetTrustAgentRole sets field value +func (o *AuthInfoSubscriptionKeyV1) SetTrustAgentRole(v string) { + o.TrustAgentRole = v +} + +// GetTrustUserId returns the TrustUserId field value +func (o *AuthInfoSubscriptionKeyV1) GetTrustUserId() string { + if o == nil { + var ret string + return ret + } + + return o.TrustUserId +} + +// GetTrustUserIdOk returns a tuple with the TrustUserId field value +// and a boolean to check if the value has been set. +func (o *AuthInfoSubscriptionKeyV1) GetTrustUserIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TrustUserId, true +} + +// SetTrustUserId sets field value +func (o *AuthInfoSubscriptionKeyV1) SetTrustUserId(v string) { + o.TrustUserId = v +} + +// GetTrustUserRole returns the TrustUserRole field value +func (o *AuthInfoSubscriptionKeyV1) GetTrustUserRole() string { + if o == nil { + var ret string + return ret + } + + return o.TrustUserRole +} + +// GetTrustUserRoleOk returns a tuple with the TrustUserRole field value +// and a boolean to check if the value has been set. +func (o *AuthInfoSubscriptionKeyV1) GetTrustUserRoleOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TrustUserRole, true +} + +// SetTrustUserRole sets field value +func (o *AuthInfoSubscriptionKeyV1) SetTrustUserRole(v string) { + o.TrustUserRole = v +} + +func (o AuthInfoSubscriptionKeyV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AuthInfoSubscriptionKeyV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["subscriptionKey"] = o.SubscriptionKey + toSerialize["trustAgentId"] = o.TrustAgentId + toSerialize["trustAgentRole"] = o.TrustAgentRole + toSerialize["trustUserId"] = o.TrustUserId + toSerialize["trustUserRole"] = o.TrustUserRole + return toSerialize, nil +} + +type NullableAuthInfoSubscriptionKeyV1 struct { + value *AuthInfoSubscriptionKeyV1 + isSet bool +} + +func (v NullableAuthInfoSubscriptionKeyV1) Get() *AuthInfoSubscriptionKeyV1 { + return v.value +} + +func (v *NullableAuthInfoSubscriptionKeyV1) Set(val *AuthInfoSubscriptionKeyV1) { + v.value = val + v.isSet = true +} + +func (v NullableAuthInfoSubscriptionKeyV1) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthInfoSubscriptionKeyV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthInfoSubscriptionKeyV1(val *AuthInfoSubscriptionKeyV1) *NullableAuthInfoSubscriptionKeyV1 { + return &NullableAuthInfoSubscriptionKeyV1{value: val, isSet: true} +} + +func (v NullableAuthInfoSubscriptionKeyV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthInfoSubscriptionKeyV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_auth_info_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_auth_info_v1.go new file mode 100644 index 00000000000..3f02b836608 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_auth_info_v1.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" + "fmt" +) + +// AuthInfoV1 - struct for AuthInfoV1 +type AuthInfoV1 struct { + AuthInfoAccessTokenV1 *AuthInfoAccessTokenV1 + AuthInfoSubscriptionKeyV1 *AuthInfoSubscriptionKeyV1 +} + +// AuthInfoAccessTokenV1AsAuthInfoV1 is a convenience function that returns AuthInfoAccessTokenV1 wrapped in AuthInfoV1 +func AuthInfoAccessTokenV1AsAuthInfoV1(v *AuthInfoAccessTokenV1) AuthInfoV1 { + return AuthInfoV1{ + AuthInfoAccessTokenV1: v, + } +} + +// AuthInfoSubscriptionKeyV1AsAuthInfoV1 is a convenience function that returns AuthInfoSubscriptionKeyV1 wrapped in AuthInfoV1 +func AuthInfoSubscriptionKeyV1AsAuthInfoV1(v *AuthInfoSubscriptionKeyV1) AuthInfoV1 { + return AuthInfoV1{ + AuthInfoSubscriptionKeyV1: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *AuthInfoV1) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into AuthInfoAccessTokenV1 + err = newStrictDecoder(data).Decode(&dst.AuthInfoAccessTokenV1) + if err == nil { + jsonAuthInfoAccessTokenV1, _ := json.Marshal(dst.AuthInfoAccessTokenV1) + if string(jsonAuthInfoAccessTokenV1) == "{}" { // empty struct + dst.AuthInfoAccessTokenV1 = nil + } else { + match++ + } + } else { + dst.AuthInfoAccessTokenV1 = nil + } + + // try to unmarshal data into AuthInfoSubscriptionKeyV1 + err = newStrictDecoder(data).Decode(&dst.AuthInfoSubscriptionKeyV1) + if err == nil { + jsonAuthInfoSubscriptionKeyV1, _ := json.Marshal(dst.AuthInfoSubscriptionKeyV1) + if string(jsonAuthInfoSubscriptionKeyV1) == "{}" { // empty struct + dst.AuthInfoSubscriptionKeyV1 = nil + } else { + match++ + } + } else { + dst.AuthInfoSubscriptionKeyV1 = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.AuthInfoAccessTokenV1 = nil + dst.AuthInfoSubscriptionKeyV1 = nil + + return fmt.Errorf("data matches more than one schema in oneOf(AuthInfoV1)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(AuthInfoV1)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src AuthInfoV1) MarshalJSON() ([]byte, error) { + if src.AuthInfoAccessTokenV1 != nil { + return json.Marshal(&src.AuthInfoAccessTokenV1) + } + + if src.AuthInfoSubscriptionKeyV1 != nil { + return json.Marshal(&src.AuthInfoSubscriptionKeyV1) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *AuthInfoV1) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.AuthInfoAccessTokenV1 != nil { + return obj.AuthInfoAccessTokenV1 + } + + if obj.AuthInfoSubscriptionKeyV1 != nil { + return obj.AuthInfoSubscriptionKeyV1 + } + + // all schemas are nil + return nil +} + +type NullableAuthInfoV1 struct { + value *AuthInfoV1 + isSet bool +} + +func (v NullableAuthInfoV1) Get() *AuthInfoV1 { + return v.value +} + +func (v *NullableAuthInfoV1) Set(val *AuthInfoV1) { + v.value = val + v.isSet = true +} + +func (v NullableAuthInfoV1) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthInfoV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthInfoV1(val *AuthInfoV1) *NullableAuthInfoV1 { + return &NullableAuthInfoV1{value: val, isSet: true} +} + +func (v NullableAuthInfoV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthInfoV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_cdl_common_response_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_cdl_common_response_v1.go new file mode 100644 index 00000000000..1205f88d879 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_cdl_common_response_v1.go @@ -0,0 +1,154 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the CDLCommonResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CDLCommonResponseV1{} + +// CDLCommonResponseV1 struct for CDLCommonResponseV1 +type CDLCommonResponseV1 struct { + Detail interface{} `json:"detail,omitempty"` + Result String `json:"result"` +} + +// NewCDLCommonResponseV1 instantiates a new CDLCommonResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCDLCommonResponseV1(result String) *CDLCommonResponseV1 { + this := CDLCommonResponseV1{} + this.Result = result + return &this +} + +// NewCDLCommonResponseV1WithDefaults instantiates a new CDLCommonResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCDLCommonResponseV1WithDefaults() *CDLCommonResponseV1 { + this := CDLCommonResponseV1{} + return &this +} + +// GetDetail returns the Detail field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CDLCommonResponseV1) GetDetail() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Detail +} + +// GetDetailOk returns a tuple with the Detail field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CDLCommonResponseV1) GetDetailOk() (*interface{}, bool) { + if o == nil || isNil(o.Detail) { + return nil, false + } + return &o.Detail, true +} + +// HasDetail returns a boolean if a field has been set. +func (o *CDLCommonResponseV1) HasDetail() bool { + if o != nil && isNil(o.Detail) { + return true + } + + return false +} + +// SetDetail gets a reference to the given interface{} and assigns it to the Detail field. +func (o *CDLCommonResponseV1) SetDetail(v interface{}) { + o.Detail = v +} + +// GetResult returns the Result field value +func (o *CDLCommonResponseV1) GetResult() String { + if o == nil { + var ret String + return ret + } + + return o.Result +} + +// GetResultOk returns a tuple with the Result field value +// and a boolean to check if the value has been set. +func (o *CDLCommonResponseV1) GetResultOk() (*String, bool) { + if o == nil { + return nil, false + } + return &o.Result, true +} + +// SetResult sets field value +func (o *CDLCommonResponseV1) SetResult(v String) { + o.Result = v +} + +func (o CDLCommonResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CDLCommonResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Detail != nil { + toSerialize["detail"] = o.Detail + } + toSerialize["result"] = o.Result + return toSerialize, nil +} + +type NullableCDLCommonResponseV1 struct { + value *CDLCommonResponseV1 + isSet bool +} + +func (v NullableCDLCommonResponseV1) Get() *CDLCommonResponseV1 { + return v.value +} + +func (v *NullableCDLCommonResponseV1) Set(val *CDLCommonResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableCDLCommonResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableCDLCommonResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCDLCommonResponseV1(val *CDLCommonResponseV1) *NullableCDLCommonResponseV1 { + return &NullableCDLCommonResponseV1{value: val, isSet: true} +} + +func (v NullableCDLCommonResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCDLCommonResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go new file mode 100644 index 00000000000..f88defe398d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the ErrorExceptionResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ErrorExceptionResponseV1{} + +// ErrorExceptionResponseV1 Error response from the connector. +type ErrorExceptionResponseV1 struct { + // Short error description message. + Message string `json:"message"` + // Detailed error information. + Error string `json:"error"` +} + +// NewErrorExceptionResponseV1 instantiates a new ErrorExceptionResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewErrorExceptionResponseV1(message string, error_ string) *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + this.Message = message + this.Error = error_ + return &this +} + +// NewErrorExceptionResponseV1WithDefaults instantiates a new ErrorExceptionResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewErrorExceptionResponseV1WithDefaults() *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + return &this +} + +// GetMessage returns the Message field value +func (o *ErrorExceptionResponseV1) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *ErrorExceptionResponseV1) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +func (o *ErrorExceptionResponseV1) GetError() string { + if o == nil { + var ret string + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *ErrorExceptionResponseV1) SetError(v string) { + o.Error = v +} + +func (o ErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ErrorExceptionResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error + return toSerialize, nil +} + +type NullableErrorExceptionResponseV1 struct { + value *ErrorExceptionResponseV1 + isSet bool +} + +func (v NullableErrorExceptionResponseV1) Get() *ErrorExceptionResponseV1 { + return v.value +} + +func (v *NullableErrorExceptionResponseV1) Set(val *ErrorExceptionResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableErrorExceptionResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableErrorExceptionResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableErrorExceptionResponseV1(val *ErrorExceptionResponseV1) *NullableErrorExceptionResponseV1 { + return &NullableErrorExceptionResponseV1{value: val, isSet: true} +} + +func (v NullableErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableErrorExceptionResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_event_lineage_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_event_lineage_v1.go new file mode 100644 index 00000000000..4dc6593c76d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_event_lineage_v1.go @@ -0,0 +1,279 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the EventLineageV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &EventLineageV1{} + +// EventLineageV1 CDL event linage information (used to identify related events) +type EventLineageV1 struct { + CdlEventId String `json:"cdl:EventId"` + CdlLineageId String `json:"cdl:LineageId"` + CdlDataModelMode String `json:"cdl:DataModelMode"` + CdlDataModelVersion String `json:"cdl:DataModelVersion"` + CdlDataRegistrationTimeStamp String `json:"cdl:DataRegistrationTimeStamp"` + CdlNextEventIdList []String `json:"cdl:NextEventIdList"` + CdlPreviousEventIdList []String `json:"cdl:PreviousEventIdList"` +} + +// NewEventLineageV1 instantiates a new EventLineageV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEventLineageV1(cdlEventId String, cdlLineageId String, cdlDataModelMode String, cdlDataModelVersion String, cdlDataRegistrationTimeStamp String, cdlNextEventIdList []String, cdlPreviousEventIdList []String) *EventLineageV1 { + this := EventLineageV1{} + this.CdlEventId = cdlEventId + this.CdlLineageId = cdlLineageId + this.CdlDataModelMode = cdlDataModelMode + this.CdlDataModelVersion = cdlDataModelVersion + this.CdlDataRegistrationTimeStamp = cdlDataRegistrationTimeStamp + this.CdlNextEventIdList = cdlNextEventIdList + this.CdlPreviousEventIdList = cdlPreviousEventIdList + return &this +} + +// NewEventLineageV1WithDefaults instantiates a new EventLineageV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEventLineageV1WithDefaults() *EventLineageV1 { + this := EventLineageV1{} + return &this +} + +// GetCdlEventId returns the CdlEventId field value +func (o *EventLineageV1) GetCdlEventId() String { + if o == nil { + var ret String + return ret + } + + return o.CdlEventId +} + +// GetCdlEventIdOk returns a tuple with the CdlEventId field value +// and a boolean to check if the value has been set. +func (o *EventLineageV1) GetCdlEventIdOk() (*String, bool) { + if o == nil { + return nil, false + } + return &o.CdlEventId, true +} + +// SetCdlEventId sets field value +func (o *EventLineageV1) SetCdlEventId(v String) { + o.CdlEventId = v +} + +// GetCdlLineageId returns the CdlLineageId field value +func (o *EventLineageV1) GetCdlLineageId() String { + if o == nil { + var ret String + return ret + } + + return o.CdlLineageId +} + +// GetCdlLineageIdOk returns a tuple with the CdlLineageId field value +// and a boolean to check if the value has been set. +func (o *EventLineageV1) GetCdlLineageIdOk() (*String, bool) { + if o == nil { + return nil, false + } + return &o.CdlLineageId, true +} + +// SetCdlLineageId sets field value +func (o *EventLineageV1) SetCdlLineageId(v String) { + o.CdlLineageId = v +} + +// GetCdlDataModelMode returns the CdlDataModelMode field value +func (o *EventLineageV1) GetCdlDataModelMode() String { + if o == nil { + var ret String + return ret + } + + return o.CdlDataModelMode +} + +// GetCdlDataModelModeOk returns a tuple with the CdlDataModelMode field value +// and a boolean to check if the value has been set. +func (o *EventLineageV1) GetCdlDataModelModeOk() (*String, bool) { + if o == nil { + return nil, false + } + return &o.CdlDataModelMode, true +} + +// SetCdlDataModelMode sets field value +func (o *EventLineageV1) SetCdlDataModelMode(v String) { + o.CdlDataModelMode = v +} + +// GetCdlDataModelVersion returns the CdlDataModelVersion field value +func (o *EventLineageV1) GetCdlDataModelVersion() String { + if o == nil { + var ret String + return ret + } + + return o.CdlDataModelVersion +} + +// GetCdlDataModelVersionOk returns a tuple with the CdlDataModelVersion field value +// and a boolean to check if the value has been set. +func (o *EventLineageV1) GetCdlDataModelVersionOk() (*String, bool) { + if o == nil { + return nil, false + } + return &o.CdlDataModelVersion, true +} + +// SetCdlDataModelVersion sets field value +func (o *EventLineageV1) SetCdlDataModelVersion(v String) { + o.CdlDataModelVersion = v +} + +// GetCdlDataRegistrationTimeStamp returns the CdlDataRegistrationTimeStamp field value +func (o *EventLineageV1) GetCdlDataRegistrationTimeStamp() String { + if o == nil { + var ret String + return ret + } + + return o.CdlDataRegistrationTimeStamp +} + +// GetCdlDataRegistrationTimeStampOk returns a tuple with the CdlDataRegistrationTimeStamp field value +// and a boolean to check if the value has been set. +func (o *EventLineageV1) GetCdlDataRegistrationTimeStampOk() (*String, bool) { + if o == nil { + return nil, false + } + return &o.CdlDataRegistrationTimeStamp, true +} + +// SetCdlDataRegistrationTimeStamp sets field value +func (o *EventLineageV1) SetCdlDataRegistrationTimeStamp(v String) { + o.CdlDataRegistrationTimeStamp = v +} + +// GetCdlNextEventIdList returns the CdlNextEventIdList field value +func (o *EventLineageV1) GetCdlNextEventIdList() []String { + if o == nil { + var ret []String + return ret + } + + return o.CdlNextEventIdList +} + +// GetCdlNextEventIdListOk returns a tuple with the CdlNextEventIdList field value +// and a boolean to check if the value has been set. +func (o *EventLineageV1) GetCdlNextEventIdListOk() ([]String, bool) { + if o == nil { + return nil, false + } + return o.CdlNextEventIdList, true +} + +// SetCdlNextEventIdList sets field value +func (o *EventLineageV1) SetCdlNextEventIdList(v []String) { + o.CdlNextEventIdList = v +} + +// GetCdlPreviousEventIdList returns the CdlPreviousEventIdList field value +func (o *EventLineageV1) GetCdlPreviousEventIdList() []String { + if o == nil { + var ret []String + return ret + } + + return o.CdlPreviousEventIdList +} + +// GetCdlPreviousEventIdListOk returns a tuple with the CdlPreviousEventIdList field value +// and a boolean to check if the value has been set. +func (o *EventLineageV1) GetCdlPreviousEventIdListOk() ([]String, bool) { + if o == nil { + return nil, false + } + return o.CdlPreviousEventIdList, true +} + +// SetCdlPreviousEventIdList sets field value +func (o *EventLineageV1) SetCdlPreviousEventIdList(v []String) { + o.CdlPreviousEventIdList = v +} + +func (o EventLineageV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o EventLineageV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["cdl:EventId"] = o.CdlEventId + toSerialize["cdl:LineageId"] = o.CdlLineageId + toSerialize["cdl:DataModelMode"] = o.CdlDataModelMode + toSerialize["cdl:DataModelVersion"] = o.CdlDataModelVersion + toSerialize["cdl:DataRegistrationTimeStamp"] = o.CdlDataRegistrationTimeStamp + toSerialize["cdl:NextEventIdList"] = o.CdlNextEventIdList + toSerialize["cdl:PreviousEventIdList"] = o.CdlPreviousEventIdList + return toSerialize, nil +} + +type NullableEventLineageV1 struct { + value *EventLineageV1 + isSet bool +} + +func (v NullableEventLineageV1) Get() *EventLineageV1 { + return v.value +} + +func (v *NullableEventLineageV1) Set(val *EventLineageV1) { + v.value = val + v.isSet = true +} + +func (v NullableEventLineageV1) IsSet() bool { + return v.isSet +} + +func (v *NullableEventLineageV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEventLineageV1(val *EventLineageV1) *NullableEventLineageV1 { + return &NullableEventLineageV1{value: val, isSet: true} +} + +func (v NullableEventLineageV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEventLineageV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_gateway_configuration_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_gateway_configuration_v1.go new file mode 100644 index 00000000000..66101f5be27 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_gateway_configuration_v1.go @@ -0,0 +1,270 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the GatewayConfigurationV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GatewayConfigurationV1{} + +// GatewayConfigurationV1 struct for GatewayConfigurationV1 +type GatewayConfigurationV1 struct { + // Gateway URL + Url string `json:"url"` + // Value of User-Agent header sent to CDL (to identify this client) + UserAgent *string `json:"userAgent,omitempty"` + // Set to true to ignore self-signed and other rejected certificates + SkipCertCheck *bool `json:"skipCertCheck,omitempty"` + // CA of CDL API gateway server in PEM format to use + CaPath *string `json:"caPath,omitempty"` + // Overwrite server name from cdlApiGateway.url to match one specified in CA + ServerName *string `json:"serverName,omitempty"` +} + +// NewGatewayConfigurationV1 instantiates a new GatewayConfigurationV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGatewayConfigurationV1(url string) *GatewayConfigurationV1 { + this := GatewayConfigurationV1{} + this.Url = url + var skipCertCheck bool = false + this.SkipCertCheck = &skipCertCheck + return &this +} + +// NewGatewayConfigurationV1WithDefaults instantiates a new GatewayConfigurationV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGatewayConfigurationV1WithDefaults() *GatewayConfigurationV1 { + this := GatewayConfigurationV1{} + var skipCertCheck bool = false + this.SkipCertCheck = &skipCertCheck + return &this +} + +// GetUrl returns the Url field value +func (o *GatewayConfigurationV1) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *GatewayConfigurationV1) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *GatewayConfigurationV1) SetUrl(v string) { + o.Url = v +} + +// GetUserAgent returns the UserAgent field value if set, zero value otherwise. +func (o *GatewayConfigurationV1) GetUserAgent() string { + if o == nil || isNil(o.UserAgent) { + var ret string + return ret + } + return *o.UserAgent +} + +// GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayConfigurationV1) GetUserAgentOk() (*string, bool) { + if o == nil || isNil(o.UserAgent) { + return nil, false + } + return o.UserAgent, true +} + +// HasUserAgent returns a boolean if a field has been set. +func (o *GatewayConfigurationV1) HasUserAgent() bool { + if o != nil && !isNil(o.UserAgent) { + return true + } + + return false +} + +// SetUserAgent gets a reference to the given string and assigns it to the UserAgent field. +func (o *GatewayConfigurationV1) SetUserAgent(v string) { + o.UserAgent = &v +} + +// GetSkipCertCheck returns the SkipCertCheck field value if set, zero value otherwise. +func (o *GatewayConfigurationV1) GetSkipCertCheck() bool { + if o == nil || isNil(o.SkipCertCheck) { + var ret bool + return ret + } + return *o.SkipCertCheck +} + +// GetSkipCertCheckOk returns a tuple with the SkipCertCheck field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayConfigurationV1) GetSkipCertCheckOk() (*bool, bool) { + if o == nil || isNil(o.SkipCertCheck) { + return nil, false + } + return o.SkipCertCheck, true +} + +// HasSkipCertCheck returns a boolean if a field has been set. +func (o *GatewayConfigurationV1) HasSkipCertCheck() bool { + if o != nil && !isNil(o.SkipCertCheck) { + return true + } + + return false +} + +// SetSkipCertCheck gets a reference to the given bool and assigns it to the SkipCertCheck field. +func (o *GatewayConfigurationV1) SetSkipCertCheck(v bool) { + o.SkipCertCheck = &v +} + +// GetCaPath returns the CaPath field value if set, zero value otherwise. +func (o *GatewayConfigurationV1) GetCaPath() string { + if o == nil || isNil(o.CaPath) { + var ret string + return ret + } + return *o.CaPath +} + +// GetCaPathOk returns a tuple with the CaPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayConfigurationV1) GetCaPathOk() (*string, bool) { + if o == nil || isNil(o.CaPath) { + return nil, false + } + return o.CaPath, true +} + +// HasCaPath returns a boolean if a field has been set. +func (o *GatewayConfigurationV1) HasCaPath() bool { + if o != nil && !isNil(o.CaPath) { + return true + } + + return false +} + +// SetCaPath gets a reference to the given string and assigns it to the CaPath field. +func (o *GatewayConfigurationV1) SetCaPath(v string) { + o.CaPath = &v +} + +// GetServerName returns the ServerName field value if set, zero value otherwise. +func (o *GatewayConfigurationV1) GetServerName() string { + if o == nil || isNil(o.ServerName) { + var ret string + return ret + } + return *o.ServerName +} + +// GetServerNameOk returns a tuple with the ServerName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayConfigurationV1) GetServerNameOk() (*string, bool) { + if o == nil || isNil(o.ServerName) { + return nil, false + } + return o.ServerName, true +} + +// HasServerName returns a boolean if a field has been set. +func (o *GatewayConfigurationV1) HasServerName() bool { + if o != nil && !isNil(o.ServerName) { + return true + } + + return false +} + +// SetServerName gets a reference to the given string and assigns it to the ServerName field. +func (o *GatewayConfigurationV1) SetServerName(v string) { + o.ServerName = &v +} + +func (o GatewayConfigurationV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GatewayConfigurationV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["url"] = o.Url + if !isNil(o.UserAgent) { + toSerialize["userAgent"] = o.UserAgent + } + if !isNil(o.SkipCertCheck) { + toSerialize["skipCertCheck"] = o.SkipCertCheck + } + if !isNil(o.CaPath) { + toSerialize["caPath"] = o.CaPath + } + if !isNil(o.ServerName) { + toSerialize["serverName"] = o.ServerName + } + return toSerialize, nil +} + +type NullableGatewayConfigurationV1 struct { + value *GatewayConfigurationV1 + isSet bool +} + +func (v NullableGatewayConfigurationV1) Get() *GatewayConfigurationV1 { + return v.value +} + +func (v *NullableGatewayConfigurationV1) Set(val *GatewayConfigurationV1) { + v.value = val + v.isSet = true +} + +func (v NullableGatewayConfigurationV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGatewayConfigurationV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGatewayConfigurationV1(val *GatewayConfigurationV1) *NullableGatewayConfigurationV1 { + return &NullableGatewayConfigurationV1{value: val, isSet: true} +} + +func (v NullableGatewayConfigurationV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGatewayConfigurationV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_get_lineage_option_direction_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_get_lineage_option_direction_v1.go new file mode 100644 index 00000000000..f74e5bcfc73 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_get_lineage_option_direction_v1.go @@ -0,0 +1,113 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" + "fmt" +) + +// GetLineageOptionDirectionV1 the model 'GetLineageOptionDirectionV1' +type GetLineageOptionDirectionV1 string + +// List of GetLineageOptionDirectionV1 +const ( + Backward GetLineageOptionDirectionV1 = "backward" + Forward GetLineageOptionDirectionV1 = "forward" + Both GetLineageOptionDirectionV1 = "both" +) + +// All allowed values of GetLineageOptionDirectionV1 enum +var AllowedGetLineageOptionDirectionV1EnumValues = []GetLineageOptionDirectionV1{ + "backward", + "forward", + "both", +} + +func (v *GetLineageOptionDirectionV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := GetLineageOptionDirectionV1(value) + for _, existing := range AllowedGetLineageOptionDirectionV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid GetLineageOptionDirectionV1", value) +} + +// NewGetLineageOptionDirectionV1FromValue returns a pointer to a valid GetLineageOptionDirectionV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewGetLineageOptionDirectionV1FromValue(v string) (*GetLineageOptionDirectionV1, error) { + ev := GetLineageOptionDirectionV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for GetLineageOptionDirectionV1: valid values are %v", v, AllowedGetLineageOptionDirectionV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v GetLineageOptionDirectionV1) IsValid() bool { + for _, existing := range AllowedGetLineageOptionDirectionV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to GetLineageOptionDirectionV1 value +func (v GetLineageOptionDirectionV1) Ptr() *GetLineageOptionDirectionV1 { + return &v +} + +type NullableGetLineageOptionDirectionV1 struct { + value *GetLineageOptionDirectionV1 + isSet bool +} + +func (v NullableGetLineageOptionDirectionV1) Get() *GetLineageOptionDirectionV1 { + return v.value +} + +func (v *NullableGetLineageOptionDirectionV1) Set(val *GetLineageOptionDirectionV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetLineageOptionDirectionV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetLineageOptionDirectionV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetLineageOptionDirectionV1(val *GetLineageOptionDirectionV1) *NullableGetLineageOptionDirectionV1 { + return &NullableGetLineageOptionDirectionV1{value: val, isSet: true} +} + +func (v NullableGetLineageOptionDirectionV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetLineageOptionDirectionV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_get_lineage_request_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_get_lineage_request_v1.go new file mode 100644 index 00000000000..4775608d534 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_get_lineage_request_v1.go @@ -0,0 +1,220 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the GetLineageRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetLineageRequestV1{} + +// GetLineageRequestV1 struct for GetLineageRequestV1 +type GetLineageRequestV1 struct { + AuthInfo AuthInfoV1 `json:"authInfo"` + EventId string `json:"eventId"` + Direction *GetLineageOptionDirectionV1 `json:"direction,omitempty"` + Depth *string `json:"depth,omitempty"` +} + +// NewGetLineageRequestV1 instantiates a new GetLineageRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetLineageRequestV1(authInfo AuthInfoV1, eventId string) *GetLineageRequestV1 { + this := GetLineageRequestV1{} + this.AuthInfo = authInfo + this.EventId = eventId + var depth string = "-1" + this.Depth = &depth + return &this +} + +// NewGetLineageRequestV1WithDefaults instantiates a new GetLineageRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetLineageRequestV1WithDefaults() *GetLineageRequestV1 { + this := GetLineageRequestV1{} + var depth string = "-1" + this.Depth = &depth + return &this +} + +// GetAuthInfo returns the AuthInfo field value +func (o *GetLineageRequestV1) GetAuthInfo() AuthInfoV1 { + if o == nil { + var ret AuthInfoV1 + return ret + } + + return o.AuthInfo +} + +// GetAuthInfoOk returns a tuple with the AuthInfo field value +// and a boolean to check if the value has been set. +func (o *GetLineageRequestV1) GetAuthInfoOk() (*AuthInfoV1, bool) { + if o == nil { + return nil, false + } + return &o.AuthInfo, true +} + +// SetAuthInfo sets field value +func (o *GetLineageRequestV1) SetAuthInfo(v AuthInfoV1) { + o.AuthInfo = v +} + +// GetEventId returns the EventId field value +func (o *GetLineageRequestV1) GetEventId() string { + if o == nil { + var ret string + return ret + } + + return o.EventId +} + +// GetEventIdOk returns a tuple with the EventId field value +// and a boolean to check if the value has been set. +func (o *GetLineageRequestV1) GetEventIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EventId, true +} + +// SetEventId sets field value +func (o *GetLineageRequestV1) SetEventId(v string) { + o.EventId = v +} + +// GetDirection returns the Direction field value if set, zero value otherwise. +func (o *GetLineageRequestV1) GetDirection() GetLineageOptionDirectionV1 { + if o == nil || isNil(o.Direction) { + var ret GetLineageOptionDirectionV1 + return ret + } + return *o.Direction +} + +// GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetLineageRequestV1) GetDirectionOk() (*GetLineageOptionDirectionV1, bool) { + if o == nil || isNil(o.Direction) { + return nil, false + } + return o.Direction, true +} + +// HasDirection returns a boolean if a field has been set. +func (o *GetLineageRequestV1) HasDirection() bool { + if o != nil && !isNil(o.Direction) { + return true + } + + return false +} + +// SetDirection gets a reference to the given GetLineageOptionDirectionV1 and assigns it to the Direction field. +func (o *GetLineageRequestV1) SetDirection(v GetLineageOptionDirectionV1) { + o.Direction = &v +} + +// GetDepth returns the Depth field value if set, zero value otherwise. +func (o *GetLineageRequestV1) GetDepth() string { + if o == nil || isNil(o.Depth) { + var ret string + return ret + } + return *o.Depth +} + +// GetDepthOk returns a tuple with the Depth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetLineageRequestV1) GetDepthOk() (*string, bool) { + if o == nil || isNil(o.Depth) { + return nil, false + } + return o.Depth, true +} + +// HasDepth returns a boolean if a field has been set. +func (o *GetLineageRequestV1) HasDepth() bool { + if o != nil && !isNil(o.Depth) { + return true + } + + return false +} + +// SetDepth gets a reference to the given string and assigns it to the Depth field. +func (o *GetLineageRequestV1) SetDepth(v string) { + o.Depth = &v +} + +func (o GetLineageRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetLineageRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["authInfo"] = o.AuthInfo + toSerialize["eventId"] = o.EventId + if !isNil(o.Direction) { + toSerialize["direction"] = o.Direction + } + if !isNil(o.Depth) { + toSerialize["depth"] = o.Depth + } + return toSerialize, nil +} + +type NullableGetLineageRequestV1 struct { + value *GetLineageRequestV1 + isSet bool +} + +func (v NullableGetLineageRequestV1) Get() *GetLineageRequestV1 { + return v.value +} + +func (v *NullableGetLineageRequestV1) Set(val *GetLineageRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetLineageRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetLineageRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetLineageRequestV1(val *GetLineageRequestV1) *NullableGetLineageRequestV1 { + return &NullableGetLineageRequestV1{value: val, isSet: true} +} + +func (v NullableGetLineageRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetLineageRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_get_lineage_response_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_get_lineage_response_v1.go new file mode 100644 index 00000000000..994f9edbb69 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_get_lineage_response_v1.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the GetLineageResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetLineageResponseV1{} + +// GetLineageResponseV1 struct for GetLineageResponseV1 +type GetLineageResponseV1 struct { + Detail []TrailEventDetailsV1 `json:"detail"` + Result String `json:"result"` +} + +// NewGetLineageResponseV1 instantiates a new GetLineageResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetLineageResponseV1(detail []TrailEventDetailsV1, result String) *GetLineageResponseV1 { + this := GetLineageResponseV1{} + this.Detail = detail + this.Result = result + return &this +} + +// NewGetLineageResponseV1WithDefaults instantiates a new GetLineageResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetLineageResponseV1WithDefaults() *GetLineageResponseV1 { + this := GetLineageResponseV1{} + return &this +} + +// GetDetail returns the Detail field value +func (o *GetLineageResponseV1) GetDetail() []TrailEventDetailsV1 { + if o == nil { + var ret []TrailEventDetailsV1 + return ret + } + + return o.Detail +} + +// GetDetailOk returns a tuple with the Detail field value +// and a boolean to check if the value has been set. +func (o *GetLineageResponseV1) GetDetailOk() ([]TrailEventDetailsV1, bool) { + if o == nil { + return nil, false + } + return o.Detail, true +} + +// SetDetail sets field value +func (o *GetLineageResponseV1) SetDetail(v []TrailEventDetailsV1) { + o.Detail = v +} + +// GetResult returns the Result field value +func (o *GetLineageResponseV1) GetResult() String { + if o == nil { + var ret String + return ret + } + + return o.Result +} + +// GetResultOk returns a tuple with the Result field value +// and a boolean to check if the value has been set. +func (o *GetLineageResponseV1) GetResultOk() (*String, bool) { + if o == nil { + return nil, false + } + return &o.Result, true +} + +// SetResult sets field value +func (o *GetLineageResponseV1) SetResult(v String) { + o.Result = v +} + +func (o GetLineageResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetLineageResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["detail"] = o.Detail + toSerialize["result"] = o.Result + return toSerialize, nil +} + +type NullableGetLineageResponseV1 struct { + value *GetLineageResponseV1 + isSet bool +} + +func (v NullableGetLineageResponseV1) Get() *GetLineageResponseV1 { + return v.value +} + +func (v *NullableGetLineageResponseV1) Set(val *GetLineageResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetLineageResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetLineageResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetLineageResponseV1(val *GetLineageResponseV1) *NullableGetLineageResponseV1 { + return &NullableGetLineageResponseV1{value: val, isSet: true} +} + +func (v NullableGetLineageResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetLineageResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_register_history_data_request_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_register_history_data_request_v1.go new file mode 100644 index 00000000000..b737891bfd1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_register_history_data_request_v1.go @@ -0,0 +1,263 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the RegisterHistoryDataRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RegisterHistoryDataRequestV1{} + +// RegisterHistoryDataRequestV1 struct for RegisterHistoryDataRequestV1 +type RegisterHistoryDataRequestV1 struct { + AuthInfo AuthInfoV1 `json:"authInfo"` + EventId *string `json:"eventId,omitempty"` + LineageId *string `json:"lineageId,omitempty"` + Tags interface{} `json:"tags,omitempty"` + Properties interface{} `json:"properties,omitempty"` +} + +// NewRegisterHistoryDataRequestV1 instantiates a new RegisterHistoryDataRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRegisterHistoryDataRequestV1(authInfo AuthInfoV1) *RegisterHistoryDataRequestV1 { + this := RegisterHistoryDataRequestV1{} + this.AuthInfo = authInfo + return &this +} + +// NewRegisterHistoryDataRequestV1WithDefaults instantiates a new RegisterHistoryDataRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRegisterHistoryDataRequestV1WithDefaults() *RegisterHistoryDataRequestV1 { + this := RegisterHistoryDataRequestV1{} + return &this +} + +// GetAuthInfo returns the AuthInfo field value +func (o *RegisterHistoryDataRequestV1) GetAuthInfo() AuthInfoV1 { + if o == nil { + var ret AuthInfoV1 + return ret + } + + return o.AuthInfo +} + +// GetAuthInfoOk returns a tuple with the AuthInfo field value +// and a boolean to check if the value has been set. +func (o *RegisterHistoryDataRequestV1) GetAuthInfoOk() (*AuthInfoV1, bool) { + if o == nil { + return nil, false + } + return &o.AuthInfo, true +} + +// SetAuthInfo sets field value +func (o *RegisterHistoryDataRequestV1) SetAuthInfo(v AuthInfoV1) { + o.AuthInfo = v +} + +// GetEventId returns the EventId field value if set, zero value otherwise. +func (o *RegisterHistoryDataRequestV1) GetEventId() string { + if o == nil || isNil(o.EventId) { + var ret string + return ret + } + return *o.EventId +} + +// GetEventIdOk returns a tuple with the EventId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RegisterHistoryDataRequestV1) GetEventIdOk() (*string, bool) { + if o == nil || isNil(o.EventId) { + return nil, false + } + return o.EventId, true +} + +// HasEventId returns a boolean if a field has been set. +func (o *RegisterHistoryDataRequestV1) HasEventId() bool { + if o != nil && !isNil(o.EventId) { + return true + } + + return false +} + +// SetEventId gets a reference to the given string and assigns it to the EventId field. +func (o *RegisterHistoryDataRequestV1) SetEventId(v string) { + o.EventId = &v +} + +// GetLineageId returns the LineageId field value if set, zero value otherwise. +func (o *RegisterHistoryDataRequestV1) GetLineageId() string { + if o == nil || isNil(o.LineageId) { + var ret string + return ret + } + return *o.LineageId +} + +// GetLineageIdOk returns a tuple with the LineageId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RegisterHistoryDataRequestV1) GetLineageIdOk() (*string, bool) { + if o == nil || isNil(o.LineageId) { + return nil, false + } + return o.LineageId, true +} + +// HasLineageId returns a boolean if a field has been set. +func (o *RegisterHistoryDataRequestV1) HasLineageId() bool { + if o != nil && !isNil(o.LineageId) { + return true + } + + return false +} + +// SetLineageId gets a reference to the given string and assigns it to the LineageId field. +func (o *RegisterHistoryDataRequestV1) SetLineageId(v string) { + o.LineageId = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RegisterHistoryDataRequestV1) GetTags() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RegisterHistoryDataRequestV1) GetTagsOk() (*interface{}, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return &o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *RegisterHistoryDataRequestV1) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given interface{} and assigns it to the Tags field. +func (o *RegisterHistoryDataRequestV1) SetTags(v interface{}) { + o.Tags = v +} + +// GetProperties returns the Properties field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RegisterHistoryDataRequestV1) GetProperties() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Properties +} + +// GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RegisterHistoryDataRequestV1) GetPropertiesOk() (*interface{}, bool) { + if o == nil || isNil(o.Properties) { + return nil, false + } + return &o.Properties, true +} + +// HasProperties returns a boolean if a field has been set. +func (o *RegisterHistoryDataRequestV1) HasProperties() bool { + if o != nil && isNil(o.Properties) { + return true + } + + return false +} + +// SetProperties gets a reference to the given interface{} and assigns it to the Properties field. +func (o *RegisterHistoryDataRequestV1) SetProperties(v interface{}) { + o.Properties = v +} + +func (o RegisterHistoryDataRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RegisterHistoryDataRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["authInfo"] = o.AuthInfo + if !isNil(o.EventId) { + toSerialize["eventId"] = o.EventId + } + if !isNil(o.LineageId) { + toSerialize["lineageId"] = o.LineageId + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + if o.Properties != nil { + toSerialize["properties"] = o.Properties + } + return toSerialize, nil +} + +type NullableRegisterHistoryDataRequestV1 struct { + value *RegisterHistoryDataRequestV1 + isSet bool +} + +func (v NullableRegisterHistoryDataRequestV1) Get() *RegisterHistoryDataRequestV1 { + return v.value +} + +func (v *NullableRegisterHistoryDataRequestV1) Set(val *RegisterHistoryDataRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableRegisterHistoryDataRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableRegisterHistoryDataRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRegisterHistoryDataRequestV1(val *RegisterHistoryDataRequestV1) *NullableRegisterHistoryDataRequestV1 { + return &NullableRegisterHistoryDataRequestV1{value: val, isSet: true} +} + +func (v NullableRegisterHistoryDataRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRegisterHistoryDataRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_register_history_data_v1_response.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_register_history_data_v1_response.go new file mode 100644 index 00000000000..0929bba20b2 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_register_history_data_v1_response.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the RegisterHistoryDataV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RegisterHistoryDataV1Response{} + +// RegisterHistoryDataV1Response struct for RegisterHistoryDataV1Response +type RegisterHistoryDataV1Response struct { + Detail TrailEventDetailsV1 `json:"detail"` + Result String `json:"result"` +} + +// NewRegisterHistoryDataV1Response instantiates a new RegisterHistoryDataV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRegisterHistoryDataV1Response(detail TrailEventDetailsV1, result String) *RegisterHistoryDataV1Response { + this := RegisterHistoryDataV1Response{} + this.Detail = detail + this.Result = result + return &this +} + +// NewRegisterHistoryDataV1ResponseWithDefaults instantiates a new RegisterHistoryDataV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRegisterHistoryDataV1ResponseWithDefaults() *RegisterHistoryDataV1Response { + this := RegisterHistoryDataV1Response{} + return &this +} + +// GetDetail returns the Detail field value +func (o *RegisterHistoryDataV1Response) GetDetail() TrailEventDetailsV1 { + if o == nil { + var ret TrailEventDetailsV1 + return ret + } + + return o.Detail +} + +// GetDetailOk returns a tuple with the Detail field value +// and a boolean to check if the value has been set. +func (o *RegisterHistoryDataV1Response) GetDetailOk() (*TrailEventDetailsV1, bool) { + if o == nil { + return nil, false + } + return &o.Detail, true +} + +// SetDetail sets field value +func (o *RegisterHistoryDataV1Response) SetDetail(v TrailEventDetailsV1) { + o.Detail = v +} + +// GetResult returns the Result field value +func (o *RegisterHistoryDataV1Response) GetResult() String { + if o == nil { + var ret String + return ret + } + + return o.Result +} + +// GetResultOk returns a tuple with the Result field value +// and a boolean to check if the value has been set. +func (o *RegisterHistoryDataV1Response) GetResultOk() (*String, bool) { + if o == nil { + return nil, false + } + return &o.Result, true +} + +// SetResult sets field value +func (o *RegisterHistoryDataV1Response) SetResult(v String) { + o.Result = v +} + +func (o RegisterHistoryDataV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RegisterHistoryDataV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["detail"] = o.Detail + toSerialize["result"] = o.Result + return toSerialize, nil +} + +type NullableRegisterHistoryDataV1Response struct { + value *RegisterHistoryDataV1Response + isSet bool +} + +func (v NullableRegisterHistoryDataV1Response) Get() *RegisterHistoryDataV1Response { + return v.value +} + +func (v *NullableRegisterHistoryDataV1Response) Set(val *RegisterHistoryDataV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableRegisterHistoryDataV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableRegisterHistoryDataV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRegisterHistoryDataV1Response(val *RegisterHistoryDataV1Response) *NullableRegisterHistoryDataV1Response { + return &NullableRegisterHistoryDataV1Response{value: val, isSet: true} +} + +func (v NullableRegisterHistoryDataV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRegisterHistoryDataV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_search_lineage_request_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_search_lineage_request_v1.go new file mode 100644 index 00000000000..9bebcb3749e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_search_lineage_request_v1.go @@ -0,0 +1,175 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the SearchLineageRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SearchLineageRequestV1{} + +// SearchLineageRequestV1 struct for SearchLineageRequestV1 +type SearchLineageRequestV1 struct { + AuthInfo AuthInfoV1 `json:"authInfo"` + SearchType SearchLineageTypeV1 `json:"searchType"` + Fields interface{} `json:"fields"` +} + +// NewSearchLineageRequestV1 instantiates a new SearchLineageRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSearchLineageRequestV1(authInfo AuthInfoV1, searchType SearchLineageTypeV1, fields interface{}) *SearchLineageRequestV1 { + this := SearchLineageRequestV1{} + this.AuthInfo = authInfo + this.SearchType = searchType + this.Fields = fields + return &this +} + +// NewSearchLineageRequestV1WithDefaults instantiates a new SearchLineageRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSearchLineageRequestV1WithDefaults() *SearchLineageRequestV1 { + this := SearchLineageRequestV1{} + return &this +} + +// GetAuthInfo returns the AuthInfo field value +func (o *SearchLineageRequestV1) GetAuthInfo() AuthInfoV1 { + if o == nil { + var ret AuthInfoV1 + return ret + } + + return o.AuthInfo +} + +// GetAuthInfoOk returns a tuple with the AuthInfo field value +// and a boolean to check if the value has been set. +func (o *SearchLineageRequestV1) GetAuthInfoOk() (*AuthInfoV1, bool) { + if o == nil { + return nil, false + } + return &o.AuthInfo, true +} + +// SetAuthInfo sets field value +func (o *SearchLineageRequestV1) SetAuthInfo(v AuthInfoV1) { + o.AuthInfo = v +} + +// GetSearchType returns the SearchType field value +func (o *SearchLineageRequestV1) GetSearchType() SearchLineageTypeV1 { + if o == nil { + var ret SearchLineageTypeV1 + return ret + } + + return o.SearchType +} + +// GetSearchTypeOk returns a tuple with the SearchType field value +// and a boolean to check if the value has been set. +func (o *SearchLineageRequestV1) GetSearchTypeOk() (*SearchLineageTypeV1, bool) { + if o == nil { + return nil, false + } + return &o.SearchType, true +} + +// SetSearchType sets field value +func (o *SearchLineageRequestV1) SetSearchType(v SearchLineageTypeV1) { + o.SearchType = v +} + +// GetFields returns the Fields field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *SearchLineageRequestV1) GetFields() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SearchLineageRequestV1) GetFieldsOk() (*interface{}, bool) { + if o == nil || isNil(o.Fields) { + return nil, false + } + return &o.Fields, true +} + +// SetFields sets field value +func (o *SearchLineageRequestV1) SetFields(v interface{}) { + o.Fields = v +} + +func (o SearchLineageRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SearchLineageRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["authInfo"] = o.AuthInfo + toSerialize["searchType"] = o.SearchType + if o.Fields != nil { + toSerialize["fields"] = o.Fields + } + return toSerialize, nil +} + +type NullableSearchLineageRequestV1 struct { + value *SearchLineageRequestV1 + isSet bool +} + +func (v NullableSearchLineageRequestV1) Get() *SearchLineageRequestV1 { + return v.value +} + +func (v *NullableSearchLineageRequestV1) Set(val *SearchLineageRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableSearchLineageRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSearchLineageRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSearchLineageRequestV1(val *SearchLineageRequestV1) *NullableSearchLineageRequestV1 { + return &NullableSearchLineageRequestV1{value: val, isSet: true} +} + +func (v NullableSearchLineageRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSearchLineageRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_search_lineage_response_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_search_lineage_response_v1.go new file mode 100644 index 00000000000..ae2faaa4e54 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_search_lineage_response_v1.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the SearchLineageResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SearchLineageResponseV1{} + +// SearchLineageResponseV1 struct for SearchLineageResponseV1 +type SearchLineageResponseV1 struct { + Detail []TrailEventDetailsV1 `json:"detail"` + Result String `json:"result"` +} + +// NewSearchLineageResponseV1 instantiates a new SearchLineageResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSearchLineageResponseV1(detail []TrailEventDetailsV1, result String) *SearchLineageResponseV1 { + this := SearchLineageResponseV1{} + this.Detail = detail + this.Result = result + return &this +} + +// NewSearchLineageResponseV1WithDefaults instantiates a new SearchLineageResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSearchLineageResponseV1WithDefaults() *SearchLineageResponseV1 { + this := SearchLineageResponseV1{} + return &this +} + +// GetDetail returns the Detail field value +func (o *SearchLineageResponseV1) GetDetail() []TrailEventDetailsV1 { + if o == nil { + var ret []TrailEventDetailsV1 + return ret + } + + return o.Detail +} + +// GetDetailOk returns a tuple with the Detail field value +// and a boolean to check if the value has been set. +func (o *SearchLineageResponseV1) GetDetailOk() ([]TrailEventDetailsV1, bool) { + if o == nil { + return nil, false + } + return o.Detail, true +} + +// SetDetail sets field value +func (o *SearchLineageResponseV1) SetDetail(v []TrailEventDetailsV1) { + o.Detail = v +} + +// GetResult returns the Result field value +func (o *SearchLineageResponseV1) GetResult() String { + if o == nil { + var ret String + return ret + } + + return o.Result +} + +// GetResultOk returns a tuple with the Result field value +// and a boolean to check if the value has been set. +func (o *SearchLineageResponseV1) GetResultOk() (*String, bool) { + if o == nil { + return nil, false + } + return &o.Result, true +} + +// SetResult sets field value +func (o *SearchLineageResponseV1) SetResult(v String) { + o.Result = v +} + +func (o SearchLineageResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SearchLineageResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["detail"] = o.Detail + toSerialize["result"] = o.Result + return toSerialize, nil +} + +type NullableSearchLineageResponseV1 struct { + value *SearchLineageResponseV1 + isSet bool +} + +func (v NullableSearchLineageResponseV1) Get() *SearchLineageResponseV1 { + return v.value +} + +func (v *NullableSearchLineageResponseV1) Set(val *SearchLineageResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableSearchLineageResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSearchLineageResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSearchLineageResponseV1(val *SearchLineageResponseV1) *NullableSearchLineageResponseV1 { + return &NullableSearchLineageResponseV1{value: val, isSet: true} +} + +func (v NullableSearchLineageResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSearchLineageResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_search_lineage_type_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_search_lineage_type_v1.go new file mode 100644 index 00000000000..1619c2438b2 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_search_lineage_type_v1.go @@ -0,0 +1,113 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" + "fmt" +) + +// SearchLineageTypeV1 the model 'SearchLineageTypeV1' +type SearchLineageTypeV1 string + +// List of SearchLineageTypeV1 +const ( + ExactMatch SearchLineageTypeV1 = "exactmatch" + PartialMatch SearchLineageTypeV1 = "partialmatch" + RegexMatch SearchLineageTypeV1 = "regexpmatch" +) + +// All allowed values of SearchLineageTypeV1 enum +var AllowedSearchLineageTypeV1EnumValues = []SearchLineageTypeV1{ + "exactmatch", + "partialmatch", + "regexpmatch", +} + +func (v *SearchLineageTypeV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := SearchLineageTypeV1(value) + for _, existing := range AllowedSearchLineageTypeV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid SearchLineageTypeV1", value) +} + +// NewSearchLineageTypeV1FromValue returns a pointer to a valid SearchLineageTypeV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewSearchLineageTypeV1FromValue(v string) (*SearchLineageTypeV1, error) { + ev := SearchLineageTypeV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for SearchLineageTypeV1: valid values are %v", v, AllowedSearchLineageTypeV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v SearchLineageTypeV1) IsValid() bool { + for _, existing := range AllowedSearchLineageTypeV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to SearchLineageTypeV1 value +func (v SearchLineageTypeV1) Ptr() *SearchLineageTypeV1 { + return &v +} + +type NullableSearchLineageTypeV1 struct { + value *SearchLineageTypeV1 + isSet bool +} + +func (v NullableSearchLineageTypeV1) Get() *SearchLineageTypeV1 { + return v.value +} + +func (v *NullableSearchLineageTypeV1) Set(val *SearchLineageTypeV1) { + v.value = val + v.isSet = true +} + +func (v NullableSearchLineageTypeV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSearchLineageTypeV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSearchLineageTypeV1(val *SearchLineageTypeV1) *NullableSearchLineageTypeV1 { + return &NullableSearchLineageTypeV1{value: val, isSet: true} +} + +func (v NullableSearchLineageTypeV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSearchLineageTypeV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_trail_event_details_v1.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_trail_event_details_v1.go new file mode 100644 index 00000000000..96cbffdb635 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/model_trail_event_details_v1.go @@ -0,0 +1,216 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" +) + +// checks if the TrailEventDetailsV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TrailEventDetailsV1{} + +// TrailEventDetailsV1 Details of newly created CDL event. +type TrailEventDetailsV1 struct { + CdlEvent interface{} `json:"cdl:Event,omitempty"` + CdlLineage EventLineageV1 `json:"cdl:Lineage"` + CdlTags interface{} `json:"cdl:Tags"` + CdlVerification interface{} `json:"cdl:Verification"` +} + +// NewTrailEventDetailsV1 instantiates a new TrailEventDetailsV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrailEventDetailsV1(cdlLineage EventLineageV1, cdlTags interface{}, cdlVerification interface{}) *TrailEventDetailsV1 { + this := TrailEventDetailsV1{} + this.CdlLineage = cdlLineage + this.CdlTags = cdlTags + this.CdlVerification = cdlVerification + return &this +} + +// NewTrailEventDetailsV1WithDefaults instantiates a new TrailEventDetailsV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrailEventDetailsV1WithDefaults() *TrailEventDetailsV1 { + this := TrailEventDetailsV1{} + return &this +} + +// GetCdlEvent returns the CdlEvent field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrailEventDetailsV1) GetCdlEvent() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CdlEvent +} + +// GetCdlEventOk returns a tuple with the CdlEvent field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrailEventDetailsV1) GetCdlEventOk() (*interface{}, bool) { + if o == nil || isNil(o.CdlEvent) { + return nil, false + } + return &o.CdlEvent, true +} + +// HasCdlEvent returns a boolean if a field has been set. +func (o *TrailEventDetailsV1) HasCdlEvent() bool { + if o != nil && isNil(o.CdlEvent) { + return true + } + + return false +} + +// SetCdlEvent gets a reference to the given interface{} and assigns it to the CdlEvent field. +func (o *TrailEventDetailsV1) SetCdlEvent(v interface{}) { + o.CdlEvent = v +} + +// GetCdlLineage returns the CdlLineage field value +func (o *TrailEventDetailsV1) GetCdlLineage() EventLineageV1 { + if o == nil { + var ret EventLineageV1 + return ret + } + + return o.CdlLineage +} + +// GetCdlLineageOk returns a tuple with the CdlLineage field value +// and a boolean to check if the value has been set. +func (o *TrailEventDetailsV1) GetCdlLineageOk() (*EventLineageV1, bool) { + if o == nil { + return nil, false + } + return &o.CdlLineage, true +} + +// SetCdlLineage sets field value +func (o *TrailEventDetailsV1) SetCdlLineage(v EventLineageV1) { + o.CdlLineage = v +} + +// GetCdlTags returns the CdlTags field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *TrailEventDetailsV1) GetCdlTags() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.CdlTags +} + +// GetCdlTagsOk returns a tuple with the CdlTags field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrailEventDetailsV1) GetCdlTagsOk() (*interface{}, bool) { + if o == nil || isNil(o.CdlTags) { + return nil, false + } + return &o.CdlTags, true +} + +// SetCdlTags sets field value +func (o *TrailEventDetailsV1) SetCdlTags(v interface{}) { + o.CdlTags = v +} + +// GetCdlVerification returns the CdlVerification field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *TrailEventDetailsV1) GetCdlVerification() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.CdlVerification +} + +// GetCdlVerificationOk returns a tuple with the CdlVerification field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrailEventDetailsV1) GetCdlVerificationOk() (*interface{}, bool) { + if o == nil || isNil(o.CdlVerification) { + return nil, false + } + return &o.CdlVerification, true +} + +// SetCdlVerification sets field value +func (o *TrailEventDetailsV1) SetCdlVerification(v interface{}) { + o.CdlVerification = v +} + +func (o TrailEventDetailsV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TrailEventDetailsV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.CdlEvent != nil { + toSerialize["cdl:Event"] = o.CdlEvent + } + toSerialize["cdl:Lineage"] = o.CdlLineage + if o.CdlTags != nil { + toSerialize["cdl:Tags"] = o.CdlTags + } + if o.CdlVerification != nil { + toSerialize["cdl:Verification"] = o.CdlVerification + } + return toSerialize, nil +} + +type NullableTrailEventDetailsV1 struct { + value *TrailEventDetailsV1 + isSet bool +} + +func (v NullableTrailEventDetailsV1) Get() *TrailEventDetailsV1 { + return v.value +} + +func (v *NullableTrailEventDetailsV1) Set(val *TrailEventDetailsV1) { + v.value = val + v.isSet = true +} + +func (v NullableTrailEventDetailsV1) IsSet() bool { + return v.isSet +} + +func (v *NullableTrailEventDetailsV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrailEventDetailsV1(val *TrailEventDetailsV1) *NullableTrailEventDetailsV1 { + return &NullableTrailEventDetailsV1{value: val, isSet: true} +} + +func (v NullableTrailEventDetailsV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrailEventDetailsV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..f34b5b8a529 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..085fedbbcba --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,73 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-cdl + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-cdl_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService GetLineageV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetLineageV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RegisterHistoryDataV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RegisterHistoryDataV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SearchLineageByGlobalDataV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SearchLineageByGlobalDataV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SearchLineageByHeaderV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SearchLineageByHeaderV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..17e0cb51c2b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-cdl/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cacti Plugin - Connector CDL + +Can perform basic tasks on Fujitsu CDL service. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-cdl + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// isNil checks if an input is nil +func isNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-corda/package.json b/packages/cactus-plugin-ledger-connector-corda/package.json index 44849721d60..06af5f4811e 100644 --- a/packages/cactus-plugin-ledger-connector-corda/package.json +++ b/packages/cactus-plugin-ledger-connector-corda/package.json @@ -48,6 +48,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-server": "yarn run --top-level openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin-spring -o ./src/main-server/kotlin/gen/kotlin-spring/ -c ./src/main-server/openapi-generator-config.yaml", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..c3960048287 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,46 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_clear_monitor_transactions_v1_request.go +model_clear_monitor_transactions_v1_response.go +model_corda_node_ssh_credentials.go +model_corda_rpc_credentials.go +model_corda_x500_name.go +model_cordapp_deployment_config.go +model_cordapp_info.go +model_deploy_contract_jars_bad_request_v1_response.go +model_deploy_contract_jars_success_v1_response.go +model_deploy_contract_jars_v1_request.go +model_diagnose_node_v1_request.go +model_diagnose_node_v1_response.go +model_flow_invocation_type.go +model_get_monitor_transactions_v1_request.go +model_get_monitor_transactions_v1_response.go +model_get_monitor_transactions_v1_response_tx_inner.go +model_invoke_contract_v1_request.go +model_invoke_contract_v1_response.go +model_jar_file.go +model_jvm_object.go +model_jvm_type.go +model_jvm_type_kind.go +model_list_flows_v1_request.go +model_list_flows_v1_response.go +model_network_host_and_port.go +model_node_diagnostic_info.go +model_node_info.go +model_party.go +model_public_key.go +model_sha256.go +model_start_monitor_v1_request.go +model_start_monitor_v1_response.go +model_stop_monitor_v1_request.go +model_stop_monitor_v1_response.go +model_x500_principal.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..4bb2c5bd602 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,155 @@ +# Go API client for cactus-plugin-ledger-connector-corda + +Can perform basic tasks on a Corda ledger + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-corda "github.com/hyperledger/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-corda.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-corda.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-corda.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-corda.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**ClearMonitorTransactionsV1**](docs/DefaultApi.md#clearmonitortransactionsv1) | **Delete** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/clear-monitor-transactions | Clear transactions from internal store so they'll not be available by GetMonitorTransactionsV1 anymore. +*DefaultApi* | [**DeployContractJarsV1**](docs/DefaultApi.md#deploycontractjarsv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/deploy-contract-jars | Deploys a set of jar files (Cordapps, e.g. the contracts in Corda speak). +*DefaultApi* | [**DiagnoseNodeV1**](docs/DefaultApi.md#diagnosenodev1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/diagnose-node | +*DefaultApi* | [**GetMonitorTransactionsV1**](docs/DefaultApi.md#getmonitortransactionsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-monitor-transactions | Get transactions for monitored state classes. +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**InvokeContractV1**](docs/DefaultApi.md#invokecontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/invoke-contract | Invokes a contract on a Corda ledger (e.g. a flow) +*DefaultApi* | [**ListFlowsV1**](docs/DefaultApi.md#listflowsv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/list-flows | +*DefaultApi* | [**NetworkMapV1**](docs/DefaultApi.md#networkmapv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/network-map | +*DefaultApi* | [**StartMonitorV1**](docs/DefaultApi.md#startmonitorv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/start-monitor | Start monitoring corda changes (transactions) of given state class +*DefaultApi* | [**StopMonitorV1**](docs/DefaultApi.md#stopmonitorv1) | **Delete** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/stop-monitor | Stop monitoring corda changes (transactions) of given state class + + +## Documentation For Models + + - [ClearMonitorTransactionsV1Request](docs/ClearMonitorTransactionsV1Request.md) + - [ClearMonitorTransactionsV1Response](docs/ClearMonitorTransactionsV1Response.md) + - [CordaNodeSshCredentials](docs/CordaNodeSshCredentials.md) + - [CordaRpcCredentials](docs/CordaRpcCredentials.md) + - [CordaX500Name](docs/CordaX500Name.md) + - [CordappDeploymentConfig](docs/CordappDeploymentConfig.md) + - [CordappInfo](docs/CordappInfo.md) + - [DeployContractJarsBadRequestV1Response](docs/DeployContractJarsBadRequestV1Response.md) + - [DeployContractJarsSuccessV1Response](docs/DeployContractJarsSuccessV1Response.md) + - [DeployContractJarsV1Request](docs/DeployContractJarsV1Request.md) + - [DiagnoseNodeV1Request](docs/DiagnoseNodeV1Request.md) + - [DiagnoseNodeV1Response](docs/DiagnoseNodeV1Response.md) + - [FlowInvocationType](docs/FlowInvocationType.md) + - [GetMonitorTransactionsV1Request](docs/GetMonitorTransactionsV1Request.md) + - [GetMonitorTransactionsV1Response](docs/GetMonitorTransactionsV1Response.md) + - [GetMonitorTransactionsV1ResponseTxInner](docs/GetMonitorTransactionsV1ResponseTxInner.md) + - [InvokeContractV1Request](docs/InvokeContractV1Request.md) + - [InvokeContractV1Response](docs/InvokeContractV1Response.md) + - [JarFile](docs/JarFile.md) + - [JvmObject](docs/JvmObject.md) + - [JvmType](docs/JvmType.md) + - [JvmTypeKind](docs/JvmTypeKind.md) + - [ListFlowsV1Request](docs/ListFlowsV1Request.md) + - [ListFlowsV1Response](docs/ListFlowsV1Response.md) + - [NetworkHostAndPort](docs/NetworkHostAndPort.md) + - [NodeDiagnosticInfo](docs/NodeDiagnosticInfo.md) + - [NodeInfo](docs/NodeInfo.md) + - [Party](docs/Party.md) + - [PublicKey](docs/PublicKey.md) + - [SHA256](docs/SHA256.md) + - [StartMonitorV1Request](docs/StartMonitorV1Request.md) + - [StartMonitorV1Response](docs/StartMonitorV1Response.md) + - [StopMonitorV1Request](docs/StopMonitorV1Request.md) + - [StopMonitorV1Response](docs/StopMonitorV1Response.md) + - [X500Principal](docs/X500Principal.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..203cfafc294 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,1384 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on a Corda ledger + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Connector Corda + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/deploy-contract-jars: + post: + operationId: deployContractJarsV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractJarsV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractJarsSuccessV1Response' + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractJarsBadRequestV1Response' + description: Bad Request + summary: "Deploys a set of jar files (Cordapps, e.g. the contracts in Corda\ + \ speak)." + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/deploy-contract-jars + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/invoke-contract: + post: + operationId: invokeContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + summary: Invokes a contract on a Corda ledger (e.g. a flow) + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/invoke-contract + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/start-monitor: + post: + operationId: startMonitorV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/StartMonitorV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/StartMonitorV1Response' + description: OK + summary: Start monitoring corda changes (transactions) of given state class + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/start-monitor + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-monitor-transactions: + get: + operationId: GetMonitorTransactionsV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetMonitorTransactionsV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetMonitorTransactionsV1Response' + description: OK + summary: Get transactions for monitored state classes. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-monitor-transactions + verbLowerCase: get + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/clear-monitor-transactions: + delete: + operationId: ClearMonitorTransactionsV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClearMonitorTransactionsV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ClearMonitorTransactionsV1Response' + description: OK + summary: Clear transactions from internal store so they'll not be available + by GetMonitorTransactionsV1 anymore. + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/clear-monitor-transactions + verbLowerCase: delete + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/stop-monitor: + delete: + operationId: stopMonitorV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/StopMonitorV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/StopMonitorV1Response' + description: OK + summary: Stop monitoring corda changes (transactions) of given state class + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/stop-monitor + verbLowerCase: delete + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/network-map: + post: + description: "Responds with a snapshot of the network map as provided by the\ + \ Corda RPC call: net.corda.core.messaging.CordaRPCOps public abstract fun\ + \ networkMapSnapshot(): List" + operationId: networkMapV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NetworkMapV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/NetworkMapV1Response' + description: OK + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/network-map + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/list-flows: + post: + description: Responds with a list of the flows on the Corda node. + operationId: listFlowsV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ListFlowsV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ListFlowsV1Response' + description: OK + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/list-flows + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/diagnose-node: + post: + description: Responds with diagnostic information about the Corda node + operationId: diagnoseNodeV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DiagnoseNodeV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DiagnoseNodeV1Response' + description: OK + x-hyperledger-cacti: + http: + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/diagnose-node + verbLowerCase: post + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-prometheus-exporter-metrics +components: + schemas: + SHA256: + description: "SHA-256 is part of the SHA-2 hash function family. Generated hash\ + \ is fixed size, 256-bits (32-bytes)." + example: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + externalDocs: + description: Official Corda documentation of the SHA256 class. + url: https://api.corda.net/api/corda-os/4.6/html/api/kotlin/corda/net.corda.core.crypto/-secure-hash/-s-h-a256/index.html + properties: + bytes: + example: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + type: string + offset: + example: 0 + type: integer + size: + example: 32 + type: integer + required: + - bytes + - offset + - size + type: object + CordappInfo: + description: A CordappInfo describes a single CorDapp currently installed on + the node + example: + licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + externalDocs: + description: Official Corda Documentation of the class CordappInfo + url: https://api.corda.net/api/corda-os/4.6/html/api/kotlin/corda/net.corda.core.cordapp/-cordapp-info/index.html + properties: + jarHash: + $ref: '#/components/schemas/SHA256' + licence: + description: The name of the licence this CorDapp is released under + type: string + minimumPlatformVersion: + description: The minimum platform version the node must be at for the CorDapp + to run + type: integer + name: + description: The name of the JAR file that defines the CorDapp + type: string + shortName: + description: The name of the CorDapp + type: string + targetPlatformVersion: + description: The target platform version this CorDapp has been tested against + type: integer + type: + description: "A description of what sort of CorDapp this is - either a contract,\ + \ workflow, or a combination." + type: string + vendor: + description: The vendor of this CorDapp + type: string + version: + description: The version of this CorDapp + type: string + required: + - jarHash + - licence + - minimumPlatformVersion + - name + - shortName + - targetPlatformVersion + - type + - vendor + - version + type: object + NodeDiagnosticInfo: + description: A NodeDiagnosticInfo holds information about the current node version. + example: + vendor: vendor + platformVersion: 1 + version: version + cordapps: + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + revision: revision + externalDocs: + description: Official Corda Documentation of the class NodeDiagnosticInfo + url: https://api.corda.net/api/corda-os/4.6/html/api/kotlin/corda/net.corda.core.node/-node-diagnostic-info/index.html + properties: + cordapps: + description: A list of CorDapps currently installed on this node + items: + $ref: '#/components/schemas/CordappInfo' + maxItems: 4096 + minItems: 0 + type: array + platformVersion: + description: "The platform version of this node. This number represents\ + \ a released API version, and should be used to make functionality decisions\ + \ (e.g. enabling an app feature only if an underlying platform feature\ + \ exists)" + type: integer + revision: + description: The git commit hash this node was built from + type: string + vendor: + description: The vendor of this node + type: string + version: + description: "The current node version string, e.g. 4.3, 4.4-SNAPSHOT. Note\ + \ that this string is effectively freeform, and so should only be used\ + \ for providing diagnostic information. It should not be used to make\ + \ functionality decisions (the platformVersion is a better fit for this)." + type: string + required: + - cordapps + - platformVersion + - revision + - vendor + - version + type: object + FlowInvocationType: + description: Determines which flow starting method will be used on the back-end + when invoking the flow. Based on the value here the plugin back-end might + invoke the rpc.startFlowDynamic() method or the rpc.startTrackedFlowDynamic() + method. Streamed responses are aggregated and returned in a single response + to HTTP callers who are not equipped to handle streams like WebSocket/gRPC/etc. + do. + enum: + - TRACKED_FLOW_DYNAMIC + - FLOW_DYNAMIC + nullable: false + type: string + JarFile: + additionalProperties: true + example: + filename: filename + contentBase64: contentBase64 + hasDbMigrations: true + properties: + filename: + maxLength: 255 + minLength: 1 + nullable: false + type: string + hasDbMigrations: + description: Indicates whether the cordapp jar in question contains any + embedded migrations that Cactus can/should execute between copying the + jar into the cordapp directory and starting the node back up. + nullable: false + type: boolean + contentBase64: + format: base64 + maxLength: 1073741824 + minLength: 1 + nullable: false + type: string + required: + - contentBase64 + - filename + - hasDbMigrations + type: object + JvmType: + description: Represents a reference to a JVM type (such as a Java class) + example: + constructorName: constructorName + invocationTarget: null + fqClassName: fqClassName + properties: + fqClassName: + maxLength: 65535 + minLength: 1 + nullable: false + type: string + constructorName: + description: This parameter is used to specify that the function used to + construct this JvmType is not a constructor function but instead is a + factory function. Setting this parameter will cause the plugin to look + up methods of the class denoted by fqClassName instead of its constructors. + maxLength: 65535 + minLength: 1 + nullable: false + type: string + invocationTarget: + $ref: '#/components/schemas/JvmObject' + required: + - fqClassName + type: object + JvmTypeKind: + enum: + - PRIMITIVE + - REFERENCE + nullable: false + type: string + JvmObject: + description: "Can represent JVM primitive and reference types as well. The jvmTypeKind\ + \ field indicates which one is being stored. If the jvmTypeKind field is set\ + \ to REFERENCE then the jvmCtorArgs array is expected to be filled, otherwise\ + \ (e.g. PRIMITIVE jvmTypeKind) it is expected that the primitiveValue property\ + \ is filled with a primitive data type supported by the JSON standard such\ + \ as strings, booleans, numbers, etc." + example: + jvmCtorArgs: + - null + - null + jvmType: + constructorName: constructorName + invocationTarget: null + fqClassName: fqClassName + primitiveValue: "{}" + jvmTypeKind: null + properties: + jvmTypeKind: + $ref: '#/components/schemas/JvmTypeKind' + primitiveValue: + type: object + jvmCtorArgs: + default: [] + items: + $ref: '#/components/schemas/JvmObject' + maxLength: 1024 + minLength: 0 + nullable: false + type: array + jvmType: + $ref: '#/components/schemas/JvmType' + required: + - jvmType + - jvmTypeKind + type: object + CordappDeploymentConfig: + example: + cordaJarPath: cordaJarPath + cordaNodeStartCmd: ./build/nodes/runNodes + cordappDir: cordappDir + nodeBaseDirPath: nodeBaseDirPath + rpcCredentials: + hostname: hostname + password: password + port: 39501 + username: username + sshCredentials: + password: password + hostname: hostname + port: 5249 + hostKeyEntry: localhost ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPmhSBtMctNa4hsZt8QGlsYSE5/gMkjeand69Vj4ir13 + username: username + properties: + sshCredentials: + $ref: '#/components/schemas/CordaNodeSshCredentials' + rpcCredentials: + $ref: '#/components/schemas/CordaRpcCredentials' + cordaNodeStartCmd: + description: The shell command to execute in order to start back up a Corda + node after having placed new jars in the cordapp directory of said node. + example: ./build/nodes/runNodes + maxLength: 65535 + minLength: 1 + nullable: false + type: string + cordappDir: + description: The absolute file system path where the Corda Node is expecting + deployed Cordapp jar files to be placed. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + cordaJarPath: + description: The absolute file system path where the corda.jar file of the + node can be found. This is used to execute database schema migrations + where applicable (H2 database in use in development environments). + maxLength: 2048 + minLength: 1 + nullable: false + type: string + nodeBaseDirPath: + description: The absolute file system path where the base directory of the + Corda node can be found. This is used to pass in to corda.jar when being + invoked for certain tasks such as executing database schema migrations + for a deployed contract. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + required: + - cordaJarPath + - cordaNodeStartCmd + - cordappDir + - nodeBaseDirPath + - rpcCredentials + - sshCredentials + type: object + CordaRpcCredentials: + example: + hostname: hostname + password: password + port: 39501 + username: username + properties: + hostname: + maxLength: 65535 + minLength: 1 + nullable: false + type: string + port: + maximum: 65535 + minimum: 1 + nullable: false + type: integer + username: + maxLength: 1024 + minLength: 1 + nullable: false + type: string + password: + maxLength: 65535 + minLength: 1 + nullable: false + type: string + required: + - hostname + - password + - port + - username + type: object + CordaNodeSshCredentials: + example: + password: password + hostname: hostname + port: 5249 + hostKeyEntry: localhost ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPmhSBtMctNa4hsZt8QGlsYSE5/gMkjeand69Vj4ir13 + username: username + properties: + hostKeyEntry: + example: localhost ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPmhSBtMctNa4hsZt8QGlsYSE5/gMkjeand69Vj4ir13 + maxLength: 65535 + minLength: 1 + nullable: false + type: string + username: + maxLength: 32 + minLength: 1 + nullable: false + type: string + password: + maxLength: 4096 + minLength: 1 + nullable: false + type: string + hostname: + maxLength: 4096 + minLength: 1 + nullable: false + type: string + port: + maximum: 65535 + minimum: 1 + nullable: false + type: integer + required: + - hostKeyEntry + - hostname + - password + - port + - username + type: object + DeployContractJarsV1Request: + additionalProperties: false + example: + jarFiles: + - filename: filename + contentBase64: contentBase64 + hasDbMigrations: true + - filename: filename + contentBase64: contentBase64 + hasDbMigrations: true + cordappDeploymentConfigs: + - cordaJarPath: cordaJarPath + cordaNodeStartCmd: ./build/nodes/runNodes + cordappDir: cordappDir + nodeBaseDirPath: nodeBaseDirPath + rpcCredentials: + hostname: hostname + password: password + port: 39501 + username: username + sshCredentials: + password: password + hostname: hostname + port: 5249 + hostKeyEntry: localhost ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPmhSBtMctNa4hsZt8QGlsYSE5/gMkjeand69Vj4ir13 + username: username + - cordaJarPath: cordaJarPath + cordaNodeStartCmd: ./build/nodes/runNodes + cordappDir: cordappDir + nodeBaseDirPath: nodeBaseDirPath + rpcCredentials: + hostname: hostname + password: password + port: 39501 + username: username + sshCredentials: + password: password + hostname: hostname + port: 5249 + hostKeyEntry: localhost ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPmhSBtMctNa4hsZt8QGlsYSE5/gMkjeand69Vj4ir13 + username: username + properties: + cordappDeploymentConfigs: + default: [] + description: The list of deployment configurations pointing to the nodes + where the provided cordapp jar files are to be deployed . + items: + $ref: '#/components/schemas/CordappDeploymentConfig' + maxLength: 1024 + minLength: 0 + type: array + jarFiles: + items: + $ref: '#/components/schemas/JarFile' + nullable: false + type: array + required: + - cordappDeploymentConfigs + - jarFiles + type: object + DeployContractJarsSuccessV1Response: + example: + deployedJarFiles: + - deployedJarFiles + - deployedJarFiles + properties: + deployedJarFiles: + items: + minItems: 1 + nullable: false + type: string + type: array + required: + - deployedJarFiles + type: object + DeployContractJarsBadRequestV1Response: + properties: + errors: + items: + maxItems: 2048 + maxLength: 65535 + minItems: 1 + minLength: 1 + type: string + type: array + required: + - errors + type: object + InvokeContractV1Request: + additionalProperties: false + example: + flowInvocationType: null + timeoutMs: 0 + flowFullClassName: net.corda.samples.obligation.flows.IOUIssueFlow + params: + - jvmCtorArgs: + - null + - null + jvmType: + constructorName: constructorName + invocationTarget: null + fqClassName: fqClassName + primitiveValue: "{}" + jvmTypeKind: null + - jvmCtorArgs: + - null + - null + jvmType: + constructorName: constructorName + invocationTarget: null + fqClassName: fqClassName + primitiveValue: "{}" + jvmTypeKind: null + properties: + flowFullClassName: + description: The fully qualified name of the Corda flow to invoke + example: net.corda.samples.obligation.flows.IOUIssueFlow + maxLength: 1024 + minLength: 1 + nullable: false + type: string + flowInvocationType: + $ref: '#/components/schemas/FlowInvocationType' + params: + default: [] + description: The list of arguments to pass in to the contract method being + invoked. + items: + $ref: '#/components/schemas/JvmObject' + nullable: false + type: array + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + beforegiving up and crashing. + minimum: 0 + nullable: false + type: integer + required: + - flowFullClassName + - flowInvocationType + - params + - signingCredential + type: object + InvokeContractV1Response: + example: + callOutput: "{}" + success: true + progress: + - progress + - progress + flowId: flowId + transactionId: transactionId + properties: + success: + nullable: false + type: boolean + callOutput: + description: Data returned from the JVM when no transaction is running + type: object + transactionId: + description: The net.corda.core.flows.StateMachineRunId value returned by + the flow execution. + maxLength: 1024 + minLength: 1 + nullable: false + type: string + progress: + default: [] + description: "An array of strings representing the aggregated stream of\ + \ progress updates provided by a *tracked* flow invocation. If the flow\ + \ invocation was not tracked, this array is still returned, but as empty." + items: + maxItems: 10000000 + minItems: 0 + type: string + type: array + flowId: + description: The id for the flow handle + type: string + required: + - callOutput + - flowId + - success + type: object + StartMonitorV1Request: + additionalProperties: false + example: + stateFullClassName: net.corda.samples.example.states.IOUState + clientAppId: frond_v1_x_7Hdg6s + properties: + clientAppId: + description: ID of a client application that wants to monitor the state + changes + example: frond_v1_x_7Hdg6s + maxLength: 1024 + minLength: 1 + nullable: false + type: string + stateFullClassName: + description: The fully qualified name of the Corda state to monitor + example: net.corda.samples.example.states.IOUState + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - clientAppId + - stateFullClassName + type: object + StartMonitorV1Response: + example: + msg: msg + success: true + properties: + success: + description: Flag set to true if monitoring started correctly. + nullable: false + type: boolean + msg: + description: Message describing operation status or any errors that occurred. + nullable: false + type: string + required: + - msg + - success + type: object + GetMonitorTransactionsV1Request: + additionalProperties: false + example: + stateFullClassName: net.corda.samples.example.states.IOUState + clientAppId: frond_v1_x_7Hdg6s + properties: + clientAppId: + description: ID of a client application that wants to monitor the state + changes + example: frond_v1_x_7Hdg6s + maxLength: 1024 + minLength: 1 + nullable: false + type: string + stateFullClassName: + description: The fully qualified name of the Corda state to monitor + example: net.corda.samples.example.states.IOUState + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - clientAppId + - stateFullClassName + type: object + GetMonitorTransactionsV1Response: + example: + msg: msg + tx: + - data: data + index: index + - data: data + index: index + success: true + stateFullClassName: net.corda.samples.example.states.IOUState + properties: + success: + description: Flag set to true if operation completed correctly. + nullable: false + type: boolean + msg: + description: Message describing operation status or any errors that occurred. + nullable: false + type: string + stateFullClassName: + description: The fully qualified name of the Corda state to monitor + example: net.corda.samples.example.states.IOUState + maxLength: 1024 + minLength: 1 + nullable: false + type: string + tx: + default: [] + items: + $ref: '#/components/schemas/GetMonitorTransactionsV1Response_tx_inner' + type: array + required: + - msg + - success + type: object + ClearMonitorTransactionsV1Request: + additionalProperties: false + example: + txIndexes: + - txIndexes + - txIndexes + stateFullClassName: net.corda.samples.example.states.IOUState + clientAppId: frond_v1_x_7Hdg6s + properties: + clientAppId: + description: ID of a client application that wants to monitor the state + changes + example: frond_v1_x_7Hdg6s + maxLength: 1024 + minLength: 1 + nullable: false + type: string + stateFullClassName: + description: The fully qualified name of the Corda state to monitor + example: net.corda.samples.example.states.IOUState + maxLength: 1024 + minLength: 1 + nullable: false + type: string + txIndexes: + default: [] + items: + type: string + type: array + required: + - clientAppId + - stateFullClassName + - txIndexes + type: object + ClearMonitorTransactionsV1Response: + additionalProperties: false + example: + msg: msg + success: true + properties: + success: + description: Flag set to true if operation completed correctly. + nullable: false + type: boolean + msg: + description: Message describing operation status or any errors that occurred. + nullable: false + type: string + required: + - msg + - success + type: object + StopMonitorV1Request: + additionalProperties: false + example: + stateFullClassName: net.corda.samples.example.states.IOUState + clientAppId: frond_v1_x_7Hdg6s + properties: + clientAppId: + description: ID of a client application that wants to monitor the state + changes + example: frond_v1_x_7Hdg6s + maxLength: 1024 + minLength: 1 + nullable: false + type: string + stateFullClassName: + description: The fully qualified name of the Corda state to monitor + example: net.corda.samples.example.states.IOUState + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - clientAppId + - stateFullClassName + type: object + StopMonitorV1Response: + example: + msg: msg + success: true + properties: + success: + description: Flag set to true if operation completed correctly. + nullable: false + type: boolean + msg: + description: Message describing operation status or any errors that occurred. + nullable: false + type: string + required: + - msg + - success + type: object + ListFlowsV1Request: + additionalProperties: false + example: + filter: filter + properties: + filter: + type: string + type: object + ListFlowsV1Response: + example: + flowNames: + - net.corda.finance.flows.CashExitFlow + - net.corda.finance.flows.CashIssueAndPaymentFlow + - net.corda.finance.flows.CashIssueFlow + - net.corda.finance.flows.CashPaymentFlow + - net.corda.finance.internal.CashConfigDataFlow + - net.corda.samples.obligation.flows.IOUIssueFlow + - net.corda.samples.obligation.flows.IOUSettleFlow + - net.corda.samples.obligation.flows.IOUTransferFlow + - net.corda.samples.obligation.flows.SelfIssueCashFlow + properties: + flowNames: + default: [] + description: An array of strings storing the names of the flows as returned + by the flowList Corda RPC. + example: + - net.corda.finance.flows.CashExitFlow + - net.corda.finance.flows.CashIssueAndPaymentFlow + - net.corda.finance.flows.CashIssueFlow + - net.corda.finance.flows.CashPaymentFlow + - net.corda.finance.internal.CashConfigDataFlow + - net.corda.samples.obligation.flows.IOUIssueFlow + - net.corda.samples.obligation.flows.IOUSettleFlow + - net.corda.samples.obligation.flows.IOUTransferFlow + - net.corda.samples.obligation.flows.SelfIssueCashFlow + items: + maxItems: 10000000 + minItems: 0 + type: string + type: array + required: + - flowNames + type: object + NetworkHostAndPort: + example: + port: 0.8008281904610115 + host: host + properties: + host: + type: string + port: + type: number + required: + - host + - port + type: object + PartyAndCertificate: + type: object + PublicKey: + description: An instance of a java.security.PublicKey (which is an interface) + implementation such as org.hyperledger.cactus.plugin.ledger.connector.corda.server.impl.PublicKeyImpl + example: + format: X.509 + algorithm: EdDSA + encoded: MCowBQYDK2VwAyEAac1p4wLsAh70VJOcudQppu7NnKxyoKxVN0DbfTxF+54= + properties: + algorithm: + example: EdDSA + type: string + format: + example: X.509 + type: string + encoded: + example: MCowBQYDK2VwAyEAac1p4wLsAh70VJOcudQppu7NnKxyoKxVN0DbfTxF+54= + type: string + required: + - algorithm + - encoded + - format + type: object + X500Principal: + example: + name: "O=PartyA,L=London,C=GB" + encoded: MC8xCzAJBgNVBAYTAkdCMQ8wDQYDVQQHDAZMb25kb24xDzANBgNVBAoMBlBhcnR5QQ== + properties: + name: + example: "O=PartyA,L=London,C=GB" + type: string + encoded: + description: Base64 encoded public key + example: MC8xCzAJBgNVBAYTAkdCMQ8wDQYDVQQHDAZMb25kb24xDzANBgNVBAoMBlBhcnR5QQ== + type: string + required: + - encoded + - name + type: object + CordaX500Name: + example: + commonName: commonName + country: GB + organisationUnit: organisationUnit + locality: London + x500Principal: + name: "O=PartyA,L=London,C=GB" + encoded: MC8xCzAJBgNVBAYTAkdCMQ8wDQYDVQQHDAZMb25kb24xDzANBgNVBAoMBlBhcnR5QQ== + organisation: PartyA + state: state + properties: + commonName: + type: string + organisationUnit: + type: string + organisation: + example: PartyA + type: string + locality: + example: London + type: string + state: + type: string + country: + example: GB + type: string + x500Principal: + $ref: '#/components/schemas/X500Principal' + required: + - country + - locality + - organisation + - x500Principal + type: object + Party: + example: + owningKey: + format: X.509 + algorithm: EdDSA + encoded: MCowBQYDK2VwAyEAac1p4wLsAh70VJOcudQppu7NnKxyoKxVN0DbfTxF+54= + name: + commonName: commonName + country: GB + organisationUnit: organisationUnit + locality: London + x500Principal: + name: "O=PartyA,L=London,C=GB" + encoded: MC8xCzAJBgNVBAYTAkdCMQ8wDQYDVQQHDAZMb25kb24xDzANBgNVBAoMBlBhcnR5QQ== + organisation: PartyA + state: state + properties: + name: + $ref: '#/components/schemas/CordaX500Name' + owningKey: + $ref: '#/components/schemas/PublicKey' + required: + - name + - owningKey + type: object + NodeInfo: + example: + legalIdentities: + - owningKey: + format: X.509 + algorithm: EdDSA + encoded: MCowBQYDK2VwAyEAac1p4wLsAh70VJOcudQppu7NnKxyoKxVN0DbfTxF+54= + name: + commonName: commonName + country: GB + organisationUnit: organisationUnit + locality: London + x500Principal: + name: "O=PartyA,L=London,C=GB" + encoded: MC8xCzAJBgNVBAYTAkdCMQ8wDQYDVQQHDAZMb25kb24xDzANBgNVBAoMBlBhcnR5QQ== + organisation: PartyA + state: state + - owningKey: + format: X.509 + algorithm: EdDSA + encoded: MCowBQYDK2VwAyEAac1p4wLsAh70VJOcudQppu7NnKxyoKxVN0DbfTxF+54= + name: + commonName: commonName + country: GB + organisationUnit: organisationUnit + locality: London + x500Principal: + name: "O=PartyA,L=London,C=GB" + encoded: MC8xCzAJBgNVBAYTAkdCMQ8wDQYDVQQHDAZMb25kb24xDzANBgNVBAoMBlBhcnR5QQ== + organisation: PartyA + state: state + addresses: + - port: 0.8008281904610115 + host: host + - port: 0.8008281904610115 + host: host + serial: 1.4658129805029452 + platformVersion: 6 + legalIdentitiesAndCerts: + - null + - null + properties: + addresses: + items: + $ref: '#/components/schemas/NetworkHostAndPort' + type: array + platformVersion: + type: integer + serial: + type: number + legalIdentities: + items: + $ref: '#/components/schemas/Party' + type: array + legalIdentitiesAndCerts: + items: + $ref: '#/components/schemas/PartyAndCertificate' + type: array + required: + - addresses + - legalIdentities + - legalIdentitiesAndCerts + - platformVersion + - serial + type: object + NetworkMapV1Request: + type: object + NetworkMapV1Response: + items: + $ref: '#/components/schemas/NodeInfo' + maxItems: 2048 + minItems: 1 + nullable: false + type: array + DiagnoseNodeV1Request: + additionalProperties: false + example: + nodeIds: + - nodeIds + - nodeIds + - nodeIds + - nodeIds + - nodeIds + properties: + nodeIds: + default: [] + description: "Optional property specifying which Corda Node should be the\ + \ one being diagnosed in case the Connector has multiple connections established\ + \ for different nodes (which is not yet a supported feature, but we want\ + \ to keep this possibility open for the future)." + items: + nullable: false + type: string + maxItems: 1024 + minItems: 0 + type: array + type: object + DiagnoseNodeV1Response: + example: + nodeDiagnosticInfo: + vendor: vendor + platformVersion: 1 + version: version + cordapps: + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + - licence: licence + targetPlatformVersion: 6 + vendor: vendor + name: name + jarHash: + offset: 0 + size: 32 + bytes: Vf9MllnrC7vrWxrlDE94OzPMZW7At1HhTETL/XjiAmc= + shortName: shortName + type: type + version: version + minimumPlatformVersion: 0 + revision: revision + properties: + nodeDiagnosticInfo: + $ref: '#/components/schemas/NodeDiagnosticInfo' + required: + - nodeDiagnosticInfo + type: object + PrometheusExporterMetricsResponse: + nullable: false + type: string + GetMonitorTransactionsV1Response_tx_inner: + example: + data: data + index: index + properties: + index: + type: string + data: + maxItems: 10000000 + minItems: 0 + type: string + type: object diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..8da03ca9067 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,1081 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiClearMonitorTransactionsV1Request struct { + ctx context.Context + ApiService *DefaultApiService + clearMonitorTransactionsV1Request *ClearMonitorTransactionsV1Request +} + +func (r ApiClearMonitorTransactionsV1Request) ClearMonitorTransactionsV1Request(clearMonitorTransactionsV1Request ClearMonitorTransactionsV1Request) ApiClearMonitorTransactionsV1Request { + r.clearMonitorTransactionsV1Request = &clearMonitorTransactionsV1Request + return r +} + +func (r ApiClearMonitorTransactionsV1Request) Execute() (*ClearMonitorTransactionsV1Response, *http.Response, error) { + return r.ApiService.ClearMonitorTransactionsV1Execute(r) +} + +/* +ClearMonitorTransactionsV1 Clear transactions from internal store so they'll not be available by GetMonitorTransactionsV1 anymore. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiClearMonitorTransactionsV1Request +*/ +func (a *DefaultApiService) ClearMonitorTransactionsV1(ctx context.Context) ApiClearMonitorTransactionsV1Request { + return ApiClearMonitorTransactionsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ClearMonitorTransactionsV1Response +func (a *DefaultApiService) ClearMonitorTransactionsV1Execute(r ApiClearMonitorTransactionsV1Request) (*ClearMonitorTransactionsV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClearMonitorTransactionsV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ClearMonitorTransactionsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/clear-monitor-transactions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.clearMonitorTransactionsV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiDeployContractJarsV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deployContractJarsV1Request *DeployContractJarsV1Request +} + +func (r ApiDeployContractJarsV1Request) DeployContractJarsV1Request(deployContractJarsV1Request DeployContractJarsV1Request) ApiDeployContractJarsV1Request { + r.deployContractJarsV1Request = &deployContractJarsV1Request + return r +} + +func (r ApiDeployContractJarsV1Request) Execute() (*DeployContractJarsSuccessV1Response, *http.Response, error) { + return r.ApiService.DeployContractJarsV1Execute(r) +} + +/* +DeployContractJarsV1 Deploys a set of jar files (Cordapps, e.g. the contracts in Corda speak). + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractJarsV1Request +*/ +func (a *DefaultApiService) DeployContractJarsV1(ctx context.Context) ApiDeployContractJarsV1Request { + return ApiDeployContractJarsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeployContractJarsSuccessV1Response +func (a *DefaultApiService) DeployContractJarsV1Execute(r ApiDeployContractJarsV1Request) (*DeployContractJarsSuccessV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeployContractJarsSuccessV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContractJarsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/deploy-contract-jars" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractJarsV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v DeployContractJarsBadRequestV1Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiDiagnoseNodeV1Request struct { + ctx context.Context + ApiService *DefaultApiService + diagnoseNodeV1Request *DiagnoseNodeV1Request +} + +func (r ApiDiagnoseNodeV1Request) DiagnoseNodeV1Request(diagnoseNodeV1Request DiagnoseNodeV1Request) ApiDiagnoseNodeV1Request { + r.diagnoseNodeV1Request = &diagnoseNodeV1Request + return r +} + +func (r ApiDiagnoseNodeV1Request) Execute() (*DiagnoseNodeV1Response, *http.Response, error) { + return r.ApiService.DiagnoseNodeV1Execute(r) +} + +/* +DiagnoseNodeV1 Method for DiagnoseNodeV1 + +Responds with diagnostic information about the Corda node + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDiagnoseNodeV1Request +*/ +func (a *DefaultApiService) DiagnoseNodeV1(ctx context.Context) ApiDiagnoseNodeV1Request { + return ApiDiagnoseNodeV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DiagnoseNodeV1Response +func (a *DefaultApiService) DiagnoseNodeV1Execute(r ApiDiagnoseNodeV1Request) (*DiagnoseNodeV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DiagnoseNodeV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DiagnoseNodeV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/diagnose-node" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.diagnoseNodeV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetMonitorTransactionsV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getMonitorTransactionsV1Request *GetMonitorTransactionsV1Request +} + +func (r ApiGetMonitorTransactionsV1Request) GetMonitorTransactionsV1Request(getMonitorTransactionsV1Request GetMonitorTransactionsV1Request) ApiGetMonitorTransactionsV1Request { + r.getMonitorTransactionsV1Request = &getMonitorTransactionsV1Request + return r +} + +func (r ApiGetMonitorTransactionsV1Request) Execute() (*GetMonitorTransactionsV1Response, *http.Response, error) { + return r.ApiService.GetMonitorTransactionsV1Execute(r) +} + +/* +GetMonitorTransactionsV1 Get transactions for monitored state classes. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetMonitorTransactionsV1Request +*/ +func (a *DefaultApiService) GetMonitorTransactionsV1(ctx context.Context) ApiGetMonitorTransactionsV1Request { + return ApiGetMonitorTransactionsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetMonitorTransactionsV1Response +func (a *DefaultApiService) GetMonitorTransactionsV1Execute(r ApiGetMonitorTransactionsV1Request) (*GetMonitorTransactionsV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetMonitorTransactionsV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetMonitorTransactionsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-monitor-transactions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getMonitorTransactionsV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + invokeContractV1Request *InvokeContractV1Request +} + +func (r ApiInvokeContractV1Request) InvokeContractV1Request(invokeContractV1Request InvokeContractV1Request) ApiInvokeContractV1Request { + r.invokeContractV1Request = &invokeContractV1Request + return r +} + +func (r ApiInvokeContractV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.InvokeContractV1Execute(r) +} + +/* +InvokeContractV1 Invokes a contract on a Corda ledger (e.g. a flow) + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeContractV1Request +*/ +func (a *DefaultApiService) InvokeContractV1(ctx context.Context) ApiInvokeContractV1Request { + return ApiInvokeContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) InvokeContractV1Execute(r ApiInvokeContractV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/invoke-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListFlowsV1Request struct { + ctx context.Context + ApiService *DefaultApiService + listFlowsV1Request *ListFlowsV1Request +} + +func (r ApiListFlowsV1Request) ListFlowsV1Request(listFlowsV1Request ListFlowsV1Request) ApiListFlowsV1Request { + r.listFlowsV1Request = &listFlowsV1Request + return r +} + +func (r ApiListFlowsV1Request) Execute() (*ListFlowsV1Response, *http.Response, error) { + return r.ApiService.ListFlowsV1Execute(r) +} + +/* +ListFlowsV1 Method for ListFlowsV1 + +Responds with a list of the flows on the Corda node. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListFlowsV1Request +*/ +func (a *DefaultApiService) ListFlowsV1(ctx context.Context) ApiListFlowsV1Request { + return ApiListFlowsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ListFlowsV1Response +func (a *DefaultApiService) ListFlowsV1Execute(r ApiListFlowsV1Request) (*ListFlowsV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListFlowsV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListFlowsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/list-flows" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.listFlowsV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiNetworkMapV1Request struct { + ctx context.Context + ApiService *DefaultApiService + body *map[string]interface{} +} + +func (r ApiNetworkMapV1Request) Body(body map[string]interface{}) ApiNetworkMapV1Request { + r.body = &body + return r +} + +func (r ApiNetworkMapV1Request) Execute() ([]NodeInfo, *http.Response, error) { + return r.ApiService.NetworkMapV1Execute(r) +} + +/* +NetworkMapV1 Method for NetworkMapV1 + +Responds with a snapshot of the network map as provided by the Corda RPC call: net.corda.core.messaging.CordaRPCOps public abstract fun networkMapSnapshot(): List + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiNetworkMapV1Request +*/ +func (a *DefaultApiService) NetworkMapV1(ctx context.Context) ApiNetworkMapV1Request { + return ApiNetworkMapV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []NodeInfo +func (a *DefaultApiService) NetworkMapV1Execute(r ApiNetworkMapV1Request) ([]NodeInfo, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []NodeInfo + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.NetworkMapV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/network-map" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiStartMonitorV1Request struct { + ctx context.Context + ApiService *DefaultApiService + startMonitorV1Request *StartMonitorV1Request +} + +func (r ApiStartMonitorV1Request) StartMonitorV1Request(startMonitorV1Request StartMonitorV1Request) ApiStartMonitorV1Request { + r.startMonitorV1Request = &startMonitorV1Request + return r +} + +func (r ApiStartMonitorV1Request) Execute() (*StartMonitorV1Response, *http.Response, error) { + return r.ApiService.StartMonitorV1Execute(r) +} + +/* +StartMonitorV1 Start monitoring corda changes (transactions) of given state class + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiStartMonitorV1Request +*/ +func (a *DefaultApiService) StartMonitorV1(ctx context.Context) ApiStartMonitorV1Request { + return ApiStartMonitorV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return StartMonitorV1Response +func (a *DefaultApiService) StartMonitorV1Execute(r ApiStartMonitorV1Request) (*StartMonitorV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *StartMonitorV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.StartMonitorV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/start-monitor" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.startMonitorV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiStopMonitorV1Request struct { + ctx context.Context + ApiService *DefaultApiService + stopMonitorV1Request *StopMonitorV1Request +} + +func (r ApiStopMonitorV1Request) StopMonitorV1Request(stopMonitorV1Request StopMonitorV1Request) ApiStopMonitorV1Request { + r.stopMonitorV1Request = &stopMonitorV1Request + return r +} + +func (r ApiStopMonitorV1Request) Execute() (*StopMonitorV1Response, *http.Response, error) { + return r.ApiService.StopMonitorV1Execute(r) +} + +/* +StopMonitorV1 Stop monitoring corda changes (transactions) of given state class + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiStopMonitorV1Request +*/ +func (a *DefaultApiService) StopMonitorV1(ctx context.Context) ApiStopMonitorV1Request { + return ApiStopMonitorV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return StopMonitorV1Response +func (a *DefaultApiService) StopMonitorV1Execute(r ApiStopMonitorV1Request) (*StopMonitorV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *StopMonitorV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.StopMonitorV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-corda/stop-monitor" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.stopMonitorV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..befe12babb4 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Connector Corda API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..bcc61ce1c0b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..b77723a2067 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_clear_monitor_transactions_v1_request.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_clear_monitor_transactions_v1_request.go new file mode 100644 index 00000000000..79f374ee88e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_clear_monitor_transactions_v1_request.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the ClearMonitorTransactionsV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ClearMonitorTransactionsV1Request{} + +// ClearMonitorTransactionsV1Request struct for ClearMonitorTransactionsV1Request +type ClearMonitorTransactionsV1Request struct { + // ID of a client application that wants to monitor the state changes + ClientAppId string `json:"clientAppId"` + // The fully qualified name of the Corda state to monitor + StateFullClassName string `json:"stateFullClassName"` + TxIndexes []string `json:"txIndexes"` +} + +// NewClearMonitorTransactionsV1Request instantiates a new ClearMonitorTransactionsV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewClearMonitorTransactionsV1Request(clientAppId string, stateFullClassName string, txIndexes []string) *ClearMonitorTransactionsV1Request { + this := ClearMonitorTransactionsV1Request{} + this.ClientAppId = clientAppId + this.StateFullClassName = stateFullClassName + this.TxIndexes = txIndexes + return &this +} + +// NewClearMonitorTransactionsV1RequestWithDefaults instantiates a new ClearMonitorTransactionsV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewClearMonitorTransactionsV1RequestWithDefaults() *ClearMonitorTransactionsV1Request { + this := ClearMonitorTransactionsV1Request{} + return &this +} + +// GetClientAppId returns the ClientAppId field value +func (o *ClearMonitorTransactionsV1Request) GetClientAppId() string { + if o == nil { + var ret string + return ret + } + + return o.ClientAppId +} + +// GetClientAppIdOk returns a tuple with the ClientAppId field value +// and a boolean to check if the value has been set. +func (o *ClearMonitorTransactionsV1Request) GetClientAppIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientAppId, true +} + +// SetClientAppId sets field value +func (o *ClearMonitorTransactionsV1Request) SetClientAppId(v string) { + o.ClientAppId = v +} + +// GetStateFullClassName returns the StateFullClassName field value +func (o *ClearMonitorTransactionsV1Request) GetStateFullClassName() string { + if o == nil { + var ret string + return ret + } + + return o.StateFullClassName +} + +// GetStateFullClassNameOk returns a tuple with the StateFullClassName field value +// and a boolean to check if the value has been set. +func (o *ClearMonitorTransactionsV1Request) GetStateFullClassNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StateFullClassName, true +} + +// SetStateFullClassName sets field value +func (o *ClearMonitorTransactionsV1Request) SetStateFullClassName(v string) { + o.StateFullClassName = v +} + +// GetTxIndexes returns the TxIndexes field value +func (o *ClearMonitorTransactionsV1Request) GetTxIndexes() []string { + if o == nil { + var ret []string + return ret + } + + return o.TxIndexes +} + +// GetTxIndexesOk returns a tuple with the TxIndexes field value +// and a boolean to check if the value has been set. +func (o *ClearMonitorTransactionsV1Request) GetTxIndexesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.TxIndexes, true +} + +// SetTxIndexes sets field value +func (o *ClearMonitorTransactionsV1Request) SetTxIndexes(v []string) { + o.TxIndexes = v +} + +func (o ClearMonitorTransactionsV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ClearMonitorTransactionsV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["clientAppId"] = o.ClientAppId + toSerialize["stateFullClassName"] = o.StateFullClassName + toSerialize["txIndexes"] = o.TxIndexes + return toSerialize, nil +} + +type NullableClearMonitorTransactionsV1Request struct { + value *ClearMonitorTransactionsV1Request + isSet bool +} + +func (v NullableClearMonitorTransactionsV1Request) Get() *ClearMonitorTransactionsV1Request { + return v.value +} + +func (v *NullableClearMonitorTransactionsV1Request) Set(val *ClearMonitorTransactionsV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableClearMonitorTransactionsV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableClearMonitorTransactionsV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableClearMonitorTransactionsV1Request(val *ClearMonitorTransactionsV1Request) *NullableClearMonitorTransactionsV1Request { + return &NullableClearMonitorTransactionsV1Request{value: val, isSet: true} +} + +func (v NullableClearMonitorTransactionsV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableClearMonitorTransactionsV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_clear_monitor_transactions_v1_response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_clear_monitor_transactions_v1_response.go new file mode 100644 index 00000000000..98bad0a6890 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_clear_monitor_transactions_v1_response.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the ClearMonitorTransactionsV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ClearMonitorTransactionsV1Response{} + +// ClearMonitorTransactionsV1Response struct for ClearMonitorTransactionsV1Response +type ClearMonitorTransactionsV1Response struct { + // Flag set to true if operation completed correctly. + Success bool `json:"success"` + // Message describing operation status or any errors that occurred. + Msg string `json:"msg"` +} + +// NewClearMonitorTransactionsV1Response instantiates a new ClearMonitorTransactionsV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewClearMonitorTransactionsV1Response(success bool, msg string) *ClearMonitorTransactionsV1Response { + this := ClearMonitorTransactionsV1Response{} + this.Success = success + this.Msg = msg + return &this +} + +// NewClearMonitorTransactionsV1ResponseWithDefaults instantiates a new ClearMonitorTransactionsV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewClearMonitorTransactionsV1ResponseWithDefaults() *ClearMonitorTransactionsV1Response { + this := ClearMonitorTransactionsV1Response{} + return &this +} + +// GetSuccess returns the Success field value +func (o *ClearMonitorTransactionsV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *ClearMonitorTransactionsV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *ClearMonitorTransactionsV1Response) SetSuccess(v bool) { + o.Success = v +} + +// GetMsg returns the Msg field value +func (o *ClearMonitorTransactionsV1Response) GetMsg() string { + if o == nil { + var ret string + return ret + } + + return o.Msg +} + +// GetMsgOk returns a tuple with the Msg field value +// and a boolean to check if the value has been set. +func (o *ClearMonitorTransactionsV1Response) GetMsgOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Msg, true +} + +// SetMsg sets field value +func (o *ClearMonitorTransactionsV1Response) SetMsg(v string) { + o.Msg = v +} + +func (o ClearMonitorTransactionsV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ClearMonitorTransactionsV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + toSerialize["msg"] = o.Msg + return toSerialize, nil +} + +type NullableClearMonitorTransactionsV1Response struct { + value *ClearMonitorTransactionsV1Response + isSet bool +} + +func (v NullableClearMonitorTransactionsV1Response) Get() *ClearMonitorTransactionsV1Response { + return v.value +} + +func (v *NullableClearMonitorTransactionsV1Response) Set(val *ClearMonitorTransactionsV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableClearMonitorTransactionsV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableClearMonitorTransactionsV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableClearMonitorTransactionsV1Response(val *ClearMonitorTransactionsV1Response) *NullableClearMonitorTransactionsV1Response { + return &NullableClearMonitorTransactionsV1Response{value: val, isSet: true} +} + +func (v NullableClearMonitorTransactionsV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableClearMonitorTransactionsV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_corda_node_ssh_credentials.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_corda_node_ssh_credentials.go new file mode 100644 index 00000000000..d1b6e0ff90d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_corda_node_ssh_credentials.go @@ -0,0 +1,225 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the CordaNodeSshCredentials type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CordaNodeSshCredentials{} + +// CordaNodeSshCredentials struct for CordaNodeSshCredentials +type CordaNodeSshCredentials struct { + HostKeyEntry string `json:"hostKeyEntry"` + Username string `json:"username"` + Password string `json:"password"` + Hostname string `json:"hostname"` + Port int32 `json:"port"` +} + +// NewCordaNodeSshCredentials instantiates a new CordaNodeSshCredentials object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCordaNodeSshCredentials(hostKeyEntry string, username string, password string, hostname string, port int32) *CordaNodeSshCredentials { + this := CordaNodeSshCredentials{} + this.HostKeyEntry = hostKeyEntry + this.Username = username + this.Password = password + this.Hostname = hostname + this.Port = port + return &this +} + +// NewCordaNodeSshCredentialsWithDefaults instantiates a new CordaNodeSshCredentials object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCordaNodeSshCredentialsWithDefaults() *CordaNodeSshCredentials { + this := CordaNodeSshCredentials{} + return &this +} + +// GetHostKeyEntry returns the HostKeyEntry field value +func (o *CordaNodeSshCredentials) GetHostKeyEntry() string { + if o == nil { + var ret string + return ret + } + + return o.HostKeyEntry +} + +// GetHostKeyEntryOk returns a tuple with the HostKeyEntry field value +// and a boolean to check if the value has been set. +func (o *CordaNodeSshCredentials) GetHostKeyEntryOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HostKeyEntry, true +} + +// SetHostKeyEntry sets field value +func (o *CordaNodeSshCredentials) SetHostKeyEntry(v string) { + o.HostKeyEntry = v +} + +// GetUsername returns the Username field value +func (o *CordaNodeSshCredentials) GetUsername() string { + if o == nil { + var ret string + return ret + } + + return o.Username +} + +// GetUsernameOk returns a tuple with the Username field value +// and a boolean to check if the value has been set. +func (o *CordaNodeSshCredentials) GetUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Username, true +} + +// SetUsername sets field value +func (o *CordaNodeSshCredentials) SetUsername(v string) { + o.Username = v +} + +// GetPassword returns the Password field value +func (o *CordaNodeSshCredentials) GetPassword() string { + if o == nil { + var ret string + return ret + } + + return o.Password +} + +// GetPasswordOk returns a tuple with the Password field value +// and a boolean to check if the value has been set. +func (o *CordaNodeSshCredentials) GetPasswordOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Password, true +} + +// SetPassword sets field value +func (o *CordaNodeSshCredentials) SetPassword(v string) { + o.Password = v +} + +// GetHostname returns the Hostname field value +func (o *CordaNodeSshCredentials) GetHostname() string { + if o == nil { + var ret string + return ret + } + + return o.Hostname +} + +// GetHostnameOk returns a tuple with the Hostname field value +// and a boolean to check if the value has been set. +func (o *CordaNodeSshCredentials) GetHostnameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Hostname, true +} + +// SetHostname sets field value +func (o *CordaNodeSshCredentials) SetHostname(v string) { + o.Hostname = v +} + +// GetPort returns the Port field value +func (o *CordaNodeSshCredentials) GetPort() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Port +} + +// GetPortOk returns a tuple with the Port field value +// and a boolean to check if the value has been set. +func (o *CordaNodeSshCredentials) GetPortOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Port, true +} + +// SetPort sets field value +func (o *CordaNodeSshCredentials) SetPort(v int32) { + o.Port = v +} + +func (o CordaNodeSshCredentials) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CordaNodeSshCredentials) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["hostKeyEntry"] = o.HostKeyEntry + toSerialize["username"] = o.Username + toSerialize["password"] = o.Password + toSerialize["hostname"] = o.Hostname + toSerialize["port"] = o.Port + return toSerialize, nil +} + +type NullableCordaNodeSshCredentials struct { + value *CordaNodeSshCredentials + isSet bool +} + +func (v NullableCordaNodeSshCredentials) Get() *CordaNodeSshCredentials { + return v.value +} + +func (v *NullableCordaNodeSshCredentials) Set(val *CordaNodeSshCredentials) { + v.value = val + v.isSet = true +} + +func (v NullableCordaNodeSshCredentials) IsSet() bool { + return v.isSet +} + +func (v *NullableCordaNodeSshCredentials) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCordaNodeSshCredentials(val *CordaNodeSshCredentials) *NullableCordaNodeSshCredentials { + return &NullableCordaNodeSshCredentials{value: val, isSet: true} +} + +func (v NullableCordaNodeSshCredentials) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCordaNodeSshCredentials) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_corda_rpc_credentials.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_corda_rpc_credentials.go new file mode 100644 index 00000000000..bbfac9577ec --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_corda_rpc_credentials.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the CordaRpcCredentials type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CordaRpcCredentials{} + +// CordaRpcCredentials struct for CordaRpcCredentials +type CordaRpcCredentials struct { + Hostname string `json:"hostname"` + Port int32 `json:"port"` + Username string `json:"username"` + Password string `json:"password"` +} + +// NewCordaRpcCredentials instantiates a new CordaRpcCredentials object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCordaRpcCredentials(hostname string, port int32, username string, password string) *CordaRpcCredentials { + this := CordaRpcCredentials{} + this.Hostname = hostname + this.Port = port + this.Username = username + this.Password = password + return &this +} + +// NewCordaRpcCredentialsWithDefaults instantiates a new CordaRpcCredentials object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCordaRpcCredentialsWithDefaults() *CordaRpcCredentials { + this := CordaRpcCredentials{} + return &this +} + +// GetHostname returns the Hostname field value +func (o *CordaRpcCredentials) GetHostname() string { + if o == nil { + var ret string + return ret + } + + return o.Hostname +} + +// GetHostnameOk returns a tuple with the Hostname field value +// and a boolean to check if the value has been set. +func (o *CordaRpcCredentials) GetHostnameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Hostname, true +} + +// SetHostname sets field value +func (o *CordaRpcCredentials) SetHostname(v string) { + o.Hostname = v +} + +// GetPort returns the Port field value +func (o *CordaRpcCredentials) GetPort() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Port +} + +// GetPortOk returns a tuple with the Port field value +// and a boolean to check if the value has been set. +func (o *CordaRpcCredentials) GetPortOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Port, true +} + +// SetPort sets field value +func (o *CordaRpcCredentials) SetPort(v int32) { + o.Port = v +} + +// GetUsername returns the Username field value +func (o *CordaRpcCredentials) GetUsername() string { + if o == nil { + var ret string + return ret + } + + return o.Username +} + +// GetUsernameOk returns a tuple with the Username field value +// and a boolean to check if the value has been set. +func (o *CordaRpcCredentials) GetUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Username, true +} + +// SetUsername sets field value +func (o *CordaRpcCredentials) SetUsername(v string) { + o.Username = v +} + +// GetPassword returns the Password field value +func (o *CordaRpcCredentials) GetPassword() string { + if o == nil { + var ret string + return ret + } + + return o.Password +} + +// GetPasswordOk returns a tuple with the Password field value +// and a boolean to check if the value has been set. +func (o *CordaRpcCredentials) GetPasswordOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Password, true +} + +// SetPassword sets field value +func (o *CordaRpcCredentials) SetPassword(v string) { + o.Password = v +} + +func (o CordaRpcCredentials) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CordaRpcCredentials) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["hostname"] = o.Hostname + toSerialize["port"] = o.Port + toSerialize["username"] = o.Username + toSerialize["password"] = o.Password + return toSerialize, nil +} + +type NullableCordaRpcCredentials struct { + value *CordaRpcCredentials + isSet bool +} + +func (v NullableCordaRpcCredentials) Get() *CordaRpcCredentials { + return v.value +} + +func (v *NullableCordaRpcCredentials) Set(val *CordaRpcCredentials) { + v.value = val + v.isSet = true +} + +func (v NullableCordaRpcCredentials) IsSet() bool { + return v.isSet +} + +func (v *NullableCordaRpcCredentials) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCordaRpcCredentials(val *CordaRpcCredentials) *NullableCordaRpcCredentials { + return &NullableCordaRpcCredentials{value: val, isSet: true} +} + +func (v NullableCordaRpcCredentials) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCordaRpcCredentials) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_corda_x500_name.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_corda_x500_name.go new file mode 100644 index 00000000000..b22a60ef5de --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_corda_x500_name.go @@ -0,0 +1,306 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the CordaX500Name type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CordaX500Name{} + +// CordaX500Name struct for CordaX500Name +type CordaX500Name struct { + CommonName *string `json:"commonName,omitempty"` + OrganisationUnit *string `json:"organisationUnit,omitempty"` + Organisation string `json:"organisation"` + Locality string `json:"locality"` + State *string `json:"state,omitempty"` + Country string `json:"country"` + X500Principal X500Principal `json:"x500Principal"` +} + +// NewCordaX500Name instantiates a new CordaX500Name object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCordaX500Name(organisation string, locality string, country string, x500Principal X500Principal) *CordaX500Name { + this := CordaX500Name{} + this.Organisation = organisation + this.Locality = locality + this.Country = country + this.X500Principal = x500Principal + return &this +} + +// NewCordaX500NameWithDefaults instantiates a new CordaX500Name object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCordaX500NameWithDefaults() *CordaX500Name { + this := CordaX500Name{} + return &this +} + +// GetCommonName returns the CommonName field value if set, zero value otherwise. +func (o *CordaX500Name) GetCommonName() string { + if o == nil || IsNil(o.CommonName) { + var ret string + return ret + } + return *o.CommonName +} + +// GetCommonNameOk returns a tuple with the CommonName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CordaX500Name) GetCommonNameOk() (*string, bool) { + if o == nil || IsNil(o.CommonName) { + return nil, false + } + return o.CommonName, true +} + +// HasCommonName returns a boolean if a field has been set. +func (o *CordaX500Name) HasCommonName() bool { + if o != nil && !IsNil(o.CommonName) { + return true + } + + return false +} + +// SetCommonName gets a reference to the given string and assigns it to the CommonName field. +func (o *CordaX500Name) SetCommonName(v string) { + o.CommonName = &v +} + +// GetOrganisationUnit returns the OrganisationUnit field value if set, zero value otherwise. +func (o *CordaX500Name) GetOrganisationUnit() string { + if o == nil || IsNil(o.OrganisationUnit) { + var ret string + return ret + } + return *o.OrganisationUnit +} + +// GetOrganisationUnitOk returns a tuple with the OrganisationUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CordaX500Name) GetOrganisationUnitOk() (*string, bool) { + if o == nil || IsNil(o.OrganisationUnit) { + return nil, false + } + return o.OrganisationUnit, true +} + +// HasOrganisationUnit returns a boolean if a field has been set. +func (o *CordaX500Name) HasOrganisationUnit() bool { + if o != nil && !IsNil(o.OrganisationUnit) { + return true + } + + return false +} + +// SetOrganisationUnit gets a reference to the given string and assigns it to the OrganisationUnit field. +func (o *CordaX500Name) SetOrganisationUnit(v string) { + o.OrganisationUnit = &v +} + +// GetOrganisation returns the Organisation field value +func (o *CordaX500Name) GetOrganisation() string { + if o == nil { + var ret string + return ret + } + + return o.Organisation +} + +// GetOrganisationOk returns a tuple with the Organisation field value +// and a boolean to check if the value has been set. +func (o *CordaX500Name) GetOrganisationOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Organisation, true +} + +// SetOrganisation sets field value +func (o *CordaX500Name) SetOrganisation(v string) { + o.Organisation = v +} + +// GetLocality returns the Locality field value +func (o *CordaX500Name) GetLocality() string { + if o == nil { + var ret string + return ret + } + + return o.Locality +} + +// GetLocalityOk returns a tuple with the Locality field value +// and a boolean to check if the value has been set. +func (o *CordaX500Name) GetLocalityOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Locality, true +} + +// SetLocality sets field value +func (o *CordaX500Name) SetLocality(v string) { + o.Locality = v +} + +// GetState returns the State field value if set, zero value otherwise. +func (o *CordaX500Name) GetState() string { + if o == nil || IsNil(o.State) { + var ret string + return ret + } + return *o.State +} + +// GetStateOk returns a tuple with the State field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CordaX500Name) GetStateOk() (*string, bool) { + if o == nil || IsNil(o.State) { + return nil, false + } + return o.State, true +} + +// HasState returns a boolean if a field has been set. +func (o *CordaX500Name) HasState() bool { + if o != nil && !IsNil(o.State) { + return true + } + + return false +} + +// SetState gets a reference to the given string and assigns it to the State field. +func (o *CordaX500Name) SetState(v string) { + o.State = &v +} + +// GetCountry returns the Country field value +func (o *CordaX500Name) GetCountry() string { + if o == nil { + var ret string + return ret + } + + return o.Country +} + +// GetCountryOk returns a tuple with the Country field value +// and a boolean to check if the value has been set. +func (o *CordaX500Name) GetCountryOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Country, true +} + +// SetCountry sets field value +func (o *CordaX500Name) SetCountry(v string) { + o.Country = v +} + +// GetX500Principal returns the X500Principal field value +func (o *CordaX500Name) GetX500Principal() X500Principal { + if o == nil { + var ret X500Principal + return ret + } + + return o.X500Principal +} + +// GetX500PrincipalOk returns a tuple with the X500Principal field value +// and a boolean to check if the value has been set. +func (o *CordaX500Name) GetX500PrincipalOk() (*X500Principal, bool) { + if o == nil { + return nil, false + } + return &o.X500Principal, true +} + +// SetX500Principal sets field value +func (o *CordaX500Name) SetX500Principal(v X500Principal) { + o.X500Principal = v +} + +func (o CordaX500Name) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CordaX500Name) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.CommonName) { + toSerialize["commonName"] = o.CommonName + } + if !IsNil(o.OrganisationUnit) { + toSerialize["organisationUnit"] = o.OrganisationUnit + } + toSerialize["organisation"] = o.Organisation + toSerialize["locality"] = o.Locality + if !IsNil(o.State) { + toSerialize["state"] = o.State + } + toSerialize["country"] = o.Country + toSerialize["x500Principal"] = o.X500Principal + return toSerialize, nil +} + +type NullableCordaX500Name struct { + value *CordaX500Name + isSet bool +} + +func (v NullableCordaX500Name) Get() *CordaX500Name { + return v.value +} + +func (v *NullableCordaX500Name) Set(val *CordaX500Name) { + v.value = val + v.isSet = true +} + +func (v NullableCordaX500Name) IsSet() bool { + return v.isSet +} + +func (v *NullableCordaX500Name) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCordaX500Name(val *CordaX500Name) *NullableCordaX500Name { + return &NullableCordaX500Name{value: val, isSet: true} +} + +func (v NullableCordaX500Name) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCordaX500Name) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_cordapp_deployment_config.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_cordapp_deployment_config.go new file mode 100644 index 00000000000..ed2f8bc8c93 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_cordapp_deployment_config.go @@ -0,0 +1,256 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the CordappDeploymentConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CordappDeploymentConfig{} + +// CordappDeploymentConfig struct for CordappDeploymentConfig +type CordappDeploymentConfig struct { + SshCredentials CordaNodeSshCredentials `json:"sshCredentials"` + RpcCredentials CordaRpcCredentials `json:"rpcCredentials"` + // The shell command to execute in order to start back up a Corda node after having placed new jars in the cordapp directory of said node. + CordaNodeStartCmd string `json:"cordaNodeStartCmd"` + // The absolute file system path where the Corda Node is expecting deployed Cordapp jar files to be placed. + CordappDir string `json:"cordappDir"` + // The absolute file system path where the corda.jar file of the node can be found. This is used to execute database schema migrations where applicable (H2 database in use in development environments). + CordaJarPath string `json:"cordaJarPath"` + // The absolute file system path where the base directory of the Corda node can be found. This is used to pass in to corda.jar when being invoked for certain tasks such as executing database schema migrations for a deployed contract. + NodeBaseDirPath string `json:"nodeBaseDirPath"` +} + +// NewCordappDeploymentConfig instantiates a new CordappDeploymentConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCordappDeploymentConfig(sshCredentials CordaNodeSshCredentials, rpcCredentials CordaRpcCredentials, cordaNodeStartCmd string, cordappDir string, cordaJarPath string, nodeBaseDirPath string) *CordappDeploymentConfig { + this := CordappDeploymentConfig{} + this.SshCredentials = sshCredentials + this.RpcCredentials = rpcCredentials + this.CordaNodeStartCmd = cordaNodeStartCmd + this.CordappDir = cordappDir + this.CordaJarPath = cordaJarPath + this.NodeBaseDirPath = nodeBaseDirPath + return &this +} + +// NewCordappDeploymentConfigWithDefaults instantiates a new CordappDeploymentConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCordappDeploymentConfigWithDefaults() *CordappDeploymentConfig { + this := CordappDeploymentConfig{} + return &this +} + +// GetSshCredentials returns the SshCredentials field value +func (o *CordappDeploymentConfig) GetSshCredentials() CordaNodeSshCredentials { + if o == nil { + var ret CordaNodeSshCredentials + return ret + } + + return o.SshCredentials +} + +// GetSshCredentialsOk returns a tuple with the SshCredentials field value +// and a boolean to check if the value has been set. +func (o *CordappDeploymentConfig) GetSshCredentialsOk() (*CordaNodeSshCredentials, bool) { + if o == nil { + return nil, false + } + return &o.SshCredentials, true +} + +// SetSshCredentials sets field value +func (o *CordappDeploymentConfig) SetSshCredentials(v CordaNodeSshCredentials) { + o.SshCredentials = v +} + +// GetRpcCredentials returns the RpcCredentials field value +func (o *CordappDeploymentConfig) GetRpcCredentials() CordaRpcCredentials { + if o == nil { + var ret CordaRpcCredentials + return ret + } + + return o.RpcCredentials +} + +// GetRpcCredentialsOk returns a tuple with the RpcCredentials field value +// and a boolean to check if the value has been set. +func (o *CordappDeploymentConfig) GetRpcCredentialsOk() (*CordaRpcCredentials, bool) { + if o == nil { + return nil, false + } + return &o.RpcCredentials, true +} + +// SetRpcCredentials sets field value +func (o *CordappDeploymentConfig) SetRpcCredentials(v CordaRpcCredentials) { + o.RpcCredentials = v +} + +// GetCordaNodeStartCmd returns the CordaNodeStartCmd field value +func (o *CordappDeploymentConfig) GetCordaNodeStartCmd() string { + if o == nil { + var ret string + return ret + } + + return o.CordaNodeStartCmd +} + +// GetCordaNodeStartCmdOk returns a tuple with the CordaNodeStartCmd field value +// and a boolean to check if the value has been set. +func (o *CordappDeploymentConfig) GetCordaNodeStartCmdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CordaNodeStartCmd, true +} + +// SetCordaNodeStartCmd sets field value +func (o *CordappDeploymentConfig) SetCordaNodeStartCmd(v string) { + o.CordaNodeStartCmd = v +} + +// GetCordappDir returns the CordappDir field value +func (o *CordappDeploymentConfig) GetCordappDir() string { + if o == nil { + var ret string + return ret + } + + return o.CordappDir +} + +// GetCordappDirOk returns a tuple with the CordappDir field value +// and a boolean to check if the value has been set. +func (o *CordappDeploymentConfig) GetCordappDirOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CordappDir, true +} + +// SetCordappDir sets field value +func (o *CordappDeploymentConfig) SetCordappDir(v string) { + o.CordappDir = v +} + +// GetCordaJarPath returns the CordaJarPath field value +func (o *CordappDeploymentConfig) GetCordaJarPath() string { + if o == nil { + var ret string + return ret + } + + return o.CordaJarPath +} + +// GetCordaJarPathOk returns a tuple with the CordaJarPath field value +// and a boolean to check if the value has been set. +func (o *CordappDeploymentConfig) GetCordaJarPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CordaJarPath, true +} + +// SetCordaJarPath sets field value +func (o *CordappDeploymentConfig) SetCordaJarPath(v string) { + o.CordaJarPath = v +} + +// GetNodeBaseDirPath returns the NodeBaseDirPath field value +func (o *CordappDeploymentConfig) GetNodeBaseDirPath() string { + if o == nil { + var ret string + return ret + } + + return o.NodeBaseDirPath +} + +// GetNodeBaseDirPathOk returns a tuple with the NodeBaseDirPath field value +// and a boolean to check if the value has been set. +func (o *CordappDeploymentConfig) GetNodeBaseDirPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NodeBaseDirPath, true +} + +// SetNodeBaseDirPath sets field value +func (o *CordappDeploymentConfig) SetNodeBaseDirPath(v string) { + o.NodeBaseDirPath = v +} + +func (o CordappDeploymentConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CordappDeploymentConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sshCredentials"] = o.SshCredentials + toSerialize["rpcCredentials"] = o.RpcCredentials + toSerialize["cordaNodeStartCmd"] = o.CordaNodeStartCmd + toSerialize["cordappDir"] = o.CordappDir + toSerialize["cordaJarPath"] = o.CordaJarPath + toSerialize["nodeBaseDirPath"] = o.NodeBaseDirPath + return toSerialize, nil +} + +type NullableCordappDeploymentConfig struct { + value *CordappDeploymentConfig + isSet bool +} + +func (v NullableCordappDeploymentConfig) Get() *CordappDeploymentConfig { + return v.value +} + +func (v *NullableCordappDeploymentConfig) Set(val *CordappDeploymentConfig) { + v.value = val + v.isSet = true +} + +func (v NullableCordappDeploymentConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableCordappDeploymentConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCordappDeploymentConfig(val *CordappDeploymentConfig) *NullableCordappDeploymentConfig { + return &NullableCordappDeploymentConfig{value: val, isSet: true} +} + +func (v NullableCordappDeploymentConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCordappDeploymentConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_cordapp_info.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_cordapp_info.go new file mode 100644 index 00000000000..97c9d337a94 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_cordapp_info.go @@ -0,0 +1,341 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the CordappInfo type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CordappInfo{} + +// CordappInfo A CordappInfo describes a single CorDapp currently installed on the node +type CordappInfo struct { + JarHash SHA256 `json:"jarHash"` + // The name of the licence this CorDapp is released under + Licence string `json:"licence"` + // The minimum platform version the node must be at for the CorDapp to run + MinimumPlatformVersion int32 `json:"minimumPlatformVersion"` + // The name of the JAR file that defines the CorDapp + Name string `json:"name"` + // The name of the CorDapp + ShortName string `json:"shortName"` + // The target platform version this CorDapp has been tested against + TargetPlatformVersion int32 `json:"targetPlatformVersion"` + // A description of what sort of CorDapp this is - either a contract, workflow, or a combination. + Type string `json:"type"` + // The vendor of this CorDapp + Vendor string `json:"vendor"` + // The version of this CorDapp + Version string `json:"version"` +} + +// NewCordappInfo instantiates a new CordappInfo object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCordappInfo(jarHash SHA256, licence string, minimumPlatformVersion int32, name string, shortName string, targetPlatformVersion int32, type_ string, vendor string, version string) *CordappInfo { + this := CordappInfo{} + this.JarHash = jarHash + this.Licence = licence + this.MinimumPlatformVersion = minimumPlatformVersion + this.Name = name + this.ShortName = shortName + this.TargetPlatformVersion = targetPlatformVersion + this.Type = type_ + this.Vendor = vendor + this.Version = version + return &this +} + +// NewCordappInfoWithDefaults instantiates a new CordappInfo object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCordappInfoWithDefaults() *CordappInfo { + this := CordappInfo{} + return &this +} + +// GetJarHash returns the JarHash field value +func (o *CordappInfo) GetJarHash() SHA256 { + if o == nil { + var ret SHA256 + return ret + } + + return o.JarHash +} + +// GetJarHashOk returns a tuple with the JarHash field value +// and a boolean to check if the value has been set. +func (o *CordappInfo) GetJarHashOk() (SHA256, bool) { + if o == nil { + return SHA256{}, false + } + return o.JarHash, true +} + +// SetJarHash sets field value +func (o *CordappInfo) SetJarHash(v SHA256) { + o.JarHash = v +} + +// GetLicence returns the Licence field value +func (o *CordappInfo) GetLicence() string { + if o == nil { + var ret string + return ret + } + + return o.Licence +} + +// GetLicenceOk returns a tuple with the Licence field value +// and a boolean to check if the value has been set. +func (o *CordappInfo) GetLicenceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Licence, true +} + +// SetLicence sets field value +func (o *CordappInfo) SetLicence(v string) { + o.Licence = v +} + +// GetMinimumPlatformVersion returns the MinimumPlatformVersion field value +func (o *CordappInfo) GetMinimumPlatformVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.MinimumPlatformVersion +} + +// GetMinimumPlatformVersionOk returns a tuple with the MinimumPlatformVersion field value +// and a boolean to check if the value has been set. +func (o *CordappInfo) GetMinimumPlatformVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.MinimumPlatformVersion, true +} + +// SetMinimumPlatformVersion sets field value +func (o *CordappInfo) SetMinimumPlatformVersion(v int32) { + o.MinimumPlatformVersion = v +} + +// GetName returns the Name field value +func (o *CordappInfo) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *CordappInfo) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *CordappInfo) SetName(v string) { + o.Name = v +} + +// GetShortName returns the ShortName field value +func (o *CordappInfo) GetShortName() string { + if o == nil { + var ret string + return ret + } + + return o.ShortName +} + +// GetShortNameOk returns a tuple with the ShortName field value +// and a boolean to check if the value has been set. +func (o *CordappInfo) GetShortNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ShortName, true +} + +// SetShortName sets field value +func (o *CordappInfo) SetShortName(v string) { + o.ShortName = v +} + +// GetTargetPlatformVersion returns the TargetPlatformVersion field value +func (o *CordappInfo) GetTargetPlatformVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.TargetPlatformVersion +} + +// GetTargetPlatformVersionOk returns a tuple with the TargetPlatformVersion field value +// and a boolean to check if the value has been set. +func (o *CordappInfo) GetTargetPlatformVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.TargetPlatformVersion, true +} + +// SetTargetPlatformVersion sets field value +func (o *CordappInfo) SetTargetPlatformVersion(v int32) { + o.TargetPlatformVersion = v +} + +// GetType returns the Type field value +func (o *CordappInfo) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *CordappInfo) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *CordappInfo) SetType(v string) { + o.Type = v +} + +// GetVendor returns the Vendor field value +func (o *CordappInfo) GetVendor() string { + if o == nil { + var ret string + return ret + } + + return o.Vendor +} + +// GetVendorOk returns a tuple with the Vendor field value +// and a boolean to check if the value has been set. +func (o *CordappInfo) GetVendorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Vendor, true +} + +// SetVendor sets field value +func (o *CordappInfo) SetVendor(v string) { + o.Vendor = v +} + +// GetVersion returns the Version field value +func (o *CordappInfo) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *CordappInfo) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *CordappInfo) SetVersion(v string) { + o.Version = v +} + +func (o CordappInfo) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CordappInfo) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["jarHash"] = o.JarHash + toSerialize["licence"] = o.Licence + toSerialize["minimumPlatformVersion"] = o.MinimumPlatformVersion + toSerialize["name"] = o.Name + toSerialize["shortName"] = o.ShortName + toSerialize["targetPlatformVersion"] = o.TargetPlatformVersion + toSerialize["type"] = o.Type + toSerialize["vendor"] = o.Vendor + toSerialize["version"] = o.Version + return toSerialize, nil +} + +type NullableCordappInfo struct { + value *CordappInfo + isSet bool +} + +func (v NullableCordappInfo) Get() *CordappInfo { + return v.value +} + +func (v *NullableCordappInfo) Set(val *CordappInfo) { + v.value = val + v.isSet = true +} + +func (v NullableCordappInfo) IsSet() bool { + return v.isSet +} + +func (v *NullableCordappInfo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCordappInfo(val *CordappInfo) *NullableCordappInfo { + return &NullableCordappInfo{value: val, isSet: true} +} + +func (v NullableCordappInfo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCordappInfo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_deploy_contract_jars_bad_request_v1_response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_deploy_contract_jars_bad_request_v1_response.go new file mode 100644 index 00000000000..7e3c0a98980 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_deploy_contract_jars_bad_request_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the DeployContractJarsBadRequestV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractJarsBadRequestV1Response{} + +// DeployContractJarsBadRequestV1Response struct for DeployContractJarsBadRequestV1Response +type DeployContractJarsBadRequestV1Response struct { + Errors []string `json:"errors"` +} + +// NewDeployContractJarsBadRequestV1Response instantiates a new DeployContractJarsBadRequestV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractJarsBadRequestV1Response(errors []string) *DeployContractJarsBadRequestV1Response { + this := DeployContractJarsBadRequestV1Response{} + this.Errors = errors + return &this +} + +// NewDeployContractJarsBadRequestV1ResponseWithDefaults instantiates a new DeployContractJarsBadRequestV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractJarsBadRequestV1ResponseWithDefaults() *DeployContractJarsBadRequestV1Response { + this := DeployContractJarsBadRequestV1Response{} + return &this +} + +// GetErrors returns the Errors field value +func (o *DeployContractJarsBadRequestV1Response) GetErrors() []string { + if o == nil { + var ret []string + return ret + } + + return o.Errors +} + +// GetErrorsOk returns a tuple with the Errors field value +// and a boolean to check if the value has been set. +func (o *DeployContractJarsBadRequestV1Response) GetErrorsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Errors, true +} + +// SetErrors sets field value +func (o *DeployContractJarsBadRequestV1Response) SetErrors(v []string) { + o.Errors = v +} + +func (o DeployContractJarsBadRequestV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractJarsBadRequestV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["errors"] = o.Errors + return toSerialize, nil +} + +type NullableDeployContractJarsBadRequestV1Response struct { + value *DeployContractJarsBadRequestV1Response + isSet bool +} + +func (v NullableDeployContractJarsBadRequestV1Response) Get() *DeployContractJarsBadRequestV1Response { + return v.value +} + +func (v *NullableDeployContractJarsBadRequestV1Response) Set(val *DeployContractJarsBadRequestV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractJarsBadRequestV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractJarsBadRequestV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractJarsBadRequestV1Response(val *DeployContractJarsBadRequestV1Response) *NullableDeployContractJarsBadRequestV1Response { + return &NullableDeployContractJarsBadRequestV1Response{value: val, isSet: true} +} + +func (v NullableDeployContractJarsBadRequestV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractJarsBadRequestV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_deploy_contract_jars_success_v1_response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_deploy_contract_jars_success_v1_response.go new file mode 100644 index 00000000000..48421d80e68 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_deploy_contract_jars_success_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the DeployContractJarsSuccessV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractJarsSuccessV1Response{} + +// DeployContractJarsSuccessV1Response struct for DeployContractJarsSuccessV1Response +type DeployContractJarsSuccessV1Response struct { + DeployedJarFiles []string `json:"deployedJarFiles"` +} + +// NewDeployContractJarsSuccessV1Response instantiates a new DeployContractJarsSuccessV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractJarsSuccessV1Response(deployedJarFiles []string) *DeployContractJarsSuccessV1Response { + this := DeployContractJarsSuccessV1Response{} + this.DeployedJarFiles = deployedJarFiles + return &this +} + +// NewDeployContractJarsSuccessV1ResponseWithDefaults instantiates a new DeployContractJarsSuccessV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractJarsSuccessV1ResponseWithDefaults() *DeployContractJarsSuccessV1Response { + this := DeployContractJarsSuccessV1Response{} + return &this +} + +// GetDeployedJarFiles returns the DeployedJarFiles field value +func (o *DeployContractJarsSuccessV1Response) GetDeployedJarFiles() []string { + if o == nil { + var ret []string + return ret + } + + return o.DeployedJarFiles +} + +// GetDeployedJarFilesOk returns a tuple with the DeployedJarFiles field value +// and a boolean to check if the value has been set. +func (o *DeployContractJarsSuccessV1Response) GetDeployedJarFilesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.DeployedJarFiles, true +} + +// SetDeployedJarFiles sets field value +func (o *DeployContractJarsSuccessV1Response) SetDeployedJarFiles(v []string) { + o.DeployedJarFiles = v +} + +func (o DeployContractJarsSuccessV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractJarsSuccessV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["deployedJarFiles"] = o.DeployedJarFiles + return toSerialize, nil +} + +type NullableDeployContractJarsSuccessV1Response struct { + value *DeployContractJarsSuccessV1Response + isSet bool +} + +func (v NullableDeployContractJarsSuccessV1Response) Get() *DeployContractJarsSuccessV1Response { + return v.value +} + +func (v *NullableDeployContractJarsSuccessV1Response) Set(val *DeployContractJarsSuccessV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractJarsSuccessV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractJarsSuccessV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractJarsSuccessV1Response(val *DeployContractJarsSuccessV1Response) *NullableDeployContractJarsSuccessV1Response { + return &NullableDeployContractJarsSuccessV1Response{value: val, isSet: true} +} + +func (v NullableDeployContractJarsSuccessV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractJarsSuccessV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_deploy_contract_jars_v1_request.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_deploy_contract_jars_v1_request.go new file mode 100644 index 00000000000..0baff183249 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_deploy_contract_jars_v1_request.go @@ -0,0 +1,145 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the DeployContractJarsV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractJarsV1Request{} + +// DeployContractJarsV1Request struct for DeployContractJarsV1Request +type DeployContractJarsV1Request struct { + // The list of deployment configurations pointing to the nodes where the provided cordapp jar files are to be deployed . + CordappDeploymentConfigs []CordappDeploymentConfig `json:"cordappDeploymentConfigs"` + JarFiles []JarFile `json:"jarFiles"` +} + +// NewDeployContractJarsV1Request instantiates a new DeployContractJarsV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractJarsV1Request(cordappDeploymentConfigs []CordappDeploymentConfig, jarFiles []JarFile) *DeployContractJarsV1Request { + this := DeployContractJarsV1Request{} + this.CordappDeploymentConfigs = cordappDeploymentConfigs + this.JarFiles = jarFiles + return &this +} + +// NewDeployContractJarsV1RequestWithDefaults instantiates a new DeployContractJarsV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractJarsV1RequestWithDefaults() *DeployContractJarsV1Request { + this := DeployContractJarsV1Request{} + return &this +} + +// GetCordappDeploymentConfigs returns the CordappDeploymentConfigs field value +func (o *DeployContractJarsV1Request) GetCordappDeploymentConfigs() []CordappDeploymentConfig { + if o == nil { + var ret []CordappDeploymentConfig + return ret + } + + return o.CordappDeploymentConfigs +} + +// GetCordappDeploymentConfigsOk returns a tuple with the CordappDeploymentConfigs field value +// and a boolean to check if the value has been set. +func (o *DeployContractJarsV1Request) GetCordappDeploymentConfigsOk() ([]CordappDeploymentConfig, bool) { + if o == nil { + return nil, false + } + return o.CordappDeploymentConfigs, true +} + +// SetCordappDeploymentConfigs sets field value +func (o *DeployContractJarsV1Request) SetCordappDeploymentConfigs(v []CordappDeploymentConfig) { + o.CordappDeploymentConfigs = v +} + +// GetJarFiles returns the JarFiles field value +func (o *DeployContractJarsV1Request) GetJarFiles() []JarFile { + if o == nil { + var ret []JarFile + return ret + } + + return o.JarFiles +} + +// GetJarFilesOk returns a tuple with the JarFiles field value +// and a boolean to check if the value has been set. +func (o *DeployContractJarsV1Request) GetJarFilesOk() ([]JarFile, bool) { + if o == nil { + return nil, false + } + return o.JarFiles, true +} + +// SetJarFiles sets field value +func (o *DeployContractJarsV1Request) SetJarFiles(v []JarFile) { + o.JarFiles = v +} + +func (o DeployContractJarsV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractJarsV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["cordappDeploymentConfigs"] = o.CordappDeploymentConfigs + toSerialize["jarFiles"] = o.JarFiles + return toSerialize, nil +} + +type NullableDeployContractJarsV1Request struct { + value *DeployContractJarsV1Request + isSet bool +} + +func (v NullableDeployContractJarsV1Request) Get() *DeployContractJarsV1Request { + return v.value +} + +func (v *NullableDeployContractJarsV1Request) Set(val *DeployContractJarsV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractJarsV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractJarsV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractJarsV1Request(val *DeployContractJarsV1Request) *NullableDeployContractJarsV1Request { + return &NullableDeployContractJarsV1Request{value: val, isSet: true} +} + +func (v NullableDeployContractJarsV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractJarsV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_diagnose_node_v1_request.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_diagnose_node_v1_request.go new file mode 100644 index 00000000000..5b587d28caf --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_diagnose_node_v1_request.go @@ -0,0 +1,127 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the DiagnoseNodeV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DiagnoseNodeV1Request{} + +// DiagnoseNodeV1Request struct for DiagnoseNodeV1Request +type DiagnoseNodeV1Request struct { + // Optional property specifying which Corda Node should be the one being diagnosed in case the Connector has multiple connections established for different nodes (which is not yet a supported feature, but we want to keep this possibility open for the future). + NodeIds []string `json:"nodeIds,omitempty"` +} + +// NewDiagnoseNodeV1Request instantiates a new DiagnoseNodeV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDiagnoseNodeV1Request() *DiagnoseNodeV1Request { + this := DiagnoseNodeV1Request{} + return &this +} + +// NewDiagnoseNodeV1RequestWithDefaults instantiates a new DiagnoseNodeV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDiagnoseNodeV1RequestWithDefaults() *DiagnoseNodeV1Request { + this := DiagnoseNodeV1Request{} + return &this +} + +// GetNodeIds returns the NodeIds field value if set, zero value otherwise. +func (o *DiagnoseNodeV1Request) GetNodeIds() []string { + if o == nil || IsNil(o.NodeIds) { + var ret []string + return ret + } + return o.NodeIds +} + +// GetNodeIdsOk returns a tuple with the NodeIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DiagnoseNodeV1Request) GetNodeIdsOk() ([]string, bool) { + if o == nil || IsNil(o.NodeIds) { + return nil, false + } + return o.NodeIds, true +} + +// HasNodeIds returns a boolean if a field has been set. +func (o *DiagnoseNodeV1Request) HasNodeIds() bool { + if o != nil && !IsNil(o.NodeIds) { + return true + } + + return false +} + +// SetNodeIds gets a reference to the given []string and assigns it to the NodeIds field. +func (o *DiagnoseNodeV1Request) SetNodeIds(v []string) { + o.NodeIds = v +} + +func (o DiagnoseNodeV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DiagnoseNodeV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.NodeIds) { + toSerialize["nodeIds"] = o.NodeIds + } + return toSerialize, nil +} + +type NullableDiagnoseNodeV1Request struct { + value *DiagnoseNodeV1Request + isSet bool +} + +func (v NullableDiagnoseNodeV1Request) Get() *DiagnoseNodeV1Request { + return v.value +} + +func (v *NullableDiagnoseNodeV1Request) Set(val *DiagnoseNodeV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDiagnoseNodeV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDiagnoseNodeV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDiagnoseNodeV1Request(val *DiagnoseNodeV1Request) *NullableDiagnoseNodeV1Request { + return &NullableDiagnoseNodeV1Request{value: val, isSet: true} +} + +func (v NullableDiagnoseNodeV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDiagnoseNodeV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_diagnose_node_v1_response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_diagnose_node_v1_response.go new file mode 100644 index 00000000000..64dedc7c747 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_diagnose_node_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the DiagnoseNodeV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DiagnoseNodeV1Response{} + +// DiagnoseNodeV1Response struct for DiagnoseNodeV1Response +type DiagnoseNodeV1Response struct { + NodeDiagnosticInfo NodeDiagnosticInfo `json:"nodeDiagnosticInfo"` +} + +// NewDiagnoseNodeV1Response instantiates a new DiagnoseNodeV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDiagnoseNodeV1Response(nodeDiagnosticInfo NodeDiagnosticInfo) *DiagnoseNodeV1Response { + this := DiagnoseNodeV1Response{} + this.NodeDiagnosticInfo = nodeDiagnosticInfo + return &this +} + +// NewDiagnoseNodeV1ResponseWithDefaults instantiates a new DiagnoseNodeV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDiagnoseNodeV1ResponseWithDefaults() *DiagnoseNodeV1Response { + this := DiagnoseNodeV1Response{} + return &this +} + +// GetNodeDiagnosticInfo returns the NodeDiagnosticInfo field value +func (o *DiagnoseNodeV1Response) GetNodeDiagnosticInfo() NodeDiagnosticInfo { + if o == nil { + var ret NodeDiagnosticInfo + return ret + } + + return o.NodeDiagnosticInfo +} + +// GetNodeDiagnosticInfoOk returns a tuple with the NodeDiagnosticInfo field value +// and a boolean to check if the value has been set. +func (o *DiagnoseNodeV1Response) GetNodeDiagnosticInfoOk() (*NodeDiagnosticInfo, bool) { + if o == nil { + return nil, false + } + return &o.NodeDiagnosticInfo, true +} + +// SetNodeDiagnosticInfo sets field value +func (o *DiagnoseNodeV1Response) SetNodeDiagnosticInfo(v NodeDiagnosticInfo) { + o.NodeDiagnosticInfo = v +} + +func (o DiagnoseNodeV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DiagnoseNodeV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["nodeDiagnosticInfo"] = o.NodeDiagnosticInfo + return toSerialize, nil +} + +type NullableDiagnoseNodeV1Response struct { + value *DiagnoseNodeV1Response + isSet bool +} + +func (v NullableDiagnoseNodeV1Response) Get() *DiagnoseNodeV1Response { + return v.value +} + +func (v *NullableDiagnoseNodeV1Response) Set(val *DiagnoseNodeV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableDiagnoseNodeV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableDiagnoseNodeV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDiagnoseNodeV1Response(val *DiagnoseNodeV1Response) *NullableDiagnoseNodeV1Response { + return &NullableDiagnoseNodeV1Response{value: val, isSet: true} +} + +func (v NullableDiagnoseNodeV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDiagnoseNodeV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_flow_invocation_type.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_flow_invocation_type.go new file mode 100644 index 00000000000..eed9df1fe75 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_flow_invocation_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" + "fmt" +) + +// FlowInvocationType Determines which flow starting method will be used on the back-end when invoking the flow. Based on the value here the plugin back-end might invoke the rpc.startFlowDynamic() method or the rpc.startTrackedFlowDynamic() method. Streamed responses are aggregated and returned in a single response to HTTP callers who are not equipped to handle streams like WebSocket/gRPC/etc. do. +type FlowInvocationType string + +// List of FlowInvocationType +const ( + TRACKED_FLOW_DYNAMIC FlowInvocationType = "TRACKED_FLOW_DYNAMIC" + FLOW_DYNAMIC FlowInvocationType = "FLOW_DYNAMIC" +) + +// All allowed values of FlowInvocationType enum +var AllowedFlowInvocationTypeEnumValues = []FlowInvocationType{ + "TRACKED_FLOW_DYNAMIC", + "FLOW_DYNAMIC", +} + +func (v *FlowInvocationType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := FlowInvocationType(value) + for _, existing := range AllowedFlowInvocationTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid FlowInvocationType", value) +} + +// NewFlowInvocationTypeFromValue returns a pointer to a valid FlowInvocationType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewFlowInvocationTypeFromValue(v string) (*FlowInvocationType, error) { + ev := FlowInvocationType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for FlowInvocationType: valid values are %v", v, AllowedFlowInvocationTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v FlowInvocationType) IsValid() bool { + for _, existing := range AllowedFlowInvocationTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to FlowInvocationType value +func (v FlowInvocationType) Ptr() *FlowInvocationType { + return &v +} + +type NullableFlowInvocationType struct { + value *FlowInvocationType + isSet bool +} + +func (v NullableFlowInvocationType) Get() *FlowInvocationType { + return v.value +} + +func (v *NullableFlowInvocationType) Set(val *FlowInvocationType) { + v.value = val + v.isSet = true +} + +func (v NullableFlowInvocationType) IsSet() bool { + return v.isSet +} + +func (v *NullableFlowInvocationType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFlowInvocationType(val *FlowInvocationType) *NullableFlowInvocationType { + return &NullableFlowInvocationType{value: val, isSet: true} +} + +func (v NullableFlowInvocationType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFlowInvocationType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_get_monitor_transactions_v1_request.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_get_monitor_transactions_v1_request.go new file mode 100644 index 00000000000..175bf809438 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_get_monitor_transactions_v1_request.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the GetMonitorTransactionsV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetMonitorTransactionsV1Request{} + +// GetMonitorTransactionsV1Request struct for GetMonitorTransactionsV1Request +type GetMonitorTransactionsV1Request struct { + // ID of a client application that wants to monitor the state changes + ClientAppId string `json:"clientAppId"` + // The fully qualified name of the Corda state to monitor + StateFullClassName string `json:"stateFullClassName"` +} + +// NewGetMonitorTransactionsV1Request instantiates a new GetMonitorTransactionsV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetMonitorTransactionsV1Request(clientAppId string, stateFullClassName string) *GetMonitorTransactionsV1Request { + this := GetMonitorTransactionsV1Request{} + this.ClientAppId = clientAppId + this.StateFullClassName = stateFullClassName + return &this +} + +// NewGetMonitorTransactionsV1RequestWithDefaults instantiates a new GetMonitorTransactionsV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetMonitorTransactionsV1RequestWithDefaults() *GetMonitorTransactionsV1Request { + this := GetMonitorTransactionsV1Request{} + return &this +} + +// GetClientAppId returns the ClientAppId field value +func (o *GetMonitorTransactionsV1Request) GetClientAppId() string { + if o == nil { + var ret string + return ret + } + + return o.ClientAppId +} + +// GetClientAppIdOk returns a tuple with the ClientAppId field value +// and a boolean to check if the value has been set. +func (o *GetMonitorTransactionsV1Request) GetClientAppIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientAppId, true +} + +// SetClientAppId sets field value +func (o *GetMonitorTransactionsV1Request) SetClientAppId(v string) { + o.ClientAppId = v +} + +// GetStateFullClassName returns the StateFullClassName field value +func (o *GetMonitorTransactionsV1Request) GetStateFullClassName() string { + if o == nil { + var ret string + return ret + } + + return o.StateFullClassName +} + +// GetStateFullClassNameOk returns a tuple with the StateFullClassName field value +// and a boolean to check if the value has been set. +func (o *GetMonitorTransactionsV1Request) GetStateFullClassNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StateFullClassName, true +} + +// SetStateFullClassName sets field value +func (o *GetMonitorTransactionsV1Request) SetStateFullClassName(v string) { + o.StateFullClassName = v +} + +func (o GetMonitorTransactionsV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetMonitorTransactionsV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["clientAppId"] = o.ClientAppId + toSerialize["stateFullClassName"] = o.StateFullClassName + return toSerialize, nil +} + +type NullableGetMonitorTransactionsV1Request struct { + value *GetMonitorTransactionsV1Request + isSet bool +} + +func (v NullableGetMonitorTransactionsV1Request) Get() *GetMonitorTransactionsV1Request { + return v.value +} + +func (v *NullableGetMonitorTransactionsV1Request) Set(val *GetMonitorTransactionsV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableGetMonitorTransactionsV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableGetMonitorTransactionsV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetMonitorTransactionsV1Request(val *GetMonitorTransactionsV1Request) *NullableGetMonitorTransactionsV1Request { + return &NullableGetMonitorTransactionsV1Request{value: val, isSet: true} +} + +func (v NullableGetMonitorTransactionsV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetMonitorTransactionsV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_get_monitor_transactions_v1_response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_get_monitor_transactions_v1_response.go new file mode 100644 index 00000000000..ebd4a8ec1e9 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_get_monitor_transactions_v1_response.go @@ -0,0 +1,219 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the GetMonitorTransactionsV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetMonitorTransactionsV1Response{} + +// GetMonitorTransactionsV1Response struct for GetMonitorTransactionsV1Response +type GetMonitorTransactionsV1Response struct { + // Flag set to true if operation completed correctly. + Success bool `json:"success"` + // Message describing operation status or any errors that occurred. + Msg string `json:"msg"` + // The fully qualified name of the Corda state to monitor + StateFullClassName *string `json:"stateFullClassName,omitempty"` + Tx []GetMonitorTransactionsV1ResponseTxInner `json:"tx,omitempty"` +} + +// NewGetMonitorTransactionsV1Response instantiates a new GetMonitorTransactionsV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetMonitorTransactionsV1Response(success bool, msg string) *GetMonitorTransactionsV1Response { + this := GetMonitorTransactionsV1Response{} + this.Success = success + this.Msg = msg + return &this +} + +// NewGetMonitorTransactionsV1ResponseWithDefaults instantiates a new GetMonitorTransactionsV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetMonitorTransactionsV1ResponseWithDefaults() *GetMonitorTransactionsV1Response { + this := GetMonitorTransactionsV1Response{} + return &this +} + +// GetSuccess returns the Success field value +func (o *GetMonitorTransactionsV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *GetMonitorTransactionsV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *GetMonitorTransactionsV1Response) SetSuccess(v bool) { + o.Success = v +} + +// GetMsg returns the Msg field value +func (o *GetMonitorTransactionsV1Response) GetMsg() string { + if o == nil { + var ret string + return ret + } + + return o.Msg +} + +// GetMsgOk returns a tuple with the Msg field value +// and a boolean to check if the value has been set. +func (o *GetMonitorTransactionsV1Response) GetMsgOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Msg, true +} + +// SetMsg sets field value +func (o *GetMonitorTransactionsV1Response) SetMsg(v string) { + o.Msg = v +} + +// GetStateFullClassName returns the StateFullClassName field value if set, zero value otherwise. +func (o *GetMonitorTransactionsV1Response) GetStateFullClassName() string { + if o == nil || IsNil(o.StateFullClassName) { + var ret string + return ret + } + return *o.StateFullClassName +} + +// GetStateFullClassNameOk returns a tuple with the StateFullClassName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMonitorTransactionsV1Response) GetStateFullClassNameOk() (*string, bool) { + if o == nil || IsNil(o.StateFullClassName) { + return nil, false + } + return o.StateFullClassName, true +} + +// HasStateFullClassName returns a boolean if a field has been set. +func (o *GetMonitorTransactionsV1Response) HasStateFullClassName() bool { + if o != nil && !IsNil(o.StateFullClassName) { + return true + } + + return false +} + +// SetStateFullClassName gets a reference to the given string and assigns it to the StateFullClassName field. +func (o *GetMonitorTransactionsV1Response) SetStateFullClassName(v string) { + o.StateFullClassName = &v +} + +// GetTx returns the Tx field value if set, zero value otherwise. +func (o *GetMonitorTransactionsV1Response) GetTx() []GetMonitorTransactionsV1ResponseTxInner { + if o == nil || IsNil(o.Tx) { + var ret []GetMonitorTransactionsV1ResponseTxInner + return ret + } + return o.Tx +} + +// GetTxOk returns a tuple with the Tx field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMonitorTransactionsV1Response) GetTxOk() ([]GetMonitorTransactionsV1ResponseTxInner, bool) { + if o == nil || IsNil(o.Tx) { + return nil, false + } + return o.Tx, true +} + +// HasTx returns a boolean if a field has been set. +func (o *GetMonitorTransactionsV1Response) HasTx() bool { + if o != nil && !IsNil(o.Tx) { + return true + } + + return false +} + +// SetTx gets a reference to the given []GetMonitorTransactionsV1ResponseTxInner and assigns it to the Tx field. +func (o *GetMonitorTransactionsV1Response) SetTx(v []GetMonitorTransactionsV1ResponseTxInner) { + o.Tx = v +} + +func (o GetMonitorTransactionsV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetMonitorTransactionsV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + toSerialize["msg"] = o.Msg + if !IsNil(o.StateFullClassName) { + toSerialize["stateFullClassName"] = o.StateFullClassName + } + if !IsNil(o.Tx) { + toSerialize["tx"] = o.Tx + } + return toSerialize, nil +} + +type NullableGetMonitorTransactionsV1Response struct { + value *GetMonitorTransactionsV1Response + isSet bool +} + +func (v NullableGetMonitorTransactionsV1Response) Get() *GetMonitorTransactionsV1Response { + return v.value +} + +func (v *NullableGetMonitorTransactionsV1Response) Set(val *GetMonitorTransactionsV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableGetMonitorTransactionsV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGetMonitorTransactionsV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetMonitorTransactionsV1Response(val *GetMonitorTransactionsV1Response) *NullableGetMonitorTransactionsV1Response { + return &NullableGetMonitorTransactionsV1Response{value: val, isSet: true} +} + +func (v NullableGetMonitorTransactionsV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetMonitorTransactionsV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_get_monitor_transactions_v1_response_tx_inner.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_get_monitor_transactions_v1_response_tx_inner.go new file mode 100644 index 00000000000..2c33283e098 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_get_monitor_transactions_v1_response_tx_inner.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the GetMonitorTransactionsV1ResponseTxInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetMonitorTransactionsV1ResponseTxInner{} + +// GetMonitorTransactionsV1ResponseTxInner struct for GetMonitorTransactionsV1ResponseTxInner +type GetMonitorTransactionsV1ResponseTxInner struct { + Index *string `json:"index,omitempty"` + Data *string `json:"data,omitempty"` +} + +// NewGetMonitorTransactionsV1ResponseTxInner instantiates a new GetMonitorTransactionsV1ResponseTxInner object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetMonitorTransactionsV1ResponseTxInner() *GetMonitorTransactionsV1ResponseTxInner { + this := GetMonitorTransactionsV1ResponseTxInner{} + return &this +} + +// NewGetMonitorTransactionsV1ResponseTxInnerWithDefaults instantiates a new GetMonitorTransactionsV1ResponseTxInner object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetMonitorTransactionsV1ResponseTxInnerWithDefaults() *GetMonitorTransactionsV1ResponseTxInner { + this := GetMonitorTransactionsV1ResponseTxInner{} + return &this +} + +// GetIndex returns the Index field value if set, zero value otherwise. +func (o *GetMonitorTransactionsV1ResponseTxInner) GetIndex() string { + if o == nil || IsNil(o.Index) { + var ret string + return ret + } + return *o.Index +} + +// GetIndexOk returns a tuple with the Index field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMonitorTransactionsV1ResponseTxInner) GetIndexOk() (*string, bool) { + if o == nil || IsNil(o.Index) { + return nil, false + } + return o.Index, true +} + +// HasIndex returns a boolean if a field has been set. +func (o *GetMonitorTransactionsV1ResponseTxInner) HasIndex() bool { + if o != nil && !IsNil(o.Index) { + return true + } + + return false +} + +// SetIndex gets a reference to the given string and assigns it to the Index field. +func (o *GetMonitorTransactionsV1ResponseTxInner) SetIndex(v string) { + o.Index = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *GetMonitorTransactionsV1ResponseTxInner) GetData() string { + if o == nil || IsNil(o.Data) { + var ret string + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMonitorTransactionsV1ResponseTxInner) GetDataOk() (*string, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *GetMonitorTransactionsV1ResponseTxInner) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given string and assigns it to the Data field. +func (o *GetMonitorTransactionsV1ResponseTxInner) SetData(v string) { + o.Data = &v +} + +func (o GetMonitorTransactionsV1ResponseTxInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetMonitorTransactionsV1ResponseTxInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Index) { + toSerialize["index"] = o.Index + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableGetMonitorTransactionsV1ResponseTxInner struct { + value *GetMonitorTransactionsV1ResponseTxInner + isSet bool +} + +func (v NullableGetMonitorTransactionsV1ResponseTxInner) Get() *GetMonitorTransactionsV1ResponseTxInner { + return v.value +} + +func (v *NullableGetMonitorTransactionsV1ResponseTxInner) Set(val *GetMonitorTransactionsV1ResponseTxInner) { + v.value = val + v.isSet = true +} + +func (v NullableGetMonitorTransactionsV1ResponseTxInner) IsSet() bool { + return v.isSet +} + +func (v *NullableGetMonitorTransactionsV1ResponseTxInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetMonitorTransactionsV1ResponseTxInner(val *GetMonitorTransactionsV1ResponseTxInner) *NullableGetMonitorTransactionsV1ResponseTxInner { + return &NullableGetMonitorTransactionsV1ResponseTxInner{value: val, isSet: true} +} + +func (v NullableGetMonitorTransactionsV1ResponseTxInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetMonitorTransactionsV1ResponseTxInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go new file mode 100644 index 00000000000..05d0207a1ff --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go @@ -0,0 +1,214 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Request{} + +// InvokeContractV1Request struct for InvokeContractV1Request +type InvokeContractV1Request struct { + // The fully qualified name of the Corda flow to invoke + FlowFullClassName string `json:"flowFullClassName"` + FlowInvocationType FlowInvocationType `json:"flowInvocationType"` + // The list of arguments to pass in to the contract method being invoked. + Params []JvmObject `json:"params"` + // The amount of milliseconds to wait for a transaction receipt beforegiving up and crashing. + TimeoutMs *int32 `json:"timeoutMs,omitempty"` +} + +// NewInvokeContractV1Request instantiates a new InvokeContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Request(flowFullClassName string, flowInvocationType FlowInvocationType, params []JvmObject) *InvokeContractV1Request { + this := InvokeContractV1Request{} + this.FlowFullClassName = flowFullClassName + this.FlowInvocationType = flowInvocationType + this.Params = params + var timeoutMs int32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// NewInvokeContractV1RequestWithDefaults instantiates a new InvokeContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1RequestWithDefaults() *InvokeContractV1Request { + this := InvokeContractV1Request{} + var timeoutMs int32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetFlowFullClassName returns the FlowFullClassName field value +func (o *InvokeContractV1Request) GetFlowFullClassName() string { + if o == nil { + var ret string + return ret + } + + return o.FlowFullClassName +} + +// GetFlowFullClassNameOk returns a tuple with the FlowFullClassName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetFlowFullClassNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FlowFullClassName, true +} + +// SetFlowFullClassName sets field value +func (o *InvokeContractV1Request) SetFlowFullClassName(v string) { + o.FlowFullClassName = v +} + +// GetFlowInvocationType returns the FlowInvocationType field value +func (o *InvokeContractV1Request) GetFlowInvocationType() FlowInvocationType { + if o == nil { + var ret FlowInvocationType + return ret + } + + return o.FlowInvocationType +} + +// GetFlowInvocationTypeOk returns a tuple with the FlowInvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetFlowInvocationTypeOk() (*FlowInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.FlowInvocationType, true +} + +// SetFlowInvocationType sets field value +func (o *InvokeContractV1Request) SetFlowInvocationType(v FlowInvocationType) { + o.FlowInvocationType = v +} + +// GetParams returns the Params field value +func (o *InvokeContractV1Request) GetParams() []JvmObject { + if o == nil { + var ret []JvmObject + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetParamsOk() ([]JvmObject, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *InvokeContractV1Request) SetParams(v []JvmObject) { + o.Params = v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetTimeoutMs() int32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret int32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetTimeoutMsOk() (*int32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given int32 and assigns it to the TimeoutMs field. +func (o *InvokeContractV1Request) SetTimeoutMs(v int32) { + o.TimeoutMs = &v +} + +func (o InvokeContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["flowFullClassName"] = o.FlowFullClassName + toSerialize["flowInvocationType"] = o.FlowInvocationType + toSerialize["params"] = o.Params + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + return toSerialize, nil +} + +type NullableInvokeContractV1Request struct { + value *InvokeContractV1Request + isSet bool +} + +func (v NullableInvokeContractV1Request) Get() *InvokeContractV1Request { + return v.value +} + +func (v *NullableInvokeContractV1Request) Set(val *InvokeContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Request(val *InvokeContractV1Request) *NullableInvokeContractV1Request { + return &NullableInvokeContractV1Request{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go new file mode 100644 index 00000000000..54a4fb85f48 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go @@ -0,0 +1,247 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Response{} + +// InvokeContractV1Response struct for InvokeContractV1Response +type InvokeContractV1Response struct { + Success bool `json:"success"` + // Data returned from the JVM when no transaction is running + CallOutput map[string]interface{} `json:"callOutput"` + // The net.corda.core.flows.StateMachineRunId value returned by the flow execution. + TransactionId *string `json:"transactionId,omitempty"` + // An array of strings representing the aggregated stream of progress updates provided by a *tracked* flow invocation. If the flow invocation was not tracked, this array is still returned, but as empty. + Progress []string `json:"progress,omitempty"` + // The id for the flow handle + FlowId string `json:"flowId"` +} + +// NewInvokeContractV1Response instantiates a new InvokeContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Response(success bool, callOutput map[string]interface{}, flowId string) *InvokeContractV1Response { + this := InvokeContractV1Response{} + this.Success = success + this.CallOutput = callOutput + this.FlowId = flowId + return &this +} + +// NewInvokeContractV1ResponseWithDefaults instantiates a new InvokeContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1ResponseWithDefaults() *InvokeContractV1Response { + this := InvokeContractV1Response{} + return &this +} + +// GetSuccess returns the Success field value +func (o *InvokeContractV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *InvokeContractV1Response) SetSuccess(v bool) { + o.Success = v +} + +// GetCallOutput returns the CallOutput field value +func (o *InvokeContractV1Response) GetCallOutput() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + + return o.CallOutput +} + +// GetCallOutputOk returns a tuple with the CallOutput field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetCallOutputOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false + } + return o.CallOutput, true +} + +// SetCallOutput sets field value +func (o *InvokeContractV1Response) SetCallOutput(v map[string]interface{}) { + o.CallOutput = v +} + +// GetTransactionId returns the TransactionId field value if set, zero value otherwise. +func (o *InvokeContractV1Response) GetTransactionId() string { + if o == nil || IsNil(o.TransactionId) { + var ret string + return ret + } + return *o.TransactionId +} + +// GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetTransactionIdOk() (*string, bool) { + if o == nil || IsNil(o.TransactionId) { + return nil, false + } + return o.TransactionId, true +} + +// HasTransactionId returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasTransactionId() bool { + if o != nil && !IsNil(o.TransactionId) { + return true + } + + return false +} + +// SetTransactionId gets a reference to the given string and assigns it to the TransactionId field. +func (o *InvokeContractV1Response) SetTransactionId(v string) { + o.TransactionId = &v +} + +// GetProgress returns the Progress field value if set, zero value otherwise. +func (o *InvokeContractV1Response) GetProgress() []string { + if o == nil || IsNil(o.Progress) { + var ret []string + return ret + } + return o.Progress +} + +// GetProgressOk returns a tuple with the Progress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetProgressOk() ([]string, bool) { + if o == nil || IsNil(o.Progress) { + return nil, false + } + return o.Progress, true +} + +// HasProgress returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasProgress() bool { + if o != nil && !IsNil(o.Progress) { + return true + } + + return false +} + +// SetProgress gets a reference to the given []string and assigns it to the Progress field. +func (o *InvokeContractV1Response) SetProgress(v []string) { + o.Progress = v +} + +// GetFlowId returns the FlowId field value +func (o *InvokeContractV1Response) GetFlowId() string { + if o == nil { + var ret string + return ret + } + + return o.FlowId +} + +// GetFlowIdOk returns a tuple with the FlowId field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetFlowIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FlowId, true +} + +// SetFlowId sets field value +func (o *InvokeContractV1Response) SetFlowId(v string) { + o.FlowId = v +} + +func (o InvokeContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + toSerialize["callOutput"] = o.CallOutput + if !IsNil(o.TransactionId) { + toSerialize["transactionId"] = o.TransactionId + } + if !IsNil(o.Progress) { + toSerialize["progress"] = o.Progress + } + toSerialize["flowId"] = o.FlowId + return toSerialize, nil +} + +type NullableInvokeContractV1Response struct { + value *InvokeContractV1Response + isSet bool +} + +func (v NullableInvokeContractV1Response) Get() *InvokeContractV1Response { + return v.value +} + +func (v *NullableInvokeContractV1Response) Set(val *InvokeContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Response(val *InvokeContractV1Response) *NullableInvokeContractV1Response { + return &NullableInvokeContractV1Response{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jar_file.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jar_file.go new file mode 100644 index 00000000000..5c44f86da52 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jar_file.go @@ -0,0 +1,199 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the JarFile type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JarFile{} + +// JarFile struct for JarFile +type JarFile struct { + Filename string `json:"filename"` + // Indicates whether the cordapp jar in question contains any embedded migrations that Cactus can/should execute between copying the jar into the cordapp directory and starting the node back up. + HasDbMigrations bool `json:"hasDbMigrations"` + ContentBase64 string `json:"contentBase64"` + AdditionalProperties map[string]interface{} +} + +type _JarFile JarFile + +// NewJarFile instantiates a new JarFile object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewJarFile(filename string, hasDbMigrations bool, contentBase64 string) *JarFile { + this := JarFile{} + this.Filename = filename + this.HasDbMigrations = hasDbMigrations + this.ContentBase64 = contentBase64 + return &this +} + +// NewJarFileWithDefaults instantiates a new JarFile object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewJarFileWithDefaults() *JarFile { + this := JarFile{} + return &this +} + +// GetFilename returns the Filename field value +func (o *JarFile) GetFilename() string { + if o == nil { + var ret string + return ret + } + + return o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value +// and a boolean to check if the value has been set. +func (o *JarFile) GetFilenameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Filename, true +} + +// SetFilename sets field value +func (o *JarFile) SetFilename(v string) { + o.Filename = v +} + +// GetHasDbMigrations returns the HasDbMigrations field value +func (o *JarFile) GetHasDbMigrations() bool { + if o == nil { + var ret bool + return ret + } + + return o.HasDbMigrations +} + +// GetHasDbMigrationsOk returns a tuple with the HasDbMigrations field value +// and a boolean to check if the value has been set. +func (o *JarFile) GetHasDbMigrationsOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.HasDbMigrations, true +} + +// SetHasDbMigrations sets field value +func (o *JarFile) SetHasDbMigrations(v bool) { + o.HasDbMigrations = v +} + +// GetContentBase64 returns the ContentBase64 field value +func (o *JarFile) GetContentBase64() string { + if o == nil { + var ret string + return ret + } + + return o.ContentBase64 +} + +// GetContentBase64Ok returns a tuple with the ContentBase64 field value +// and a boolean to check if the value has been set. +func (o *JarFile) GetContentBase64Ok() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContentBase64, true +} + +// SetContentBase64 sets field value +func (o *JarFile) SetContentBase64(v string) { + o.ContentBase64 = v +} + +func (o JarFile) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JarFile) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["filename"] = o.Filename + toSerialize["hasDbMigrations"] = o.HasDbMigrations + toSerialize["contentBase64"] = o.ContentBase64 + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *JarFile) UnmarshalJSON(bytes []byte) (err error) { + varJarFile := _JarFile{} + + if err = json.Unmarshal(bytes, &varJarFile); err == nil { + *o = JarFile(varJarFile) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "filename") + delete(additionalProperties, "hasDbMigrations") + delete(additionalProperties, "contentBase64") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableJarFile struct { + value *JarFile + isSet bool +} + +func (v NullableJarFile) Get() *JarFile { + return v.value +} + +func (v *NullableJarFile) Set(val *JarFile) { + v.value = val + v.isSet = true +} + +func (v NullableJarFile) IsSet() bool { + return v.isSet +} + +func (v *NullableJarFile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJarFile(val *JarFile) *NullableJarFile { + return &NullableJarFile{value: val, isSet: true} +} + +func (v NullableJarFile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJarFile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jvm_object.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jvm_object.go new file mode 100644 index 00000000000..ffd053b24e1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jvm_object.go @@ -0,0 +1,216 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the JvmObject type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JvmObject{} + +// JvmObject Can represent JVM primitive and reference types as well. The jvmTypeKind field indicates which one is being stored. If the jvmTypeKind field is set to REFERENCE then the jvmCtorArgs array is expected to be filled, otherwise (e.g. PRIMITIVE jvmTypeKind) it is expected that the primitiveValue property is filled with a primitive data type supported by the JSON standard such as strings, booleans, numbers, etc. +type JvmObject struct { + JvmTypeKind JvmTypeKind `json:"jvmTypeKind"` + PrimitiveValue map[string]interface{} `json:"primitiveValue,omitempty"` + JvmCtorArgs []JvmObject `json:"jvmCtorArgs,omitempty"` + JvmType JvmType `json:"jvmType"` +} + +// NewJvmObject instantiates a new JvmObject object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewJvmObject(jvmTypeKind JvmTypeKind, jvmType JvmType) *JvmObject { + this := JvmObject{} + this.JvmTypeKind = jvmTypeKind + this.JvmType = jvmType + return &this +} + +// NewJvmObjectWithDefaults instantiates a new JvmObject object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewJvmObjectWithDefaults() *JvmObject { + this := JvmObject{} + return &this +} + +// GetJvmTypeKind returns the JvmTypeKind field value +func (o *JvmObject) GetJvmTypeKind() JvmTypeKind { + if o == nil { + var ret JvmTypeKind + return ret + } + + return o.JvmTypeKind +} + +// GetJvmTypeKindOk returns a tuple with the JvmTypeKind field value +// and a boolean to check if the value has been set. +func (o *JvmObject) GetJvmTypeKindOk() (*JvmTypeKind, bool) { + if o == nil { + return nil, false + } + return &o.JvmTypeKind, true +} + +// SetJvmTypeKind sets field value +func (o *JvmObject) SetJvmTypeKind(v JvmTypeKind) { + o.JvmTypeKind = v +} + +// GetPrimitiveValue returns the PrimitiveValue field value if set, zero value otherwise. +func (o *JvmObject) GetPrimitiveValue() map[string]interface{} { + if o == nil || IsNil(o.PrimitiveValue) { + var ret map[string]interface{} + return ret + } + return o.PrimitiveValue +} + +// GetPrimitiveValueOk returns a tuple with the PrimitiveValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JvmObject) GetPrimitiveValueOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.PrimitiveValue) { + return map[string]interface{}{}, false + } + return o.PrimitiveValue, true +} + +// HasPrimitiveValue returns a boolean if a field has been set. +func (o *JvmObject) HasPrimitiveValue() bool { + if o != nil && !IsNil(o.PrimitiveValue) { + return true + } + + return false +} + +// SetPrimitiveValue gets a reference to the given map[string]interface{} and assigns it to the PrimitiveValue field. +func (o *JvmObject) SetPrimitiveValue(v map[string]interface{}) { + o.PrimitiveValue = v +} + +// GetJvmCtorArgs returns the JvmCtorArgs field value if set, zero value otherwise. +func (o *JvmObject) GetJvmCtorArgs() []JvmObject { + if o == nil || IsNil(o.JvmCtorArgs) { + var ret []JvmObject + return ret + } + return o.JvmCtorArgs +} + +// GetJvmCtorArgsOk returns a tuple with the JvmCtorArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JvmObject) GetJvmCtorArgsOk() ([]JvmObject, bool) { + if o == nil || IsNil(o.JvmCtorArgs) { + return nil, false + } + return o.JvmCtorArgs, true +} + +// HasJvmCtorArgs returns a boolean if a field has been set. +func (o *JvmObject) HasJvmCtorArgs() bool { + if o != nil && !IsNil(o.JvmCtorArgs) { + return true + } + + return false +} + +// SetJvmCtorArgs gets a reference to the given []JvmObject and assigns it to the JvmCtorArgs field. +func (o *JvmObject) SetJvmCtorArgs(v []JvmObject) { + o.JvmCtorArgs = v +} + +// GetJvmType returns the JvmType field value +func (o *JvmObject) GetJvmType() JvmType { + if o == nil { + var ret JvmType + return ret + } + + return o.JvmType +} + +// GetJvmTypeOk returns a tuple with the JvmType field value +// and a boolean to check if the value has been set. +func (o *JvmObject) GetJvmTypeOk() (*JvmType, bool) { + if o == nil { + return nil, false + } + return &o.JvmType, true +} + +// SetJvmType sets field value +func (o *JvmObject) SetJvmType(v JvmType) { + o.JvmType = v +} + +func (o JvmObject) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JvmObject) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["jvmTypeKind"] = o.JvmTypeKind + if !IsNil(o.PrimitiveValue) { + toSerialize["primitiveValue"] = o.PrimitiveValue + } + if !IsNil(o.JvmCtorArgs) { + toSerialize["jvmCtorArgs"] = o.JvmCtorArgs + } + toSerialize["jvmType"] = o.JvmType + return toSerialize, nil +} + +type NullableJvmObject struct { + value *JvmObject + isSet bool +} + +func (v NullableJvmObject) Get() *JvmObject { + return v.value +} + +func (v *NullableJvmObject) Set(val *JvmObject) { + v.value = val + v.isSet = true +} + +func (v NullableJvmObject) IsSet() bool { + return v.isSet +} + +func (v *NullableJvmObject) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJvmObject(val *JvmObject) *NullableJvmObject { + return &NullableJvmObject{value: val, isSet: true} +} + +func (v NullableJvmObject) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJvmObject) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jvm_type.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jvm_type.go new file mode 100644 index 00000000000..83190a07811 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jvm_type.go @@ -0,0 +1,190 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the JvmType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &JvmType{} + +// JvmType Represents a reference to a JVM type (such as a Java class) +type JvmType struct { + FqClassName string `json:"fqClassName"` + // This parameter is used to specify that the function used to construct this JvmType is not a constructor function but instead is a factory function. Setting this parameter will cause the plugin to look up methods of the class denoted by fqClassName instead of its constructors. + ConstructorName *string `json:"constructorName,omitempty"` + InvocationTarget *JvmObject `json:"invocationTarget,omitempty"` +} + +// NewJvmType instantiates a new JvmType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewJvmType(fqClassName string) *JvmType { + this := JvmType{} + this.FqClassName = fqClassName + return &this +} + +// NewJvmTypeWithDefaults instantiates a new JvmType object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewJvmTypeWithDefaults() *JvmType { + this := JvmType{} + return &this +} + +// GetFqClassName returns the FqClassName field value +func (o *JvmType) GetFqClassName() string { + if o == nil { + var ret string + return ret + } + + return o.FqClassName +} + +// GetFqClassNameOk returns a tuple with the FqClassName field value +// and a boolean to check if the value has been set. +func (o *JvmType) GetFqClassNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FqClassName, true +} + +// SetFqClassName sets field value +func (o *JvmType) SetFqClassName(v string) { + o.FqClassName = v +} + +// GetConstructorName returns the ConstructorName field value if set, zero value otherwise. +func (o *JvmType) GetConstructorName() string { + if o == nil || IsNil(o.ConstructorName) { + var ret string + return ret + } + return *o.ConstructorName +} + +// GetConstructorNameOk returns a tuple with the ConstructorName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JvmType) GetConstructorNameOk() (*string, bool) { + if o == nil || IsNil(o.ConstructorName) { + return nil, false + } + return o.ConstructorName, true +} + +// HasConstructorName returns a boolean if a field has been set. +func (o *JvmType) HasConstructorName() bool { + if o != nil && !IsNil(o.ConstructorName) { + return true + } + + return false +} + +// SetConstructorName gets a reference to the given string and assigns it to the ConstructorName field. +func (o *JvmType) SetConstructorName(v string) { + o.ConstructorName = &v +} + +// GetInvocationTarget returns the InvocationTarget field value if set, zero value otherwise. +func (o *JvmType) GetInvocationTarget() JvmObject { + if o == nil || IsNil(o.InvocationTarget) { + var ret JvmObject + return ret + } + return *o.InvocationTarget +} + +// GetInvocationTargetOk returns a tuple with the InvocationTarget field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JvmType) GetInvocationTargetOk() (*JvmObject, bool) { + if o == nil || IsNil(o.InvocationTarget) { + return nil, false + } + return o.InvocationTarget, true +} + +// HasInvocationTarget returns a boolean if a field has been set. +func (o *JvmType) HasInvocationTarget() bool { + if o != nil && !IsNil(o.InvocationTarget) { + return true + } + + return false +} + +// SetInvocationTarget gets a reference to the given JvmObject and assigns it to the InvocationTarget field. +func (o *JvmType) SetInvocationTarget(v JvmObject) { + o.InvocationTarget = &v +} + +func (o JvmType) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o JvmType) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["fqClassName"] = o.FqClassName + if !IsNil(o.ConstructorName) { + toSerialize["constructorName"] = o.ConstructorName + } + if !IsNil(o.InvocationTarget) { + toSerialize["invocationTarget"] = o.InvocationTarget + } + return toSerialize, nil +} + +type NullableJvmType struct { + value *JvmType + isSet bool +} + +func (v NullableJvmType) Get() *JvmType { + return v.value +} + +func (v *NullableJvmType) Set(val *JvmType) { + v.value = val + v.isSet = true +} + +func (v NullableJvmType) IsSet() bool { + return v.isSet +} + +func (v *NullableJvmType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJvmType(val *JvmType) *NullableJvmType { + return &NullableJvmType{value: val, isSet: true} +} + +func (v NullableJvmType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJvmType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jvm_type_kind.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jvm_type_kind.go new file mode 100644 index 00000000000..7a079e3b49d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_jvm_type_kind.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" + "fmt" +) + +// JvmTypeKind the model 'JvmTypeKind' +type JvmTypeKind string + +// List of JvmTypeKind +const ( + PRIMITIVE JvmTypeKind = "PRIMITIVE" + REFERENCE JvmTypeKind = "REFERENCE" +) + +// All allowed values of JvmTypeKind enum +var AllowedJvmTypeKindEnumValues = []JvmTypeKind{ + "PRIMITIVE", + "REFERENCE", +} + +func (v *JvmTypeKind) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := JvmTypeKind(value) + for _, existing := range AllowedJvmTypeKindEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid JvmTypeKind", value) +} + +// NewJvmTypeKindFromValue returns a pointer to a valid JvmTypeKind +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewJvmTypeKindFromValue(v string) (*JvmTypeKind, error) { + ev := JvmTypeKind(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for JvmTypeKind: valid values are %v", v, AllowedJvmTypeKindEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v JvmTypeKind) IsValid() bool { + for _, existing := range AllowedJvmTypeKindEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to JvmTypeKind value +func (v JvmTypeKind) Ptr() *JvmTypeKind { + return &v +} + +type NullableJvmTypeKind struct { + value *JvmTypeKind + isSet bool +} + +func (v NullableJvmTypeKind) Get() *JvmTypeKind { + return v.value +} + +func (v *NullableJvmTypeKind) Set(val *JvmTypeKind) { + v.value = val + v.isSet = true +} + +func (v NullableJvmTypeKind) IsSet() bool { + return v.isSet +} + +func (v *NullableJvmTypeKind) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableJvmTypeKind(val *JvmTypeKind) *NullableJvmTypeKind { + return &NullableJvmTypeKind{value: val, isSet: true} +} + +func (v NullableJvmTypeKind) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableJvmTypeKind) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_list_flows_v1_request.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_list_flows_v1_request.go new file mode 100644 index 00000000000..e1fc080c6ca --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_list_flows_v1_request.go @@ -0,0 +1,126 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the ListFlowsV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ListFlowsV1Request{} + +// ListFlowsV1Request struct for ListFlowsV1Request +type ListFlowsV1Request struct { + Filter *string `json:"filter,omitempty"` +} + +// NewListFlowsV1Request instantiates a new ListFlowsV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListFlowsV1Request() *ListFlowsV1Request { + this := ListFlowsV1Request{} + return &this +} + +// NewListFlowsV1RequestWithDefaults instantiates a new ListFlowsV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListFlowsV1RequestWithDefaults() *ListFlowsV1Request { + this := ListFlowsV1Request{} + return &this +} + +// GetFilter returns the Filter field value if set, zero value otherwise. +func (o *ListFlowsV1Request) GetFilter() string { + if o == nil || IsNil(o.Filter) { + var ret string + return ret + } + return *o.Filter +} + +// GetFilterOk returns a tuple with the Filter field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListFlowsV1Request) GetFilterOk() (*string, bool) { + if o == nil || IsNil(o.Filter) { + return nil, false + } + return o.Filter, true +} + +// HasFilter returns a boolean if a field has been set. +func (o *ListFlowsV1Request) HasFilter() bool { + if o != nil && !IsNil(o.Filter) { + return true + } + + return false +} + +// SetFilter gets a reference to the given string and assigns it to the Filter field. +func (o *ListFlowsV1Request) SetFilter(v string) { + o.Filter = &v +} + +func (o ListFlowsV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ListFlowsV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Filter) { + toSerialize["filter"] = o.Filter + } + return toSerialize, nil +} + +type NullableListFlowsV1Request struct { + value *ListFlowsV1Request + isSet bool +} + +func (v NullableListFlowsV1Request) Get() *ListFlowsV1Request { + return v.value +} + +func (v *NullableListFlowsV1Request) Set(val *ListFlowsV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableListFlowsV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableListFlowsV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListFlowsV1Request(val *ListFlowsV1Request) *NullableListFlowsV1Request { + return &NullableListFlowsV1Request{value: val, isSet: true} +} + +func (v NullableListFlowsV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListFlowsV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_list_flows_v1_response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_list_flows_v1_response.go new file mode 100644 index 00000000000..aebd2c65389 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_list_flows_v1_response.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the ListFlowsV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ListFlowsV1Response{} + +// ListFlowsV1Response struct for ListFlowsV1Response +type ListFlowsV1Response struct { + // An array of strings storing the names of the flows as returned by the flowList Corda RPC. + FlowNames []string `json:"flowNames"` +} + +// NewListFlowsV1Response instantiates a new ListFlowsV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListFlowsV1Response(flowNames []string) *ListFlowsV1Response { + this := ListFlowsV1Response{} + this.FlowNames = flowNames + return &this +} + +// NewListFlowsV1ResponseWithDefaults instantiates a new ListFlowsV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListFlowsV1ResponseWithDefaults() *ListFlowsV1Response { + this := ListFlowsV1Response{} + return &this +} + +// GetFlowNames returns the FlowNames field value +func (o *ListFlowsV1Response) GetFlowNames() []string { + if o == nil { + var ret []string + return ret + } + + return o.FlowNames +} + +// GetFlowNamesOk returns a tuple with the FlowNames field value +// and a boolean to check if the value has been set. +func (o *ListFlowsV1Response) GetFlowNamesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.FlowNames, true +} + +// SetFlowNames sets field value +func (o *ListFlowsV1Response) SetFlowNames(v []string) { + o.FlowNames = v +} + +func (o ListFlowsV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ListFlowsV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["flowNames"] = o.FlowNames + return toSerialize, nil +} + +type NullableListFlowsV1Response struct { + value *ListFlowsV1Response + isSet bool +} + +func (v NullableListFlowsV1Response) Get() *ListFlowsV1Response { + return v.value +} + +func (v *NullableListFlowsV1Response) Set(val *ListFlowsV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableListFlowsV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableListFlowsV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListFlowsV1Response(val *ListFlowsV1Response) *NullableListFlowsV1Response { + return &NullableListFlowsV1Response{value: val, isSet: true} +} + +func (v NullableListFlowsV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListFlowsV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_network_host_and_port.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_network_host_and_port.go new file mode 100644 index 00000000000..ca9243bbba8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_network_host_and_port.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the NetworkHostAndPort type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NetworkHostAndPort{} + +// NetworkHostAndPort struct for NetworkHostAndPort +type NetworkHostAndPort struct { + Host string `json:"host"` + Port float32 `json:"port"` +} + +// NewNetworkHostAndPort instantiates a new NetworkHostAndPort object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNetworkHostAndPort(host string, port float32) *NetworkHostAndPort { + this := NetworkHostAndPort{} + this.Host = host + this.Port = port + return &this +} + +// NewNetworkHostAndPortWithDefaults instantiates a new NetworkHostAndPort object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNetworkHostAndPortWithDefaults() *NetworkHostAndPort { + this := NetworkHostAndPort{} + return &this +} + +// GetHost returns the Host field value +func (o *NetworkHostAndPort) GetHost() string { + if o == nil { + var ret string + return ret + } + + return o.Host +} + +// GetHostOk returns a tuple with the Host field value +// and a boolean to check if the value has been set. +func (o *NetworkHostAndPort) GetHostOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Host, true +} + +// SetHost sets field value +func (o *NetworkHostAndPort) SetHost(v string) { + o.Host = v +} + +// GetPort returns the Port field value +func (o *NetworkHostAndPort) GetPort() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Port +} + +// GetPortOk returns a tuple with the Port field value +// and a boolean to check if the value has been set. +func (o *NetworkHostAndPort) GetPortOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Port, true +} + +// SetPort sets field value +func (o *NetworkHostAndPort) SetPort(v float32) { + o.Port = v +} + +func (o NetworkHostAndPort) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NetworkHostAndPort) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["host"] = o.Host + toSerialize["port"] = o.Port + return toSerialize, nil +} + +type NullableNetworkHostAndPort struct { + value *NetworkHostAndPort + isSet bool +} + +func (v NullableNetworkHostAndPort) Get() *NetworkHostAndPort { + return v.value +} + +func (v *NullableNetworkHostAndPort) Set(val *NetworkHostAndPort) { + v.value = val + v.isSet = true +} + +func (v NullableNetworkHostAndPort) IsSet() bool { + return v.isSet +} + +func (v *NullableNetworkHostAndPort) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNetworkHostAndPort(val *NetworkHostAndPort) *NullableNetworkHostAndPort { + return &NullableNetworkHostAndPort{value: val, isSet: true} +} + +func (v NullableNetworkHostAndPort) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNetworkHostAndPort) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_node_diagnostic_info.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_node_diagnostic_info.go new file mode 100644 index 00000000000..1581ec59ae1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_node_diagnostic_info.go @@ -0,0 +1,230 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the NodeDiagnosticInfo type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NodeDiagnosticInfo{} + +// NodeDiagnosticInfo A NodeDiagnosticInfo holds information about the current node version. +type NodeDiagnosticInfo struct { + // A list of CorDapps currently installed on this node + Cordapps []CordappInfo `json:"cordapps"` + // The platform version of this node. This number represents a released API version, and should be used to make functionality decisions (e.g. enabling an app feature only if an underlying platform feature exists) + PlatformVersion int32 `json:"platformVersion"` + // The git commit hash this node was built from + Revision string `json:"revision"` + // The vendor of this node + Vendor string `json:"vendor"` + // The current node version string, e.g. 4.3, 4.4-SNAPSHOT. Note that this string is effectively freeform, and so should only be used for providing diagnostic information. It should not be used to make functionality decisions (the platformVersion is a better fit for this). + Version string `json:"version"` +} + +// NewNodeDiagnosticInfo instantiates a new NodeDiagnosticInfo object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNodeDiagnosticInfo(cordapps []CordappInfo, platformVersion int32, revision string, vendor string, version string) *NodeDiagnosticInfo { + this := NodeDiagnosticInfo{} + this.Cordapps = cordapps + this.PlatformVersion = platformVersion + this.Revision = revision + this.Vendor = vendor + this.Version = version + return &this +} + +// NewNodeDiagnosticInfoWithDefaults instantiates a new NodeDiagnosticInfo object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNodeDiagnosticInfoWithDefaults() *NodeDiagnosticInfo { + this := NodeDiagnosticInfo{} + return &this +} + +// GetCordapps returns the Cordapps field value +func (o *NodeDiagnosticInfo) GetCordapps() []CordappInfo { + if o == nil { + var ret []CordappInfo + return ret + } + + return o.Cordapps +} + +// GetCordappsOk returns a tuple with the Cordapps field value +// and a boolean to check if the value has been set. +func (o *NodeDiagnosticInfo) GetCordappsOk() ([]CordappInfo, bool) { + if o == nil { + return nil, false + } + return o.Cordapps, true +} + +// SetCordapps sets field value +func (o *NodeDiagnosticInfo) SetCordapps(v []CordappInfo) { + o.Cordapps = v +} + +// GetPlatformVersion returns the PlatformVersion field value +func (o *NodeDiagnosticInfo) GetPlatformVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.PlatformVersion +} + +// GetPlatformVersionOk returns a tuple with the PlatformVersion field value +// and a boolean to check if the value has been set. +func (o *NodeDiagnosticInfo) GetPlatformVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.PlatformVersion, true +} + +// SetPlatformVersion sets field value +func (o *NodeDiagnosticInfo) SetPlatformVersion(v int32) { + o.PlatformVersion = v +} + +// GetRevision returns the Revision field value +func (o *NodeDiagnosticInfo) GetRevision() string { + if o == nil { + var ret string + return ret + } + + return o.Revision +} + +// GetRevisionOk returns a tuple with the Revision field value +// and a boolean to check if the value has been set. +func (o *NodeDiagnosticInfo) GetRevisionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Revision, true +} + +// SetRevision sets field value +func (o *NodeDiagnosticInfo) SetRevision(v string) { + o.Revision = v +} + +// GetVendor returns the Vendor field value +func (o *NodeDiagnosticInfo) GetVendor() string { + if o == nil { + var ret string + return ret + } + + return o.Vendor +} + +// GetVendorOk returns a tuple with the Vendor field value +// and a boolean to check if the value has been set. +func (o *NodeDiagnosticInfo) GetVendorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Vendor, true +} + +// SetVendor sets field value +func (o *NodeDiagnosticInfo) SetVendor(v string) { + o.Vendor = v +} + +// GetVersion returns the Version field value +func (o *NodeDiagnosticInfo) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *NodeDiagnosticInfo) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *NodeDiagnosticInfo) SetVersion(v string) { + o.Version = v +} + +func (o NodeDiagnosticInfo) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NodeDiagnosticInfo) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["cordapps"] = o.Cordapps + toSerialize["platformVersion"] = o.PlatformVersion + toSerialize["revision"] = o.Revision + toSerialize["vendor"] = o.Vendor + toSerialize["version"] = o.Version + return toSerialize, nil +} + +type NullableNodeDiagnosticInfo struct { + value *NodeDiagnosticInfo + isSet bool +} + +func (v NullableNodeDiagnosticInfo) Get() *NodeDiagnosticInfo { + return v.value +} + +func (v *NullableNodeDiagnosticInfo) Set(val *NodeDiagnosticInfo) { + v.value = val + v.isSet = true +} + +func (v NullableNodeDiagnosticInfo) IsSet() bool { + return v.isSet +} + +func (v *NullableNodeDiagnosticInfo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNodeDiagnosticInfo(val *NodeDiagnosticInfo) *NullableNodeDiagnosticInfo { + return &NullableNodeDiagnosticInfo{value: val, isSet: true} +} + +func (v NullableNodeDiagnosticInfo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNodeDiagnosticInfo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_node_info.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_node_info.go new file mode 100644 index 00000000000..f5773b84a64 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_node_info.go @@ -0,0 +1,225 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the NodeInfo type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NodeInfo{} + +// NodeInfo struct for NodeInfo +type NodeInfo struct { + Addresses []NetworkHostAndPort `json:"addresses"` + PlatformVersion int32 `json:"platformVersion"` + Serial float32 `json:"serial"` + LegalIdentities []Party `json:"legalIdentities"` + LegalIdentitiesAndCerts []map[string]interface{} `json:"legalIdentitiesAndCerts"` +} + +// NewNodeInfo instantiates a new NodeInfo object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNodeInfo(addresses []NetworkHostAndPort, platformVersion int32, serial float32, legalIdentities []Party, legalIdentitiesAndCerts []map[string]interface{}) *NodeInfo { + this := NodeInfo{} + this.Addresses = addresses + this.PlatformVersion = platformVersion + this.Serial = serial + this.LegalIdentities = legalIdentities + this.LegalIdentitiesAndCerts = legalIdentitiesAndCerts + return &this +} + +// NewNodeInfoWithDefaults instantiates a new NodeInfo object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNodeInfoWithDefaults() *NodeInfo { + this := NodeInfo{} + return &this +} + +// GetAddresses returns the Addresses field value +func (o *NodeInfo) GetAddresses() []NetworkHostAndPort { + if o == nil { + var ret []NetworkHostAndPort + return ret + } + + return o.Addresses +} + +// GetAddressesOk returns a tuple with the Addresses field value +// and a boolean to check if the value has been set. +func (o *NodeInfo) GetAddressesOk() ([]NetworkHostAndPort, bool) { + if o == nil { + return nil, false + } + return o.Addresses, true +} + +// SetAddresses sets field value +func (o *NodeInfo) SetAddresses(v []NetworkHostAndPort) { + o.Addresses = v +} + +// GetPlatformVersion returns the PlatformVersion field value +func (o *NodeInfo) GetPlatformVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.PlatformVersion +} + +// GetPlatformVersionOk returns a tuple with the PlatformVersion field value +// and a boolean to check if the value has been set. +func (o *NodeInfo) GetPlatformVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.PlatformVersion, true +} + +// SetPlatformVersion sets field value +func (o *NodeInfo) SetPlatformVersion(v int32) { + o.PlatformVersion = v +} + +// GetSerial returns the Serial field value +func (o *NodeInfo) GetSerial() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Serial +} + +// GetSerialOk returns a tuple with the Serial field value +// and a boolean to check if the value has been set. +func (o *NodeInfo) GetSerialOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Serial, true +} + +// SetSerial sets field value +func (o *NodeInfo) SetSerial(v float32) { + o.Serial = v +} + +// GetLegalIdentities returns the LegalIdentities field value +func (o *NodeInfo) GetLegalIdentities() []Party { + if o == nil { + var ret []Party + return ret + } + + return o.LegalIdentities +} + +// GetLegalIdentitiesOk returns a tuple with the LegalIdentities field value +// and a boolean to check if the value has been set. +func (o *NodeInfo) GetLegalIdentitiesOk() ([]Party, bool) { + if o == nil { + return nil, false + } + return o.LegalIdentities, true +} + +// SetLegalIdentities sets field value +func (o *NodeInfo) SetLegalIdentities(v []Party) { + o.LegalIdentities = v +} + +// GetLegalIdentitiesAndCerts returns the LegalIdentitiesAndCerts field value +func (o *NodeInfo) GetLegalIdentitiesAndCerts() []map[string]interface{} { + if o == nil { + var ret []map[string]interface{} + return ret + } + + return o.LegalIdentitiesAndCerts +} + +// GetLegalIdentitiesAndCertsOk returns a tuple with the LegalIdentitiesAndCerts field value +// and a boolean to check if the value has been set. +func (o *NodeInfo) GetLegalIdentitiesAndCertsOk() ([]map[string]interface{}, bool) { + if o == nil { + return nil, false + } + return o.LegalIdentitiesAndCerts, true +} + +// SetLegalIdentitiesAndCerts sets field value +func (o *NodeInfo) SetLegalIdentitiesAndCerts(v []map[string]interface{}) { + o.LegalIdentitiesAndCerts = v +} + +func (o NodeInfo) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NodeInfo) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["addresses"] = o.Addresses + toSerialize["platformVersion"] = o.PlatformVersion + toSerialize["serial"] = o.Serial + toSerialize["legalIdentities"] = o.LegalIdentities + toSerialize["legalIdentitiesAndCerts"] = o.LegalIdentitiesAndCerts + return toSerialize, nil +} + +type NullableNodeInfo struct { + value *NodeInfo + isSet bool +} + +func (v NullableNodeInfo) Get() *NodeInfo { + return v.value +} + +func (v *NullableNodeInfo) Set(val *NodeInfo) { + v.value = val + v.isSet = true +} + +func (v NullableNodeInfo) IsSet() bool { + return v.isSet +} + +func (v *NullableNodeInfo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNodeInfo(val *NodeInfo) *NullableNodeInfo { + return &NullableNodeInfo{value: val, isSet: true} +} + +func (v NullableNodeInfo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNodeInfo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_party.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_party.go new file mode 100644 index 00000000000..ecd255b2a1f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_party.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the Party type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Party{} + +// Party struct for Party +type Party struct { + Name CordaX500Name `json:"name"` + OwningKey PublicKey `json:"owningKey"` +} + +// NewParty instantiates a new Party object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewParty(name CordaX500Name, owningKey PublicKey) *Party { + this := Party{} + this.Name = name + this.OwningKey = owningKey + return &this +} + +// NewPartyWithDefaults instantiates a new Party object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPartyWithDefaults() *Party { + this := Party{} + return &this +} + +// GetName returns the Name field value +func (o *Party) GetName() CordaX500Name { + if o == nil { + var ret CordaX500Name + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *Party) GetNameOk() (*CordaX500Name, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *Party) SetName(v CordaX500Name) { + o.Name = v +} + +// GetOwningKey returns the OwningKey field value +func (o *Party) GetOwningKey() PublicKey { + if o == nil { + var ret PublicKey + return ret + } + + return o.OwningKey +} + +// GetOwningKeyOk returns a tuple with the OwningKey field value +// and a boolean to check if the value has been set. +func (o *Party) GetOwningKeyOk() (*PublicKey, bool) { + if o == nil { + return nil, false + } + return &o.OwningKey, true +} + +// SetOwningKey sets field value +func (o *Party) SetOwningKey(v PublicKey) { + o.OwningKey = v +} + +func (o Party) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Party) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["owningKey"] = o.OwningKey + return toSerialize, nil +} + +type NullableParty struct { + value *Party + isSet bool +} + +func (v NullableParty) Get() *Party { + return v.value +} + +func (v *NullableParty) Set(val *Party) { + v.value = val + v.isSet = true +} + +func (v NullableParty) IsSet() bool { + return v.isSet +} + +func (v *NullableParty) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableParty(val *Party) *NullableParty { + return &NullableParty{value: val, isSet: true} +} + +func (v NullableParty) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableParty) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_public_key.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_public_key.go new file mode 100644 index 00000000000..dd37ff728f3 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_public_key.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the PublicKey type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PublicKey{} + +// PublicKey An instance of a java.security.PublicKey (which is an interface) implementation such as org.hyperledger.cactus.plugin.ledger.connector.corda.server.impl.PublicKeyImpl +type PublicKey struct { + Algorithm string `json:"algorithm"` + Format string `json:"format"` + Encoded string `json:"encoded"` +} + +// NewPublicKey instantiates a new PublicKey object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPublicKey(algorithm string, format string, encoded string) *PublicKey { + this := PublicKey{} + this.Algorithm = algorithm + this.Format = format + this.Encoded = encoded + return &this +} + +// NewPublicKeyWithDefaults instantiates a new PublicKey object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPublicKeyWithDefaults() *PublicKey { + this := PublicKey{} + return &this +} + +// GetAlgorithm returns the Algorithm field value +func (o *PublicKey) GetAlgorithm() string { + if o == nil { + var ret string + return ret + } + + return o.Algorithm +} + +// GetAlgorithmOk returns a tuple with the Algorithm field value +// and a boolean to check if the value has been set. +func (o *PublicKey) GetAlgorithmOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Algorithm, true +} + +// SetAlgorithm sets field value +func (o *PublicKey) SetAlgorithm(v string) { + o.Algorithm = v +} + +// GetFormat returns the Format field value +func (o *PublicKey) GetFormat() string { + if o == nil { + var ret string + return ret + } + + return o.Format +} + +// GetFormatOk returns a tuple with the Format field value +// and a boolean to check if the value has been set. +func (o *PublicKey) GetFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Format, true +} + +// SetFormat sets field value +func (o *PublicKey) SetFormat(v string) { + o.Format = v +} + +// GetEncoded returns the Encoded field value +func (o *PublicKey) GetEncoded() string { + if o == nil { + var ret string + return ret + } + + return o.Encoded +} + +// GetEncodedOk returns a tuple with the Encoded field value +// and a boolean to check if the value has been set. +func (o *PublicKey) GetEncodedOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Encoded, true +} + +// SetEncoded sets field value +func (o *PublicKey) SetEncoded(v string) { + o.Encoded = v +} + +func (o PublicKey) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PublicKey) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["algorithm"] = o.Algorithm + toSerialize["format"] = o.Format + toSerialize["encoded"] = o.Encoded + return toSerialize, nil +} + +type NullablePublicKey struct { + value *PublicKey + isSet bool +} + +func (v NullablePublicKey) Get() *PublicKey { + return v.value +} + +func (v *NullablePublicKey) Set(val *PublicKey) { + v.value = val + v.isSet = true +} + +func (v NullablePublicKey) IsSet() bool { + return v.isSet +} + +func (v *NullablePublicKey) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePublicKey(val *PublicKey) *NullablePublicKey { + return &NullablePublicKey{value: val, isSet: true} +} + +func (v NullablePublicKey) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePublicKey) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_sha256.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_sha256.go new file mode 100644 index 00000000000..1232532fd68 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_sha256.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the SHA256 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SHA256{} + +// SHA256 SHA-256 is part of the SHA-2 hash function family. Generated hash is fixed size, 256-bits (32-bytes). +type SHA256 struct { + Bytes string `json:"bytes"` + Offset int32 `json:"offset"` + Size int32 `json:"size"` +} + +// NewSHA256 instantiates a new SHA256 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSHA256(bytes string, offset int32, size int32) *SHA256 { + this := SHA256{} + this.Bytes = bytes + this.Offset = offset + this.Size = size + return &this +} + +// NewSHA256WithDefaults instantiates a new SHA256 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSHA256WithDefaults() *SHA256 { + this := SHA256{} + return &this +} + +// GetBytes returns the Bytes field value +func (o *SHA256) GetBytes() string { + if o == nil { + var ret string + return ret + } + + return o.Bytes +} + +// GetBytesOk returns a tuple with the Bytes field value +// and a boolean to check if the value has been set. +func (o *SHA256) GetBytesOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Bytes, true +} + +// SetBytes sets field value +func (o *SHA256) SetBytes(v string) { + o.Bytes = v +} + +// GetOffset returns the Offset field value +func (o *SHA256) GetOffset() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Offset +} + +// GetOffsetOk returns a tuple with the Offset field value +// and a boolean to check if the value has been set. +func (o *SHA256) GetOffsetOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Offset, true +} + +// SetOffset sets field value +func (o *SHA256) SetOffset(v int32) { + o.Offset = v +} + +// GetSize returns the Size field value +func (o *SHA256) GetSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *SHA256) GetSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *SHA256) SetSize(v int32) { + o.Size = v +} + +func (o SHA256) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SHA256) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["bytes"] = o.Bytes + toSerialize["offset"] = o.Offset + toSerialize["size"] = o.Size + return toSerialize, nil +} + +type NullableSHA256 struct { + value *SHA256 + isSet bool +} + +func (v NullableSHA256) Get() *SHA256 { + return v.value +} + +func (v *NullableSHA256) Set(val *SHA256) { + v.value = val + v.isSet = true +} + +func (v NullableSHA256) IsSet() bool { + return v.isSet +} + +func (v *NullableSHA256) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSHA256(val *SHA256) *NullableSHA256 { + return &NullableSHA256{value: val, isSet: true} +} + +func (v NullableSHA256) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSHA256) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_start_monitor_v1_request.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_start_monitor_v1_request.go new file mode 100644 index 00000000000..bc311d5edad --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_start_monitor_v1_request.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the StartMonitorV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StartMonitorV1Request{} + +// StartMonitorV1Request struct for StartMonitorV1Request +type StartMonitorV1Request struct { + // ID of a client application that wants to monitor the state changes + ClientAppId string `json:"clientAppId"` + // The fully qualified name of the Corda state to monitor + StateFullClassName string `json:"stateFullClassName"` +} + +// NewStartMonitorV1Request instantiates a new StartMonitorV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStartMonitorV1Request(clientAppId string, stateFullClassName string) *StartMonitorV1Request { + this := StartMonitorV1Request{} + this.ClientAppId = clientAppId + this.StateFullClassName = stateFullClassName + return &this +} + +// NewStartMonitorV1RequestWithDefaults instantiates a new StartMonitorV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStartMonitorV1RequestWithDefaults() *StartMonitorV1Request { + this := StartMonitorV1Request{} + return &this +} + +// GetClientAppId returns the ClientAppId field value +func (o *StartMonitorV1Request) GetClientAppId() string { + if o == nil { + var ret string + return ret + } + + return o.ClientAppId +} + +// GetClientAppIdOk returns a tuple with the ClientAppId field value +// and a boolean to check if the value has been set. +func (o *StartMonitorV1Request) GetClientAppIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientAppId, true +} + +// SetClientAppId sets field value +func (o *StartMonitorV1Request) SetClientAppId(v string) { + o.ClientAppId = v +} + +// GetStateFullClassName returns the StateFullClassName field value +func (o *StartMonitorV1Request) GetStateFullClassName() string { + if o == nil { + var ret string + return ret + } + + return o.StateFullClassName +} + +// GetStateFullClassNameOk returns a tuple with the StateFullClassName field value +// and a boolean to check if the value has been set. +func (o *StartMonitorV1Request) GetStateFullClassNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StateFullClassName, true +} + +// SetStateFullClassName sets field value +func (o *StartMonitorV1Request) SetStateFullClassName(v string) { + o.StateFullClassName = v +} + +func (o StartMonitorV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StartMonitorV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["clientAppId"] = o.ClientAppId + toSerialize["stateFullClassName"] = o.StateFullClassName + return toSerialize, nil +} + +type NullableStartMonitorV1Request struct { + value *StartMonitorV1Request + isSet bool +} + +func (v NullableStartMonitorV1Request) Get() *StartMonitorV1Request { + return v.value +} + +func (v *NullableStartMonitorV1Request) Set(val *StartMonitorV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableStartMonitorV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableStartMonitorV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStartMonitorV1Request(val *StartMonitorV1Request) *NullableStartMonitorV1Request { + return &NullableStartMonitorV1Request{value: val, isSet: true} +} + +func (v NullableStartMonitorV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStartMonitorV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_start_monitor_v1_response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_start_monitor_v1_response.go new file mode 100644 index 00000000000..9d0b707eb0b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_start_monitor_v1_response.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the StartMonitorV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StartMonitorV1Response{} + +// StartMonitorV1Response struct for StartMonitorV1Response +type StartMonitorV1Response struct { + // Flag set to true if monitoring started correctly. + Success bool `json:"success"` + // Message describing operation status or any errors that occurred. + Msg string `json:"msg"` +} + +// NewStartMonitorV1Response instantiates a new StartMonitorV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStartMonitorV1Response(success bool, msg string) *StartMonitorV1Response { + this := StartMonitorV1Response{} + this.Success = success + this.Msg = msg + return &this +} + +// NewStartMonitorV1ResponseWithDefaults instantiates a new StartMonitorV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStartMonitorV1ResponseWithDefaults() *StartMonitorV1Response { + this := StartMonitorV1Response{} + return &this +} + +// GetSuccess returns the Success field value +func (o *StartMonitorV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *StartMonitorV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *StartMonitorV1Response) SetSuccess(v bool) { + o.Success = v +} + +// GetMsg returns the Msg field value +func (o *StartMonitorV1Response) GetMsg() string { + if o == nil { + var ret string + return ret + } + + return o.Msg +} + +// GetMsgOk returns a tuple with the Msg field value +// and a boolean to check if the value has been set. +func (o *StartMonitorV1Response) GetMsgOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Msg, true +} + +// SetMsg sets field value +func (o *StartMonitorV1Response) SetMsg(v string) { + o.Msg = v +} + +func (o StartMonitorV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StartMonitorV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + toSerialize["msg"] = o.Msg + return toSerialize, nil +} + +type NullableStartMonitorV1Response struct { + value *StartMonitorV1Response + isSet bool +} + +func (v NullableStartMonitorV1Response) Get() *StartMonitorV1Response { + return v.value +} + +func (v *NullableStartMonitorV1Response) Set(val *StartMonitorV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableStartMonitorV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableStartMonitorV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStartMonitorV1Response(val *StartMonitorV1Response) *NullableStartMonitorV1Response { + return &NullableStartMonitorV1Response{value: val, isSet: true} +} + +func (v NullableStartMonitorV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStartMonitorV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_stop_monitor_v1_request.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_stop_monitor_v1_request.go new file mode 100644 index 00000000000..a8e42033c3e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_stop_monitor_v1_request.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the StopMonitorV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StopMonitorV1Request{} + +// StopMonitorV1Request struct for StopMonitorV1Request +type StopMonitorV1Request struct { + // ID of a client application that wants to monitor the state changes + ClientAppId string `json:"clientAppId"` + // The fully qualified name of the Corda state to monitor + StateFullClassName string `json:"stateFullClassName"` +} + +// NewStopMonitorV1Request instantiates a new StopMonitorV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStopMonitorV1Request(clientAppId string, stateFullClassName string) *StopMonitorV1Request { + this := StopMonitorV1Request{} + this.ClientAppId = clientAppId + this.StateFullClassName = stateFullClassName + return &this +} + +// NewStopMonitorV1RequestWithDefaults instantiates a new StopMonitorV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStopMonitorV1RequestWithDefaults() *StopMonitorV1Request { + this := StopMonitorV1Request{} + return &this +} + +// GetClientAppId returns the ClientAppId field value +func (o *StopMonitorV1Request) GetClientAppId() string { + if o == nil { + var ret string + return ret + } + + return o.ClientAppId +} + +// GetClientAppIdOk returns a tuple with the ClientAppId field value +// and a boolean to check if the value has been set. +func (o *StopMonitorV1Request) GetClientAppIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientAppId, true +} + +// SetClientAppId sets field value +func (o *StopMonitorV1Request) SetClientAppId(v string) { + o.ClientAppId = v +} + +// GetStateFullClassName returns the StateFullClassName field value +func (o *StopMonitorV1Request) GetStateFullClassName() string { + if o == nil { + var ret string + return ret + } + + return o.StateFullClassName +} + +// GetStateFullClassNameOk returns a tuple with the StateFullClassName field value +// and a boolean to check if the value has been set. +func (o *StopMonitorV1Request) GetStateFullClassNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StateFullClassName, true +} + +// SetStateFullClassName sets field value +func (o *StopMonitorV1Request) SetStateFullClassName(v string) { + o.StateFullClassName = v +} + +func (o StopMonitorV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StopMonitorV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["clientAppId"] = o.ClientAppId + toSerialize["stateFullClassName"] = o.StateFullClassName + return toSerialize, nil +} + +type NullableStopMonitorV1Request struct { + value *StopMonitorV1Request + isSet bool +} + +func (v NullableStopMonitorV1Request) Get() *StopMonitorV1Request { + return v.value +} + +func (v *NullableStopMonitorV1Request) Set(val *StopMonitorV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableStopMonitorV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableStopMonitorV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStopMonitorV1Request(val *StopMonitorV1Request) *NullableStopMonitorV1Request { + return &NullableStopMonitorV1Request{value: val, isSet: true} +} + +func (v NullableStopMonitorV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStopMonitorV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_stop_monitor_v1_response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_stop_monitor_v1_response.go new file mode 100644 index 00000000000..c679dec5048 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_stop_monitor_v1_response.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the StopMonitorV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StopMonitorV1Response{} + +// StopMonitorV1Response struct for StopMonitorV1Response +type StopMonitorV1Response struct { + // Flag set to true if operation completed correctly. + Success bool `json:"success"` + // Message describing operation status or any errors that occurred. + Msg string `json:"msg"` +} + +// NewStopMonitorV1Response instantiates a new StopMonitorV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStopMonitorV1Response(success bool, msg string) *StopMonitorV1Response { + this := StopMonitorV1Response{} + this.Success = success + this.Msg = msg + return &this +} + +// NewStopMonitorV1ResponseWithDefaults instantiates a new StopMonitorV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStopMonitorV1ResponseWithDefaults() *StopMonitorV1Response { + this := StopMonitorV1Response{} + return &this +} + +// GetSuccess returns the Success field value +func (o *StopMonitorV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *StopMonitorV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *StopMonitorV1Response) SetSuccess(v bool) { + o.Success = v +} + +// GetMsg returns the Msg field value +func (o *StopMonitorV1Response) GetMsg() string { + if o == nil { + var ret string + return ret + } + + return o.Msg +} + +// GetMsgOk returns a tuple with the Msg field value +// and a boolean to check if the value has been set. +func (o *StopMonitorV1Response) GetMsgOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Msg, true +} + +// SetMsg sets field value +func (o *StopMonitorV1Response) SetMsg(v string) { + o.Msg = v +} + +func (o StopMonitorV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StopMonitorV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + toSerialize["msg"] = o.Msg + return toSerialize, nil +} + +type NullableStopMonitorV1Response struct { + value *StopMonitorV1Response + isSet bool +} + +func (v NullableStopMonitorV1Response) Get() *StopMonitorV1Response { + return v.value +} + +func (v *NullableStopMonitorV1Response) Set(val *StopMonitorV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableStopMonitorV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableStopMonitorV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStopMonitorV1Response(val *StopMonitorV1Response) *NullableStopMonitorV1Response { + return &NullableStopMonitorV1Response{value: val, isSet: true} +} + +func (v NullableStopMonitorV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStopMonitorV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_x500_principal.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_x500_principal.go new file mode 100644 index 00000000000..83b5c1d8559 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/model_x500_principal.go @@ -0,0 +1,145 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" +) + +// checks if the X500Principal type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &X500Principal{} + +// X500Principal struct for X500Principal +type X500Principal struct { + Name string `json:"name"` + // Base64 encoded public key + Encoded string `json:"encoded"` +} + +// NewX500Principal instantiates a new X500Principal object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewX500Principal(name string, encoded string) *X500Principal { + this := X500Principal{} + this.Name = name + this.Encoded = encoded + return &this +} + +// NewX500PrincipalWithDefaults instantiates a new X500Principal object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewX500PrincipalWithDefaults() *X500Principal { + this := X500Principal{} + return &this +} + +// GetName returns the Name field value +func (o *X500Principal) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *X500Principal) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *X500Principal) SetName(v string) { + o.Name = v +} + +// GetEncoded returns the Encoded field value +func (o *X500Principal) GetEncoded() string { + if o == nil { + var ret string + return ret + } + + return o.Encoded +} + +// GetEncodedOk returns a tuple with the Encoded field value +// and a boolean to check if the value has been set. +func (o *X500Principal) GetEncodedOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Encoded, true +} + +// SetEncoded sets field value +func (o *X500Principal) SetEncoded(v string) { + o.Encoded = v +} + +func (o X500Principal) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o X500Principal) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["encoded"] = o.Encoded + return toSerialize, nil +} + +type NullableX500Principal struct { + value *X500Principal + isSet bool +} + +func (v NullableX500Principal) Get() *X500Principal { + return v.value +} + +func (v *NullableX500Principal) Set(val *X500Principal) { + v.value = val + v.isSet = true +} + +func (v NullableX500Principal) IsSet() bool { + return v.isSet +} + +func (v *NullableX500Principal) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableX500Principal(val *X500Principal) *NullableX500Principal { + return &NullableX500Principal{value: val, isSet: true} +} + +func (v NullableX500Principal) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableX500Principal) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..8032f809b29 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..064cfe602e2 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,145 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-corda + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-corda_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService ClearMonitorTransactionsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.ClearMonitorTransactionsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService DeployContractJarsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContractJarsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService DiagnoseNodeV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DiagnoseNodeV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetMonitorTransactionsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetMonitorTransactionsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService ListFlowsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.ListFlowsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService NetworkMapV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.NetworkMapV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService StartMonitorV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.StartMonitorV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService StopMonitorV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.StopMonitorV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..fd529066317 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-corda/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Connector Corda + +Can perform basic tasks on a Corda ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-corda + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-ethereum/package.json b/packages/cactus-plugin-ledger-connector-ethereum/package.json index 0c37ad9428c..9751244d17d 100644 --- a/packages/cactus-plugin-ledger-connector-ethereum/package.json +++ b/packages/cactus-plugin-ledger-connector-ethereum/package.json @@ -58,6 +58,7 @@ "copy-artillery-config": "cp -af ./src/test/typescript/benchmark/setup/geth-benchmark-config.yaml ./src/test/typescript/benchmark/setup/artillery-helper-functions.js ./dist/lib/test/typescript/benchmark/setup", "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..3382f7ce0a3 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,47 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_contract_json.go +model_contract_json_definition.go +model_contract_keychain_definition.go +model_deploy_contract_v1_request.go +model_deploy_contract_v1_request_contract.go +model_deployed_contract_json_definition.go +model_error_exception_response_v1.go +model_eth_contract_invocation_type.go +model_eth_contract_invocation_web3_method.go +model_ethereum_transaction_config.go +model_gas_transaction_config.go +model_gas_transaction_config_eip1559.go +model_gas_transaction_config_legacy.go +model_invoke_contract_v1_request.go +model_invoke_contract_v1_request_contract.go +model_invoke_contract_v1_response.go +model_invoke_raw_web3_eth_contract_v1_request.go +model_invoke_raw_web3_eth_contract_v1_response.go +model_invoke_raw_web3_eth_method_v1_request.go +model_invoke_raw_web3_eth_method_v1_response.go +model_run_transaction_request.go +model_run_transaction_response.go +model_watch_blocks_v1.go +model_watch_blocks_v1_block_data.go +model_watch_blocks_v1_block_data_timestamp.go +model_watch_blocks_v1_options.go +model_watch_blocks_v1_progress.go +model_web3_block_header.go +model_web3_signing_credential.go +model_web3_signing_credential_cacti_keychain_ref.go +model_web3_signing_credential_geth_keychain_password.go +model_web3_signing_credential_none.go +model_web3_signing_credential_private_key_hex.go +model_web3_signing_credential_type.go +model_web3_transaction.go +model_web3_transaction_receipt.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..4f8dac2ec51 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,152 @@ +# Go API client for cactus-plugin-ledger-connector-ethereum + +Can perform basic tasks on a Ethereum ledger + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-ethereum "github.com/hyperledger/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-ethereum.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-ethereum.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-ethereum.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-ethereum.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeployContract**](docs/DefaultApi.md#deploycontract) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/deploy-contract | Deploys the contract to ethereum ledger. +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**InvokeContractV1**](docs/DefaultApi.md#invokecontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-contract | Invokes a contract on an ethereum ledger +*DefaultApi* | [**InvokeRawWeb3EthContractV1**](docs/DefaultApi.md#invokerawweb3ethcontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-raw-web3eth-contract | Low-level endpoint to invoke a method on deployed contract. +*DefaultApi* | [**InvokeWeb3EthMethodV1**](docs/DefaultApi.md#invokeweb3ethmethodv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-raw-web3eth-method | Invoke any method from web3.eth (low-level) +*DefaultApi* | [**RunTransactionV1**](docs/DefaultApi.md#runtransactionv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/run-transaction | Executes a transaction on a ethereum ledger + + +## Documentation For Models + + - [ContractJSON](docs/ContractJSON.md) + - [ContractJsonDefinition](docs/ContractJsonDefinition.md) + - [ContractKeychainDefinition](docs/ContractKeychainDefinition.md) + - [DeployContractV1Request](docs/DeployContractV1Request.md) + - [DeployContractV1RequestContract](docs/DeployContractV1RequestContract.md) + - [DeployedContractJsonDefinition](docs/DeployedContractJsonDefinition.md) + - [ErrorExceptionResponseV1](docs/ErrorExceptionResponseV1.md) + - [EthContractInvocationType](docs/EthContractInvocationType.md) + - [EthContractInvocationWeb3Method](docs/EthContractInvocationWeb3Method.md) + - [EthereumTransactionConfig](docs/EthereumTransactionConfig.md) + - [GasTransactionConfig](docs/GasTransactionConfig.md) + - [GasTransactionConfigEIP1559](docs/GasTransactionConfigEIP1559.md) + - [GasTransactionConfigLegacy](docs/GasTransactionConfigLegacy.md) + - [InvokeContractV1Request](docs/InvokeContractV1Request.md) + - [InvokeContractV1RequestContract](docs/InvokeContractV1RequestContract.md) + - [InvokeContractV1Response](docs/InvokeContractV1Response.md) + - [InvokeRawWeb3EthContractV1Request](docs/InvokeRawWeb3EthContractV1Request.md) + - [InvokeRawWeb3EthContractV1Response](docs/InvokeRawWeb3EthContractV1Response.md) + - [InvokeRawWeb3EthMethodV1Request](docs/InvokeRawWeb3EthMethodV1Request.md) + - [InvokeRawWeb3EthMethodV1Response](docs/InvokeRawWeb3EthMethodV1Response.md) + - [RunTransactionRequest](docs/RunTransactionRequest.md) + - [RunTransactionResponse](docs/RunTransactionResponse.md) + - [WatchBlocksV1](docs/WatchBlocksV1.md) + - [WatchBlocksV1BlockData](docs/WatchBlocksV1BlockData.md) + - [WatchBlocksV1BlockDataTimestamp](docs/WatchBlocksV1BlockDataTimestamp.md) + - [WatchBlocksV1Options](docs/WatchBlocksV1Options.md) + - [WatchBlocksV1Progress](docs/WatchBlocksV1Progress.md) + - [Web3BlockHeader](docs/Web3BlockHeader.md) + - [Web3SigningCredential](docs/Web3SigningCredential.md) + - [Web3SigningCredentialCactiKeychainRef](docs/Web3SigningCredentialCactiKeychainRef.md) + - [Web3SigningCredentialGethKeychainPassword](docs/Web3SigningCredentialGethKeychainPassword.md) + - [Web3SigningCredentialNone](docs/Web3SigningCredentialNone.md) + - [Web3SigningCredentialPrivateKeyHex](docs/Web3SigningCredentialPrivateKeyHex.md) + - [Web3SigningCredentialType](docs/Web3SigningCredentialType.md) + - [Web3Transaction](docs/Web3Transaction.md) + - [Web3TransactionReceipt](docs/Web3TransactionReceipt.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..6c856276955 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,1013 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on a Ethereum ledger + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cacti Plugin - Connector Ethereum + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/deploy-contract: + post: + operationId: deployContract + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Deploys the contract to ethereum ledger. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/deploy-contract + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/run-transaction: + post: + operationId: runTransactionV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Executes a transaction on a ethereum ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/run-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-contract: + post: + operationId: invokeContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Invokes a contract on an ethereum ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-contract + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/get-prometheus-exporter-metrics + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-raw-web3eth-method: + post: + operationId: invokeWeb3EthMethodV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeRawWeb3EthMethodV1Request' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/InvokeRawWeb3EthMethodV1Response' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Invoke any method from web3.eth (low-level) + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-raw-web3eth-method + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-raw-web3eth-contract: + post: + operationId: invokeRawWeb3EthContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeRawWeb3EthContractV1Request' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/InvokeRawWeb3EthContractV1Response' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Low-level endpoint to invoke a method on deployed contract. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-raw-web3eth-contract + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/json-rpc: + summary: Proxy endpoint to pass JSON-RPC requests to remote ethereum node. +components: + schemas: + Web3SigningCredential: + discriminator: + propertyName: type + example: + type: null + oneOf: + - $ref: '#/components/schemas/Web3SigningCredentialGethKeychainPassword' + - $ref: '#/components/schemas/Web3SigningCredentialCactiKeychainRef' + - $ref: '#/components/schemas/Web3SigningCredentialPrivateKeyHex' + - $ref: '#/components/schemas/Web3SigningCredentialNone' + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialGethKeychainPassword: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 66 + minLength: 66 + nullable: false + type: string + secret: + description: A geth keychain unlock password. + maxLength: 65535 + minLength: 0 + type: string + required: + - ethAccount + - secret + - type + type: object + Web3SigningCredentialCactiKeychainRef: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 66 + minLength: 66 + nullable: false + type: string + keychainEntryKey: + description: The key to use when looking up the the keychain entry holding + the secret pointed to by the keychainEntryKey parameter. + maxLength: 1024 + minLength: 0 + type: string + keychainId: + description: The keychain ID to use when looking up the the keychain plugin + instance that will be used to retrieve the secret pointed to by the keychainEntryKey + parameter. + maxLength: 1024 + minLength: 0 + type: string + required: + - ethAccount + - keychainEntryKey + - type + type: object + Web3SigningCredentialPrivateKeyHex: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 66 + minLength: 66 + nullable: false + type: string + secret: + description: The HEX encoded private key of an eth account. + maxLength: 65535 + minLength: 0 + type: string + required: + - ethAccount + - secret + - type + type: object + Web3SigningCredentialNone: + description: Using this denotes that there is no signing required because the + transaction is pre-signed. + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialType: + enum: + - CACTI_KEYCHAIN_REF + - GETH_KEYCHAIN_PASSWORD + - PRIVATE_KEY_HEX + - NONE + type: string + EthContractInvocationType: + enum: + - SEND + - CALL + type: string + EthContractInvocationWeb3Method: + enum: + - send + - call + - encodeABI + - estimateGas + type: string + GasTransactionConfigLegacy: + description: Transaction gas settings in networks before EIP-1559 (London fork). + properties: + gas: + description: A maximum amount of gas a user is willing to provide for the + execution of the transaction. (gasLimit) + type: string + gasPrice: + description: "A price (in Wei) a user is willing to pay for each unit of\ + \ gas used during the execution of the transaction. In EIP-1559 (London\ + \ fork) networks, it will be set as both maxFeePerGas and maxPriorityFeePerGas." + type: string + type: object + GasTransactionConfigEIP1559: + description: Transaction gas settings in networks after EIP-1559 (London fork). + properties: + gasLimit: + description: A maximum amount of gas a user is willing to provide for the + execution of the transaction. + nullable: false + type: string + maxFeePerGas: + description: A maximum fee (including the base fee and the tip) a user is + willing to pay per unit of gas. + nullable: false + type: string + maxPriorityFeePerGas: + description: A maximum tip amount a user is willing to pay per unit of gas. + nullable: false + type: string + type: object + GasTransactionConfig: + description: Transaction gas settings. + oneOf: + - $ref: '#/components/schemas/GasTransactionConfigLegacy' + - $ref: '#/components/schemas/GasTransactionConfigEIP1559' + type: object + EthereumTransactionConfig: + example: + gasConfig: null + rawTransaction: rawTransaction + data: data + from: from + to: to + value: value + nonce: nonce + properties: + rawTransaction: + nullable: false + type: string + from: + type: string + to: + type: string + value: + type: string + nonce: + type: string + data: + type: string + gasConfig: + $ref: '#/components/schemas/GasTransactionConfig' + type: object + Web3TransactionReceipt: + additionalProperties: true + example: + blockHash: blockHash + logsBloom: logsBloom + contractAddress: contractAddress + transactionIndex: transactionIndex + commitmentHash: commitmentHash + type: type + transactionHash: transactionHash + output: output + gasUsed: gasUsed + blockNumber: blockNumber + cumulativeGasUsed: cumulativeGasUsed + from: from + to: to + revertReason: revertReason + effectiveGasPrice: effectiveGasPrice + logs: + - "" + - "" + status: true + properties: + status: + nullable: false + type: boolean + transactionHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + transactionIndex: + nullable: false + type: string + blockHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + blockNumber: + nullable: false + type: string + gasUsed: + nullable: false + type: string + effectiveGasPrice: + nullable: false + type: string + contractAddress: + nullable: true + type: string + from: + nullable: false + type: string + to: + nullable: false + type: string + logs: + default: [] + items: {} + nullable: false + type: array + logsBloom: + nullable: false + type: string + revertReason: + nullable: false + type: string + output: + nullable: false + type: string + commitmentHash: + nullable: false + type: string + cumulativeGasUsed: + nullable: false + type: string + type: + nullable: false + type: string + required: + - blockHash + - blockNumber + - from + - gasUsed + - status + - to + - transactionHash + - transactionIndex + type: object + ContractJSON: + additionalProperties: true + properties: + contractName: + nullable: false + type: string + bytecode: + description: See https://ethereum.stackexchange.com/a/47556 regarding the + maximum length of the bytecode + maxLength: 24576 + minLength: 1 + nullable: false + type: string + abi: + description: "The application binary interface of the solidity contract,\ + \ optional parameter" + items: {} + nullable: false + type: array + metadata: + type: string + deployedBytecode: + type: string + sourceMap: + type: string + deployedSourceMap: + type: string + sourcePath: + type: string + compiler: + type: object + networks: + type: object + ast: + type: object + functionHashes: + type: object + gasEstimates: + type: object + required: + - abi + - bytecode + - contractName + type: object + ContractJsonDefinition: + additionalProperties: false + properties: + contractJSON: + $ref: '#/components/schemas/ContractJSON' + required: + - contractJSON + type: object + DeployedContractJsonDefinition: + additionalProperties: false + properties: + contractJSON: + $ref: '#/components/schemas/ContractJSON' + contractAddress: + nullable: false + type: string + required: + - contractAddress + - contractJSON + type: object + ContractKeychainDefinition: + additionalProperties: false + properties: + contractName: + description: The contract name for retrieve the contracts json on the keychain. + maxLength: 100 + minLength: 1 + nullable: false + type: string + keychainId: + description: The keychainId for retrieve the contracts json. + maxLength: 100 + minLength: 1 + nullable: false + type: string + required: + - contractName + - keychainId + type: object + RunTransactionRequest: + additionalProperties: false + example: + timeoutMs: 0.08008281904610115 + transactionConfig: + gasConfig: null + rawTransaction: rawTransaction + data: data + from: from + to: to + value: value + nonce: nonce + web3SigningCredential: + type: null + properties: + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + transactionConfig: + $ref: '#/components/schemas/EthereumTransactionConfig' + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + with thehash of the transaction(which indicates successful execution) + beforegiving up and crashing. + minimum: 0 + nullable: false + type: number + required: + - transactionConfig + - web3SigningCredential + type: object + RunTransactionResponse: + example: + transactionReceipt: + blockHash: blockHash + logsBloom: logsBloom + contractAddress: contractAddress + transactionIndex: transactionIndex + commitmentHash: commitmentHash + type: type + transactionHash: transactionHash + output: output + gasUsed: gasUsed + blockNumber: blockNumber + cumulativeGasUsed: cumulativeGasUsed + from: from + to: to + revertReason: revertReason + effectiveGasPrice: effectiveGasPrice + logs: + - "" + - "" + status: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + required: + - transactionReceipt + type: object + DeployContractV1Request: + additionalProperties: false + example: + gasConfig: null + constructorArgs: + - "" + - "" + contract: null + web3SigningCredential: + type: null + value: value + properties: + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + contract: + $ref: '#/components/schemas/DeployContractV1Request_contract' + constructorArgs: + default: [] + description: The list of arguments to pass in to the constructor of the + contract being deployed. + items: {} + type: array + gasConfig: + $ref: '#/components/schemas/GasTransactionConfig' + value: + description: Ether balance to send on deployment. + nullable: false + type: string + required: + - contract + - web3SigningCredential + type: object + InvokeContractV1Request: + additionalProperties: false + example: + gasConfig: null + invocationType: null + timeoutMs: 0.08008281904610115 + contract: null + methodName: methodName + web3SigningCredential: + type: null + params: + - "" + - "" + value: value + properties: + contract: + $ref: '#/components/schemas/InvokeContractV1Request_contract' + methodName: + description: The name of the contract method to invoke. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + params: + default: [] + description: The list of arguments to pass in to the contract method being + invoked. + items: {} + type: array + invocationType: + $ref: '#/components/schemas/EthContractInvocationType' + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + gasConfig: + $ref: '#/components/schemas/GasTransactionConfig' + value: + type: string + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + before returning an error. Only has any effect if the invocation type + is SEND + minimum: 0 + nullable: false + type: number + required: + - contract + - invocationType + - methodName + - params + type: object + InvokeContractV1Response: + example: + transactionReceipt: + blockHash: blockHash + logsBloom: logsBloom + contractAddress: contractAddress + transactionIndex: transactionIndex + commitmentHash: commitmentHash + type: type + transactionHash: transactionHash + output: output + gasUsed: gasUsed + blockNumber: blockNumber + cumulativeGasUsed: cumulativeGasUsed + from: from + to: to + revertReason: revertReason + effectiveGasPrice: effectiveGasPrice + logs: + - "" + - "" + status: true + callOutput: "" + success: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + callOutput: {} + success: + nullable: false + type: boolean + required: + - success + type: object + InvokeRawWeb3EthMethodV1Request: + additionalProperties: false + example: + methodName: methodName + params: + - "" + - "" + properties: + methodName: + description: The name of the web3.eth method to invoke + maxLength: 2048 + minLength: 1 + nullable: false + type: string + params: + default: [] + description: The list of arguments to pass to web3.eth method specified + in methodName + items: {} + type: array + required: + - methodName + type: object + InvokeRawWeb3EthMethodV1Response: + additionalProperties: false + example: + data: "" + errorDetail: errorDetail + status: 0.8008281904610115 + properties: + status: + description: Status code of the operation + nullable: false + type: number + data: + description: Output of requested web3.eth method + errorDetail: + description: Error details + nullable: false + type: string + required: + - status + type: object + InvokeRawWeb3EthContractV1Request: + additionalProperties: false + example: + invocationType: null + address: address + abi: "" + contractMethodArgs: + - "" + - "" + contractMethod: contractMethod + invocationParams: "{}" + properties: + abi: + description: The application binary interface of the solidity contract + address: + description: Deployed solidity contract address + type: string + invocationType: + $ref: '#/components/schemas/EthContractInvocationWeb3Method' + invocationParams: + default: {} + description: "The list of arguments for contract invocation method (send,\ + \ call, etc...)" + type: object + contractMethod: + description: Method of deployed solidity contract to execute + type: string + contractMethodArgs: + default: [] + description: The list of arguments for deployed solidity contract method + items: {} + type: array + required: + - abi + - address + - contractMethod + - invocationType + type: object + InvokeRawWeb3EthContractV1Response: + additionalProperties: false + example: + data: "" + errorDetail: errorDetail + status: 0.8008281904610115 + properties: + status: + description: Status code of the operation + type: number + data: + description: Output of contract invocation method + errorDetail: + description: Error details + type: string + required: + - status + type: object + PrometheusExporterMetricsResponse: + nullable: false + type: string + WatchBlocksV1: + enum: + - org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Subscribe + - org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Next + - org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Unsubscribe + - org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Error + - org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Complete + type: string + x-enum-varnames: + - Subscribe + - Next + - Unsubscribe + - Error + - Complete + WatchBlocksV1Options: + properties: + getBlockData: + default: false + description: "Include entire block data if flag is true, otherwise just\ + \ a header is returned (default)" + type: boolean + lastSeenBlock: + description: Block from which we want to start the monitoring process. + type: number + httpPollInterval: + description: How often to poll ethereum node for new blocks. Not used if + the node supports subscription based monitoring (i.e. WebSocket). + type: number + type: object + Web3BlockHeader: + properties: + number: + type: string + parentHash: + type: string + sha3Uncles: + type: string + transactionsRoot: + type: string + receiptsRoot: + type: string + difficulty: + type: string + mixHash: + type: string + miner: + type: string + gasLimit: + type: string + gasUsed: + type: string + stateRoot: + type: string + logsBloom: + type: string + extraData: + type: string + nonce: + type: string + timestamp: + type: string + required: + - gasLimit + - gasUsed + - sha3Uncles + - transactionRoot + type: object + Web3Transaction: + properties: + hash: + type: string + nonce: + type: string + blockHash: + type: string + blockNumber: + type: string + transactionIndex: + type: string + from: + type: string + to: + type: string + value: + type: string + gasPrice: + type: string + gas: + type: string + input: + type: string + type: + type: string + chainId: + type: string + v: + type: string + r: + type: string + s: + type: string + required: + - blockHash + - blockNumber + - chainId + - from + - gas + - gasPrice + - hash + - input + - nonce + - to + - transactionIndex + - type + - value + type: object + WatchBlocksV1BlockData: + properties: + number: + type: string + hash: + type: string + parentHash: + type: string + nonce: + type: string + sha3Uncles: + type: string + logsBloom: + type: string + transactionsRoot: + type: string + stateRoot: + type: string + receiptsRoot: + type: string + difficulty: + type: string + mixHash: + type: string + miner: + type: string + extraData: + type: string + gasLimit: + type: string + gasUsed: + type: string + timestamp: + $ref: '#/components/schemas/WatchBlocksV1BlockData_timestamp' + size: + type: string + totalDifficulty: + type: string + uncles: + items: + type: string + type: array + baseFeePerGas: + type: string + transactions: + items: + $ref: '#/components/schemas/Web3Transaction' + type: array + required: + - extraData + - gasLimit + - gasUsed + - miner + - nonce + - number + - parentHash + - receiptRoot + - sha3Uncles + - size + - stateRoot + - timestamp + - totalDifficulty + - transactionRoot + - transactions + - uncles + type: object + WatchBlocksV1Progress: + properties: + blockHeader: + $ref: '#/components/schemas/Web3BlockHeader' + blockData: + $ref: '#/components/schemas/WatchBlocksV1BlockData' + type: object + ErrorExceptionResponseV1: + description: Error response from the connector. + properties: + message: + description: Short error description message. + nullable: false + type: string + error: + description: Detailed error information. + nullable: false + type: string + required: + - error + - message + type: object + DeployContractV1Request_contract: + nullable: false + oneOf: + - $ref: '#/components/schemas/ContractJsonDefinition' + - $ref: '#/components/schemas/ContractKeychainDefinition' + InvokeContractV1Request_contract: + nullable: false + oneOf: + - $ref: '#/components/schemas/DeployedContractJsonDefinition' + - $ref: '#/components/schemas/ContractKeychainDefinition' + WatchBlocksV1BlockData_timestamp: + oneOf: + - type: string + - type: number diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..00237ebbaad --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,695 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeployContractRequest struct { + ctx context.Context + ApiService *DefaultApiService + deployContractV1Request *DeployContractV1Request +} + +func (r ApiDeployContractRequest) DeployContractV1Request(deployContractV1Request DeployContractV1Request) ApiDeployContractRequest { + r.deployContractV1Request = &deployContractV1Request + return r +} + +func (r ApiDeployContractRequest) Execute() (*RunTransactionResponse, *http.Response, error) { + return r.ApiService.DeployContractExecute(r) +} + +/* +DeployContract Deploys the contract to ethereum ledger. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractRequest +*/ +func (a *DefaultApiService) DeployContract(ctx context.Context) ApiDeployContractRequest { + return ApiDeployContractRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionResponse +func (a *DefaultApiService) DeployContractExecute(r ApiDeployContractRequest) (*RunTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContract") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/deploy-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + invokeContractV1Request *InvokeContractV1Request +} + +func (r ApiInvokeContractV1Request) InvokeContractV1Request(invokeContractV1Request InvokeContractV1Request) ApiInvokeContractV1Request { + r.invokeContractV1Request = &invokeContractV1Request + return r +} + +func (r ApiInvokeContractV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.InvokeContractV1Execute(r) +} + +/* +InvokeContractV1 Invokes a contract on an ethereum ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeContractV1Request +*/ +func (a *DefaultApiService) InvokeContractV1(ctx context.Context) ApiInvokeContractV1Request { + return ApiInvokeContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) InvokeContractV1Execute(r ApiInvokeContractV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeRawWeb3EthContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + invokeRawWeb3EthContractV1Request *InvokeRawWeb3EthContractV1Request +} + +func (r ApiInvokeRawWeb3EthContractV1Request) InvokeRawWeb3EthContractV1Request(invokeRawWeb3EthContractV1Request InvokeRawWeb3EthContractV1Request) ApiInvokeRawWeb3EthContractV1Request { + r.invokeRawWeb3EthContractV1Request = &invokeRawWeb3EthContractV1Request + return r +} + +func (r ApiInvokeRawWeb3EthContractV1Request) Execute() (*InvokeRawWeb3EthContractV1Response, *http.Response, error) { + return r.ApiService.InvokeRawWeb3EthContractV1Execute(r) +} + +/* +InvokeRawWeb3EthContractV1 Low-level endpoint to invoke a method on deployed contract. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeRawWeb3EthContractV1Request +*/ +func (a *DefaultApiService) InvokeRawWeb3EthContractV1(ctx context.Context) ApiInvokeRawWeb3EthContractV1Request { + return ApiInvokeRawWeb3EthContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeRawWeb3EthContractV1Response +func (a *DefaultApiService) InvokeRawWeb3EthContractV1Execute(r ApiInvokeRawWeb3EthContractV1Request) (*InvokeRawWeb3EthContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeRawWeb3EthContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeRawWeb3EthContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-raw-web3eth-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeRawWeb3EthContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeWeb3EthMethodV1Request struct { + ctx context.Context + ApiService *DefaultApiService + invokeRawWeb3EthMethodV1Request *InvokeRawWeb3EthMethodV1Request +} + +func (r ApiInvokeWeb3EthMethodV1Request) InvokeRawWeb3EthMethodV1Request(invokeRawWeb3EthMethodV1Request InvokeRawWeb3EthMethodV1Request) ApiInvokeWeb3EthMethodV1Request { + r.invokeRawWeb3EthMethodV1Request = &invokeRawWeb3EthMethodV1Request + return r +} + +func (r ApiInvokeWeb3EthMethodV1Request) Execute() (*InvokeRawWeb3EthMethodV1Response, *http.Response, error) { + return r.ApiService.InvokeWeb3EthMethodV1Execute(r) +} + +/* +InvokeWeb3EthMethodV1 Invoke any method from web3.eth (low-level) + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeWeb3EthMethodV1Request +*/ +func (a *DefaultApiService) InvokeWeb3EthMethodV1(ctx context.Context) ApiInvokeWeb3EthMethodV1Request { + return ApiInvokeWeb3EthMethodV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeRawWeb3EthMethodV1Response +func (a *DefaultApiService) InvokeWeb3EthMethodV1Execute(r ApiInvokeWeb3EthMethodV1Request) (*InvokeRawWeb3EthMethodV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeRawWeb3EthMethodV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeWeb3EthMethodV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/invoke-raw-web3eth-method" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeRawWeb3EthMethodV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRunTransactionV1Request struct { + ctx context.Context + ApiService *DefaultApiService + runTransactionRequest *RunTransactionRequest +} + +func (r ApiRunTransactionV1Request) RunTransactionRequest(runTransactionRequest RunTransactionRequest) ApiRunTransactionV1Request { + r.runTransactionRequest = &runTransactionRequest + return r +} + +func (r ApiRunTransactionV1Request) Execute() (*RunTransactionResponse, *http.Response, error) { + return r.ApiService.RunTransactionV1Execute(r) +} + +/* +RunTransactionV1 Executes a transaction on a ethereum ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRunTransactionV1Request +*/ +func (a *DefaultApiService) RunTransactionV1(ctx context.Context) ApiRunTransactionV1Request { + return ApiRunTransactionV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionResponse +func (a *DefaultApiService) RunTransactionV1Execute(r ApiRunTransactionV1Request) (*RunTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RunTransactionV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-ethereum/run-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..c4ba49d686c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cacti Plugin - Connector Ethereum API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..5c2b985418e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..614c6075bd3 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_contract_json.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_contract_json.go new file mode 100644 index 00000000000..e9b2b4ad502 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_contract_json.go @@ -0,0 +1,570 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the ContractJSON type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ContractJSON{} + +// ContractJSON struct for ContractJSON +type ContractJSON struct { + ContractName string `json:"contractName"` + // See https://ethereum.stackexchange.com/a/47556 regarding the maximum length of the bytecode + Bytecode string `json:"bytecode"` + // The application binary interface of the solidity contract, optional parameter + Abi []interface{} `json:"abi"` + Metadata *string `json:"metadata,omitempty"` + DeployedBytecode *string `json:"deployedBytecode,omitempty"` + SourceMap *string `json:"sourceMap,omitempty"` + DeployedSourceMap *string `json:"deployedSourceMap,omitempty"` + SourcePath *string `json:"sourcePath,omitempty"` + Compiler map[string]interface{} `json:"compiler,omitempty"` + Networks map[string]interface{} `json:"networks,omitempty"` + Ast map[string]interface{} `json:"ast,omitempty"` + FunctionHashes map[string]interface{} `json:"functionHashes,omitempty"` + GasEstimates map[string]interface{} `json:"gasEstimates,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ContractJSON ContractJSON + +// NewContractJSON instantiates a new ContractJSON object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewContractJSON(contractName string, bytecode string, abi []interface{}) *ContractJSON { + this := ContractJSON{} + this.ContractName = contractName + this.Bytecode = bytecode + this.Abi = abi + return &this +} + +// NewContractJSONWithDefaults instantiates a new ContractJSON object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewContractJSONWithDefaults() *ContractJSON { + this := ContractJSON{} + return &this +} + +// GetContractName returns the ContractName field value +func (o *ContractJSON) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *ContractJSON) SetContractName(v string) { + o.ContractName = v +} + +// GetBytecode returns the Bytecode field value +func (o *ContractJSON) GetBytecode() string { + if o == nil { + var ret string + return ret + } + + return o.Bytecode +} + +// GetBytecodeOk returns a tuple with the Bytecode field value +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetBytecodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Bytecode, true +} + +// SetBytecode sets field value +func (o *ContractJSON) SetBytecode(v string) { + o.Bytecode = v +} + +// GetAbi returns the Abi field value +func (o *ContractJSON) GetAbi() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Abi +} + +// GetAbiOk returns a tuple with the Abi field value +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetAbiOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Abi, true +} + +// SetAbi sets field value +func (o *ContractJSON) SetAbi(v []interface{}) { + o.Abi = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise. +func (o *ContractJSON) GetMetadata() string { + if o == nil || IsNil(o.Metadata) { + var ret string + return ret + } + return *o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetMetadataOk() (*string, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *ContractJSON) HasMetadata() bool { + if o != nil && !IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given string and assigns it to the Metadata field. +func (o *ContractJSON) SetMetadata(v string) { + o.Metadata = &v +} + +// GetDeployedBytecode returns the DeployedBytecode field value if set, zero value otherwise. +func (o *ContractJSON) GetDeployedBytecode() string { + if o == nil || IsNil(o.DeployedBytecode) { + var ret string + return ret + } + return *o.DeployedBytecode +} + +// GetDeployedBytecodeOk returns a tuple with the DeployedBytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetDeployedBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.DeployedBytecode) { + return nil, false + } + return o.DeployedBytecode, true +} + +// HasDeployedBytecode returns a boolean if a field has been set. +func (o *ContractJSON) HasDeployedBytecode() bool { + if o != nil && !IsNil(o.DeployedBytecode) { + return true + } + + return false +} + +// SetDeployedBytecode gets a reference to the given string and assigns it to the DeployedBytecode field. +func (o *ContractJSON) SetDeployedBytecode(v string) { + o.DeployedBytecode = &v +} + +// GetSourceMap returns the SourceMap field value if set, zero value otherwise. +func (o *ContractJSON) GetSourceMap() string { + if o == nil || IsNil(o.SourceMap) { + var ret string + return ret + } + return *o.SourceMap +} + +// GetSourceMapOk returns a tuple with the SourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.SourceMap) { + return nil, false + } + return o.SourceMap, true +} + +// HasSourceMap returns a boolean if a field has been set. +func (o *ContractJSON) HasSourceMap() bool { + if o != nil && !IsNil(o.SourceMap) { + return true + } + + return false +} + +// SetSourceMap gets a reference to the given string and assigns it to the SourceMap field. +func (o *ContractJSON) SetSourceMap(v string) { + o.SourceMap = &v +} + +// GetDeployedSourceMap returns the DeployedSourceMap field value if set, zero value otherwise. +func (o *ContractJSON) GetDeployedSourceMap() string { + if o == nil || IsNil(o.DeployedSourceMap) { + var ret string + return ret + } + return *o.DeployedSourceMap +} + +// GetDeployedSourceMapOk returns a tuple with the DeployedSourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetDeployedSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.DeployedSourceMap) { + return nil, false + } + return o.DeployedSourceMap, true +} + +// HasDeployedSourceMap returns a boolean if a field has been set. +func (o *ContractJSON) HasDeployedSourceMap() bool { + if o != nil && !IsNil(o.DeployedSourceMap) { + return true + } + + return false +} + +// SetDeployedSourceMap gets a reference to the given string and assigns it to the DeployedSourceMap field. +func (o *ContractJSON) SetDeployedSourceMap(v string) { + o.DeployedSourceMap = &v +} + +// GetSourcePath returns the SourcePath field value if set, zero value otherwise. +func (o *ContractJSON) GetSourcePath() string { + if o == nil || IsNil(o.SourcePath) { + var ret string + return ret + } + return *o.SourcePath +} + +// GetSourcePathOk returns a tuple with the SourcePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetSourcePathOk() (*string, bool) { + if o == nil || IsNil(o.SourcePath) { + return nil, false + } + return o.SourcePath, true +} + +// HasSourcePath returns a boolean if a field has been set. +func (o *ContractJSON) HasSourcePath() bool { + if o != nil && !IsNil(o.SourcePath) { + return true + } + + return false +} + +// SetSourcePath gets a reference to the given string and assigns it to the SourcePath field. +func (o *ContractJSON) SetSourcePath(v string) { + o.SourcePath = &v +} + +// GetCompiler returns the Compiler field value if set, zero value otherwise. +func (o *ContractJSON) GetCompiler() map[string]interface{} { + if o == nil || IsNil(o.Compiler) { + var ret map[string]interface{} + return ret + } + return o.Compiler +} + +// GetCompilerOk returns a tuple with the Compiler field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetCompilerOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Compiler) { + return map[string]interface{}{}, false + } + return o.Compiler, true +} + +// HasCompiler returns a boolean if a field has been set. +func (o *ContractJSON) HasCompiler() bool { + if o != nil && !IsNil(o.Compiler) { + return true + } + + return false +} + +// SetCompiler gets a reference to the given map[string]interface{} and assigns it to the Compiler field. +func (o *ContractJSON) SetCompiler(v map[string]interface{}) { + o.Compiler = v +} + +// GetNetworks returns the Networks field value if set, zero value otherwise. +func (o *ContractJSON) GetNetworks() map[string]interface{} { + if o == nil || IsNil(o.Networks) { + var ret map[string]interface{} + return ret + } + return o.Networks +} + +// GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetNetworksOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Networks) { + return map[string]interface{}{}, false + } + return o.Networks, true +} + +// HasNetworks returns a boolean if a field has been set. +func (o *ContractJSON) HasNetworks() bool { + if o != nil && !IsNil(o.Networks) { + return true + } + + return false +} + +// SetNetworks gets a reference to the given map[string]interface{} and assigns it to the Networks field. +func (o *ContractJSON) SetNetworks(v map[string]interface{}) { + o.Networks = v +} + +// GetAst returns the Ast field value if set, zero value otherwise. +func (o *ContractJSON) GetAst() map[string]interface{} { + if o == nil || IsNil(o.Ast) { + var ret map[string]interface{} + return ret + } + return o.Ast +} + +// GetAstOk returns a tuple with the Ast field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetAstOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Ast) { + return map[string]interface{}{}, false + } + return o.Ast, true +} + +// HasAst returns a boolean if a field has been set. +func (o *ContractJSON) HasAst() bool { + if o != nil && !IsNil(o.Ast) { + return true + } + + return false +} + +// SetAst gets a reference to the given map[string]interface{} and assigns it to the Ast field. +func (o *ContractJSON) SetAst(v map[string]interface{}) { + o.Ast = v +} + +// GetFunctionHashes returns the FunctionHashes field value if set, zero value otherwise. +func (o *ContractJSON) GetFunctionHashes() map[string]interface{} { + if o == nil || IsNil(o.FunctionHashes) { + var ret map[string]interface{} + return ret + } + return o.FunctionHashes +} + +// GetFunctionHashesOk returns a tuple with the FunctionHashes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetFunctionHashesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.FunctionHashes) { + return map[string]interface{}{}, false + } + return o.FunctionHashes, true +} + +// HasFunctionHashes returns a boolean if a field has been set. +func (o *ContractJSON) HasFunctionHashes() bool { + if o != nil && !IsNil(o.FunctionHashes) { + return true + } + + return false +} + +// SetFunctionHashes gets a reference to the given map[string]interface{} and assigns it to the FunctionHashes field. +func (o *ContractJSON) SetFunctionHashes(v map[string]interface{}) { + o.FunctionHashes = v +} + +// GetGasEstimates returns the GasEstimates field value if set, zero value otherwise. +func (o *ContractJSON) GetGasEstimates() map[string]interface{} { + if o == nil || IsNil(o.GasEstimates) { + var ret map[string]interface{} + return ret + } + return o.GasEstimates +} + +// GetGasEstimatesOk returns a tuple with the GasEstimates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetGasEstimatesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.GasEstimates) { + return map[string]interface{}{}, false + } + return o.GasEstimates, true +} + +// HasGasEstimates returns a boolean if a field has been set. +func (o *ContractJSON) HasGasEstimates() bool { + if o != nil && !IsNil(o.GasEstimates) { + return true + } + + return false +} + +// SetGasEstimates gets a reference to the given map[string]interface{} and assigns it to the GasEstimates field. +func (o *ContractJSON) SetGasEstimates(v map[string]interface{}) { + o.GasEstimates = v +} + +func (o ContractJSON) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ContractJSON) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + toSerialize["bytecode"] = o.Bytecode + toSerialize["abi"] = o.Abi + if !IsNil(o.Metadata) { + toSerialize["metadata"] = o.Metadata + } + if !IsNil(o.DeployedBytecode) { + toSerialize["deployedBytecode"] = o.DeployedBytecode + } + if !IsNil(o.SourceMap) { + toSerialize["sourceMap"] = o.SourceMap + } + if !IsNil(o.DeployedSourceMap) { + toSerialize["deployedSourceMap"] = o.DeployedSourceMap + } + if !IsNil(o.SourcePath) { + toSerialize["sourcePath"] = o.SourcePath + } + if !IsNil(o.Compiler) { + toSerialize["compiler"] = o.Compiler + } + if !IsNil(o.Networks) { + toSerialize["networks"] = o.Networks + } + if !IsNil(o.Ast) { + toSerialize["ast"] = o.Ast + } + if !IsNil(o.FunctionHashes) { + toSerialize["functionHashes"] = o.FunctionHashes + } + if !IsNil(o.GasEstimates) { + toSerialize["gasEstimates"] = o.GasEstimates + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ContractJSON) UnmarshalJSON(bytes []byte) (err error) { + varContractJSON := _ContractJSON{} + + if err = json.Unmarshal(bytes, &varContractJSON); err == nil { + *o = ContractJSON(varContractJSON) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "contractName") + delete(additionalProperties, "bytecode") + delete(additionalProperties, "abi") + delete(additionalProperties, "metadata") + delete(additionalProperties, "deployedBytecode") + delete(additionalProperties, "sourceMap") + delete(additionalProperties, "deployedSourceMap") + delete(additionalProperties, "sourcePath") + delete(additionalProperties, "compiler") + delete(additionalProperties, "networks") + delete(additionalProperties, "ast") + delete(additionalProperties, "functionHashes") + delete(additionalProperties, "gasEstimates") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableContractJSON struct { + value *ContractJSON + isSet bool +} + +func (v NullableContractJSON) Get() *ContractJSON { + return v.value +} + +func (v *NullableContractJSON) Set(val *ContractJSON) { + v.value = val + v.isSet = true +} + +func (v NullableContractJSON) IsSet() bool { + return v.isSet +} + +func (v *NullableContractJSON) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableContractJSON(val *ContractJSON) *NullableContractJSON { + return &NullableContractJSON{value: val, isSet: true} +} + +func (v NullableContractJSON) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableContractJSON) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_contract_json_definition.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_contract_json_definition.go new file mode 100644 index 00000000000..021a1114cab --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_contract_json_definition.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the ContractJsonDefinition type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ContractJsonDefinition{} + +// ContractJsonDefinition struct for ContractJsonDefinition +type ContractJsonDefinition struct { + ContractJSON ContractJSON `json:"contractJSON"` +} + +// NewContractJsonDefinition instantiates a new ContractJsonDefinition object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewContractJsonDefinition(contractJSON ContractJSON) *ContractJsonDefinition { + this := ContractJsonDefinition{} + this.ContractJSON = contractJSON + return &this +} + +// NewContractJsonDefinitionWithDefaults instantiates a new ContractJsonDefinition object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewContractJsonDefinitionWithDefaults() *ContractJsonDefinition { + this := ContractJsonDefinition{} + return &this +} + +// GetContractJSON returns the ContractJSON field value +func (o *ContractJsonDefinition) GetContractJSON() ContractJSON { + if o == nil { + var ret ContractJSON + return ret + } + + return o.ContractJSON +} + +// GetContractJSONOk returns a tuple with the ContractJSON field value +// and a boolean to check if the value has been set. +func (o *ContractJsonDefinition) GetContractJSONOk() (*ContractJSON, bool) { + if o == nil { + return nil, false + } + return &o.ContractJSON, true +} + +// SetContractJSON sets field value +func (o *ContractJsonDefinition) SetContractJSON(v ContractJSON) { + o.ContractJSON = v +} + +func (o ContractJsonDefinition) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ContractJsonDefinition) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractJSON"] = o.ContractJSON + return toSerialize, nil +} + +type NullableContractJsonDefinition struct { + value *ContractJsonDefinition + isSet bool +} + +func (v NullableContractJsonDefinition) Get() *ContractJsonDefinition { + return v.value +} + +func (v *NullableContractJsonDefinition) Set(val *ContractJsonDefinition) { + v.value = val + v.isSet = true +} + +func (v NullableContractJsonDefinition) IsSet() bool { + return v.isSet +} + +func (v *NullableContractJsonDefinition) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableContractJsonDefinition(val *ContractJsonDefinition) *NullableContractJsonDefinition { + return &NullableContractJsonDefinition{value: val, isSet: true} +} + +func (v NullableContractJsonDefinition) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableContractJsonDefinition) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_contract_keychain_definition.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_contract_keychain_definition.go new file mode 100644 index 00000000000..c069b0a03c7 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_contract_keychain_definition.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the ContractKeychainDefinition type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ContractKeychainDefinition{} + +// ContractKeychainDefinition struct for ContractKeychainDefinition +type ContractKeychainDefinition struct { + // The contract name for retrieve the contracts json on the keychain. + ContractName string `json:"contractName"` + // The keychainId for retrieve the contracts json. + KeychainId string `json:"keychainId"` +} + +// NewContractKeychainDefinition instantiates a new ContractKeychainDefinition object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewContractKeychainDefinition(contractName string, keychainId string) *ContractKeychainDefinition { + this := ContractKeychainDefinition{} + this.ContractName = contractName + this.KeychainId = keychainId + return &this +} + +// NewContractKeychainDefinitionWithDefaults instantiates a new ContractKeychainDefinition object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewContractKeychainDefinitionWithDefaults() *ContractKeychainDefinition { + this := ContractKeychainDefinition{} + return &this +} + +// GetContractName returns the ContractName field value +func (o *ContractKeychainDefinition) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *ContractKeychainDefinition) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *ContractKeychainDefinition) SetContractName(v string) { + o.ContractName = v +} + +// GetKeychainId returns the KeychainId field value +func (o *ContractKeychainDefinition) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *ContractKeychainDefinition) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *ContractKeychainDefinition) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o ContractKeychainDefinition) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ContractKeychainDefinition) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableContractKeychainDefinition struct { + value *ContractKeychainDefinition + isSet bool +} + +func (v NullableContractKeychainDefinition) Get() *ContractKeychainDefinition { + return v.value +} + +func (v *NullableContractKeychainDefinition) Set(val *ContractKeychainDefinition) { + v.value = val + v.isSet = true +} + +func (v NullableContractKeychainDefinition) IsSet() bool { + return v.isSet +} + +func (v *NullableContractKeychainDefinition) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableContractKeychainDefinition(val *ContractKeychainDefinition) *NullableContractKeychainDefinition { + return &NullableContractKeychainDefinition{value: val, isSet: true} +} + +func (v NullableContractKeychainDefinition) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableContractKeychainDefinition) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request.go new file mode 100644 index 00000000000..51e37066ffe --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request.go @@ -0,0 +1,254 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the DeployContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractV1Request{} + +// DeployContractV1Request struct for DeployContractV1Request +type DeployContractV1Request struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + Contract DeployContractV1RequestContract `json:"contract"` + // The list of arguments to pass in to the constructor of the contract being deployed. + ConstructorArgs []interface{} `json:"constructorArgs,omitempty"` + GasConfig *GasTransactionConfig `json:"gasConfig,omitempty"` + // Ether balance to send on deployment. + Value *string `json:"value,omitempty"` +} + +// NewDeployContractV1Request instantiates a new DeployContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractV1Request(web3SigningCredential Web3SigningCredential, contract DeployContractV1RequestContract) *DeployContractV1Request { + this := DeployContractV1Request{} + this.Web3SigningCredential = web3SigningCredential + this.Contract = contract + return &this +} + +// NewDeployContractV1RequestWithDefaults instantiates a new DeployContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractV1RequestWithDefaults() *DeployContractV1Request { + this := DeployContractV1Request{} + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *DeployContractV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *DeployContractV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetContract returns the Contract field value +func (o *DeployContractV1Request) GetContract() DeployContractV1RequestContract { + if o == nil { + var ret DeployContractV1RequestContract + return ret + } + + return o.Contract +} + +// GetContractOk returns a tuple with the Contract field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetContractOk() (*DeployContractV1RequestContract, bool) { + if o == nil { + return nil, false + } + return &o.Contract, true +} + +// SetContract sets field value +func (o *DeployContractV1Request) SetContract(v DeployContractV1RequestContract) { + o.Contract = v +} + +// GetConstructorArgs returns the ConstructorArgs field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetConstructorArgs() []interface{} { + if o == nil || IsNil(o.ConstructorArgs) { + var ret []interface{} + return ret + } + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ConstructorArgs) { + return nil, false + } + return o.ConstructorArgs, true +} + +// HasConstructorArgs returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasConstructorArgs() bool { + if o != nil && !IsNil(o.ConstructorArgs) { + return true + } + + return false +} + +// SetConstructorArgs gets a reference to the given []interface{} and assigns it to the ConstructorArgs field. +func (o *DeployContractV1Request) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +// GetGasConfig returns the GasConfig field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetGasConfig() GasTransactionConfig { + if o == nil || IsNil(o.GasConfig) { + var ret GasTransactionConfig + return ret + } + return *o.GasConfig +} + +// GetGasConfigOk returns a tuple with the GasConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetGasConfigOk() (*GasTransactionConfig, bool) { + if o == nil || IsNil(o.GasConfig) { + return nil, false + } + return o.GasConfig, true +} + +// HasGasConfig returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasGasConfig() bool { + if o != nil && !IsNil(o.GasConfig) { + return true + } + + return false +} + +// SetGasConfig gets a reference to the given GasTransactionConfig and assigns it to the GasConfig field. +func (o *DeployContractV1Request) SetGasConfig(v GasTransactionConfig) { + o.GasConfig = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetValue() string { + if o == nil || IsNil(o.Value) { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetValueOk() (*string, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DeployContractV1Request) SetValue(v string) { + o.Value = &v +} + +func (o DeployContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["contract"] = o.Contract + if !IsNil(o.ConstructorArgs) { + toSerialize["constructorArgs"] = o.ConstructorArgs + } + if !IsNil(o.GasConfig) { + toSerialize["gasConfig"] = o.GasConfig + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + return toSerialize, nil +} + +type NullableDeployContractV1Request struct { + value *DeployContractV1Request + isSet bool +} + +func (v NullableDeployContractV1Request) Get() *DeployContractV1Request { + return v.value +} + +func (v *NullableDeployContractV1Request) Set(val *DeployContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractV1Request(val *DeployContractV1Request) *NullableDeployContractV1Request { + return &NullableDeployContractV1Request{value: val, isSet: true} +} + +func (v NullableDeployContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request_contract.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request_contract.go new file mode 100644 index 00000000000..4ac1c4fa8b5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request_contract.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "fmt" +) + +// DeployContractV1RequestContract - struct for DeployContractV1RequestContract +type DeployContractV1RequestContract struct { + ContractJsonDefinition *ContractJsonDefinition + ContractKeychainDefinition *ContractKeychainDefinition +} + +// ContractJsonDefinitionAsDeployContractV1RequestContract is a convenience function that returns ContractJsonDefinition wrapped in DeployContractV1RequestContract +func ContractJsonDefinitionAsDeployContractV1RequestContract(v *ContractJsonDefinition) DeployContractV1RequestContract { + return DeployContractV1RequestContract{ + ContractJsonDefinition: v, + } +} + +// ContractKeychainDefinitionAsDeployContractV1RequestContract is a convenience function that returns ContractKeychainDefinition wrapped in DeployContractV1RequestContract +func ContractKeychainDefinitionAsDeployContractV1RequestContract(v *ContractKeychainDefinition) DeployContractV1RequestContract { + return DeployContractV1RequestContract{ + ContractKeychainDefinition: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DeployContractV1RequestContract) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into ContractJsonDefinition + err = newStrictDecoder(data).Decode(&dst.ContractJsonDefinition) + if err == nil { + jsonContractJsonDefinition, _ := json.Marshal(dst.ContractJsonDefinition) + if string(jsonContractJsonDefinition) == "{}" { // empty struct + dst.ContractJsonDefinition = nil + } else { + match++ + } + } else { + dst.ContractJsonDefinition = nil + } + + // try to unmarshal data into ContractKeychainDefinition + err = newStrictDecoder(data).Decode(&dst.ContractKeychainDefinition) + if err == nil { + jsonContractKeychainDefinition, _ := json.Marshal(dst.ContractKeychainDefinition) + if string(jsonContractKeychainDefinition) == "{}" { // empty struct + dst.ContractKeychainDefinition = nil + } else { + match++ + } + } else { + dst.ContractKeychainDefinition = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.ContractJsonDefinition = nil + dst.ContractKeychainDefinition = nil + + return fmt.Errorf("data matches more than one schema in oneOf(DeployContractV1RequestContract)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(DeployContractV1RequestContract)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeployContractV1RequestContract) MarshalJSON() ([]byte, error) { + if src.ContractJsonDefinition != nil { + return json.Marshal(&src.ContractJsonDefinition) + } + + if src.ContractKeychainDefinition != nil { + return json.Marshal(&src.ContractKeychainDefinition) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DeployContractV1RequestContract) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.ContractJsonDefinition != nil { + return obj.ContractJsonDefinition + } + + if obj.ContractKeychainDefinition != nil { + return obj.ContractKeychainDefinition + } + + // all schemas are nil + return nil +} + +type NullableDeployContractV1RequestContract struct { + value *DeployContractV1RequestContract + isSet bool +} + +func (v NullableDeployContractV1RequestContract) Get() *DeployContractV1RequestContract { + return v.value +} + +func (v *NullableDeployContractV1RequestContract) Set(val *DeployContractV1RequestContract) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractV1RequestContract) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractV1RequestContract) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractV1RequestContract(val *DeployContractV1RequestContract) *NullableDeployContractV1RequestContract { + return &NullableDeployContractV1RequestContract{value: val, isSet: true} +} + +func (v NullableDeployContractV1RequestContract) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractV1RequestContract) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_deployed_contract_json_definition.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_deployed_contract_json_definition.go new file mode 100644 index 00000000000..34f50ff5790 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_deployed_contract_json_definition.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the DeployedContractJsonDefinition type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployedContractJsonDefinition{} + +// DeployedContractJsonDefinition struct for DeployedContractJsonDefinition +type DeployedContractJsonDefinition struct { + ContractJSON ContractJSON `json:"contractJSON"` + ContractAddress string `json:"contractAddress"` +} + +// NewDeployedContractJsonDefinition instantiates a new DeployedContractJsonDefinition object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployedContractJsonDefinition(contractJSON ContractJSON, contractAddress string) *DeployedContractJsonDefinition { + this := DeployedContractJsonDefinition{} + this.ContractJSON = contractJSON + this.ContractAddress = contractAddress + return &this +} + +// NewDeployedContractJsonDefinitionWithDefaults instantiates a new DeployedContractJsonDefinition object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployedContractJsonDefinitionWithDefaults() *DeployedContractJsonDefinition { + this := DeployedContractJsonDefinition{} + return &this +} + +// GetContractJSON returns the ContractJSON field value +func (o *DeployedContractJsonDefinition) GetContractJSON() ContractJSON { + if o == nil { + var ret ContractJSON + return ret + } + + return o.ContractJSON +} + +// GetContractJSONOk returns a tuple with the ContractJSON field value +// and a boolean to check if the value has been set. +func (o *DeployedContractJsonDefinition) GetContractJSONOk() (*ContractJSON, bool) { + if o == nil { + return nil, false + } + return &o.ContractJSON, true +} + +// SetContractJSON sets field value +func (o *DeployedContractJsonDefinition) SetContractJSON(v ContractJSON) { + o.ContractJSON = v +} + +// GetContractAddress returns the ContractAddress field value +func (o *DeployedContractJsonDefinition) GetContractAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value +// and a boolean to check if the value has been set. +func (o *DeployedContractJsonDefinition) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractAddress, true +} + +// SetContractAddress sets field value +func (o *DeployedContractJsonDefinition) SetContractAddress(v string) { + o.ContractAddress = v +} + +func (o DeployedContractJsonDefinition) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployedContractJsonDefinition) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractJSON"] = o.ContractJSON + toSerialize["contractAddress"] = o.ContractAddress + return toSerialize, nil +} + +type NullableDeployedContractJsonDefinition struct { + value *DeployedContractJsonDefinition + isSet bool +} + +func (v NullableDeployedContractJsonDefinition) Get() *DeployedContractJsonDefinition { + return v.value +} + +func (v *NullableDeployedContractJsonDefinition) Set(val *DeployedContractJsonDefinition) { + v.value = val + v.isSet = true +} + +func (v NullableDeployedContractJsonDefinition) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployedContractJsonDefinition) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployedContractJsonDefinition(val *DeployedContractJsonDefinition) *NullableDeployedContractJsonDefinition { + return &NullableDeployedContractJsonDefinition{value: val, isSet: true} +} + +func (v NullableDeployedContractJsonDefinition) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployedContractJsonDefinition) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go new file mode 100644 index 00000000000..83bcd2be846 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the ErrorExceptionResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ErrorExceptionResponseV1{} + +// ErrorExceptionResponseV1 Error response from the connector. +type ErrorExceptionResponseV1 struct { + // Short error description message. + Message string `json:"message"` + // Detailed error information. + Error string `json:"error"` +} + +// NewErrorExceptionResponseV1 instantiates a new ErrorExceptionResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewErrorExceptionResponseV1(message string, error_ string) *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + this.Message = message + this.Error = error_ + return &this +} + +// NewErrorExceptionResponseV1WithDefaults instantiates a new ErrorExceptionResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewErrorExceptionResponseV1WithDefaults() *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + return &this +} + +// GetMessage returns the Message field value +func (o *ErrorExceptionResponseV1) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *ErrorExceptionResponseV1) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +func (o *ErrorExceptionResponseV1) GetError() string { + if o == nil { + var ret string + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *ErrorExceptionResponseV1) SetError(v string) { + o.Error = v +} + +func (o ErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ErrorExceptionResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error + return toSerialize, nil +} + +type NullableErrorExceptionResponseV1 struct { + value *ErrorExceptionResponseV1 + isSet bool +} + +func (v NullableErrorExceptionResponseV1) Get() *ErrorExceptionResponseV1 { + return v.value +} + +func (v *NullableErrorExceptionResponseV1) Set(val *ErrorExceptionResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableErrorExceptionResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableErrorExceptionResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableErrorExceptionResponseV1(val *ErrorExceptionResponseV1) *NullableErrorExceptionResponseV1 { + return &NullableErrorExceptionResponseV1{value: val, isSet: true} +} + +func (v NullableErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableErrorExceptionResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go new file mode 100644 index 00000000000..6bb3f4a350f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "fmt" +) + +// EthContractInvocationType the model 'EthContractInvocationType' +type EthContractInvocationType string + +// List of EthContractInvocationType +const ( + SEND EthContractInvocationType = "SEND" + CALL EthContractInvocationType = "CALL" +) + +// All allowed values of EthContractInvocationType enum +var AllowedEthContractInvocationTypeEnumValues = []EthContractInvocationType{ + "SEND", + "CALL", +} + +func (v *EthContractInvocationType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := EthContractInvocationType(value) + for _, existing := range AllowedEthContractInvocationTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid EthContractInvocationType", value) +} + +// NewEthContractInvocationTypeFromValue returns a pointer to a valid EthContractInvocationType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEthContractInvocationTypeFromValue(v string) (*EthContractInvocationType, error) { + ev := EthContractInvocationType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for EthContractInvocationType: valid values are %v", v, AllowedEthContractInvocationTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v EthContractInvocationType) IsValid() bool { + for _, existing := range AllowedEthContractInvocationTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to EthContractInvocationType value +func (v EthContractInvocationType) Ptr() *EthContractInvocationType { + return &v +} + +type NullableEthContractInvocationType struct { + value *EthContractInvocationType + isSet bool +} + +func (v NullableEthContractInvocationType) Get() *EthContractInvocationType { + return v.value +} + +func (v *NullableEthContractInvocationType) Set(val *EthContractInvocationType) { + v.value = val + v.isSet = true +} + +func (v NullableEthContractInvocationType) IsSet() bool { + return v.isSet +} + +func (v *NullableEthContractInvocationType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEthContractInvocationType(val *EthContractInvocationType) *NullableEthContractInvocationType { + return &NullableEthContractInvocationType{value: val, isSet: true} +} + +func (v NullableEthContractInvocationType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEthContractInvocationType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_web3_method.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_web3_method.go new file mode 100644 index 00000000000..9a32862a944 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_web3_method.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "fmt" +) + +// EthContractInvocationWeb3Method the model 'EthContractInvocationWeb3Method' +type EthContractInvocationWeb3Method string + +// List of EthContractInvocationWeb3Method +const ( + SEND EthContractInvocationWeb3Method = "send" + CALL EthContractInvocationWeb3Method = "call" + ENCODE_ABI EthContractInvocationWeb3Method = "encodeABI" + ESTIMATE_GAS EthContractInvocationWeb3Method = "estimateGas" +) + +// All allowed values of EthContractInvocationWeb3Method enum +var AllowedEthContractInvocationWeb3MethodEnumValues = []EthContractInvocationWeb3Method{ + "send", + "call", + "encodeABI", + "estimateGas", +} + +func (v *EthContractInvocationWeb3Method) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := EthContractInvocationWeb3Method(value) + for _, existing := range AllowedEthContractInvocationWeb3MethodEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid EthContractInvocationWeb3Method", value) +} + +// NewEthContractInvocationWeb3MethodFromValue returns a pointer to a valid EthContractInvocationWeb3Method +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEthContractInvocationWeb3MethodFromValue(v string) (*EthContractInvocationWeb3Method, error) { + ev := EthContractInvocationWeb3Method(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for EthContractInvocationWeb3Method: valid values are %v", v, AllowedEthContractInvocationWeb3MethodEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v EthContractInvocationWeb3Method) IsValid() bool { + for _, existing := range AllowedEthContractInvocationWeb3MethodEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to EthContractInvocationWeb3Method value +func (v EthContractInvocationWeb3Method) Ptr() *EthContractInvocationWeb3Method { + return &v +} + +type NullableEthContractInvocationWeb3Method struct { + value *EthContractInvocationWeb3Method + isSet bool +} + +func (v NullableEthContractInvocationWeb3Method) Get() *EthContractInvocationWeb3Method { + return v.value +} + +func (v *NullableEthContractInvocationWeb3Method) Set(val *EthContractInvocationWeb3Method) { + v.value = val + v.isSet = true +} + +func (v NullableEthContractInvocationWeb3Method) IsSet() bool { + return v.isSet +} + +func (v *NullableEthContractInvocationWeb3Method) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEthContractInvocationWeb3Method(val *EthContractInvocationWeb3Method) *NullableEthContractInvocationWeb3Method { + return &NullableEthContractInvocationWeb3Method{value: val, isSet: true} +} + +func (v NullableEthContractInvocationWeb3Method) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEthContractInvocationWeb3Method) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_ethereum_transaction_config.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_ethereum_transaction_config.go new file mode 100644 index 00000000000..35bc9f6c8e0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_ethereum_transaction_config.go @@ -0,0 +1,342 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the EthereumTransactionConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &EthereumTransactionConfig{} + +// EthereumTransactionConfig struct for EthereumTransactionConfig +type EthereumTransactionConfig struct { + RawTransaction *string `json:"rawTransaction,omitempty"` + From *string `json:"from,omitempty"` + To *string `json:"to,omitempty"` + Value *string `json:"value,omitempty"` + Nonce *string `json:"nonce,omitempty"` + Data *string `json:"data,omitempty"` + GasConfig *GasTransactionConfig `json:"gasConfig,omitempty"` +} + +// NewEthereumTransactionConfig instantiates a new EthereumTransactionConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEthereumTransactionConfig() *EthereumTransactionConfig { + this := EthereumTransactionConfig{} + return &this +} + +// NewEthereumTransactionConfigWithDefaults instantiates a new EthereumTransactionConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEthereumTransactionConfigWithDefaults() *EthereumTransactionConfig { + this := EthereumTransactionConfig{} + return &this +} + +// GetRawTransaction returns the RawTransaction field value if set, zero value otherwise. +func (o *EthereumTransactionConfig) GetRawTransaction() string { + if o == nil || IsNil(o.RawTransaction) { + var ret string + return ret + } + return *o.RawTransaction +} + +// GetRawTransactionOk returns a tuple with the RawTransaction field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EthereumTransactionConfig) GetRawTransactionOk() (*string, bool) { + if o == nil || IsNil(o.RawTransaction) { + return nil, false + } + return o.RawTransaction, true +} + +// HasRawTransaction returns a boolean if a field has been set. +func (o *EthereumTransactionConfig) HasRawTransaction() bool { + if o != nil && !IsNil(o.RawTransaction) { + return true + } + + return false +} + +// SetRawTransaction gets a reference to the given string and assigns it to the RawTransaction field. +func (o *EthereumTransactionConfig) SetRawTransaction(v string) { + o.RawTransaction = &v +} + +// GetFrom returns the From field value if set, zero value otherwise. +func (o *EthereumTransactionConfig) GetFrom() string { + if o == nil || IsNil(o.From) { + var ret string + return ret + } + return *o.From +} + +// GetFromOk returns a tuple with the From field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EthereumTransactionConfig) GetFromOk() (*string, bool) { + if o == nil || IsNil(o.From) { + return nil, false + } + return o.From, true +} + +// HasFrom returns a boolean if a field has been set. +func (o *EthereumTransactionConfig) HasFrom() bool { + if o != nil && !IsNil(o.From) { + return true + } + + return false +} + +// SetFrom gets a reference to the given string and assigns it to the From field. +func (o *EthereumTransactionConfig) SetFrom(v string) { + o.From = &v +} + +// GetTo returns the To field value if set, zero value otherwise. +func (o *EthereumTransactionConfig) GetTo() string { + if o == nil || IsNil(o.To) { + var ret string + return ret + } + return *o.To +} + +// GetToOk returns a tuple with the To field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EthereumTransactionConfig) GetToOk() (*string, bool) { + if o == nil || IsNil(o.To) { + return nil, false + } + return o.To, true +} + +// HasTo returns a boolean if a field has been set. +func (o *EthereumTransactionConfig) HasTo() bool { + if o != nil && !IsNil(o.To) { + return true + } + + return false +} + +// SetTo gets a reference to the given string and assigns it to the To field. +func (o *EthereumTransactionConfig) SetTo(v string) { + o.To = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *EthereumTransactionConfig) GetValue() string { + if o == nil || IsNil(o.Value) { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EthereumTransactionConfig) GetValueOk() (*string, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *EthereumTransactionConfig) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *EthereumTransactionConfig) SetValue(v string) { + o.Value = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *EthereumTransactionConfig) GetNonce() string { + if o == nil || IsNil(o.Nonce) { + var ret string + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EthereumTransactionConfig) GetNonceOk() (*string, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *EthereumTransactionConfig) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given string and assigns it to the Nonce field. +func (o *EthereumTransactionConfig) SetNonce(v string) { + o.Nonce = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *EthereumTransactionConfig) GetData() string { + if o == nil || IsNil(o.Data) { + var ret string + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EthereumTransactionConfig) GetDataOk() (*string, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *EthereumTransactionConfig) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given string and assigns it to the Data field. +func (o *EthereumTransactionConfig) SetData(v string) { + o.Data = &v +} + +// GetGasConfig returns the GasConfig field value if set, zero value otherwise. +func (o *EthereumTransactionConfig) GetGasConfig() GasTransactionConfig { + if o == nil || IsNil(o.GasConfig) { + var ret GasTransactionConfig + return ret + } + return *o.GasConfig +} + +// GetGasConfigOk returns a tuple with the GasConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EthereumTransactionConfig) GetGasConfigOk() (*GasTransactionConfig, bool) { + if o == nil || IsNil(o.GasConfig) { + return nil, false + } + return o.GasConfig, true +} + +// HasGasConfig returns a boolean if a field has been set. +func (o *EthereumTransactionConfig) HasGasConfig() bool { + if o != nil && !IsNil(o.GasConfig) { + return true + } + + return false +} + +// SetGasConfig gets a reference to the given GasTransactionConfig and assigns it to the GasConfig field. +func (o *EthereumTransactionConfig) SetGasConfig(v GasTransactionConfig) { + o.GasConfig = &v +} + +func (o EthereumTransactionConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o EthereumTransactionConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.RawTransaction) { + toSerialize["rawTransaction"] = o.RawTransaction + } + if !IsNil(o.From) { + toSerialize["from"] = o.From + } + if !IsNil(o.To) { + toSerialize["to"] = o.To + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + if !IsNil(o.GasConfig) { + toSerialize["gasConfig"] = o.GasConfig + } + return toSerialize, nil +} + +type NullableEthereumTransactionConfig struct { + value *EthereumTransactionConfig + isSet bool +} + +func (v NullableEthereumTransactionConfig) Get() *EthereumTransactionConfig { + return v.value +} + +func (v *NullableEthereumTransactionConfig) Set(val *EthereumTransactionConfig) { + v.value = val + v.isSet = true +} + +func (v NullableEthereumTransactionConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableEthereumTransactionConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEthereumTransactionConfig(val *EthereumTransactionConfig) *NullableEthereumTransactionConfig { + return &NullableEthereumTransactionConfig{value: val, isSet: true} +} + +func (v NullableEthereumTransactionConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEthereumTransactionConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_gas_transaction_config.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_gas_transaction_config.go new file mode 100644 index 00000000000..9b6bf5d5e1e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_gas_transaction_config.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "fmt" +) + +// GasTransactionConfig - Transaction gas settings. +type GasTransactionConfig struct { + GasTransactionConfigEIP1559 *GasTransactionConfigEIP1559 + GasTransactionConfigLegacy *GasTransactionConfigLegacy +} + +// GasTransactionConfigEIP1559AsGasTransactionConfig is a convenience function that returns GasTransactionConfigEIP1559 wrapped in GasTransactionConfig +func GasTransactionConfigEIP1559AsGasTransactionConfig(v *GasTransactionConfigEIP1559) GasTransactionConfig { + return GasTransactionConfig{ + GasTransactionConfigEIP1559: v, + } +} + +// GasTransactionConfigLegacyAsGasTransactionConfig is a convenience function that returns GasTransactionConfigLegacy wrapped in GasTransactionConfig +func GasTransactionConfigLegacyAsGasTransactionConfig(v *GasTransactionConfigLegacy) GasTransactionConfig { + return GasTransactionConfig{ + GasTransactionConfigLegacy: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GasTransactionConfig) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into GasTransactionConfigEIP1559 + err = newStrictDecoder(data).Decode(&dst.GasTransactionConfigEIP1559) + if err == nil { + jsonGasTransactionConfigEIP1559, _ := json.Marshal(dst.GasTransactionConfigEIP1559) + if string(jsonGasTransactionConfigEIP1559) == "{}" { // empty struct + dst.GasTransactionConfigEIP1559 = nil + } else { + match++ + } + } else { + dst.GasTransactionConfigEIP1559 = nil + } + + // try to unmarshal data into GasTransactionConfigLegacy + err = newStrictDecoder(data).Decode(&dst.GasTransactionConfigLegacy) + if err == nil { + jsonGasTransactionConfigLegacy, _ := json.Marshal(dst.GasTransactionConfigLegacy) + if string(jsonGasTransactionConfigLegacy) == "{}" { // empty struct + dst.GasTransactionConfigLegacy = nil + } else { + match++ + } + } else { + dst.GasTransactionConfigLegacy = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.GasTransactionConfigEIP1559 = nil + dst.GasTransactionConfigLegacy = nil + + return fmt.Errorf("data matches more than one schema in oneOf(GasTransactionConfig)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(GasTransactionConfig)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GasTransactionConfig) MarshalJSON() ([]byte, error) { + if src.GasTransactionConfigEIP1559 != nil { + return json.Marshal(&src.GasTransactionConfigEIP1559) + } + + if src.GasTransactionConfigLegacy != nil { + return json.Marshal(&src.GasTransactionConfigLegacy) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GasTransactionConfig) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.GasTransactionConfigEIP1559 != nil { + return obj.GasTransactionConfigEIP1559 + } + + if obj.GasTransactionConfigLegacy != nil { + return obj.GasTransactionConfigLegacy + } + + // all schemas are nil + return nil +} + +type NullableGasTransactionConfig struct { + value *GasTransactionConfig + isSet bool +} + +func (v NullableGasTransactionConfig) Get() *GasTransactionConfig { + return v.value +} + +func (v *NullableGasTransactionConfig) Set(val *GasTransactionConfig) { + v.value = val + v.isSet = true +} + +func (v NullableGasTransactionConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableGasTransactionConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGasTransactionConfig(val *GasTransactionConfig) *NullableGasTransactionConfig { + return &NullableGasTransactionConfig{value: val, isSet: true} +} + +func (v NullableGasTransactionConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGasTransactionConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_gas_transaction_config_eip1559.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_gas_transaction_config_eip1559.go new file mode 100644 index 00000000000..90ea255211d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_gas_transaction_config_eip1559.go @@ -0,0 +1,201 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the GasTransactionConfigEIP1559 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GasTransactionConfigEIP1559{} + +// GasTransactionConfigEIP1559 Transaction gas settings in networks after EIP-1559 (London fork). +type GasTransactionConfigEIP1559 struct { + // A maximum amount of gas a user is willing to provide for the execution of the transaction. + GasLimit *string `json:"gasLimit,omitempty"` + // A maximum fee (including the base fee and the tip) a user is willing to pay per unit of gas. + MaxFeePerGas *string `json:"maxFeePerGas,omitempty"` + // A maximum tip amount a user is willing to pay per unit of gas. + MaxPriorityFeePerGas *string `json:"maxPriorityFeePerGas,omitempty"` +} + +// NewGasTransactionConfigEIP1559 instantiates a new GasTransactionConfigEIP1559 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGasTransactionConfigEIP1559() *GasTransactionConfigEIP1559 { + this := GasTransactionConfigEIP1559{} + return &this +} + +// NewGasTransactionConfigEIP1559WithDefaults instantiates a new GasTransactionConfigEIP1559 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGasTransactionConfigEIP1559WithDefaults() *GasTransactionConfigEIP1559 { + this := GasTransactionConfigEIP1559{} + return &this +} + +// GetGasLimit returns the GasLimit field value if set, zero value otherwise. +func (o *GasTransactionConfigEIP1559) GetGasLimit() string { + if o == nil || IsNil(o.GasLimit) { + var ret string + return ret + } + return *o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GasTransactionConfigEIP1559) GetGasLimitOk() (*string, bool) { + if o == nil || IsNil(o.GasLimit) { + return nil, false + } + return o.GasLimit, true +} + +// HasGasLimit returns a boolean if a field has been set. +func (o *GasTransactionConfigEIP1559) HasGasLimit() bool { + if o != nil && !IsNil(o.GasLimit) { + return true + } + + return false +} + +// SetGasLimit gets a reference to the given string and assigns it to the GasLimit field. +func (o *GasTransactionConfigEIP1559) SetGasLimit(v string) { + o.GasLimit = &v +} + +// GetMaxFeePerGas returns the MaxFeePerGas field value if set, zero value otherwise. +func (o *GasTransactionConfigEIP1559) GetMaxFeePerGas() string { + if o == nil || IsNil(o.MaxFeePerGas) { + var ret string + return ret + } + return *o.MaxFeePerGas +} + +// GetMaxFeePerGasOk returns a tuple with the MaxFeePerGas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GasTransactionConfigEIP1559) GetMaxFeePerGasOk() (*string, bool) { + if o == nil || IsNil(o.MaxFeePerGas) { + return nil, false + } + return o.MaxFeePerGas, true +} + +// HasMaxFeePerGas returns a boolean if a field has been set. +func (o *GasTransactionConfigEIP1559) HasMaxFeePerGas() bool { + if o != nil && !IsNil(o.MaxFeePerGas) { + return true + } + + return false +} + +// SetMaxFeePerGas gets a reference to the given string and assigns it to the MaxFeePerGas field. +func (o *GasTransactionConfigEIP1559) SetMaxFeePerGas(v string) { + o.MaxFeePerGas = &v +} + +// GetMaxPriorityFeePerGas returns the MaxPriorityFeePerGas field value if set, zero value otherwise. +func (o *GasTransactionConfigEIP1559) GetMaxPriorityFeePerGas() string { + if o == nil || IsNil(o.MaxPriorityFeePerGas) { + var ret string + return ret + } + return *o.MaxPriorityFeePerGas +} + +// GetMaxPriorityFeePerGasOk returns a tuple with the MaxPriorityFeePerGas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GasTransactionConfigEIP1559) GetMaxPriorityFeePerGasOk() (*string, bool) { + if o == nil || IsNil(o.MaxPriorityFeePerGas) { + return nil, false + } + return o.MaxPriorityFeePerGas, true +} + +// HasMaxPriorityFeePerGas returns a boolean if a field has been set. +func (o *GasTransactionConfigEIP1559) HasMaxPriorityFeePerGas() bool { + if o != nil && !IsNil(o.MaxPriorityFeePerGas) { + return true + } + + return false +} + +// SetMaxPriorityFeePerGas gets a reference to the given string and assigns it to the MaxPriorityFeePerGas field. +func (o *GasTransactionConfigEIP1559) SetMaxPriorityFeePerGas(v string) { + o.MaxPriorityFeePerGas = &v +} + +func (o GasTransactionConfigEIP1559) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GasTransactionConfigEIP1559) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.GasLimit) { + toSerialize["gasLimit"] = o.GasLimit + } + if !IsNil(o.MaxFeePerGas) { + toSerialize["maxFeePerGas"] = o.MaxFeePerGas + } + if !IsNil(o.MaxPriorityFeePerGas) { + toSerialize["maxPriorityFeePerGas"] = o.MaxPriorityFeePerGas + } + return toSerialize, nil +} + +type NullableGasTransactionConfigEIP1559 struct { + value *GasTransactionConfigEIP1559 + isSet bool +} + +func (v NullableGasTransactionConfigEIP1559) Get() *GasTransactionConfigEIP1559 { + return v.value +} + +func (v *NullableGasTransactionConfigEIP1559) Set(val *GasTransactionConfigEIP1559) { + v.value = val + v.isSet = true +} + +func (v NullableGasTransactionConfigEIP1559) IsSet() bool { + return v.isSet +} + +func (v *NullableGasTransactionConfigEIP1559) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGasTransactionConfigEIP1559(val *GasTransactionConfigEIP1559) *NullableGasTransactionConfigEIP1559 { + return &NullableGasTransactionConfigEIP1559{value: val, isSet: true} +} + +func (v NullableGasTransactionConfigEIP1559) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGasTransactionConfigEIP1559) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_gas_transaction_config_legacy.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_gas_transaction_config_legacy.go new file mode 100644 index 00000000000..81d1fb883c9 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_gas_transaction_config_legacy.go @@ -0,0 +1,164 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the GasTransactionConfigLegacy type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GasTransactionConfigLegacy{} + +// GasTransactionConfigLegacy Transaction gas settings in networks before EIP-1559 (London fork). +type GasTransactionConfigLegacy struct { + // A maximum amount of gas a user is willing to provide for the execution of the transaction. (gasLimit) + Gas *string `json:"gas,omitempty"` + // A price (in Wei) a user is willing to pay for each unit of gas used during the execution of the transaction. In EIP-1559 (London fork) networks, it will be set as both maxFeePerGas and maxPriorityFeePerGas. + GasPrice *string `json:"gasPrice,omitempty"` +} + +// NewGasTransactionConfigLegacy instantiates a new GasTransactionConfigLegacy object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGasTransactionConfigLegacy() *GasTransactionConfigLegacy { + this := GasTransactionConfigLegacy{} + return &this +} + +// NewGasTransactionConfigLegacyWithDefaults instantiates a new GasTransactionConfigLegacy object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGasTransactionConfigLegacyWithDefaults() *GasTransactionConfigLegacy { + this := GasTransactionConfigLegacy{} + return &this +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *GasTransactionConfigLegacy) GetGas() string { + if o == nil || IsNil(o.Gas) { + var ret string + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GasTransactionConfigLegacy) GetGasOk() (*string, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *GasTransactionConfigLegacy) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given string and assigns it to the Gas field. +func (o *GasTransactionConfigLegacy) SetGas(v string) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *GasTransactionConfigLegacy) GetGasPrice() string { + if o == nil || IsNil(o.GasPrice) { + var ret string + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GasTransactionConfigLegacy) GetGasPriceOk() (*string, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *GasTransactionConfigLegacy) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given string and assigns it to the GasPrice field. +func (o *GasTransactionConfigLegacy) SetGasPrice(v string) { + o.GasPrice = &v +} + +func (o GasTransactionConfigLegacy) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GasTransactionConfigLegacy) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + return toSerialize, nil +} + +type NullableGasTransactionConfigLegacy struct { + value *GasTransactionConfigLegacy + isSet bool +} + +func (v NullableGasTransactionConfigLegacy) Get() *GasTransactionConfigLegacy { + return v.value +} + +func (v *NullableGasTransactionConfigLegacy) Set(val *GasTransactionConfigLegacy) { + v.value = val + v.isSet = true +} + +func (v NullableGasTransactionConfigLegacy) IsSet() bool { + return v.isSet +} + +func (v *NullableGasTransactionConfigLegacy) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGasTransactionConfigLegacy(val *GasTransactionConfigLegacy) *NullableGasTransactionConfigLegacy { + return &NullableGasTransactionConfigLegacy{value: val, isSet: true} +} + +func (v NullableGasTransactionConfigLegacy) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGasTransactionConfigLegacy) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go new file mode 100644 index 00000000000..d71ce51a459 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go @@ -0,0 +1,349 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Request{} + +// InvokeContractV1Request struct for InvokeContractV1Request +type InvokeContractV1Request struct { + Contract InvokeContractV1RequestContract `json:"contract"` + // The name of the contract method to invoke. + MethodName string `json:"methodName"` + // The list of arguments to pass in to the contract method being invoked. + Params []interface{} `json:"params"` + InvocationType EthContractInvocationType `json:"invocationType"` + Web3SigningCredential *Web3SigningCredential `json:"web3SigningCredential,omitempty"` + GasConfig *GasTransactionConfig `json:"gasConfig,omitempty"` + Value *string `json:"value,omitempty"` + // The amount of milliseconds to wait for a transaction receipt before returning an error. Only has any effect if the invocation type is SEND + TimeoutMs *float32 `json:"timeoutMs,omitempty"` +} + +// NewInvokeContractV1Request instantiates a new InvokeContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Request(contract InvokeContractV1RequestContract, methodName string, params []interface{}, invocationType EthContractInvocationType) *InvokeContractV1Request { + this := InvokeContractV1Request{} + this.Contract = contract + this.MethodName = methodName + this.Params = params + this.InvocationType = invocationType + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// NewInvokeContractV1RequestWithDefaults instantiates a new InvokeContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1RequestWithDefaults() *InvokeContractV1Request { + this := InvokeContractV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetContract returns the Contract field value +func (o *InvokeContractV1Request) GetContract() InvokeContractV1RequestContract { + if o == nil { + var ret InvokeContractV1RequestContract + return ret + } + + return o.Contract +} + +// GetContractOk returns a tuple with the Contract field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetContractOk() (*InvokeContractV1RequestContract, bool) { + if o == nil { + return nil, false + } + return &o.Contract, true +} + +// SetContract sets field value +func (o *InvokeContractV1Request) SetContract(v InvokeContractV1RequestContract) { + o.Contract = v +} + +// GetMethodName returns the MethodName field value +func (o *InvokeContractV1Request) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeContractV1Request) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value +func (o *InvokeContractV1Request) GetParams() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetParamsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *InvokeContractV1Request) SetParams(v []interface{}) { + o.Params = v +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeContractV1Request) GetInvocationType() EthContractInvocationType { + if o == nil { + var ret EthContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetInvocationTypeOk() (*EthContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeContractV1Request) SetInvocationType(v EthContractInvocationType) { + o.InvocationType = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil || IsNil(o.Web3SigningCredential) { + var ret Web3SigningCredential + return ret + } + return *o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil || IsNil(o.Web3SigningCredential) { + return nil, false + } + return o.Web3SigningCredential, true +} + +// HasWeb3SigningCredential returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasWeb3SigningCredential() bool { + if o != nil && !IsNil(o.Web3SigningCredential) { + return true + } + + return false +} + +// SetWeb3SigningCredential gets a reference to the given Web3SigningCredential and assigns it to the Web3SigningCredential field. +func (o *InvokeContractV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = &v +} + +// GetGasConfig returns the GasConfig field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetGasConfig() GasTransactionConfig { + if o == nil || IsNil(o.GasConfig) { + var ret GasTransactionConfig + return ret + } + return *o.GasConfig +} + +// GetGasConfigOk returns a tuple with the GasConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetGasConfigOk() (*GasTransactionConfig, bool) { + if o == nil || IsNil(o.GasConfig) { + return nil, false + } + return o.GasConfig, true +} + +// HasGasConfig returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasGasConfig() bool { + if o != nil && !IsNil(o.GasConfig) { + return true + } + + return false +} + +// SetGasConfig gets a reference to the given GasTransactionConfig and assigns it to the GasConfig field. +func (o *InvokeContractV1Request) SetGasConfig(v GasTransactionConfig) { + o.GasConfig = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetValue() string { + if o == nil || IsNil(o.Value) { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetValueOk() (*string, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *InvokeContractV1Request) SetValue(v string) { + o.Value = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *InvokeContractV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +func (o InvokeContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contract"] = o.Contract + toSerialize["methodName"] = o.MethodName + toSerialize["params"] = o.Params + toSerialize["invocationType"] = o.InvocationType + if !IsNil(o.Web3SigningCredential) { + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + } + if !IsNil(o.GasConfig) { + toSerialize["gasConfig"] = o.GasConfig + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + return toSerialize, nil +} + +type NullableInvokeContractV1Request struct { + value *InvokeContractV1Request + isSet bool +} + +func (v NullableInvokeContractV1Request) Get() *InvokeContractV1Request { + return v.value +} + +func (v *NullableInvokeContractV1Request) Set(val *InvokeContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Request(val *InvokeContractV1Request) *NullableInvokeContractV1Request { + return &NullableInvokeContractV1Request{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request_contract.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request_contract.go new file mode 100644 index 00000000000..2df16af9196 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request_contract.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "fmt" +) + +// InvokeContractV1RequestContract - struct for InvokeContractV1RequestContract +type InvokeContractV1RequestContract struct { + ContractKeychainDefinition *ContractKeychainDefinition + DeployedContractJsonDefinition *DeployedContractJsonDefinition +} + +// ContractKeychainDefinitionAsInvokeContractV1RequestContract is a convenience function that returns ContractKeychainDefinition wrapped in InvokeContractV1RequestContract +func ContractKeychainDefinitionAsInvokeContractV1RequestContract(v *ContractKeychainDefinition) InvokeContractV1RequestContract { + return InvokeContractV1RequestContract{ + ContractKeychainDefinition: v, + } +} + +// DeployedContractJsonDefinitionAsInvokeContractV1RequestContract is a convenience function that returns DeployedContractJsonDefinition wrapped in InvokeContractV1RequestContract +func DeployedContractJsonDefinitionAsInvokeContractV1RequestContract(v *DeployedContractJsonDefinition) InvokeContractV1RequestContract { + return InvokeContractV1RequestContract{ + DeployedContractJsonDefinition: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *InvokeContractV1RequestContract) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into ContractKeychainDefinition + err = newStrictDecoder(data).Decode(&dst.ContractKeychainDefinition) + if err == nil { + jsonContractKeychainDefinition, _ := json.Marshal(dst.ContractKeychainDefinition) + if string(jsonContractKeychainDefinition) == "{}" { // empty struct + dst.ContractKeychainDefinition = nil + } else { + match++ + } + } else { + dst.ContractKeychainDefinition = nil + } + + // try to unmarshal data into DeployedContractJsonDefinition + err = newStrictDecoder(data).Decode(&dst.DeployedContractJsonDefinition) + if err == nil { + jsonDeployedContractJsonDefinition, _ := json.Marshal(dst.DeployedContractJsonDefinition) + if string(jsonDeployedContractJsonDefinition) == "{}" { // empty struct + dst.DeployedContractJsonDefinition = nil + } else { + match++ + } + } else { + dst.DeployedContractJsonDefinition = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.ContractKeychainDefinition = nil + dst.DeployedContractJsonDefinition = nil + + return fmt.Errorf("data matches more than one schema in oneOf(InvokeContractV1RequestContract)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(InvokeContractV1RequestContract)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src InvokeContractV1RequestContract) MarshalJSON() ([]byte, error) { + if src.ContractKeychainDefinition != nil { + return json.Marshal(&src.ContractKeychainDefinition) + } + + if src.DeployedContractJsonDefinition != nil { + return json.Marshal(&src.DeployedContractJsonDefinition) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *InvokeContractV1RequestContract) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.ContractKeychainDefinition != nil { + return obj.ContractKeychainDefinition + } + + if obj.DeployedContractJsonDefinition != nil { + return obj.DeployedContractJsonDefinition + } + + // all schemas are nil + return nil +} + +type NullableInvokeContractV1RequestContract struct { + value *InvokeContractV1RequestContract + isSet bool +} + +func (v NullableInvokeContractV1RequestContract) Get() *InvokeContractV1RequestContract { + return v.value +} + +func (v *NullableInvokeContractV1RequestContract) Set(val *InvokeContractV1RequestContract) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1RequestContract) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1RequestContract) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1RequestContract(val *InvokeContractV1RequestContract) *NullableInvokeContractV1RequestContract { + return &NullableInvokeContractV1RequestContract{value: val, isSet: true} +} + +func (v NullableInvokeContractV1RequestContract) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1RequestContract) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go new file mode 100644 index 00000000000..e1f6e15df69 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go @@ -0,0 +1,190 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Response{} + +// InvokeContractV1Response struct for InvokeContractV1Response +type InvokeContractV1Response struct { + TransactionReceipt *Web3TransactionReceipt `json:"transactionReceipt,omitempty"` + CallOutput interface{} `json:"callOutput,omitempty"` + Success bool `json:"success"` +} + +// NewInvokeContractV1Response instantiates a new InvokeContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Response(success bool) *InvokeContractV1Response { + this := InvokeContractV1Response{} + this.Success = success + return &this +} + +// NewInvokeContractV1ResponseWithDefaults instantiates a new InvokeContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1ResponseWithDefaults() *InvokeContractV1Response { + this := InvokeContractV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value if set, zero value otherwise. +func (o *InvokeContractV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil || IsNil(o.TransactionReceipt) { + var ret Web3TransactionReceipt + return ret + } + return *o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil || IsNil(o.TransactionReceipt) { + return nil, false + } + return o.TransactionReceipt, true +} + +// HasTransactionReceipt returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasTransactionReceipt() bool { + if o != nil && !IsNil(o.TransactionReceipt) { + return true + } + + return false +} + +// SetTransactionReceipt gets a reference to the given Web3TransactionReceipt and assigns it to the TransactionReceipt field. +func (o *InvokeContractV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = &v +} + +// GetCallOutput returns the CallOutput field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeContractV1Response) GetCallOutput() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CallOutput +} + +// GetCallOutputOk returns a tuple with the CallOutput field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeContractV1Response) GetCallOutputOk() (*interface{}, bool) { + if o == nil || IsNil(o.CallOutput) { + return nil, false + } + return &o.CallOutput, true +} + +// HasCallOutput returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasCallOutput() bool { + if o != nil && IsNil(o.CallOutput) { + return true + } + + return false +} + +// SetCallOutput gets a reference to the given interface{} and assigns it to the CallOutput field. +func (o *InvokeContractV1Response) SetCallOutput(v interface{}) { + o.CallOutput = v +} + +// GetSuccess returns the Success field value +func (o *InvokeContractV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *InvokeContractV1Response) SetSuccess(v bool) { + o.Success = v +} + +func (o InvokeContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.TransactionReceipt) { + toSerialize["transactionReceipt"] = o.TransactionReceipt + } + if o.CallOutput != nil { + toSerialize["callOutput"] = o.CallOutput + } + toSerialize["success"] = o.Success + return toSerialize, nil +} + +type NullableInvokeContractV1Response struct { + value *InvokeContractV1Response + isSet bool +} + +func (v NullableInvokeContractV1Response) Get() *InvokeContractV1Response { + return v.value +} + +func (v *NullableInvokeContractV1Response) Set(val *InvokeContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Response(val *InvokeContractV1Response) *NullableInvokeContractV1Response { + return &NullableInvokeContractV1Response{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_request.go new file mode 100644 index 00000000000..f3f8de2539c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_request.go @@ -0,0 +1,279 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the InvokeRawWeb3EthContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeRawWeb3EthContractV1Request{} + +// InvokeRawWeb3EthContractV1Request struct for InvokeRawWeb3EthContractV1Request +type InvokeRawWeb3EthContractV1Request struct { + // The application binary interface of the solidity contract + Abi interface{} `json:"abi"` + // Deployed solidity contract address + Address string `json:"address"` + InvocationType EthContractInvocationWeb3Method `json:"invocationType"` + // The list of arguments for contract invocation method (send, call, etc...) + InvocationParams map[string]interface{} `json:"invocationParams,omitempty"` + // Method of deployed solidity contract to execute + ContractMethod string `json:"contractMethod"` + // The list of arguments for deployed solidity contract method + ContractMethodArgs []interface{} `json:"contractMethodArgs,omitempty"` +} + +// NewInvokeRawWeb3EthContractV1Request instantiates a new InvokeRawWeb3EthContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeRawWeb3EthContractV1Request(abi interface{}, address string, invocationType EthContractInvocationWeb3Method, contractMethod string) *InvokeRawWeb3EthContractV1Request { + this := InvokeRawWeb3EthContractV1Request{} + this.Abi = abi + this.Address = address + this.InvocationType = invocationType + this.ContractMethod = contractMethod + return &this +} + +// NewInvokeRawWeb3EthContractV1RequestWithDefaults instantiates a new InvokeRawWeb3EthContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeRawWeb3EthContractV1RequestWithDefaults() *InvokeRawWeb3EthContractV1Request { + this := InvokeRawWeb3EthContractV1Request{} + return &this +} + +// GetAbi returns the Abi field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *InvokeRawWeb3EthContractV1Request) GetAbi() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Abi +} + +// GetAbiOk returns a tuple with the Abi field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeRawWeb3EthContractV1Request) GetAbiOk() (*interface{}, bool) { + if o == nil || IsNil(o.Abi) { + return nil, false + } + return &o.Abi, true +} + +// SetAbi sets field value +func (o *InvokeRawWeb3EthContractV1Request) SetAbi(v interface{}) { + o.Abi = v +} + +// GetAddress returns the Address field value +func (o *InvokeRawWeb3EthContractV1Request) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *InvokeRawWeb3EthContractV1Request) SetAddress(v string) { + o.Address = v +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeRawWeb3EthContractV1Request) GetInvocationType() EthContractInvocationWeb3Method { + if o == nil { + var ret EthContractInvocationWeb3Method + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetInvocationTypeOk() (*EthContractInvocationWeb3Method, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeRawWeb3EthContractV1Request) SetInvocationType(v EthContractInvocationWeb3Method) { + o.InvocationType = v +} + +// GetInvocationParams returns the InvocationParams field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthContractV1Request) GetInvocationParams() map[string]interface{} { + if o == nil || IsNil(o.InvocationParams) { + var ret map[string]interface{} + return ret + } + return o.InvocationParams +} + +// GetInvocationParamsOk returns a tuple with the InvocationParams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetInvocationParamsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.InvocationParams) { + return map[string]interface{}{}, false + } + return o.InvocationParams, true +} + +// HasInvocationParams returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthContractV1Request) HasInvocationParams() bool { + if o != nil && !IsNil(o.InvocationParams) { + return true + } + + return false +} + +// SetInvocationParams gets a reference to the given map[string]interface{} and assigns it to the InvocationParams field. +func (o *InvokeRawWeb3EthContractV1Request) SetInvocationParams(v map[string]interface{}) { + o.InvocationParams = v +} + +// GetContractMethod returns the ContractMethod field value +func (o *InvokeRawWeb3EthContractV1Request) GetContractMethod() string { + if o == nil { + var ret string + return ret + } + + return o.ContractMethod +} + +// GetContractMethodOk returns a tuple with the ContractMethod field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetContractMethodOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractMethod, true +} + +// SetContractMethod sets field value +func (o *InvokeRawWeb3EthContractV1Request) SetContractMethod(v string) { + o.ContractMethod = v +} + +// GetContractMethodArgs returns the ContractMethodArgs field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthContractV1Request) GetContractMethodArgs() []interface{} { + if o == nil || IsNil(o.ContractMethodArgs) { + var ret []interface{} + return ret + } + return o.ContractMethodArgs +} + +// GetContractMethodArgsOk returns a tuple with the ContractMethodArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetContractMethodArgsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ContractMethodArgs) { + return nil, false + } + return o.ContractMethodArgs, true +} + +// HasContractMethodArgs returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthContractV1Request) HasContractMethodArgs() bool { + if o != nil && !IsNil(o.ContractMethodArgs) { + return true + } + + return false +} + +// SetContractMethodArgs gets a reference to the given []interface{} and assigns it to the ContractMethodArgs field. +func (o *InvokeRawWeb3EthContractV1Request) SetContractMethodArgs(v []interface{}) { + o.ContractMethodArgs = v +} + +func (o InvokeRawWeb3EthContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeRawWeb3EthContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Abi != nil { + toSerialize["abi"] = o.Abi + } + toSerialize["address"] = o.Address + toSerialize["invocationType"] = o.InvocationType + if !IsNil(o.InvocationParams) { + toSerialize["invocationParams"] = o.InvocationParams + } + toSerialize["contractMethod"] = o.ContractMethod + if !IsNil(o.ContractMethodArgs) { + toSerialize["contractMethodArgs"] = o.ContractMethodArgs + } + return toSerialize, nil +} + +type NullableInvokeRawWeb3EthContractV1Request struct { + value *InvokeRawWeb3EthContractV1Request + isSet bool +} + +func (v NullableInvokeRawWeb3EthContractV1Request) Get() *InvokeRawWeb3EthContractV1Request { + return v.value +} + +func (v *NullableInvokeRawWeb3EthContractV1Request) Set(val *InvokeRawWeb3EthContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeRawWeb3EthContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeRawWeb3EthContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeRawWeb3EthContractV1Request(val *InvokeRawWeb3EthContractV1Request) *NullableInvokeRawWeb3EthContractV1Request { + return &NullableInvokeRawWeb3EthContractV1Request{value: val, isSet: true} +} + +func (v NullableInvokeRawWeb3EthContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeRawWeb3EthContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_response.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_response.go new file mode 100644 index 00000000000..f290f197d6e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_response.go @@ -0,0 +1,193 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the InvokeRawWeb3EthContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeRawWeb3EthContractV1Response{} + +// InvokeRawWeb3EthContractV1Response struct for InvokeRawWeb3EthContractV1Response +type InvokeRawWeb3EthContractV1Response struct { + // Status code of the operation + Status float32 `json:"status"` + // Output of contract invocation method + Data interface{} `json:"data,omitempty"` + // Error details + ErrorDetail *string `json:"errorDetail,omitempty"` +} + +// NewInvokeRawWeb3EthContractV1Response instantiates a new InvokeRawWeb3EthContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeRawWeb3EthContractV1Response(status float32) *InvokeRawWeb3EthContractV1Response { + this := InvokeRawWeb3EthContractV1Response{} + this.Status = status + return &this +} + +// NewInvokeRawWeb3EthContractV1ResponseWithDefaults instantiates a new InvokeRawWeb3EthContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeRawWeb3EthContractV1ResponseWithDefaults() *InvokeRawWeb3EthContractV1Response { + this := InvokeRawWeb3EthContractV1Response{} + return &this +} + +// GetStatus returns the Status field value +func (o *InvokeRawWeb3EthContractV1Response) GetStatus() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Response) GetStatusOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *InvokeRawWeb3EthContractV1Response) SetStatus(v float32) { + o.Status = v +} + +// GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeRawWeb3EthContractV1Response) GetData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeRawWeb3EthContractV1Response) GetDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return &o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthContractV1Response) HasData() bool { + if o != nil && IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given interface{} and assigns it to the Data field. +func (o *InvokeRawWeb3EthContractV1Response) SetData(v interface{}) { + o.Data = v +} + +// GetErrorDetail returns the ErrorDetail field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthContractV1Response) GetErrorDetail() string { + if o == nil || IsNil(o.ErrorDetail) { + var ret string + return ret + } + return *o.ErrorDetail +} + +// GetErrorDetailOk returns a tuple with the ErrorDetail field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Response) GetErrorDetailOk() (*string, bool) { + if o == nil || IsNil(o.ErrorDetail) { + return nil, false + } + return o.ErrorDetail, true +} + +// HasErrorDetail returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthContractV1Response) HasErrorDetail() bool { + if o != nil && !IsNil(o.ErrorDetail) { + return true + } + + return false +} + +// SetErrorDetail gets a reference to the given string and assigns it to the ErrorDetail field. +func (o *InvokeRawWeb3EthContractV1Response) SetErrorDetail(v string) { + o.ErrorDetail = &v +} + +func (o InvokeRawWeb3EthContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeRawWeb3EthContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + if o.Data != nil { + toSerialize["data"] = o.Data + } + if !IsNil(o.ErrorDetail) { + toSerialize["errorDetail"] = o.ErrorDetail + } + return toSerialize, nil +} + +type NullableInvokeRawWeb3EthContractV1Response struct { + value *InvokeRawWeb3EthContractV1Response + isSet bool +} + +func (v NullableInvokeRawWeb3EthContractV1Response) Get() *InvokeRawWeb3EthContractV1Response { + return v.value +} + +func (v *NullableInvokeRawWeb3EthContractV1Response) Set(val *InvokeRawWeb3EthContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeRawWeb3EthContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeRawWeb3EthContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeRawWeb3EthContractV1Response(val *InvokeRawWeb3EthContractV1Response) *NullableInvokeRawWeb3EthContractV1Response { + return &NullableInvokeRawWeb3EthContractV1Response{value: val, isSet: true} +} + +func (v NullableInvokeRawWeb3EthContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeRawWeb3EthContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_request.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_request.go new file mode 100644 index 00000000000..350e3d31e71 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_request.go @@ -0,0 +1,155 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the InvokeRawWeb3EthMethodV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeRawWeb3EthMethodV1Request{} + +// InvokeRawWeb3EthMethodV1Request struct for InvokeRawWeb3EthMethodV1Request +type InvokeRawWeb3EthMethodV1Request struct { + // The name of the web3.eth method to invoke + MethodName string `json:"methodName"` + // The list of arguments to pass to web3.eth method specified in methodName + Params []interface{} `json:"params,omitempty"` +} + +// NewInvokeRawWeb3EthMethodV1Request instantiates a new InvokeRawWeb3EthMethodV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeRawWeb3EthMethodV1Request(methodName string) *InvokeRawWeb3EthMethodV1Request { + this := InvokeRawWeb3EthMethodV1Request{} + this.MethodName = methodName + return &this +} + +// NewInvokeRawWeb3EthMethodV1RequestWithDefaults instantiates a new InvokeRawWeb3EthMethodV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeRawWeb3EthMethodV1RequestWithDefaults() *InvokeRawWeb3EthMethodV1Request { + this := InvokeRawWeb3EthMethodV1Request{} + return &this +} + +// GetMethodName returns the MethodName field value +func (o *InvokeRawWeb3EthMethodV1Request) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthMethodV1Request) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeRawWeb3EthMethodV1Request) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthMethodV1Request) GetParams() []interface{} { + if o == nil || IsNil(o.Params) { + var ret []interface{} + return ret + } + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthMethodV1Request) GetParamsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Params) { + return nil, false + } + return o.Params, true +} + +// HasParams returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthMethodV1Request) HasParams() bool { + if o != nil && !IsNil(o.Params) { + return true + } + + return false +} + +// SetParams gets a reference to the given []interface{} and assigns it to the Params field. +func (o *InvokeRawWeb3EthMethodV1Request) SetParams(v []interface{}) { + o.Params = v +} + +func (o InvokeRawWeb3EthMethodV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeRawWeb3EthMethodV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["methodName"] = o.MethodName + if !IsNil(o.Params) { + toSerialize["params"] = o.Params + } + return toSerialize, nil +} + +type NullableInvokeRawWeb3EthMethodV1Request struct { + value *InvokeRawWeb3EthMethodV1Request + isSet bool +} + +func (v NullableInvokeRawWeb3EthMethodV1Request) Get() *InvokeRawWeb3EthMethodV1Request { + return v.value +} + +func (v *NullableInvokeRawWeb3EthMethodV1Request) Set(val *InvokeRawWeb3EthMethodV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeRawWeb3EthMethodV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeRawWeb3EthMethodV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeRawWeb3EthMethodV1Request(val *InvokeRawWeb3EthMethodV1Request) *NullableInvokeRawWeb3EthMethodV1Request { + return &NullableInvokeRawWeb3EthMethodV1Request{value: val, isSet: true} +} + +func (v NullableInvokeRawWeb3EthMethodV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeRawWeb3EthMethodV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_response.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_response.go new file mode 100644 index 00000000000..382f78c46d6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_response.go @@ -0,0 +1,193 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the InvokeRawWeb3EthMethodV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeRawWeb3EthMethodV1Response{} + +// InvokeRawWeb3EthMethodV1Response struct for InvokeRawWeb3EthMethodV1Response +type InvokeRawWeb3EthMethodV1Response struct { + // Status code of the operation + Status float32 `json:"status"` + // Output of requested web3.eth method + Data interface{} `json:"data,omitempty"` + // Error details + ErrorDetail *string `json:"errorDetail,omitempty"` +} + +// NewInvokeRawWeb3EthMethodV1Response instantiates a new InvokeRawWeb3EthMethodV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeRawWeb3EthMethodV1Response(status float32) *InvokeRawWeb3EthMethodV1Response { + this := InvokeRawWeb3EthMethodV1Response{} + this.Status = status + return &this +} + +// NewInvokeRawWeb3EthMethodV1ResponseWithDefaults instantiates a new InvokeRawWeb3EthMethodV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeRawWeb3EthMethodV1ResponseWithDefaults() *InvokeRawWeb3EthMethodV1Response { + this := InvokeRawWeb3EthMethodV1Response{} + return &this +} + +// GetStatus returns the Status field value +func (o *InvokeRawWeb3EthMethodV1Response) GetStatus() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthMethodV1Response) GetStatusOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *InvokeRawWeb3EthMethodV1Response) SetStatus(v float32) { + o.Status = v +} + +// GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeRawWeb3EthMethodV1Response) GetData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeRawWeb3EthMethodV1Response) GetDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return &o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthMethodV1Response) HasData() bool { + if o != nil && IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given interface{} and assigns it to the Data field. +func (o *InvokeRawWeb3EthMethodV1Response) SetData(v interface{}) { + o.Data = v +} + +// GetErrorDetail returns the ErrorDetail field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthMethodV1Response) GetErrorDetail() string { + if o == nil || IsNil(o.ErrorDetail) { + var ret string + return ret + } + return *o.ErrorDetail +} + +// GetErrorDetailOk returns a tuple with the ErrorDetail field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthMethodV1Response) GetErrorDetailOk() (*string, bool) { + if o == nil || IsNil(o.ErrorDetail) { + return nil, false + } + return o.ErrorDetail, true +} + +// HasErrorDetail returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthMethodV1Response) HasErrorDetail() bool { + if o != nil && !IsNil(o.ErrorDetail) { + return true + } + + return false +} + +// SetErrorDetail gets a reference to the given string and assigns it to the ErrorDetail field. +func (o *InvokeRawWeb3EthMethodV1Response) SetErrorDetail(v string) { + o.ErrorDetail = &v +} + +func (o InvokeRawWeb3EthMethodV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeRawWeb3EthMethodV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + if o.Data != nil { + toSerialize["data"] = o.Data + } + if !IsNil(o.ErrorDetail) { + toSerialize["errorDetail"] = o.ErrorDetail + } + return toSerialize, nil +} + +type NullableInvokeRawWeb3EthMethodV1Response struct { + value *InvokeRawWeb3EthMethodV1Response + isSet bool +} + +func (v NullableInvokeRawWeb3EthMethodV1Response) Get() *InvokeRawWeb3EthMethodV1Response { + return v.value +} + +func (v *NullableInvokeRawWeb3EthMethodV1Response) Set(val *InvokeRawWeb3EthMethodV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeRawWeb3EthMethodV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeRawWeb3EthMethodV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeRawWeb3EthMethodV1Response(val *InvokeRawWeb3EthMethodV1Response) *NullableInvokeRawWeb3EthMethodV1Response { + return &NullableInvokeRawWeb3EthMethodV1Response{value: val, isSet: true} +} + +func (v NullableInvokeRawWeb3EthMethodV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeRawWeb3EthMethodV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_run_transaction_request.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_run_transaction_request.go new file mode 100644 index 00000000000..56deb4dbb8b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_run_transaction_request.go @@ -0,0 +1,185 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the RunTransactionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionRequest{} + +// RunTransactionRequest struct for RunTransactionRequest +type RunTransactionRequest struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + TransactionConfig EthereumTransactionConfig `json:"transactionConfig"` + // The amount of milliseconds to wait for a transaction receipt with thehash of the transaction(which indicates successful execution) beforegiving up and crashing. + TimeoutMs *float32 `json:"timeoutMs,omitempty"` +} + +// NewRunTransactionRequest instantiates a new RunTransactionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionRequest(web3SigningCredential Web3SigningCredential, transactionConfig EthereumTransactionConfig) *RunTransactionRequest { + this := RunTransactionRequest{} + this.Web3SigningCredential = web3SigningCredential + this.TransactionConfig = transactionConfig + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// NewRunTransactionRequestWithDefaults instantiates a new RunTransactionRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionRequestWithDefaults() *RunTransactionRequest { + this := RunTransactionRequest{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *RunTransactionRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *RunTransactionRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetTransactionConfig returns the TransactionConfig field value +func (o *RunTransactionRequest) GetTransactionConfig() EthereumTransactionConfig { + if o == nil { + var ret EthereumTransactionConfig + return ret + } + + return o.TransactionConfig +} + +// GetTransactionConfigOk returns a tuple with the TransactionConfig field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetTransactionConfigOk() (*EthereumTransactionConfig, bool) { + if o == nil { + return nil, false + } + return &o.TransactionConfig, true +} + +// SetTransactionConfig sets field value +func (o *RunTransactionRequest) SetTransactionConfig(v EthereumTransactionConfig) { + o.TransactionConfig = v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *RunTransactionRequest) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *RunTransactionRequest) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *RunTransactionRequest) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +func (o RunTransactionRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["transactionConfig"] = o.TransactionConfig + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + return toSerialize, nil +} + +type NullableRunTransactionRequest struct { + value *RunTransactionRequest + isSet bool +} + +func (v NullableRunTransactionRequest) Get() *RunTransactionRequest { + return v.value +} + +func (v *NullableRunTransactionRequest) Set(val *RunTransactionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionRequest(val *RunTransactionRequest) *NullableRunTransactionRequest { + return &NullableRunTransactionRequest{value: val, isSet: true} +} + +func (v NullableRunTransactionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_run_transaction_response.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_run_transaction_response.go new file mode 100644 index 00000000000..06821651082 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_run_transaction_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the RunTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionResponse{} + +// RunTransactionResponse struct for RunTransactionResponse +type RunTransactionResponse struct { + TransactionReceipt Web3TransactionReceipt `json:"transactionReceipt"` +} + +// NewRunTransactionResponse instantiates a new RunTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionResponse(transactionReceipt Web3TransactionReceipt) *RunTransactionResponse { + this := RunTransactionResponse{} + this.TransactionReceipt = transactionReceipt + return &this +} + +// NewRunTransactionResponseWithDefaults instantiates a new RunTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionResponseWithDefaults() *RunTransactionResponse { + this := RunTransactionResponse{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value +func (o *RunTransactionResponse) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil { + var ret Web3TransactionReceipt + return ret + } + + return o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil { + return nil, false + } + return &o.TransactionReceipt, true +} + +// SetTransactionReceipt sets field value +func (o *RunTransactionResponse) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = v +} + +func (o RunTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionReceipt"] = o.TransactionReceipt + return toSerialize, nil +} + +type NullableRunTransactionResponse struct { + value *RunTransactionResponse + isSet bool +} + +func (v NullableRunTransactionResponse) Get() *RunTransactionResponse { + return v.value +} + +func (v *NullableRunTransactionResponse) Set(val *RunTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionResponse(val *RunTransactionResponse) *NullableRunTransactionResponse { + return &NullableRunTransactionResponse{value: val, isSet: true} +} + +func (v NullableRunTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go new file mode 100644 index 00000000000..745e34db603 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksV1 the model 'WatchBlocksV1' +type WatchBlocksV1 string + +// List of WatchBlocksV1 +const ( + Subscribe WatchBlocksV1 = "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Subscribe" + Next WatchBlocksV1 = "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Next" + Unsubscribe WatchBlocksV1 = "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Unsubscribe" + Error WatchBlocksV1 = "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Error" + Complete WatchBlocksV1 = "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Complete" +) + +// All allowed values of WatchBlocksV1 enum +var AllowedWatchBlocksV1EnumValues = []WatchBlocksV1{ + "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Subscribe", + "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Next", + "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Unsubscribe", + "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Error", + "org.hyperledger.cacti.api.async.ethereum.WatchBlocksV1.Complete", +} + +func (v *WatchBlocksV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchBlocksV1(value) + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchBlocksV1", value) +} + +// NewWatchBlocksV1FromValue returns a pointer to a valid WatchBlocksV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchBlocksV1FromValue(v string) (*WatchBlocksV1, error) { + ev := WatchBlocksV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchBlocksV1: valid values are %v", v, AllowedWatchBlocksV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchBlocksV1) IsValid() bool { + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchBlocksV1 value +func (v WatchBlocksV1) Ptr() *WatchBlocksV1 { + return &v +} + +type NullableWatchBlocksV1 struct { + value *WatchBlocksV1 + isSet bool +} + +func (v NullableWatchBlocksV1) Get() *WatchBlocksV1 { + return v.value +} + +func (v *NullableWatchBlocksV1) Set(val *WatchBlocksV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1(val *WatchBlocksV1) *NullableWatchBlocksV1 { + return &NullableWatchBlocksV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_block_data.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_block_data.go new file mode 100644 index 00000000000..fa1b97ba518 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_block_data.go @@ -0,0 +1,720 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1BlockData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1BlockData{} + +// WatchBlocksV1BlockData struct for WatchBlocksV1BlockData +type WatchBlocksV1BlockData struct { + Number string `json:"number"` + Hash *string `json:"hash,omitempty"` + ParentHash string `json:"parentHash"` + Nonce string `json:"nonce"` + Sha3Uncles string `json:"sha3Uncles"` + LogsBloom *string `json:"logsBloom,omitempty"` + TransactionsRoot *string `json:"transactionsRoot,omitempty"` + StateRoot string `json:"stateRoot"` + ReceiptsRoot *string `json:"receiptsRoot,omitempty"` + Difficulty *string `json:"difficulty,omitempty"` + MixHash *string `json:"mixHash,omitempty"` + Miner string `json:"miner"` + ExtraData string `json:"extraData"` + GasLimit string `json:"gasLimit"` + GasUsed string `json:"gasUsed"` + Timestamp WatchBlocksV1BlockDataTimestamp `json:"timestamp"` + Size string `json:"size"` + TotalDifficulty string `json:"totalDifficulty"` + Uncles []string `json:"uncles"` + BaseFeePerGas *string `json:"baseFeePerGas,omitempty"` + Transactions []Web3Transaction `json:"transactions"` +} + +// NewWatchBlocksV1BlockData instantiates a new WatchBlocksV1BlockData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1BlockData(number string, parentHash string, nonce string, sha3Uncles string, stateRoot string, miner string, extraData string, gasLimit string, gasUsed string, timestamp WatchBlocksV1BlockDataTimestamp, size string, totalDifficulty string, uncles []string, transactions []Web3Transaction) *WatchBlocksV1BlockData { + this := WatchBlocksV1BlockData{} + this.Number = number + this.ParentHash = parentHash + this.Nonce = nonce + this.Sha3Uncles = sha3Uncles + this.StateRoot = stateRoot + this.Miner = miner + this.ExtraData = extraData + this.GasLimit = gasLimit + this.GasUsed = gasUsed + this.Timestamp = timestamp + this.Size = size + this.TotalDifficulty = totalDifficulty + this.Uncles = uncles + this.Transactions = transactions + return &this +} + +// NewWatchBlocksV1BlockDataWithDefaults instantiates a new WatchBlocksV1BlockData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1BlockDataWithDefaults() *WatchBlocksV1BlockData { + this := WatchBlocksV1BlockData{} + return &this +} + +// GetNumber returns the Number field value +func (o *WatchBlocksV1BlockData) GetNumber() string { + if o == nil { + var ret string + return ret + } + + return o.Number +} + +// GetNumberOk returns a tuple with the Number field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetNumberOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Number, true +} + +// SetNumber sets field value +func (o *WatchBlocksV1BlockData) SetNumber(v string) { + o.Number = v +} + +// GetHash returns the Hash field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetHash() string { + if o == nil || IsNil(o.Hash) { + var ret string + return ret + } + return *o.Hash +} + +// GetHashOk returns a tuple with the Hash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetHashOk() (*string, bool) { + if o == nil || IsNil(o.Hash) { + return nil, false + } + return o.Hash, true +} + +// HasHash returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasHash() bool { + if o != nil && !IsNil(o.Hash) { + return true + } + + return false +} + +// SetHash gets a reference to the given string and assigns it to the Hash field. +func (o *WatchBlocksV1BlockData) SetHash(v string) { + o.Hash = &v +} + +// GetParentHash returns the ParentHash field value +func (o *WatchBlocksV1BlockData) GetParentHash() string { + if o == nil { + var ret string + return ret + } + + return o.ParentHash +} + +// GetParentHashOk returns a tuple with the ParentHash field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetParentHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ParentHash, true +} + +// SetParentHash sets field value +func (o *WatchBlocksV1BlockData) SetParentHash(v string) { + o.ParentHash = v +} + +// GetNonce returns the Nonce field value +func (o *WatchBlocksV1BlockData) GetNonce() string { + if o == nil { + var ret string + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetNonceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *WatchBlocksV1BlockData) SetNonce(v string) { + o.Nonce = v +} + +// GetSha3Uncles returns the Sha3Uncles field value +func (o *WatchBlocksV1BlockData) GetSha3Uncles() string { + if o == nil { + var ret string + return ret + } + + return o.Sha3Uncles +} + +// GetSha3UnclesOk returns a tuple with the Sha3Uncles field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetSha3UnclesOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sha3Uncles, true +} + +// SetSha3Uncles sets field value +func (o *WatchBlocksV1BlockData) SetSha3Uncles(v string) { + o.Sha3Uncles = v +} + +// GetLogsBloom returns the LogsBloom field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetLogsBloom() string { + if o == nil || IsNil(o.LogsBloom) { + var ret string + return ret + } + return *o.LogsBloom +} + +// GetLogsBloomOk returns a tuple with the LogsBloom field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetLogsBloomOk() (*string, bool) { + if o == nil || IsNil(o.LogsBloom) { + return nil, false + } + return o.LogsBloom, true +} + +// HasLogsBloom returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasLogsBloom() bool { + if o != nil && !IsNil(o.LogsBloom) { + return true + } + + return false +} + +// SetLogsBloom gets a reference to the given string and assigns it to the LogsBloom field. +func (o *WatchBlocksV1BlockData) SetLogsBloom(v string) { + o.LogsBloom = &v +} + +// GetTransactionsRoot returns the TransactionsRoot field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetTransactionsRoot() string { + if o == nil || IsNil(o.TransactionsRoot) { + var ret string + return ret + } + return *o.TransactionsRoot +} + +// GetTransactionsRootOk returns a tuple with the TransactionsRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetTransactionsRootOk() (*string, bool) { + if o == nil || IsNil(o.TransactionsRoot) { + return nil, false + } + return o.TransactionsRoot, true +} + +// HasTransactionsRoot returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasTransactionsRoot() bool { + if o != nil && !IsNil(o.TransactionsRoot) { + return true + } + + return false +} + +// SetTransactionsRoot gets a reference to the given string and assigns it to the TransactionsRoot field. +func (o *WatchBlocksV1BlockData) SetTransactionsRoot(v string) { + o.TransactionsRoot = &v +} + +// GetStateRoot returns the StateRoot field value +func (o *WatchBlocksV1BlockData) GetStateRoot() string { + if o == nil { + var ret string + return ret + } + + return o.StateRoot +} + +// GetStateRootOk returns a tuple with the StateRoot field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetStateRootOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StateRoot, true +} + +// SetStateRoot sets field value +func (o *WatchBlocksV1BlockData) SetStateRoot(v string) { + o.StateRoot = v +} + +// GetReceiptsRoot returns the ReceiptsRoot field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetReceiptsRoot() string { + if o == nil || IsNil(o.ReceiptsRoot) { + var ret string + return ret + } + return *o.ReceiptsRoot +} + +// GetReceiptsRootOk returns a tuple with the ReceiptsRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetReceiptsRootOk() (*string, bool) { + if o == nil || IsNil(o.ReceiptsRoot) { + return nil, false + } + return o.ReceiptsRoot, true +} + +// HasReceiptsRoot returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasReceiptsRoot() bool { + if o != nil && !IsNil(o.ReceiptsRoot) { + return true + } + + return false +} + +// SetReceiptsRoot gets a reference to the given string and assigns it to the ReceiptsRoot field. +func (o *WatchBlocksV1BlockData) SetReceiptsRoot(v string) { + o.ReceiptsRoot = &v +} + +// GetDifficulty returns the Difficulty field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetDifficulty() string { + if o == nil || IsNil(o.Difficulty) { + var ret string + return ret + } + return *o.Difficulty +} + +// GetDifficultyOk returns a tuple with the Difficulty field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetDifficultyOk() (*string, bool) { + if o == nil || IsNil(o.Difficulty) { + return nil, false + } + return o.Difficulty, true +} + +// HasDifficulty returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasDifficulty() bool { + if o != nil && !IsNil(o.Difficulty) { + return true + } + + return false +} + +// SetDifficulty gets a reference to the given string and assigns it to the Difficulty field. +func (o *WatchBlocksV1BlockData) SetDifficulty(v string) { + o.Difficulty = &v +} + +// GetMixHash returns the MixHash field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetMixHash() string { + if o == nil || IsNil(o.MixHash) { + var ret string + return ret + } + return *o.MixHash +} + +// GetMixHashOk returns a tuple with the MixHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetMixHashOk() (*string, bool) { + if o == nil || IsNil(o.MixHash) { + return nil, false + } + return o.MixHash, true +} + +// HasMixHash returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasMixHash() bool { + if o != nil && !IsNil(o.MixHash) { + return true + } + + return false +} + +// SetMixHash gets a reference to the given string and assigns it to the MixHash field. +func (o *WatchBlocksV1BlockData) SetMixHash(v string) { + o.MixHash = &v +} + +// GetMiner returns the Miner field value +func (o *WatchBlocksV1BlockData) GetMiner() string { + if o == nil { + var ret string + return ret + } + + return o.Miner +} + +// GetMinerOk returns a tuple with the Miner field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetMinerOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Miner, true +} + +// SetMiner sets field value +func (o *WatchBlocksV1BlockData) SetMiner(v string) { + o.Miner = v +} + +// GetExtraData returns the ExtraData field value +func (o *WatchBlocksV1BlockData) GetExtraData() string { + if o == nil { + var ret string + return ret + } + + return o.ExtraData +} + +// GetExtraDataOk returns a tuple with the ExtraData field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetExtraDataOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ExtraData, true +} + +// SetExtraData sets field value +func (o *WatchBlocksV1BlockData) SetExtraData(v string) { + o.ExtraData = v +} + +// GetGasLimit returns the GasLimit field value +func (o *WatchBlocksV1BlockData) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *WatchBlocksV1BlockData) SetGasLimit(v string) { + o.GasLimit = v +} + +// GetGasUsed returns the GasUsed field value +func (o *WatchBlocksV1BlockData) GetGasUsed() string { + if o == nil { + var ret string + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetGasUsedOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *WatchBlocksV1BlockData) SetGasUsed(v string) { + o.GasUsed = v +} + +// GetTimestamp returns the Timestamp field value +func (o *WatchBlocksV1BlockData) GetTimestamp() WatchBlocksV1BlockDataTimestamp { + if o == nil { + var ret WatchBlocksV1BlockDataTimestamp + return ret + } + + return o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetTimestampOk() (*WatchBlocksV1BlockDataTimestamp, bool) { + if o == nil { + return nil, false + } + return &o.Timestamp, true +} + +// SetTimestamp sets field value +func (o *WatchBlocksV1BlockData) SetTimestamp(v WatchBlocksV1BlockDataTimestamp) { + o.Timestamp = v +} + +// GetSize returns the Size field value +func (o *WatchBlocksV1BlockData) GetSize() string { + if o == nil { + var ret string + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetSizeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *WatchBlocksV1BlockData) SetSize(v string) { + o.Size = v +} + +// GetTotalDifficulty returns the TotalDifficulty field value +func (o *WatchBlocksV1BlockData) GetTotalDifficulty() string { + if o == nil { + var ret string + return ret + } + + return o.TotalDifficulty +} + +// GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetTotalDifficultyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TotalDifficulty, true +} + +// SetTotalDifficulty sets field value +func (o *WatchBlocksV1BlockData) SetTotalDifficulty(v string) { + o.TotalDifficulty = v +} + +// GetUncles returns the Uncles field value +func (o *WatchBlocksV1BlockData) GetUncles() []string { + if o == nil { + var ret []string + return ret + } + + return o.Uncles +} + +// GetUnclesOk returns a tuple with the Uncles field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetUnclesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Uncles, true +} + +// SetUncles sets field value +func (o *WatchBlocksV1BlockData) SetUncles(v []string) { + o.Uncles = v +} + +// GetBaseFeePerGas returns the BaseFeePerGas field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetBaseFeePerGas() string { + if o == nil || IsNil(o.BaseFeePerGas) { + var ret string + return ret + } + return *o.BaseFeePerGas +} + +// GetBaseFeePerGasOk returns a tuple with the BaseFeePerGas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetBaseFeePerGasOk() (*string, bool) { + if o == nil || IsNil(o.BaseFeePerGas) { + return nil, false + } + return o.BaseFeePerGas, true +} + +// HasBaseFeePerGas returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasBaseFeePerGas() bool { + if o != nil && !IsNil(o.BaseFeePerGas) { + return true + } + + return false +} + +// SetBaseFeePerGas gets a reference to the given string and assigns it to the BaseFeePerGas field. +func (o *WatchBlocksV1BlockData) SetBaseFeePerGas(v string) { + o.BaseFeePerGas = &v +} + +// GetTransactions returns the Transactions field value +func (o *WatchBlocksV1BlockData) GetTransactions() []Web3Transaction { + if o == nil { + var ret []Web3Transaction + return ret + } + + return o.Transactions +} + +// GetTransactionsOk returns a tuple with the Transactions field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetTransactionsOk() ([]Web3Transaction, bool) { + if o == nil { + return nil, false + } + return o.Transactions, true +} + +// SetTransactions sets field value +func (o *WatchBlocksV1BlockData) SetTransactions(v []Web3Transaction) { + o.Transactions = v +} + +func (o WatchBlocksV1BlockData) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1BlockData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["number"] = o.Number + if !IsNil(o.Hash) { + toSerialize["hash"] = o.Hash + } + toSerialize["parentHash"] = o.ParentHash + toSerialize["nonce"] = o.Nonce + toSerialize["sha3Uncles"] = o.Sha3Uncles + if !IsNil(o.LogsBloom) { + toSerialize["logsBloom"] = o.LogsBloom + } + if !IsNil(o.TransactionsRoot) { + toSerialize["transactionsRoot"] = o.TransactionsRoot + } + toSerialize["stateRoot"] = o.StateRoot + if !IsNil(o.ReceiptsRoot) { + toSerialize["receiptsRoot"] = o.ReceiptsRoot + } + if !IsNil(o.Difficulty) { + toSerialize["difficulty"] = o.Difficulty + } + if !IsNil(o.MixHash) { + toSerialize["mixHash"] = o.MixHash + } + toSerialize["miner"] = o.Miner + toSerialize["extraData"] = o.ExtraData + toSerialize["gasLimit"] = o.GasLimit + toSerialize["gasUsed"] = o.GasUsed + toSerialize["timestamp"] = o.Timestamp + toSerialize["size"] = o.Size + toSerialize["totalDifficulty"] = o.TotalDifficulty + toSerialize["uncles"] = o.Uncles + if !IsNil(o.BaseFeePerGas) { + toSerialize["baseFeePerGas"] = o.BaseFeePerGas + } + toSerialize["transactions"] = o.Transactions + return toSerialize, nil +} + +type NullableWatchBlocksV1BlockData struct { + value *WatchBlocksV1BlockData + isSet bool +} + +func (v NullableWatchBlocksV1BlockData) Get() *WatchBlocksV1BlockData { + return v.value +} + +func (v *NullableWatchBlocksV1BlockData) Set(val *WatchBlocksV1BlockData) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1BlockData) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1BlockData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1BlockData(val *WatchBlocksV1BlockData) *NullableWatchBlocksV1BlockData { + return &NullableWatchBlocksV1BlockData{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1BlockData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1BlockData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_block_data_timestamp.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_block_data_timestamp.go new file mode 100644 index 00000000000..3765b836a8b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_block_data_timestamp.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksV1BlockDataTimestamp - struct for WatchBlocksV1BlockDataTimestamp +type WatchBlocksV1BlockDataTimestamp struct { + Float32 *float32 + String *string +} + +// float32AsWatchBlocksV1BlockDataTimestamp is a convenience function that returns float32 wrapped in WatchBlocksV1BlockDataTimestamp +func Float32AsWatchBlocksV1BlockDataTimestamp(v *float32) WatchBlocksV1BlockDataTimestamp { + return WatchBlocksV1BlockDataTimestamp{ + Float32: v, + } +} + +// stringAsWatchBlocksV1BlockDataTimestamp is a convenience function that returns string wrapped in WatchBlocksV1BlockDataTimestamp +func StringAsWatchBlocksV1BlockDataTimestamp(v *string) WatchBlocksV1BlockDataTimestamp { + return WatchBlocksV1BlockDataTimestamp{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *WatchBlocksV1BlockDataTimestamp) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Float32 + err = newStrictDecoder(data).Decode(&dst.Float32) + if err == nil { + jsonFloat32, _ := json.Marshal(dst.Float32) + if string(jsonFloat32) == "{}" { // empty struct + dst.Float32 = nil + } else { + match++ + } + } else { + dst.Float32 = nil + } + + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Float32 = nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(WatchBlocksV1BlockDataTimestamp)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(WatchBlocksV1BlockDataTimestamp)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src WatchBlocksV1BlockDataTimestamp) MarshalJSON() ([]byte, error) { + if src.Float32 != nil { + return json.Marshal(&src.Float32) + } + + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *WatchBlocksV1BlockDataTimestamp) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Float32 != nil { + return obj.Float32 + } + + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableWatchBlocksV1BlockDataTimestamp struct { + value *WatchBlocksV1BlockDataTimestamp + isSet bool +} + +func (v NullableWatchBlocksV1BlockDataTimestamp) Get() *WatchBlocksV1BlockDataTimestamp { + return v.value +} + +func (v *NullableWatchBlocksV1BlockDataTimestamp) Set(val *WatchBlocksV1BlockDataTimestamp) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1BlockDataTimestamp) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1BlockDataTimestamp) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1BlockDataTimestamp(val *WatchBlocksV1BlockDataTimestamp) *NullableWatchBlocksV1BlockDataTimestamp { + return &NullableWatchBlocksV1BlockDataTimestamp{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1BlockDataTimestamp) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1BlockDataTimestamp) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_options.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_options.go new file mode 100644 index 00000000000..1853c880815 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_options.go @@ -0,0 +1,205 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1Options type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1Options{} + +// WatchBlocksV1Options struct for WatchBlocksV1Options +type WatchBlocksV1Options struct { + // Include entire block data if flag is true, otherwise just a header is returned (default) + GetBlockData *bool `json:"getBlockData,omitempty"` + // Block from which we want to start the monitoring process. + LastSeenBlock *float32 `json:"lastSeenBlock,omitempty"` + // How often to poll ethereum node for new blocks. Not used if the node supports subscription based monitoring (i.e. WebSocket). + HttpPollInterval *float32 `json:"httpPollInterval,omitempty"` +} + +// NewWatchBlocksV1Options instantiates a new WatchBlocksV1Options object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1Options() *WatchBlocksV1Options { + this := WatchBlocksV1Options{} + var getBlockData bool = false + this.GetBlockData = &getBlockData + return &this +} + +// NewWatchBlocksV1OptionsWithDefaults instantiates a new WatchBlocksV1Options object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1OptionsWithDefaults() *WatchBlocksV1Options { + this := WatchBlocksV1Options{} + var getBlockData bool = false + this.GetBlockData = &getBlockData + return &this +} + +// GetGetBlockData returns the GetBlockData field value if set, zero value otherwise. +func (o *WatchBlocksV1Options) GetGetBlockData() bool { + if o == nil || IsNil(o.GetBlockData) { + var ret bool + return ret + } + return *o.GetBlockData +} + +// GetGetBlockDataOk returns a tuple with the GetBlockData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Options) GetGetBlockDataOk() (*bool, bool) { + if o == nil || IsNil(o.GetBlockData) { + return nil, false + } + return o.GetBlockData, true +} + +// HasGetBlockData returns a boolean if a field has been set. +func (o *WatchBlocksV1Options) HasGetBlockData() bool { + if o != nil && !IsNil(o.GetBlockData) { + return true + } + + return false +} + +// SetGetBlockData gets a reference to the given bool and assigns it to the GetBlockData field. +func (o *WatchBlocksV1Options) SetGetBlockData(v bool) { + o.GetBlockData = &v +} + +// GetLastSeenBlock returns the LastSeenBlock field value if set, zero value otherwise. +func (o *WatchBlocksV1Options) GetLastSeenBlock() float32 { + if o == nil || IsNil(o.LastSeenBlock) { + var ret float32 + return ret + } + return *o.LastSeenBlock +} + +// GetLastSeenBlockOk returns a tuple with the LastSeenBlock field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Options) GetLastSeenBlockOk() (*float32, bool) { + if o == nil || IsNil(o.LastSeenBlock) { + return nil, false + } + return o.LastSeenBlock, true +} + +// HasLastSeenBlock returns a boolean if a field has been set. +func (o *WatchBlocksV1Options) HasLastSeenBlock() bool { + if o != nil && !IsNil(o.LastSeenBlock) { + return true + } + + return false +} + +// SetLastSeenBlock gets a reference to the given float32 and assigns it to the LastSeenBlock field. +func (o *WatchBlocksV1Options) SetLastSeenBlock(v float32) { + o.LastSeenBlock = &v +} + +// GetHttpPollInterval returns the HttpPollInterval field value if set, zero value otherwise. +func (o *WatchBlocksV1Options) GetHttpPollInterval() float32 { + if o == nil || IsNil(o.HttpPollInterval) { + var ret float32 + return ret + } + return *o.HttpPollInterval +} + +// GetHttpPollIntervalOk returns a tuple with the HttpPollInterval field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Options) GetHttpPollIntervalOk() (*float32, bool) { + if o == nil || IsNil(o.HttpPollInterval) { + return nil, false + } + return o.HttpPollInterval, true +} + +// HasHttpPollInterval returns a boolean if a field has been set. +func (o *WatchBlocksV1Options) HasHttpPollInterval() bool { + if o != nil && !IsNil(o.HttpPollInterval) { + return true + } + + return false +} + +// SetHttpPollInterval gets a reference to the given float32 and assigns it to the HttpPollInterval field. +func (o *WatchBlocksV1Options) SetHttpPollInterval(v float32) { + o.HttpPollInterval = &v +} + +func (o WatchBlocksV1Options) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1Options) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.GetBlockData) { + toSerialize["getBlockData"] = o.GetBlockData + } + if !IsNil(o.LastSeenBlock) { + toSerialize["lastSeenBlock"] = o.LastSeenBlock + } + if !IsNil(o.HttpPollInterval) { + toSerialize["httpPollInterval"] = o.HttpPollInterval + } + return toSerialize, nil +} + +type NullableWatchBlocksV1Options struct { + value *WatchBlocksV1Options + isSet bool +} + +func (v NullableWatchBlocksV1Options) Get() *WatchBlocksV1Options { + return v.value +} + +func (v *NullableWatchBlocksV1Options) Set(val *WatchBlocksV1Options) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1Options) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1Options) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1Options(val *WatchBlocksV1Options) *NullableWatchBlocksV1Options { + return &NullableWatchBlocksV1Options{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1Options) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1Options) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go new file mode 100644 index 00000000000..0fd6d7bf141 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1Progress type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1Progress{} + +// WatchBlocksV1Progress struct for WatchBlocksV1Progress +type WatchBlocksV1Progress struct { + BlockHeader *Web3BlockHeader `json:"blockHeader,omitempty"` + BlockData *WatchBlocksV1BlockData `json:"blockData,omitempty"` +} + +// NewWatchBlocksV1Progress instantiates a new WatchBlocksV1Progress object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1Progress() *WatchBlocksV1Progress { + this := WatchBlocksV1Progress{} + return &this +} + +// NewWatchBlocksV1ProgressWithDefaults instantiates a new WatchBlocksV1Progress object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1ProgressWithDefaults() *WatchBlocksV1Progress { + this := WatchBlocksV1Progress{} + return &this +} + +// GetBlockHeader returns the BlockHeader field value if set, zero value otherwise. +func (o *WatchBlocksV1Progress) GetBlockHeader() Web3BlockHeader { + if o == nil || IsNil(o.BlockHeader) { + var ret Web3BlockHeader + return ret + } + return *o.BlockHeader +} + +// GetBlockHeaderOk returns a tuple with the BlockHeader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Progress) GetBlockHeaderOk() (*Web3BlockHeader, bool) { + if o == nil || IsNil(o.BlockHeader) { + return nil, false + } + return o.BlockHeader, true +} + +// HasBlockHeader returns a boolean if a field has been set. +func (o *WatchBlocksV1Progress) HasBlockHeader() bool { + if o != nil && !IsNil(o.BlockHeader) { + return true + } + + return false +} + +// SetBlockHeader gets a reference to the given Web3BlockHeader and assigns it to the BlockHeader field. +func (o *WatchBlocksV1Progress) SetBlockHeader(v Web3BlockHeader) { + o.BlockHeader = &v +} + +// GetBlockData returns the BlockData field value if set, zero value otherwise. +func (o *WatchBlocksV1Progress) GetBlockData() WatchBlocksV1BlockData { + if o == nil || IsNil(o.BlockData) { + var ret WatchBlocksV1BlockData + return ret + } + return *o.BlockData +} + +// GetBlockDataOk returns a tuple with the BlockData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Progress) GetBlockDataOk() (*WatchBlocksV1BlockData, bool) { + if o == nil || IsNil(o.BlockData) { + return nil, false + } + return o.BlockData, true +} + +// HasBlockData returns a boolean if a field has been set. +func (o *WatchBlocksV1Progress) HasBlockData() bool { + if o != nil && !IsNil(o.BlockData) { + return true + } + + return false +} + +// SetBlockData gets a reference to the given WatchBlocksV1BlockData and assigns it to the BlockData field. +func (o *WatchBlocksV1Progress) SetBlockData(v WatchBlocksV1BlockData) { + o.BlockData = &v +} + +func (o WatchBlocksV1Progress) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1Progress) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.BlockHeader) { + toSerialize["blockHeader"] = o.BlockHeader + } + if !IsNil(o.BlockData) { + toSerialize["blockData"] = o.BlockData + } + return toSerialize, nil +} + +type NullableWatchBlocksV1Progress struct { + value *WatchBlocksV1Progress + isSet bool +} + +func (v NullableWatchBlocksV1Progress) Get() *WatchBlocksV1Progress { + return v.value +} + +func (v *NullableWatchBlocksV1Progress) Set(val *WatchBlocksV1Progress) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1Progress) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1Progress) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1Progress(val *WatchBlocksV1Progress) *NullableWatchBlocksV1Progress { + return &NullableWatchBlocksV1Progress{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1Progress) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1Progress) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_block_header.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_block_header.go new file mode 100644 index 00000000000..32a9fcfa184 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_block_header.go @@ -0,0 +1,603 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the Web3BlockHeader type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3BlockHeader{} + +// Web3BlockHeader struct for Web3BlockHeader +type Web3BlockHeader struct { + Number *string `json:"number,omitempty"` + ParentHash *string `json:"parentHash,omitempty"` + Sha3Uncles string `json:"sha3Uncles"` + TransactionsRoot *string `json:"transactionsRoot,omitempty"` + ReceiptsRoot *string `json:"receiptsRoot,omitempty"` + Difficulty *string `json:"difficulty,omitempty"` + MixHash *string `json:"mixHash,omitempty"` + Miner *string `json:"miner,omitempty"` + GasLimit string `json:"gasLimit"` + GasUsed string `json:"gasUsed"` + StateRoot *string `json:"stateRoot,omitempty"` + LogsBloom *string `json:"logsBloom,omitempty"` + ExtraData *string `json:"extraData,omitempty"` + Nonce *string `json:"nonce,omitempty"` + Timestamp *string `json:"timestamp,omitempty"` +} + +// NewWeb3BlockHeader instantiates a new Web3BlockHeader object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3BlockHeader(sha3Uncles string, gasLimit string, gasUsed string) *Web3BlockHeader { + this := Web3BlockHeader{} + this.Sha3Uncles = sha3Uncles + this.GasLimit = gasLimit + this.GasUsed = gasUsed + return &this +} + +// NewWeb3BlockHeaderWithDefaults instantiates a new Web3BlockHeader object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3BlockHeaderWithDefaults() *Web3BlockHeader { + this := Web3BlockHeader{} + return &this +} + +// GetNumber returns the Number field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetNumber() string { + if o == nil || IsNil(o.Number) { + var ret string + return ret + } + return *o.Number +} + +// GetNumberOk returns a tuple with the Number field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetNumberOk() (*string, bool) { + if o == nil || IsNil(o.Number) { + return nil, false + } + return o.Number, true +} + +// HasNumber returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasNumber() bool { + if o != nil && !IsNil(o.Number) { + return true + } + + return false +} + +// SetNumber gets a reference to the given string and assigns it to the Number field. +func (o *Web3BlockHeader) SetNumber(v string) { + o.Number = &v +} + +// GetParentHash returns the ParentHash field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetParentHash() string { + if o == nil || IsNil(o.ParentHash) { + var ret string + return ret + } + return *o.ParentHash +} + +// GetParentHashOk returns a tuple with the ParentHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetParentHashOk() (*string, bool) { + if o == nil || IsNil(o.ParentHash) { + return nil, false + } + return o.ParentHash, true +} + +// HasParentHash returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasParentHash() bool { + if o != nil && !IsNil(o.ParentHash) { + return true + } + + return false +} + +// SetParentHash gets a reference to the given string and assigns it to the ParentHash field. +func (o *Web3BlockHeader) SetParentHash(v string) { + o.ParentHash = &v +} + +// GetSha3Uncles returns the Sha3Uncles field value +func (o *Web3BlockHeader) GetSha3Uncles() string { + if o == nil { + var ret string + return ret + } + + return o.Sha3Uncles +} + +// GetSha3UnclesOk returns a tuple with the Sha3Uncles field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetSha3UnclesOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sha3Uncles, true +} + +// SetSha3Uncles sets field value +func (o *Web3BlockHeader) SetSha3Uncles(v string) { + o.Sha3Uncles = v +} + +// GetTransactionsRoot returns the TransactionsRoot field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetTransactionsRoot() string { + if o == nil || IsNil(o.TransactionsRoot) { + var ret string + return ret + } + return *o.TransactionsRoot +} + +// GetTransactionsRootOk returns a tuple with the TransactionsRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetTransactionsRootOk() (*string, bool) { + if o == nil || IsNil(o.TransactionsRoot) { + return nil, false + } + return o.TransactionsRoot, true +} + +// HasTransactionsRoot returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasTransactionsRoot() bool { + if o != nil && !IsNil(o.TransactionsRoot) { + return true + } + + return false +} + +// SetTransactionsRoot gets a reference to the given string and assigns it to the TransactionsRoot field. +func (o *Web3BlockHeader) SetTransactionsRoot(v string) { + o.TransactionsRoot = &v +} + +// GetReceiptsRoot returns the ReceiptsRoot field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetReceiptsRoot() string { + if o == nil || IsNil(o.ReceiptsRoot) { + var ret string + return ret + } + return *o.ReceiptsRoot +} + +// GetReceiptsRootOk returns a tuple with the ReceiptsRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetReceiptsRootOk() (*string, bool) { + if o == nil || IsNil(o.ReceiptsRoot) { + return nil, false + } + return o.ReceiptsRoot, true +} + +// HasReceiptsRoot returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasReceiptsRoot() bool { + if o != nil && !IsNil(o.ReceiptsRoot) { + return true + } + + return false +} + +// SetReceiptsRoot gets a reference to the given string and assigns it to the ReceiptsRoot field. +func (o *Web3BlockHeader) SetReceiptsRoot(v string) { + o.ReceiptsRoot = &v +} + +// GetDifficulty returns the Difficulty field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetDifficulty() string { + if o == nil || IsNil(o.Difficulty) { + var ret string + return ret + } + return *o.Difficulty +} + +// GetDifficultyOk returns a tuple with the Difficulty field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetDifficultyOk() (*string, bool) { + if o == nil || IsNil(o.Difficulty) { + return nil, false + } + return o.Difficulty, true +} + +// HasDifficulty returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasDifficulty() bool { + if o != nil && !IsNil(o.Difficulty) { + return true + } + + return false +} + +// SetDifficulty gets a reference to the given string and assigns it to the Difficulty field. +func (o *Web3BlockHeader) SetDifficulty(v string) { + o.Difficulty = &v +} + +// GetMixHash returns the MixHash field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetMixHash() string { + if o == nil || IsNil(o.MixHash) { + var ret string + return ret + } + return *o.MixHash +} + +// GetMixHashOk returns a tuple with the MixHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetMixHashOk() (*string, bool) { + if o == nil || IsNil(o.MixHash) { + return nil, false + } + return o.MixHash, true +} + +// HasMixHash returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasMixHash() bool { + if o != nil && !IsNil(o.MixHash) { + return true + } + + return false +} + +// SetMixHash gets a reference to the given string and assigns it to the MixHash field. +func (o *Web3BlockHeader) SetMixHash(v string) { + o.MixHash = &v +} + +// GetMiner returns the Miner field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetMiner() string { + if o == nil || IsNil(o.Miner) { + var ret string + return ret + } + return *o.Miner +} + +// GetMinerOk returns a tuple with the Miner field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetMinerOk() (*string, bool) { + if o == nil || IsNil(o.Miner) { + return nil, false + } + return o.Miner, true +} + +// HasMiner returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasMiner() bool { + if o != nil && !IsNil(o.Miner) { + return true + } + + return false +} + +// SetMiner gets a reference to the given string and assigns it to the Miner field. +func (o *Web3BlockHeader) SetMiner(v string) { + o.Miner = &v +} + +// GetGasLimit returns the GasLimit field value +func (o *Web3BlockHeader) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *Web3BlockHeader) SetGasLimit(v string) { + o.GasLimit = v +} + +// GetGasUsed returns the GasUsed field value +func (o *Web3BlockHeader) GetGasUsed() string { + if o == nil { + var ret string + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetGasUsedOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *Web3BlockHeader) SetGasUsed(v string) { + o.GasUsed = v +} + +// GetStateRoot returns the StateRoot field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetStateRoot() string { + if o == nil || IsNil(o.StateRoot) { + var ret string + return ret + } + return *o.StateRoot +} + +// GetStateRootOk returns a tuple with the StateRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetStateRootOk() (*string, bool) { + if o == nil || IsNil(o.StateRoot) { + return nil, false + } + return o.StateRoot, true +} + +// HasStateRoot returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasStateRoot() bool { + if o != nil && !IsNil(o.StateRoot) { + return true + } + + return false +} + +// SetStateRoot gets a reference to the given string and assigns it to the StateRoot field. +func (o *Web3BlockHeader) SetStateRoot(v string) { + o.StateRoot = &v +} + +// GetLogsBloom returns the LogsBloom field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetLogsBloom() string { + if o == nil || IsNil(o.LogsBloom) { + var ret string + return ret + } + return *o.LogsBloom +} + +// GetLogsBloomOk returns a tuple with the LogsBloom field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetLogsBloomOk() (*string, bool) { + if o == nil || IsNil(o.LogsBloom) { + return nil, false + } + return o.LogsBloom, true +} + +// HasLogsBloom returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasLogsBloom() bool { + if o != nil && !IsNil(o.LogsBloom) { + return true + } + + return false +} + +// SetLogsBloom gets a reference to the given string and assigns it to the LogsBloom field. +func (o *Web3BlockHeader) SetLogsBloom(v string) { + o.LogsBloom = &v +} + +// GetExtraData returns the ExtraData field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetExtraData() string { + if o == nil || IsNil(o.ExtraData) { + var ret string + return ret + } + return *o.ExtraData +} + +// GetExtraDataOk returns a tuple with the ExtraData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetExtraDataOk() (*string, bool) { + if o == nil || IsNil(o.ExtraData) { + return nil, false + } + return o.ExtraData, true +} + +// HasExtraData returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasExtraData() bool { + if o != nil && !IsNil(o.ExtraData) { + return true + } + + return false +} + +// SetExtraData gets a reference to the given string and assigns it to the ExtraData field. +func (o *Web3BlockHeader) SetExtraData(v string) { + o.ExtraData = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetNonce() string { + if o == nil || IsNil(o.Nonce) { + var ret string + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetNonceOk() (*string, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given string and assigns it to the Nonce field. +func (o *Web3BlockHeader) SetNonce(v string) { + o.Nonce = &v +} + +// GetTimestamp returns the Timestamp field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetTimestamp() string { + if o == nil || IsNil(o.Timestamp) { + var ret string + return ret + } + return *o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetTimestampOk() (*string, bool) { + if o == nil || IsNil(o.Timestamp) { + return nil, false + } + return o.Timestamp, true +} + +// HasTimestamp returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasTimestamp() bool { + if o != nil && !IsNil(o.Timestamp) { + return true + } + + return false +} + +// SetTimestamp gets a reference to the given string and assigns it to the Timestamp field. +func (o *Web3BlockHeader) SetTimestamp(v string) { + o.Timestamp = &v +} + +func (o Web3BlockHeader) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3BlockHeader) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Number) { + toSerialize["number"] = o.Number + } + if !IsNil(o.ParentHash) { + toSerialize["parentHash"] = o.ParentHash + } + toSerialize["sha3Uncles"] = o.Sha3Uncles + if !IsNil(o.TransactionsRoot) { + toSerialize["transactionsRoot"] = o.TransactionsRoot + } + if !IsNil(o.ReceiptsRoot) { + toSerialize["receiptsRoot"] = o.ReceiptsRoot + } + if !IsNil(o.Difficulty) { + toSerialize["difficulty"] = o.Difficulty + } + if !IsNil(o.MixHash) { + toSerialize["mixHash"] = o.MixHash + } + if !IsNil(o.Miner) { + toSerialize["miner"] = o.Miner + } + toSerialize["gasLimit"] = o.GasLimit + toSerialize["gasUsed"] = o.GasUsed + if !IsNil(o.StateRoot) { + toSerialize["stateRoot"] = o.StateRoot + } + if !IsNil(o.LogsBloom) { + toSerialize["logsBloom"] = o.LogsBloom + } + if !IsNil(o.ExtraData) { + toSerialize["extraData"] = o.ExtraData + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.Timestamp) { + toSerialize["timestamp"] = o.Timestamp + } + return toSerialize, nil +} + +type NullableWeb3BlockHeader struct { + value *Web3BlockHeader + isSet bool +} + +func (v NullableWeb3BlockHeader) Get() *Web3BlockHeader { + return v.value +} + +func (v *NullableWeb3BlockHeader) Set(val *Web3BlockHeader) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3BlockHeader) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3BlockHeader) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3BlockHeader(val *Web3BlockHeader) *NullableWeb3BlockHeader { + return &NullableWeb3BlockHeader{value: val, isSet: true} +} + +func (v NullableWeb3BlockHeader) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3BlockHeader) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go new file mode 100644 index 00000000000..e48c3f29af8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go @@ -0,0 +1,208 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredential - struct for Web3SigningCredential +type Web3SigningCredential struct { + Web3SigningCredentialCactiKeychainRef *Web3SigningCredentialCactiKeychainRef + Web3SigningCredentialGethKeychainPassword *Web3SigningCredentialGethKeychainPassword + Web3SigningCredentialNone *Web3SigningCredentialNone + Web3SigningCredentialPrivateKeyHex *Web3SigningCredentialPrivateKeyHex +} + +// Web3SigningCredentialCactiKeychainRefAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialCactiKeychainRef wrapped in Web3SigningCredential +func Web3SigningCredentialCactiKeychainRefAsWeb3SigningCredential(v *Web3SigningCredentialCactiKeychainRef) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialCactiKeychainRef: v, + } +} + +// Web3SigningCredentialGethKeychainPasswordAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialGethKeychainPassword wrapped in Web3SigningCredential +func Web3SigningCredentialGethKeychainPasswordAsWeb3SigningCredential(v *Web3SigningCredentialGethKeychainPassword) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialGethKeychainPassword: v, + } +} + +// Web3SigningCredentialNoneAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialNone wrapped in Web3SigningCredential +func Web3SigningCredentialNoneAsWeb3SigningCredential(v *Web3SigningCredentialNone) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialNone: v, + } +} + +// Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialPrivateKeyHex wrapped in Web3SigningCredential +func Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential(v *Web3SigningCredentialPrivateKeyHex) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialPrivateKeyHex: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Web3SigningCredential) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Web3SigningCredentialCactiKeychainRef + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialCactiKeychainRef) + if err == nil { + jsonWeb3SigningCredentialCactiKeychainRef, _ := json.Marshal(dst.Web3SigningCredentialCactiKeychainRef) + if string(jsonWeb3SigningCredentialCactiKeychainRef) == "{}" { // empty struct + dst.Web3SigningCredentialCactiKeychainRef = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialCactiKeychainRef = nil + } + + // try to unmarshal data into Web3SigningCredentialGethKeychainPassword + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialGethKeychainPassword) + if err == nil { + jsonWeb3SigningCredentialGethKeychainPassword, _ := json.Marshal(dst.Web3SigningCredentialGethKeychainPassword) + if string(jsonWeb3SigningCredentialGethKeychainPassword) == "{}" { // empty struct + dst.Web3SigningCredentialGethKeychainPassword = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialGethKeychainPassword = nil + } + + // try to unmarshal data into Web3SigningCredentialNone + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialNone) + if err == nil { + jsonWeb3SigningCredentialNone, _ := json.Marshal(dst.Web3SigningCredentialNone) + if string(jsonWeb3SigningCredentialNone) == "{}" { // empty struct + dst.Web3SigningCredentialNone = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialNone = nil + } + + // try to unmarshal data into Web3SigningCredentialPrivateKeyHex + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialPrivateKeyHex) + if err == nil { + jsonWeb3SigningCredentialPrivateKeyHex, _ := json.Marshal(dst.Web3SigningCredentialPrivateKeyHex) + if string(jsonWeb3SigningCredentialPrivateKeyHex) == "{}" { // empty struct + dst.Web3SigningCredentialPrivateKeyHex = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialPrivateKeyHex = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Web3SigningCredentialCactiKeychainRef = nil + dst.Web3SigningCredentialGethKeychainPassword = nil + dst.Web3SigningCredentialNone = nil + dst.Web3SigningCredentialPrivateKeyHex = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Web3SigningCredential)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Web3SigningCredential)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Web3SigningCredential) MarshalJSON() ([]byte, error) { + if src.Web3SigningCredentialCactiKeychainRef != nil { + return json.Marshal(&src.Web3SigningCredentialCactiKeychainRef) + } + + if src.Web3SigningCredentialGethKeychainPassword != nil { + return json.Marshal(&src.Web3SigningCredentialGethKeychainPassword) + } + + if src.Web3SigningCredentialNone != nil { + return json.Marshal(&src.Web3SigningCredentialNone) + } + + if src.Web3SigningCredentialPrivateKeyHex != nil { + return json.Marshal(&src.Web3SigningCredentialPrivateKeyHex) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Web3SigningCredential) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Web3SigningCredentialCactiKeychainRef != nil { + return obj.Web3SigningCredentialCactiKeychainRef + } + + if obj.Web3SigningCredentialGethKeychainPassword != nil { + return obj.Web3SigningCredentialGethKeychainPassword + } + + if obj.Web3SigningCredentialNone != nil { + return obj.Web3SigningCredentialNone + } + + if obj.Web3SigningCredentialPrivateKeyHex != nil { + return obj.Web3SigningCredentialPrivateKeyHex + } + + // all schemas are nil + return nil +} + +type NullableWeb3SigningCredential struct { + value *Web3SigningCredential + isSet bool +} + +func (v NullableWeb3SigningCredential) Get() *Web3SigningCredential { + return v.value +} + +func (v *NullableWeb3SigningCredential) Set(val *Web3SigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredential(val *Web3SigningCredential) *NullableWeb3SigningCredential { + return &NullableWeb3SigningCredential{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cacti_keychain_ref.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cacti_keychain_ref.go new file mode 100644 index 00000000000..c5096dccd54 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cacti_keychain_ref.go @@ -0,0 +1,210 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialCactiKeychainRef type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialCactiKeychainRef{} + +// Web3SigningCredentialCactiKeychainRef struct for Web3SigningCredentialCactiKeychainRef +type Web3SigningCredentialCactiKeychainRef struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The key to use when looking up the the keychain entry holding the secret pointed to by the keychainEntryKey parameter. + KeychainEntryKey string `json:"keychainEntryKey"` + // The keychain ID to use when looking up the the keychain plugin instance that will be used to retrieve the secret pointed to by the keychainEntryKey parameter. + KeychainId *string `json:"keychainId,omitempty"` +} + +// NewWeb3SigningCredentialCactiKeychainRef instantiates a new Web3SigningCredentialCactiKeychainRef object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialCactiKeychainRef(type_ Web3SigningCredentialType, ethAccount string, keychainEntryKey string) *Web3SigningCredentialCactiKeychainRef { + this := Web3SigningCredentialCactiKeychainRef{} + this.Type = type_ + this.EthAccount = ethAccount + this.KeychainEntryKey = keychainEntryKey + return &this +} + +// NewWeb3SigningCredentialCactiKeychainRefWithDefaults instantiates a new Web3SigningCredentialCactiKeychainRef object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialCactiKeychainRefWithDefaults() *Web3SigningCredentialCactiKeychainRef { + this := Web3SigningCredentialCactiKeychainRef{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialCactiKeychainRef) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactiKeychainRef) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialCactiKeychainRef) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialCactiKeychainRef) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactiKeychainRef) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialCactiKeychainRef) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetKeychainEntryKey returns the KeychainEntryKey field value +func (o *Web3SigningCredentialCactiKeychainRef) GetKeychainEntryKey() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainEntryKey +} + +// GetKeychainEntryKeyOk returns a tuple with the KeychainEntryKey field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactiKeychainRef) GetKeychainEntryKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainEntryKey, true +} + +// SetKeychainEntryKey sets field value +func (o *Web3SigningCredentialCactiKeychainRef) SetKeychainEntryKey(v string) { + o.KeychainEntryKey = v +} + +// GetKeychainId returns the KeychainId field value if set, zero value otherwise. +func (o *Web3SigningCredentialCactiKeychainRef) GetKeychainId() string { + if o == nil || IsNil(o.KeychainId) { + var ret string + return ret + } + return *o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactiKeychainRef) GetKeychainIdOk() (*string, bool) { + if o == nil || IsNil(o.KeychainId) { + return nil, false + } + return o.KeychainId, true +} + +// HasKeychainId returns a boolean if a field has been set. +func (o *Web3SigningCredentialCactiKeychainRef) HasKeychainId() bool { + if o != nil && !IsNil(o.KeychainId) { + return true + } + + return false +} + +// SetKeychainId gets a reference to the given string and assigns it to the KeychainId field. +func (o *Web3SigningCredentialCactiKeychainRef) SetKeychainId(v string) { + o.KeychainId = &v +} + +func (o Web3SigningCredentialCactiKeychainRef) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialCactiKeychainRef) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["keychainEntryKey"] = o.KeychainEntryKey + if !IsNil(o.KeychainId) { + toSerialize["keychainId"] = o.KeychainId + } + return toSerialize, nil +} + +type NullableWeb3SigningCredentialCactiKeychainRef struct { + value *Web3SigningCredentialCactiKeychainRef + isSet bool +} + +func (v NullableWeb3SigningCredentialCactiKeychainRef) Get() *Web3SigningCredentialCactiKeychainRef { + return v.value +} + +func (v *NullableWeb3SigningCredentialCactiKeychainRef) Set(val *Web3SigningCredentialCactiKeychainRef) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialCactiKeychainRef) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialCactiKeychainRef) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialCactiKeychainRef(val *Web3SigningCredentialCactiKeychainRef) *NullableWeb3SigningCredentialCactiKeychainRef { + return &NullableWeb3SigningCredentialCactiKeychainRef{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialCactiKeychainRef) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialCactiKeychainRef) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_geth_keychain_password.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_geth_keychain_password.go new file mode 100644 index 00000000000..c19560dab15 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_geth_keychain_password.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialGethKeychainPassword type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialGethKeychainPassword{} + +// Web3SigningCredentialGethKeychainPassword struct for Web3SigningCredentialGethKeychainPassword +type Web3SigningCredentialGethKeychainPassword struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // A geth keychain unlock password. + Secret string `json:"secret"` +} + +// NewWeb3SigningCredentialGethKeychainPassword instantiates a new Web3SigningCredentialGethKeychainPassword object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialGethKeychainPassword(type_ Web3SigningCredentialType, ethAccount string, secret string) *Web3SigningCredentialGethKeychainPassword { + this := Web3SigningCredentialGethKeychainPassword{} + this.Type = type_ + this.EthAccount = ethAccount + this.Secret = secret + return &this +} + +// NewWeb3SigningCredentialGethKeychainPasswordWithDefaults instantiates a new Web3SigningCredentialGethKeychainPassword object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialGethKeychainPasswordWithDefaults() *Web3SigningCredentialGethKeychainPassword { + this := Web3SigningCredentialGethKeychainPassword{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialGethKeychainPassword) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialGethKeychainPassword) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialGethKeychainPassword) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialGethKeychainPassword) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialGethKeychainPassword) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialGethKeychainPassword) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetSecret returns the Secret field value +func (o *Web3SigningCredentialGethKeychainPassword) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialGethKeychainPassword) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *Web3SigningCredentialGethKeychainPassword) SetSecret(v string) { + o.Secret = v +} + +func (o Web3SigningCredentialGethKeychainPassword) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialGethKeychainPassword) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["secret"] = o.Secret + return toSerialize, nil +} + +type NullableWeb3SigningCredentialGethKeychainPassword struct { + value *Web3SigningCredentialGethKeychainPassword + isSet bool +} + +func (v NullableWeb3SigningCredentialGethKeychainPassword) Get() *Web3SigningCredentialGethKeychainPassword { + return v.value +} + +func (v *NullableWeb3SigningCredentialGethKeychainPassword) Set(val *Web3SigningCredentialGethKeychainPassword) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialGethKeychainPassword) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialGethKeychainPassword) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialGethKeychainPassword(val *Web3SigningCredentialGethKeychainPassword) *NullableWeb3SigningCredentialGethKeychainPassword { + return &NullableWeb3SigningCredentialGethKeychainPassword{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialGethKeychainPassword) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialGethKeychainPassword) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go new file mode 100644 index 00000000000..3925cf1b5c0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialNone type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialNone{} + +// Web3SigningCredentialNone Using this denotes that there is no signing required because the transaction is pre-signed. +type Web3SigningCredentialNone struct { + Type Web3SigningCredentialType `json:"type"` +} + +// NewWeb3SigningCredentialNone instantiates a new Web3SigningCredentialNone object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialNone(type_ Web3SigningCredentialType) *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + this.Type = type_ + return &this +} + +// NewWeb3SigningCredentialNoneWithDefaults instantiates a new Web3SigningCredentialNone object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialNoneWithDefaults() *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialNone) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialNone) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialNone) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +func (o Web3SigningCredentialNone) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialNone) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + return toSerialize, nil +} + +type NullableWeb3SigningCredentialNone struct { + value *Web3SigningCredentialNone + isSet bool +} + +func (v NullableWeb3SigningCredentialNone) Get() *Web3SigningCredentialNone { + return v.value +} + +func (v *NullableWeb3SigningCredentialNone) Set(val *Web3SigningCredentialNone) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialNone) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialNone) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialNone(val *Web3SigningCredentialNone) *NullableWeb3SigningCredentialNone { + return &NullableWeb3SigningCredentialNone{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialNone) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialNone) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go new file mode 100644 index 00000000000..5cddf32e4d7 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialPrivateKeyHex type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialPrivateKeyHex{} + +// Web3SigningCredentialPrivateKeyHex struct for Web3SigningCredentialPrivateKeyHex +type Web3SigningCredentialPrivateKeyHex struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The HEX encoded private key of an eth account. + Secret string `json:"secret"` +} + +// NewWeb3SigningCredentialPrivateKeyHex instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialPrivateKeyHex(type_ Web3SigningCredentialType, ethAccount string, secret string) *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + this.Type = type_ + this.EthAccount = ethAccount + this.Secret = secret + return &this +} + +// NewWeb3SigningCredentialPrivateKeyHexWithDefaults instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialPrivateKeyHexWithDefaults() *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialPrivateKeyHex) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetSecret returns the Secret field value +func (o *Web3SigningCredentialPrivateKeyHex) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetSecret(v string) { + o.Secret = v +} + +func (o Web3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialPrivateKeyHex) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["secret"] = o.Secret + return toSerialize, nil +} + +type NullableWeb3SigningCredentialPrivateKeyHex struct { + value *Web3SigningCredentialPrivateKeyHex + isSet bool +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) Get() *Web3SigningCredentialPrivateKeyHex { + return v.value +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Set(val *Web3SigningCredentialPrivateKeyHex) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialPrivateKeyHex(val *Web3SigningCredentialPrivateKeyHex) *NullableWeb3SigningCredentialPrivateKeyHex { + return &NullableWeb3SigningCredentialPrivateKeyHex{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go new file mode 100644 index 00000000000..6b1fa1ef7cb --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredentialType the model 'Web3SigningCredentialType' +type Web3SigningCredentialType string + +// List of Web3SigningCredentialType +const ( + CACTI_KEYCHAIN_REF Web3SigningCredentialType = "CACTI_KEYCHAIN_REF" + GETH_KEYCHAIN_PASSWORD Web3SigningCredentialType = "GETH_KEYCHAIN_PASSWORD" + PRIVATE_KEY_HEX Web3SigningCredentialType = "PRIVATE_KEY_HEX" + NONE Web3SigningCredentialType = "NONE" +) + +// All allowed values of Web3SigningCredentialType enum +var AllowedWeb3SigningCredentialTypeEnumValues = []Web3SigningCredentialType{ + "CACTI_KEYCHAIN_REF", + "GETH_KEYCHAIN_PASSWORD", + "PRIVATE_KEY_HEX", + "NONE", +} + +func (v *Web3SigningCredentialType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Web3SigningCredentialType(value) + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Web3SigningCredentialType", value) +} + +// NewWeb3SigningCredentialTypeFromValue returns a pointer to a valid Web3SigningCredentialType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWeb3SigningCredentialTypeFromValue(v string) (*Web3SigningCredentialType, error) { + ev := Web3SigningCredentialType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Web3SigningCredentialType: valid values are %v", v, AllowedWeb3SigningCredentialTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Web3SigningCredentialType) IsValid() bool { + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Web3SigningCredentialType value +func (v Web3SigningCredentialType) Ptr() *Web3SigningCredentialType { + return &v +} + +type NullableWeb3SigningCredentialType struct { + value *Web3SigningCredentialType + isSet bool +} + +func (v NullableWeb3SigningCredentialType) Get() *Web3SigningCredentialType { + return v.value +} + +func (v *NullableWeb3SigningCredentialType) Set(val *Web3SigningCredentialType) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialType) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialType(val *Web3SigningCredentialType) *NullableWeb3SigningCredentialType { + return &NullableWeb3SigningCredentialType{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_transaction.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_transaction.go new file mode 100644 index 00000000000..053c13dcb68 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_transaction.go @@ -0,0 +1,549 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the Web3Transaction type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3Transaction{} + +// Web3Transaction struct for Web3Transaction +type Web3Transaction struct { + Hash string `json:"hash"` + Nonce string `json:"nonce"` + BlockHash string `json:"blockHash"` + BlockNumber string `json:"blockNumber"` + TransactionIndex string `json:"transactionIndex"` + From string `json:"from"` + To string `json:"to"` + Value string `json:"value"` + GasPrice string `json:"gasPrice"` + Gas string `json:"gas"` + Input string `json:"input"` + Type string `json:"type"` + ChainId string `json:"chainId"` + V *string `json:"v,omitempty"` + R *string `json:"r,omitempty"` + S *string `json:"s,omitempty"` +} + +// NewWeb3Transaction instantiates a new Web3Transaction object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3Transaction(hash string, nonce string, blockHash string, blockNumber string, transactionIndex string, from string, to string, value string, gasPrice string, gas string, input string, type_ string, chainId string) *Web3Transaction { + this := Web3Transaction{} + this.Hash = hash + this.Nonce = nonce + this.BlockHash = blockHash + this.BlockNumber = blockNumber + this.TransactionIndex = transactionIndex + this.From = from + this.To = to + this.Value = value + this.GasPrice = gasPrice + this.Gas = gas + this.Input = input + this.Type = type_ + this.ChainId = chainId + return &this +} + +// NewWeb3TransactionWithDefaults instantiates a new Web3Transaction object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3TransactionWithDefaults() *Web3Transaction { + this := Web3Transaction{} + return &this +} + +// GetHash returns the Hash field value +func (o *Web3Transaction) GetHash() string { + if o == nil { + var ret string + return ret + } + + return o.Hash +} + +// GetHashOk returns a tuple with the Hash field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Hash, true +} + +// SetHash sets field value +func (o *Web3Transaction) SetHash(v string) { + o.Hash = v +} + +// GetNonce returns the Nonce field value +func (o *Web3Transaction) GetNonce() string { + if o == nil { + var ret string + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetNonceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *Web3Transaction) SetNonce(v string) { + o.Nonce = v +} + +// GetBlockHash returns the BlockHash field value +func (o *Web3Transaction) GetBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockHash, true +} + +// SetBlockHash sets field value +func (o *Web3Transaction) SetBlockHash(v string) { + o.BlockHash = v +} + +// GetBlockNumber returns the BlockNumber field value +func (o *Web3Transaction) GetBlockNumber() string { + if o == nil { + var ret string + return ret + } + + return o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetBlockNumberOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockNumber, true +} + +// SetBlockNumber sets field value +func (o *Web3Transaction) SetBlockNumber(v string) { + o.BlockNumber = v +} + +// GetTransactionIndex returns the TransactionIndex field value +func (o *Web3Transaction) GetTransactionIndex() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionIndex +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetTransactionIndexOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionIndex, true +} + +// SetTransactionIndex sets field value +func (o *Web3Transaction) SetTransactionIndex(v string) { + o.TransactionIndex = v +} + +// GetFrom returns the From field value +func (o *Web3Transaction) GetFrom() string { + if o == nil { + var ret string + return ret + } + + return o.From +} + +// GetFromOk returns a tuple with the From field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.From, true +} + +// SetFrom sets field value +func (o *Web3Transaction) SetFrom(v string) { + o.From = v +} + +// GetTo returns the To field value +func (o *Web3Transaction) GetTo() string { + if o == nil { + var ret string + return ret + } + + return o.To +} + +// GetToOk returns a tuple with the To field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetToOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.To, true +} + +// SetTo sets field value +func (o *Web3Transaction) SetTo(v string) { + o.To = v +} + +// GetValue returns the Value field value +func (o *Web3Transaction) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *Web3Transaction) SetValue(v string) { + o.Value = v +} + +// GetGasPrice returns the GasPrice field value +func (o *Web3Transaction) GetGasPrice() string { + if o == nil { + var ret string + return ret + } + + return o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetGasPriceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasPrice, true +} + +// SetGasPrice sets field value +func (o *Web3Transaction) SetGasPrice(v string) { + o.GasPrice = v +} + +// GetGas returns the Gas field value +func (o *Web3Transaction) GetGas() string { + if o == nil { + var ret string + return ret + } + + return o.Gas +} + +// GetGasOk returns a tuple with the Gas field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetGasOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Gas, true +} + +// SetGas sets field value +func (o *Web3Transaction) SetGas(v string) { + o.Gas = v +} + +// GetInput returns the Input field value +func (o *Web3Transaction) GetInput() string { + if o == nil { + var ret string + return ret + } + + return o.Input +} + +// GetInputOk returns a tuple with the Input field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetInputOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Input, true +} + +// SetInput sets field value +func (o *Web3Transaction) SetInput(v string) { + o.Input = v +} + +// GetType returns the Type field value +func (o *Web3Transaction) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3Transaction) SetType(v string) { + o.Type = v +} + +// GetChainId returns the ChainId field value +func (o *Web3Transaction) GetChainId() string { + if o == nil { + var ret string + return ret + } + + return o.ChainId +} + +// GetChainIdOk returns a tuple with the ChainId field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetChainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChainId, true +} + +// SetChainId sets field value +func (o *Web3Transaction) SetChainId(v string) { + o.ChainId = v +} + +// GetV returns the V field value if set, zero value otherwise. +func (o *Web3Transaction) GetV() string { + if o == nil || IsNil(o.V) { + var ret string + return ret + } + return *o.V +} + +// GetVOk returns a tuple with the V field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetVOk() (*string, bool) { + if o == nil || IsNil(o.V) { + return nil, false + } + return o.V, true +} + +// HasV returns a boolean if a field has been set. +func (o *Web3Transaction) HasV() bool { + if o != nil && !IsNil(o.V) { + return true + } + + return false +} + +// SetV gets a reference to the given string and assigns it to the V field. +func (o *Web3Transaction) SetV(v string) { + o.V = &v +} + +// GetR returns the R field value if set, zero value otherwise. +func (o *Web3Transaction) GetR() string { + if o == nil || IsNil(o.R) { + var ret string + return ret + } + return *o.R +} + +// GetROk returns a tuple with the R field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetROk() (*string, bool) { + if o == nil || IsNil(o.R) { + return nil, false + } + return o.R, true +} + +// HasR returns a boolean if a field has been set. +func (o *Web3Transaction) HasR() bool { + if o != nil && !IsNil(o.R) { + return true + } + + return false +} + +// SetR gets a reference to the given string and assigns it to the R field. +func (o *Web3Transaction) SetR(v string) { + o.R = &v +} + +// GetS returns the S field value if set, zero value otherwise. +func (o *Web3Transaction) GetS() string { + if o == nil || IsNil(o.S) { + var ret string + return ret + } + return *o.S +} + +// GetSOk returns a tuple with the S field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetSOk() (*string, bool) { + if o == nil || IsNil(o.S) { + return nil, false + } + return o.S, true +} + +// HasS returns a boolean if a field has been set. +func (o *Web3Transaction) HasS() bool { + if o != nil && !IsNil(o.S) { + return true + } + + return false +} + +// SetS gets a reference to the given string and assigns it to the S field. +func (o *Web3Transaction) SetS(v string) { + o.S = &v +} + +func (o Web3Transaction) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3Transaction) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["hash"] = o.Hash + toSerialize["nonce"] = o.Nonce + toSerialize["blockHash"] = o.BlockHash + toSerialize["blockNumber"] = o.BlockNumber + toSerialize["transactionIndex"] = o.TransactionIndex + toSerialize["from"] = o.From + toSerialize["to"] = o.To + toSerialize["value"] = o.Value + toSerialize["gasPrice"] = o.GasPrice + toSerialize["gas"] = o.Gas + toSerialize["input"] = o.Input + toSerialize["type"] = o.Type + toSerialize["chainId"] = o.ChainId + if !IsNil(o.V) { + toSerialize["v"] = o.V + } + if !IsNil(o.R) { + toSerialize["r"] = o.R + } + if !IsNil(o.S) { + toSerialize["s"] = o.S + } + return toSerialize, nil +} + +type NullableWeb3Transaction struct { + value *Web3Transaction + isSet bool +} + +func (v NullableWeb3Transaction) Get() *Web3Transaction { + return v.value +} + +func (v *NullableWeb3Transaction) Set(val *Web3Transaction) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3Transaction) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3Transaction) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3Transaction(val *Web3Transaction) *NullableWeb3Transaction { + return &NullableWeb3Transaction{value: val, isSet: true} +} + +func (v NullableWeb3Transaction) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3Transaction) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go new file mode 100644 index 00000000000..eb4f9bde4e1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go @@ -0,0 +1,681 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" +) + +// checks if the Web3TransactionReceipt type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3TransactionReceipt{} + +// Web3TransactionReceipt struct for Web3TransactionReceipt +type Web3TransactionReceipt struct { + Status bool `json:"status"` + TransactionHash string `json:"transactionHash"` + TransactionIndex string `json:"transactionIndex"` + BlockHash string `json:"blockHash"` + BlockNumber string `json:"blockNumber"` + GasUsed string `json:"gasUsed"` + EffectiveGasPrice *string `json:"effectiveGasPrice,omitempty"` + ContractAddress NullableString `json:"contractAddress,omitempty"` + From string `json:"from"` + To string `json:"to"` + Logs []interface{} `json:"logs,omitempty"` + LogsBloom *string `json:"logsBloom,omitempty"` + RevertReason *string `json:"revertReason,omitempty"` + Output *string `json:"output,omitempty"` + CommitmentHash *string `json:"commitmentHash,omitempty"` + CumulativeGasUsed *string `json:"cumulativeGasUsed,omitempty"` + Type *string `json:"type,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _Web3TransactionReceipt Web3TransactionReceipt + +// NewWeb3TransactionReceipt instantiates a new Web3TransactionReceipt object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3TransactionReceipt(status bool, transactionHash string, transactionIndex string, blockHash string, blockNumber string, gasUsed string, from string, to string) *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + this.Status = status + this.TransactionHash = transactionHash + this.TransactionIndex = transactionIndex + this.BlockHash = blockHash + this.BlockNumber = blockNumber + this.GasUsed = gasUsed + this.From = from + this.To = to + return &this +} + +// NewWeb3TransactionReceiptWithDefaults instantiates a new Web3TransactionReceipt object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3TransactionReceiptWithDefaults() *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + return &this +} + +// GetStatus returns the Status field value +func (o *Web3TransactionReceipt) GetStatus() bool { + if o == nil { + var ret bool + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetStatusOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *Web3TransactionReceipt) SetStatus(v bool) { + o.Status = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *Web3TransactionReceipt) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *Web3TransactionReceipt) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTransactionIndex returns the TransactionIndex field value +func (o *Web3TransactionReceipt) GetTransactionIndex() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionIndex +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionIndexOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionIndex, true +} + +// SetTransactionIndex sets field value +func (o *Web3TransactionReceipt) SetTransactionIndex(v string) { + o.TransactionIndex = v +} + +// GetBlockHash returns the BlockHash field value +func (o *Web3TransactionReceipt) GetBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockHash, true +} + +// SetBlockHash sets field value +func (o *Web3TransactionReceipt) SetBlockHash(v string) { + o.BlockHash = v +} + +// GetBlockNumber returns the BlockNumber field value +func (o *Web3TransactionReceipt) GetBlockNumber() string { + if o == nil { + var ret string + return ret + } + + return o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockNumberOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockNumber, true +} + +// SetBlockNumber sets field value +func (o *Web3TransactionReceipt) SetBlockNumber(v string) { + o.BlockNumber = v +} + +// GetGasUsed returns the GasUsed field value +func (o *Web3TransactionReceipt) GetGasUsed() string { + if o == nil { + var ret string + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetGasUsedOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *Web3TransactionReceipt) SetGasUsed(v string) { + o.GasUsed = v +} + +// GetEffectiveGasPrice returns the EffectiveGasPrice field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetEffectiveGasPrice() string { + if o == nil || IsNil(o.EffectiveGasPrice) { + var ret string + return ret + } + return *o.EffectiveGasPrice +} + +// GetEffectiveGasPriceOk returns a tuple with the EffectiveGasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetEffectiveGasPriceOk() (*string, bool) { + if o == nil || IsNil(o.EffectiveGasPrice) { + return nil, false + } + return o.EffectiveGasPrice, true +} + +// HasEffectiveGasPrice returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasEffectiveGasPrice() bool { + if o != nil && !IsNil(o.EffectiveGasPrice) { + return true + } + + return false +} + +// SetEffectiveGasPrice gets a reference to the given string and assigns it to the EffectiveGasPrice field. +func (o *Web3TransactionReceipt) SetEffectiveGasPrice(v string) { + o.EffectiveGasPrice = &v +} + +// GetContractAddress returns the ContractAddress field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Web3TransactionReceipt) GetContractAddress() string { + if o == nil || IsNil(o.ContractAddress.Get()) { + var ret string + return ret + } + return *o.ContractAddress.Get() +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3TransactionReceipt) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ContractAddress.Get(), o.ContractAddress.IsSet() +} + +// HasContractAddress returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasContractAddress() bool { + if o != nil && o.ContractAddress.IsSet() { + return true + } + + return false +} + +// SetContractAddress gets a reference to the given NullableString and assigns it to the ContractAddress field. +func (o *Web3TransactionReceipt) SetContractAddress(v string) { + o.ContractAddress.Set(&v) +} +// SetContractAddressNil sets the value for ContractAddress to be an explicit nil +func (o *Web3TransactionReceipt) SetContractAddressNil() { + o.ContractAddress.Set(nil) +} + +// UnsetContractAddress ensures that no value is present for ContractAddress, not even an explicit nil +func (o *Web3TransactionReceipt) UnsetContractAddress() { + o.ContractAddress.Unset() +} + +// GetFrom returns the From field value +func (o *Web3TransactionReceipt) GetFrom() string { + if o == nil { + var ret string + return ret + } + + return o.From +} + +// GetFromOk returns a tuple with the From field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.From, true +} + +// SetFrom sets field value +func (o *Web3TransactionReceipt) SetFrom(v string) { + o.From = v +} + +// GetTo returns the To field value +func (o *Web3TransactionReceipt) GetTo() string { + if o == nil { + var ret string + return ret + } + + return o.To +} + +// GetToOk returns a tuple with the To field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetToOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.To, true +} + +// SetTo sets field value +func (o *Web3TransactionReceipt) SetTo(v string) { + o.To = v +} + +// GetLogs returns the Logs field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetLogs() []interface{} { + if o == nil || IsNil(o.Logs) { + var ret []interface{} + return ret + } + return o.Logs +} + +// GetLogsOk returns a tuple with the Logs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetLogsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Logs) { + return nil, false + } + return o.Logs, true +} + +// HasLogs returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasLogs() bool { + if o != nil && !IsNil(o.Logs) { + return true + } + + return false +} + +// SetLogs gets a reference to the given []interface{} and assigns it to the Logs field. +func (o *Web3TransactionReceipt) SetLogs(v []interface{}) { + o.Logs = v +} + +// GetLogsBloom returns the LogsBloom field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetLogsBloom() string { + if o == nil || IsNil(o.LogsBloom) { + var ret string + return ret + } + return *o.LogsBloom +} + +// GetLogsBloomOk returns a tuple with the LogsBloom field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetLogsBloomOk() (*string, bool) { + if o == nil || IsNil(o.LogsBloom) { + return nil, false + } + return o.LogsBloom, true +} + +// HasLogsBloom returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasLogsBloom() bool { + if o != nil && !IsNil(o.LogsBloom) { + return true + } + + return false +} + +// SetLogsBloom gets a reference to the given string and assigns it to the LogsBloom field. +func (o *Web3TransactionReceipt) SetLogsBloom(v string) { + o.LogsBloom = &v +} + +// GetRevertReason returns the RevertReason field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetRevertReason() string { + if o == nil || IsNil(o.RevertReason) { + var ret string + return ret + } + return *o.RevertReason +} + +// GetRevertReasonOk returns a tuple with the RevertReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetRevertReasonOk() (*string, bool) { + if o == nil || IsNil(o.RevertReason) { + return nil, false + } + return o.RevertReason, true +} + +// HasRevertReason returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasRevertReason() bool { + if o != nil && !IsNil(o.RevertReason) { + return true + } + + return false +} + +// SetRevertReason gets a reference to the given string and assigns it to the RevertReason field. +func (o *Web3TransactionReceipt) SetRevertReason(v string) { + o.RevertReason = &v +} + +// GetOutput returns the Output field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetOutput() string { + if o == nil || IsNil(o.Output) { + var ret string + return ret + } + return *o.Output +} + +// GetOutputOk returns a tuple with the Output field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetOutputOk() (*string, bool) { + if o == nil || IsNil(o.Output) { + return nil, false + } + return o.Output, true +} + +// HasOutput returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasOutput() bool { + if o != nil && !IsNil(o.Output) { + return true + } + + return false +} + +// SetOutput gets a reference to the given string and assigns it to the Output field. +func (o *Web3TransactionReceipt) SetOutput(v string) { + o.Output = &v +} + +// GetCommitmentHash returns the CommitmentHash field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetCommitmentHash() string { + if o == nil || IsNil(o.CommitmentHash) { + var ret string + return ret + } + return *o.CommitmentHash +} + +// GetCommitmentHashOk returns a tuple with the CommitmentHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetCommitmentHashOk() (*string, bool) { + if o == nil || IsNil(o.CommitmentHash) { + return nil, false + } + return o.CommitmentHash, true +} + +// HasCommitmentHash returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasCommitmentHash() bool { + if o != nil && !IsNil(o.CommitmentHash) { + return true + } + + return false +} + +// SetCommitmentHash gets a reference to the given string and assigns it to the CommitmentHash field. +func (o *Web3TransactionReceipt) SetCommitmentHash(v string) { + o.CommitmentHash = &v +} + +// GetCumulativeGasUsed returns the CumulativeGasUsed field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetCumulativeGasUsed() string { + if o == nil || IsNil(o.CumulativeGasUsed) { + var ret string + return ret + } + return *o.CumulativeGasUsed +} + +// GetCumulativeGasUsedOk returns a tuple with the CumulativeGasUsed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetCumulativeGasUsedOk() (*string, bool) { + if o == nil || IsNil(o.CumulativeGasUsed) { + return nil, false + } + return o.CumulativeGasUsed, true +} + +// HasCumulativeGasUsed returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasCumulativeGasUsed() bool { + if o != nil && !IsNil(o.CumulativeGasUsed) { + return true + } + + return false +} + +// SetCumulativeGasUsed gets a reference to the given string and assigns it to the CumulativeGasUsed field. +func (o *Web3TransactionReceipt) SetCumulativeGasUsed(v string) { + o.CumulativeGasUsed = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetType() string { + if o == nil || IsNil(o.Type) { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTypeOk() (*string, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *Web3TransactionReceipt) SetType(v string) { + o.Type = &v +} + +func (o Web3TransactionReceipt) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3TransactionReceipt) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + toSerialize["transactionHash"] = o.TransactionHash + toSerialize["transactionIndex"] = o.TransactionIndex + toSerialize["blockHash"] = o.BlockHash + toSerialize["blockNumber"] = o.BlockNumber + toSerialize["gasUsed"] = o.GasUsed + if !IsNil(o.EffectiveGasPrice) { + toSerialize["effectiveGasPrice"] = o.EffectiveGasPrice + } + if o.ContractAddress.IsSet() { + toSerialize["contractAddress"] = o.ContractAddress.Get() + } + toSerialize["from"] = o.From + toSerialize["to"] = o.To + if !IsNil(o.Logs) { + toSerialize["logs"] = o.Logs + } + if !IsNil(o.LogsBloom) { + toSerialize["logsBloom"] = o.LogsBloom + } + if !IsNil(o.RevertReason) { + toSerialize["revertReason"] = o.RevertReason + } + if !IsNil(o.Output) { + toSerialize["output"] = o.Output + } + if !IsNil(o.CommitmentHash) { + toSerialize["commitmentHash"] = o.CommitmentHash + } + if !IsNil(o.CumulativeGasUsed) { + toSerialize["cumulativeGasUsed"] = o.CumulativeGasUsed + } + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Web3TransactionReceipt) UnmarshalJSON(bytes []byte) (err error) { + varWeb3TransactionReceipt := _Web3TransactionReceipt{} + + if err = json.Unmarshal(bytes, &varWeb3TransactionReceipt); err == nil { + *o = Web3TransactionReceipt(varWeb3TransactionReceipt) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "status") + delete(additionalProperties, "transactionHash") + delete(additionalProperties, "transactionIndex") + delete(additionalProperties, "blockHash") + delete(additionalProperties, "blockNumber") + delete(additionalProperties, "gasUsed") + delete(additionalProperties, "effectiveGasPrice") + delete(additionalProperties, "contractAddress") + delete(additionalProperties, "from") + delete(additionalProperties, "to") + delete(additionalProperties, "logs") + delete(additionalProperties, "logsBloom") + delete(additionalProperties, "revertReason") + delete(additionalProperties, "output") + delete(additionalProperties, "commitmentHash") + delete(additionalProperties, "cumulativeGasUsed") + delete(additionalProperties, "type") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWeb3TransactionReceipt struct { + value *Web3TransactionReceipt + isSet bool +} + +func (v NullableWeb3TransactionReceipt) Get() *Web3TransactionReceipt { + return v.value +} + +func (v *NullableWeb3TransactionReceipt) Set(val *Web3TransactionReceipt) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3TransactionReceipt) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3TransactionReceipt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3TransactionReceipt(val *Web3TransactionReceipt) *NullableWeb3TransactionReceipt { + return &NullableWeb3TransactionReceipt{value: val, isSet: true} +} + +func (v NullableWeb3TransactionReceipt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3TransactionReceipt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..361b4e29f45 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..0529f5ad070 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,97 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-ethereum + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-ethereum_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeployContract", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContract(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeRawWeb3EthContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeRawWeb3EthContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeWeb3EthMethodV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeWeb3EthMethodV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RunTransactionV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RunTransactionV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..8dfbe0244bf --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-ethereum/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cacti Plugin - Connector Ethereum + +Can perform basic tasks on a Ethereum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-ethereum + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-fabric/package.json b/packages/cactus-plugin-ledger-connector-fabric/package.json index e777e79a37c..7a32c7203ee 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/package.json +++ b/packages/cactus-plugin-ledger-connector-fabric/package.json @@ -48,6 +48,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..c549af03c0b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,62 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_chain_code_language_runtime.go +model_chain_code_life_cycle_command_responses.go +model_chain_code_programming_language.go +model_connection_profile.go +model_connection_profile_client.go +model_default_event_handler_strategy.go +model_deploy_contract_go_source_v1_501_response.go +model_deploy_contract_go_source_v1_request.go +model_deploy_contract_go_source_v1_request_constructor_args.go +model_deploy_contract_go_source_v1_response.go +model_deploy_contract_v1_request.go +model_deploy_contract_v1_response.go +model_deployment_target_org_fabric2x.go +model_deployment_target_organization.go +model_error_exception_response_v1.go +model_fabric_contract_invocation_type.go +model_fabric_signing_credential.go +model_fabric_signing_credential_type.go +model_file_base64.go +model_gateway_discovery_options.go +model_gateway_event_handler_options.go +model_gateway_options.go +model_gateway_options_wallet.go +model_get_block_request_v1.go +model_get_block_request_v1_query.go +model_get_block_request_v1_query_block_hash.go +model_get_block_response_decoded_v1.go +model_get_block_response_encoded_v1.go +model_get_block_response_v1.go +model_get_transaction_receipt_response.go +model_run_delegated_sign_transaction_request.go +model_run_transaction_request.go +model_run_transaction_response.go +model_run_transaction_response_type.go +model_ssh_exec_command_response.go +model_transact_receipt_block_meta_data.go +model_transact_receipt_transaction_creator.go +model_transact_receipt_transaction_endorsement.go +model_vault_transit_key.go +model_watch_blocks_cactus_error_response_v1.go +model_watch_blocks_cactus_transactions_event_v1.go +model_watch_blocks_cactus_transactions_response_v1.go +model_watch_blocks_delegated_sign_options_v1.go +model_watch_blocks_filtered_response_v1.go +model_watch_blocks_full_response_v1.go +model_watch_blocks_listener_type_v1.go +model_watch_blocks_options_v1.go +model_watch_blocks_private_response_v1.go +model_watch_blocks_response_v1.go +model_watch_blocks_v1.go +model_web_socket_key.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..5bd81f5f2e2 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,168 @@ +# Go API client for cactus-plugin-ledger-connector-fabric + +Can perform basic tasks on a fabric ledger + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-fabric "github.com/hyperledger/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-fabric.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-fabric.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-fabric.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-fabric.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeployContractGoSourceV1**](docs/DefaultApi.md#deploycontractgosourcev1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract-go-source | Deploys a chaincode contract in the form of a go sources. +*DefaultApi* | [**DeployContractV1**](docs/DefaultApi.md#deploycontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract | Deploys a chaincode contract from a set of source files. Note: This endpoint only supports Fabric 2.x. The 'v1' suffix in the method name refers to the Cactus API version, not the supported Fabric ledger version. +*DefaultApi* | [**GetBlockV1**](docs/DefaultApi.md#getblockv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-block | Get block from the channel using one of selectors from the input. Works only on Fabric 2.x. +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**GetTransactionReceiptByTxIDV1**](docs/DefaultApi.md#gettransactionreceiptbytxidv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-transaction-receipt-by-txid | get a transaction receipt by tx id on a Fabric ledger. +*DefaultApi* | [**RunDelegatedSignTransactionV1**](docs/DefaultApi.md#rundelegatedsigntransactionv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-delegated-sign-transaction | Runs a transaction on a Fabric ledger using user-provided signing callback. +*DefaultApi* | [**RunTransactionV1**](docs/DefaultApi.md#runtransactionv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-transaction | Runs a transaction on a Fabric ledger. + + +## Documentation For Models + + - [ChainCodeLanguageRuntime](docs/ChainCodeLanguageRuntime.md) + - [ChainCodeLifeCycleCommandResponses](docs/ChainCodeLifeCycleCommandResponses.md) + - [ChainCodeProgrammingLanguage](docs/ChainCodeProgrammingLanguage.md) + - [ConnectionProfile](docs/ConnectionProfile.md) + - [ConnectionProfileClient](docs/ConnectionProfileClient.md) + - [DefaultEventHandlerStrategy](docs/DefaultEventHandlerStrategy.md) + - [DeployContractGoSourceV1501Response](docs/DeployContractGoSourceV1501Response.md) + - [DeployContractGoSourceV1Request](docs/DeployContractGoSourceV1Request.md) + - [DeployContractGoSourceV1RequestConstructorArgs](docs/DeployContractGoSourceV1RequestConstructorArgs.md) + - [DeployContractGoSourceV1Response](docs/DeployContractGoSourceV1Response.md) + - [DeployContractV1Request](docs/DeployContractV1Request.md) + - [DeployContractV1Response](docs/DeployContractV1Response.md) + - [DeploymentTargetOrgFabric2x](docs/DeploymentTargetOrgFabric2x.md) + - [DeploymentTargetOrganization](docs/DeploymentTargetOrganization.md) + - [ErrorExceptionResponseV1](docs/ErrorExceptionResponseV1.md) + - [FabricContractInvocationType](docs/FabricContractInvocationType.md) + - [FabricSigningCredential](docs/FabricSigningCredential.md) + - [FabricSigningCredentialType](docs/FabricSigningCredentialType.md) + - [FileBase64](docs/FileBase64.md) + - [GatewayDiscoveryOptions](docs/GatewayDiscoveryOptions.md) + - [GatewayEventHandlerOptions](docs/GatewayEventHandlerOptions.md) + - [GatewayOptions](docs/GatewayOptions.md) + - [GatewayOptionsWallet](docs/GatewayOptionsWallet.md) + - [GetBlockRequestV1](docs/GetBlockRequestV1.md) + - [GetBlockRequestV1Query](docs/GetBlockRequestV1Query.md) + - [GetBlockRequestV1QueryBlockHash](docs/GetBlockRequestV1QueryBlockHash.md) + - [GetBlockResponseDecodedV1](docs/GetBlockResponseDecodedV1.md) + - [GetBlockResponseEncodedV1](docs/GetBlockResponseEncodedV1.md) + - [GetBlockResponseV1](docs/GetBlockResponseV1.md) + - [GetTransactionReceiptResponse](docs/GetTransactionReceiptResponse.md) + - [RunDelegatedSignTransactionRequest](docs/RunDelegatedSignTransactionRequest.md) + - [RunTransactionRequest](docs/RunTransactionRequest.md) + - [RunTransactionResponse](docs/RunTransactionResponse.md) + - [RunTransactionResponseType](docs/RunTransactionResponseType.md) + - [SSHExecCommandResponse](docs/SSHExecCommandResponse.md) + - [TransactReceiptBlockMetaData](docs/TransactReceiptBlockMetaData.md) + - [TransactReceiptTransactionCreator](docs/TransactReceiptTransactionCreator.md) + - [TransactReceiptTransactionEndorsement](docs/TransactReceiptTransactionEndorsement.md) + - [VaultTransitKey](docs/VaultTransitKey.md) + - [WatchBlocksCactusErrorResponseV1](docs/WatchBlocksCactusErrorResponseV1.md) + - [WatchBlocksCactusTransactionsEventV1](docs/WatchBlocksCactusTransactionsEventV1.md) + - [WatchBlocksCactusTransactionsResponseV1](docs/WatchBlocksCactusTransactionsResponseV1.md) + - [WatchBlocksDelegatedSignOptionsV1](docs/WatchBlocksDelegatedSignOptionsV1.md) + - [WatchBlocksFilteredResponseV1](docs/WatchBlocksFilteredResponseV1.md) + - [WatchBlocksFullResponseV1](docs/WatchBlocksFullResponseV1.md) + - [WatchBlocksListenerTypeV1](docs/WatchBlocksListenerTypeV1.md) + - [WatchBlocksOptionsV1](docs/WatchBlocksOptionsV1.md) + - [WatchBlocksPrivateResponseV1](docs/WatchBlocksPrivateResponseV1.md) + - [WatchBlocksResponseV1](docs/WatchBlocksResponseV1.md) + - [WatchBlocksV1](docs/WatchBlocksV1.md) + - [WebSocketKey](docs/WebSocketKey.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..ec7285ca01c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,1808 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on a fabric ledger + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Connector Fabric + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-transaction: + post: + description: "" + operationId: runTransactionV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Runs a transaction on a Fabric ledger. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-delegated-sign-transaction: + post: + description: "" + operationId: runDelegatedSignTransactionV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RunDelegatedSignTransactionRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Runs a transaction on a Fabric ledger using user-provided signing callback. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-delegated-sign-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-transaction-receipt-by-txid: + post: + description: "" + operationId: getTransactionReceiptByTxIDV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetTransactionReceiptResponse' + description: OK + "404": + description: "" + summary: get a transaction receipt by tx id on a Fabric ledger. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-transaction-receipt-by-txid + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract-go-source: + post: + operationId: deployContractGoSourceV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractGoSourceV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractGoSourceV1Response' + description: OK + "501": + content: + text/plain: + schema: + $ref: '#/components/schemas/deployContractGoSourceV1_501_response' + description: Not implemented + summary: Deploys a chaincode contract in the form of a go sources. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract-go-source + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract: + post: + operationId: deployContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractV1Response' + description: OK + "501": + content: + text/plain: + schema: + $ref: '#/components/schemas/deployContractGoSourceV1_501_response' + description: Not implemented + summary: "Deploys a chaincode contract from a set of source files. Note: This\ + \ endpoint only supports Fabric 2.x. The 'v1' suffix in the method name refers\ + \ to the Cactus API version, not the supported Fabric ledger version." + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-block: + post: + operationId: getBlockV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetBlockRequestV1' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetBlockResponseV1' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Get block from the channel using one of selectors from the input. Works + only on Fabric 2.x. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-block + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-prometheus-exporter-metrics +components: + schemas: + TransactReceiptTransactionEndorsement: + example: + mspid: mspid + signature: signature + endorserID: endorserID + properties: + mspid: + type: string + endorserID: + type: string + signature: + type: string + type: object + TransactReceiptTransactionCreator: + example: + mspid: mspid + creatorID: creatorID + properties: + mspid: + type: string + creatorID: + type: string + type: object + TransactReceiptBlockMetaData: + example: + mspid: mspid + blockCreatorID: blockCreatorID + signature: signature + properties: + mspid: + type: string + blockCreatorID: + type: string + signature: + type: string + type: object + VaultTransitKey: + description: vault key details for signing fabric message with private key stored + with transit engine. + example: + keyName: keyName + token: token + nullable: false + properties: + keyName: + description: label of private key + maxLength: 100 + minLength: 1 + nullable: false + type: string + token: + description: token for accessing private key + maxLength: 100 + minLength: 1 + nullable: false + type: string + required: + - keyName + - token + type: object + WebSocketKey: + description: web-socket key details for signing fabric message with private + key stored with external client + example: + signature: signature + sessionId: sessionId + nullable: false + properties: + sessionId: + description: session Id to access client + maxLength: 100 + minLength: 1 + nullable: false + type: string + signature: + description: signature of the session ID + maxLength: 100 + minLength: 1 + nullable: false + type: string + required: + - sessionId + - signature + type: object + FabricSigningCredentialType: + description: different type of identity provider for singing fabric messages + supported by this package + enum: + - X.509 + - Vault-X.509 + - WS-X.509 + nullable: false + type: string + FabricSigningCredential: + example: + vaultTransitKey: + keyName: keyName + token: token + keychainId: keychainId + keychainRef: keychainRef + webSocketKey: + signature: signature + sessionId: sessionId + type: null + properties: + keychainId: + maxLength: 100 + minLength: 1 + nullable: false + type: string + keychainRef: + maxLength: 100 + minLength: 1 + nullable: false + type: string + type: + $ref: '#/components/schemas/FabricSigningCredentialType' + vaultTransitKey: + $ref: '#/components/schemas/VaultTransitKey' + webSocketKey: + $ref: '#/components/schemas/WebSocketKey' + required: + - keychainId + - keychainRef + type: object + ChainCodeLifeCycleCommandResponses: + example: + init: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + commit: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + installList: + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + queryCommitted: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + packaging: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + approveForMyOrgList: + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + queryInstalledList: + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + properties: + packaging: + $ref: '#/components/schemas/SSHExecCommandResponse' + installList: + items: + $ref: '#/components/schemas/SSHExecCommandResponse' + minItems: 1 + type: array + queryInstalledList: + items: + $ref: '#/components/schemas/SSHExecCommandResponse' + minItems: 1 + type: array + approveForMyOrgList: + items: + $ref: '#/components/schemas/SSHExecCommandResponse' + minItems: 1 + type: array + commit: + $ref: '#/components/schemas/SSHExecCommandResponse' + queryCommitted: + $ref: '#/components/schemas/SSHExecCommandResponse' + init: + $ref: '#/components/schemas/SSHExecCommandResponse' + required: + - approveForMyOrgList + - installList + - queryInstalledList + type: object + ChainCodeProgrammingLanguage: + description: Enumerates the supported source code programming languages of Hyperledger + Fabric + enum: + - golang + - javascript + - typescript + - java + type: string + ChainCodeLanguageRuntime: + description: Enumerates the supported programming language runtimes of Hyperledger + Fabric + enum: + - golang + - node + - java + type: string + ConnectionProfile: + additionalProperties: true + example: + channels: + key: "" + certificateAuthorities: + key: "" + name: basic-network + organizations: + key: "" + peers: + key: "" + x-type: hlfv1 + description: The basic network + client: + organization: Org1 + orderers: + key: "" + version: "1.0" + properties: + name: + example: basic-network + maxLength: 1024 + minLength: 1 + type: string + x-type: + example: hlfv1 + minLength: 1 + type: string + description: + example: The basic network + type: string + version: + example: "1.0" + type: string + client: + $ref: '#/components/schemas/ConnectionProfile_client' + channels: + additionalProperties: true + type: object + organizations: + additionalProperties: true + type: object + orderers: + additionalProperties: true + type: object + peers: + additionalProperties: true + type: object + certificateAuthorities: + additionalProperties: true + type: object + required: + - name + - organizations + - peers + - version + type: object + GatewayDiscoveryOptions: + additionalProperties: false + example: + asLocalhost: true + enabled: true + properties: + asLocalhost: + nullable: false + type: boolean + enabled: + nullable: false + type: boolean + type: object + GatewayOptions: + example: + wallet: + keychain: + vaultTransitKey: + keyName: keyName + token: token + keychainId: keychainId + keychainRef: keychainRef + webSocketKey: + signature: signature + sessionId: sessionId + type: null + json: json + connectionProfile: + channels: + key: "" + certificateAuthorities: + key: "" + name: basic-network + organizations: + key: "" + peers: + key: "" + x-type: hlfv1 + description: The basic network + client: + organization: Org1 + orderers: + key: "" + version: "1.0" + discovery: + asLocalhost: true + enabled: true + identity: identity + eventHandlerOptions: + commitTimeout: 0.8008281904610115 + strategy: null + endorseTimeout: 6.027456183070403 + properties: + connectionProfile: + $ref: '#/components/schemas/ConnectionProfile' + discovery: + $ref: '#/components/schemas/GatewayDiscoveryOptions' + eventHandlerOptions: + $ref: '#/components/schemas/GatewayEventHandlerOptions' + identity: + type: string + wallet: + $ref: '#/components/schemas/GatewayOptions_wallet' + required: + - identity + - wallet + type: object + DefaultEventHandlerStrategy: + enum: + - MSPID_SCOPE_ALLFORTX + - MSPID_SCOPE_ANYFORTX + - NETWORK_SCOPE_ALLFORTX + - NETWORK_SCOPE_ANYFORTX + type: string + GatewayEventHandlerOptions: + additionalProperties: false + example: + commitTimeout: 0.8008281904610115 + strategy: null + endorseTimeout: 6.027456183070403 + properties: + commitTimeout: + nullable: false + type: number + endorseTimeout: + nullable: false + type: number + strategy: + $ref: '#/components/schemas/DefaultEventHandlerStrategy' + required: + - strategy + type: object + FileBase64: + description: Represents a file-system file that has a name and a body which + holds the file contents as a Base64 encoded string + example: + filename: my-cool-file-full-of-wonders-and-fun-stuff.go + filepath: ./my/sub-folder/structure/ + body: body + properties: + body: + description: The file's contents encoded as a Base64 string. + maxLength: 104857600 + minLength: 1 + nullable: false + type: string + filename: + description: The name as referred to on a file system + example: my-cool-file-full-of-wonders-and-fun-stuff.go + maxLength: 255 + minLength: 1 + nullable: false + type: string + filepath: + description: "The relative path of the file, if it should be placed in a\ + \ sub-directory" + example: ./my/sub-folder/structure/ + maxLength: 512 + minLength: 1 + nullable: false + type: string + required: + - body + - filename + type: object + FabricContractInvocationType: + enum: + - FabricContractInvocationType.SEND + - FabricContractInvocationType.CALL + - FabricContractInvocationType.SENDPRIVATE + type: string + SSHExecCommandResponse: + example: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + properties: + stdout: + nullable: false + type: string + stderr: + nullable: false + type: string + code: + nullable: true + type: integer + signal: + nullable: true + type: string + required: + - code + - signal + - stderr + - stdout + type: object + RunTransactionResponseType: + description: Response format from transaction / query execution + enum: + - org.hyperledger.cacti.api.hlfabric.RunTransactionResponseType.JSON + - org.hyperledger.cacti.api.hlfabric.RunTransactionResponseType.UTF8 + type: string + x-enum-varnames: + - JSON + - UTF8 + RunTransactionRequest: + additionalProperties: false + example: + gatewayOptions: + wallet: + keychain: + vaultTransitKey: + keyName: keyName + token: token + keychainId: keychainId + keychainRef: keychainRef + webSocketKey: + signature: signature + sessionId: sessionId + type: null + json: json + connectionProfile: + channels: + key: "" + certificateAuthorities: + key: "" + name: basic-network + organizations: + key: "" + peers: + key: "" + x-type: hlfv1 + description: The basic network + client: + organization: Org1 + orderers: + key: "" + version: "1.0" + discovery: + asLocalhost: true + enabled: true + identity: identity + eventHandlerOptions: + commitTimeout: 0.8008281904610115 + strategy: null + endorseTimeout: 6.027456183070403 + invocationType: null + responseType: null + transientData: "{}" + endorsingPeers: + - endorsingPeers + - endorsingPeers + endorsingOrgs: + - endorsingOrgs + - endorsingOrgs + methodName: methodName + channelName: channelName + contractName: contractName + params: + - params + - params + signingCredential: + vaultTransitKey: + keyName: keyName + token: token + keychainId: keychainId + keychainRef: keychainRef + webSocketKey: + signature: signature + sessionId: sessionId + type: null + properties: + endorsingPeers: + description: An array of endorsing peers (name or url) for the transaction. + items: + maxLength: 4096 + minLength: 1 + nullable: false + type: string + type: array + endorsingOrgs: + description: An array of endorsing organizations (by mspID or issuer org + name on certificate) for the transaction. + items: + maxLength: 4096 + minLength: 1 + nullable: false + type: string + type: array + transientData: + nullable: true + type: object + gatewayOptions: + $ref: '#/components/schemas/GatewayOptions' + signingCredential: + $ref: '#/components/schemas/FabricSigningCredential' + channelName: + maxLength: 100 + minLength: 1 + nullable: false + type: string + contractName: + maxLength: 100 + minLength: 1 + nullable: false + type: string + invocationType: + $ref: '#/components/schemas/FabricContractInvocationType' + methodName: + maxLength: 100 + minLength: 1 + nullable: false + type: string + params: + default: [] + items: + nullable: true + type: string + nullable: false + type: array + responseType: + $ref: '#/components/schemas/RunTransactionResponseType' + required: + - channelName + - contractName + - invocationType + - methodName + - params + - signingCredential + type: object + RunTransactionResponse: + example: + functionOutput: functionOutput + transactionId: transactionId + properties: + functionOutput: + nullable: false + type: string + transactionId: + nullable: false + type: string + required: + - functionOutput + - transactionId + type: object + RunDelegatedSignTransactionRequest: + additionalProperties: false + example: + signerCertificate: signerCertificate + invocationType: null + responseType: null + transientData: "{}" + endorsingPeers: + - endorsingPeers + - endorsingPeers + endorsingOrgs: + - endorsingOrgs + - endorsingOrgs + methodName: methodName + channelName: channelName + contractName: contractName + uniqueTransactionData: "" + params: + - params + - params + signerMspID: signerMspID + properties: + endorsingPeers: + description: An array of endorsing peers (name or url) for the transaction. + items: + maxLength: 4096 + minLength: 1 + nullable: false + type: string + type: array + endorsingOrgs: + description: An array of endorsing organizations (by mspID or issuer org + name on certificate) for the transaction. + items: + maxLength: 4096 + minLength: 1 + nullable: false + type: string + type: array + transientData: + nullable: true + type: object + signerCertificate: + nullable: false + type: string + signerMspID: + nullable: false + type: string + uniqueTransactionData: + description: Can be used to uniquely identify and authorize signing request + nullable: false + channelName: + maxLength: 100 + minLength: 1 + nullable: false + type: string + contractName: + maxLength: 100 + minLength: 1 + nullable: false + type: string + invocationType: + $ref: '#/components/schemas/FabricContractInvocationType' + methodName: + maxLength: 100 + minLength: 1 + nullable: false + type: string + params: + default: [] + items: + nullable: true + type: string + nullable: false + type: array + responseType: + $ref: '#/components/schemas/RunTransactionResponseType' + required: + - channelName + - contractName + - invocationType + - methodName + - params + - signerCertificate + - signerMspID + type: object + GetTransactionReceiptResponse: + example: + chainCodeVersion: chainCodeVersion + blockMetaData: + mspid: mspid + blockCreatorID: blockCreatorID + signature: signature + transactionCreator: + mspid: mspid + creatorID: creatorID + blockNumber: blockNumber + chainCodeName: chainCodeName + transactionEndorsement: + - mspid: mspid + signature: signature + endorserID: endorserID + - mspid: mspid + signature: signature + endorserID: endorserID + responseStatus: responseStatus + channelID: channelID + rwsetWriteData: rwsetWriteData + rwsetKey: rwsetKey + properties: + blockNumber: + type: string + channelID: + type: string + transactionCreator: + $ref: '#/components/schemas/TransactReceiptTransactionCreator' + transactionEndorsement: + items: + $ref: '#/components/schemas/TransactReceiptTransactionEndorsement' + type: array + blockMetaData: + $ref: '#/components/schemas/TransactReceiptBlockMetaData' + chainCodeName: + type: string + chainCodeVersion: + type: string + responseStatus: + type: string + rwsetKey: + type: string + rwsetWriteData: + type: string + type: object + DeploymentTargetOrganization: + example: + CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + properties: + CORE_PEER_LOCALMSPID: + description: Mapped to environment variables of the Fabric CLI container. + example: Org1MSP + maxLength: 1024 + minLength: 1 + nullable: false + type: string + CORE_PEER_ADDRESS: + description: Mapped to environment variables of the Fabric CLI container. + example: peer0.org1.example.com:7051 + maxLength: 1024 + minLength: 1 + nullable: false + type: string + CORE_PEER_MSPCONFIGPATH: + description: Mapped to environment variables of the Fabric CLI container. + example: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + maxLength: 1024 + minLength: 1 + nullable: false + type: string + CORE_PEER_TLS_ROOTCERT_FILE: + description: Mapped to environment variables of the Fabric CLI container. + example: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + maxLength: 1024 + minLength: 1 + nullable: false + type: string + ORDERER_TLS_ROOTCERT_FILE: + description: Mapped to environment variables of the Fabric CLI container. + example: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - CORE_PEER_ADDRESS + - CORE_PEER_LOCALMSPID + - CORE_PEER_MSPCONFIGPATH + - CORE_PEER_TLS_ROOTCERT_FILE + - ORDERER_TLS_ROOTCERT_FILE + type: object + DeploymentTargetOrgFabric2x: + properties: + transient: + description: Transient map of arguments in JSON encoding + example: orderer.example.com:7050 + maxLength: 1073741824 + minLength: 1 + type: string + CORE_PEER_LOCALMSPID: + description: Mapped to environment variables of the Fabric CLI container. + example: Org1MSP + maxLength: 1024 + minLength: 1 + nullable: false + type: string + CORE_PEER_ADDRESS: + description: Mapped to environment variables of the Fabric CLI container. + example: peer0.org1.example.com:7051 + maxLength: 1024 + minLength: 1 + nullable: false + type: string + CORE_PEER_MSPCONFIGPATH: + description: Mapped to environment variables of the Fabric CLI container. + example: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + maxLength: 1024 + minLength: 1 + nullable: false + type: string + CORE_PEER_TLS_ROOTCERT_FILE: + description: Mapped to environment variables of the Fabric CLI container. + example: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + maxLength: 1024 + minLength: 1 + nullable: false + type: string + ORDERER_TLS_ROOTCERT_FILE: + description: Mapped to environment variables of the Fabric CLI container. + example: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + maxLength: 1024 + minLength: 1 + nullable: false + type: string + required: + - CORE_PEER_ADDRESS + - CORE_PEER_LOCALMSPID + - CORE_PEER_MSPCONFIGPATH + - CORE_PEER_TLS_ROOTCERT_FILE + - ORDERER_TLS_ROOTCERT_FILE + type: object + DeployContractGoSourceV1Request: + additionalProperties: false + example: + chainCodeVersion: 1.0.0 + pinnedDeps: + - github.com/hyperledger/fabric@v1.4.8 + - github.com/hyperledger/fabric@v1.4.8 + - github.com/hyperledger/fabric@v1.4.8 + - github.com/hyperledger/fabric@v1.4.8 + - github.com/hyperledger/fabric@v1.4.8 + goSource: + filename: my-cool-file-full-of-wonders-and-fun-stuff.go + filepath: ./my/sub-folder/structure/ + body: body + targetPeerAddresses: + - peer0.org1.example.com:7051 + goMod: + filename: my-cool-file-full-of-wonders-and-fun-stuff.go + filepath: ./my/sub-folder/structure/ + body: body + constructorArgs: "{} - An empty object literal can be sufficient if your contract\ + \ does not have parameters." + targetOrganizations: + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + tlsRootCertFiles: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + moduleName: hello-world-contract + policyDslSource: "AND('Org1MSP.member','Org2MSP.member')" + channelId: mychannel + modTidyOnly: true + properties: + policyDslSource: + example: "AND('Org1MSP.member','Org2MSP.member')" + maxLength: 65535 + minLength: 1 + nullable: false + type: string + tlsRootCertFiles: + description: The TLS root cert files that will be passed to the chaincode + instantiation command. + example: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + maxLength: 65535 + minLength: 1 + nullable: false + type: string + channelId: + description: The name of the Fabric channel where the contract will get + instantiated. + example: mychannel + maxLength: 2048 + minLength: 1 + nullable: false + type: string + targetOrganizations: + items: + $ref: '#/components/schemas/DeploymentTargetOrganization' + maxItems: 1024 + minItems: 1 + nullable: false + type: array + targetPeerAddresses: + description: An array of peer addresses where the contract will be instantiated. + Note that at present only the first item from this array will be used + which is the behavior taken from the official Fabric samples repository + and therefore it is assumed to be correct usage. + example: + - peer0.org1.example.com:7051 + items: + maxLength: 4096 + minLength: 1 + type: string + maxItems: 2048 + minItems: 1 + type: array + constructorArgs: + $ref: '#/components/schemas/DeployContractGoSourceV1Request_constructorArgs' + chainCodeVersion: + example: 1.0.0 + maxLength: 128 + minLength: 1 + nullable: false + type: string + goSource: + $ref: '#/components/schemas/FileBase64' + goMod: + $ref: '#/components/schemas/FileBase64' + moduleName: + description: The go module name that will be used for the go compilation + process. + example: hello-world-contract + maxLength: 255 + minLength: 1 + nullable: false + type: string + pinnedDeps: + items: + example: github.com/hyperledger/fabric@v1.4.8 + nullable: false + type: string + maxItems: 1024 + minItems: 0 + type: array + modTidyOnly: + description: Indicates to the go chaincode compiler of Cactus if it should + do an actual go compilation with the contact source or if it should just + execute the go mod tidy command. + nullable: true + type: boolean + required: + - chainCodeVersion + - channelId + - goSource + - policyDslSource + - targetOrganizations + - targetPeerAddresses + - tlsRootCertFiles + type: object + DeployContractGoSourceV1Response: + example: + success: true + instantiationCommandResponse: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + installationCommandResponses: + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + properties: + success: + type: boolean + installationCommandResponses: + items: + $ref: '#/components/schemas/SSHExecCommandResponse' + type: array + instantiationCommandResponse: + $ref: '#/components/schemas/SSHExecCommandResponse' + required: + - installationCommandResponses + - instantiationCommandResponse + - success + type: object + DeployContractV1Request: + additionalProperties: false + example: + ccVersion: 1.0.0 + ccLabel: hello-world-contract + constructorArgs: "{} - An empty object literal can be sufficient if your contract\ + \ does not have parameters." + ccLang: null + ccSequence: 1 + ccName: my-hello-world-contract + connTimeout: 0 + caFile: "${orgCfgDir}ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem" + signaturePolicy: "AND('Org1MSP.member','Org2MSP.member')" + sourceFiles: + - filename: my-cool-file-full-of-wonders-and-fun-stuff.go + filepath: ./my/sub-folder/structure/ + body: body + - filename: my-cool-file-full-of-wonders-and-fun-stuff.go + filepath: ./my/sub-folder/structure/ + body: body + - filename: my-cool-file-full-of-wonders-and-fun-stuff.go + filepath: ./my/sub-folder/structure/ + body: body + - filename: my-cool-file-full-of-wonders-and-fun-stuff.go + filepath: ./my/sub-folder/structure/ + body: body + - filename: my-cool-file-full-of-wonders-and-fun-stuff.go + filepath: ./my/sub-folder/structure/ + body: body + ordererTLSHostnameOverride: orderer.example.com:7050 + orderer: orderer.example.com:7050 + targetOrganizations: + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + - CORE_PEER_LOCALMSPID: Org1MSP + CORE_PEER_MSPCONFIGPATH: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp + ORDERER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + CORE_PEER_ADDRESS: peer0.org1.example.com:7051 + CORE_PEER_TLS_ROOTCERT_FILE: /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt + collectionsConfigFile: collectionsConfigFile + channelId: mychannel + properties: + ccLang: + $ref: '#/components/schemas/ChainCodeProgrammingLanguage' + caFile: + description: File-system path pointing at the CA file. + example: "${orgCfgDir}ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem" + maxLength: 4096 + minLength: 1 + type: string + orderer: + description: Ordering service endpoint specified as : + example: orderer.example.com:7050 + maxLength: 65535 + minLength: 1 + type: string + ordererTLSHostnameOverride: + description: The hostname override to use when validating the TLS connection + to the orderer + example: orderer.example.com:7050 + maxLength: 65535 + minLength: 1 + type: string + connTimeout: + description: Timeout for client to connect (default 3s) + nullable: false + type: integer + signaturePolicy: + description: "Passed in to the peer via the --signature-policy argument\ + \ on the command line. See also: https://hyperledger-fabric.readthedocs.io/en/release-2.2/endorsement-policies.html#setting-chaincode-level-endorsement-policies" + example: "AND('Org1MSP.member','Org2MSP.member')" + maxLength: 65535 + minLength: 1 + nullable: false + type: string + collectionsConfigFile: + description: Name of the collections config file as present in the sourceFiles + array of the request. + maxLength: 255 + minLength: 1 + nullable: false + type: string + channelId: + description: The name of the Fabric channel where the contract will get + instantiated. + example: mychannel + maxLength: 2048 + minLength: 1 + nullable: false + type: string + targetOrganizations: + items: + $ref: '#/components/schemas/DeploymentTargetOrganization' + maxItems: 1024 + minItems: 1 + nullable: false + type: array + constructorArgs: + $ref: '#/components/schemas/DeployContractGoSourceV1Request_constructorArgs' + ccSequence: + example: 1 + nullable: false + type: number + ccVersion: + example: 1.0.0 + maxLength: 128 + minLength: 1 + nullable: false + type: string + ccName: + example: my-hello-world-contract + maxLength: 128 + minLength: 1 + nullable: false + type: string + ccLabel: + description: Human readable label to uniquely identify the contract. Recommended + to include in this at least the contract name and the exact version in + order to make it easily distinguishable from other deployments of the + same contract. + example: hello-world-contract + maxLength: 255 + minLength: 1 + nullable: false + type: string + sourceFiles: + description: The your-smart-contract.go file where the functionality of + your contract is implemented. + items: + $ref: '#/components/schemas/FileBase64' + maxItems: 65535 + minItems: 1 + nullable: false + type: array + required: + - caFile + - ccLabel + - ccLang + - ccName + - ccSequence + - ccVersion + - channelId + - orderer + - ordererTLSHostnameOverride + - sourceFiles + - targetOrganizations + type: object + DeployContractV1Response: + example: + lifecycle: + init: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + commit: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + installList: + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + queryCommitted: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + packaging: + code: 0 + stdout: stdout + stderr: stderr + signal: signal + approveForMyOrgList: + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + queryInstalledList: + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + - code: 0 + stdout: stdout + stderr: stderr + signal: signal + success: true + packageIds: + - f8c8e06bfc27771028c4bbc3564341887881e29b92a844c66c30bac0ff83966e + - f8c8e06bfc27771028c4bbc3564341887881e29b92a844c66c30bac0ff83966e + properties: + success: + type: boolean + packageIds: + items: + example: f8c8e06bfc27771028c4bbc3564341887881e29b92a844c66c30bac0ff83966e + maxLength: 4096 + minLength: 1 + nullable: false + type: string + type: array + lifecycle: + $ref: '#/components/schemas/ChainCodeLifeCycleCommandResponses' + required: + - lifecycle + - packageIds + - success + type: object + GetBlockRequestV1: + description: Request for GetBlock endpoint. + example: + gatewayOptions: + wallet: + keychain: + vaultTransitKey: + keyName: keyName + token: token + keychainId: keychainId + keychainRef: keychainRef + webSocketKey: + signature: signature + sessionId: sessionId + type: null + json: json + connectionProfile: + channels: + key: "" + certificateAuthorities: + key: "" + name: basic-network + organizations: + key: "" + peers: + key: "" + x-type: hlfv1 + description: The basic network + client: + organization: Org1 + orderers: + key: "" + version: "1.0" + discovery: + asLocalhost: true + enabled: true + identity: identity + eventHandlerOptions: + commitTimeout: 0.8008281904610115 + strategy: null + endorseTimeout: 6.027456183070403 + query: + blockHash: + buffer: buffer + encoding: encoding + blockNumber: blockNumber + transactionId: transactionId + skipDecode: false + channelName: channelName + connectionChannelName: connectionChannelName + properties: + channelName: + description: Fabric channel which we want to query. + maxLength: 100 + minLength: 1 + nullable: false + type: string + connectionChannelName: + description: "Fabric channel we want to connect to. If not provided, then\ + \ one from channelName parameter will be used" + maxLength: 100 + minLength: 1 + nullable: false + type: string + gatewayOptions: + $ref: '#/components/schemas/GatewayOptions' + query: + $ref: '#/components/schemas/GetBlockRequestV1_query' + skipDecode: + default: false + description: "If true, encoded buffer will be returned. Otherwise, entire\ + \ block object is returned." + nullable: false + type: boolean + required: + - channelName + - gatewayOptions + - query + type: object + FabricFullBlockDataV1: + description: Full hyperledger fabric block data. + GetBlockResponseDecodedV1: + description: When skipDecode is false (default) then decoded block object is + returned. + properties: + decodedBlock: + description: Full hyperledger fabric block data. + required: + - decodedBlock + type: object + GetBlockResponseEncodedV1: + description: When skipDecode is true then encoded block Buffer is returned. + properties: + encodedBlock: + type: string + required: + - encodedBlock + type: object + GetBlockResponseV1: + description: Response from GetBlock endpoint. + oneOf: + - $ref: '#/components/schemas/GetBlockResponseDecodedV1' + - $ref: '#/components/schemas/GetBlockResponseEncodedV1' + ErrorExceptionResponseV1: + properties: + message: + nullable: false + type: string + error: + nullable: false + type: string + required: + - error + - message + type: object + PrometheusExporterMetricsResponse: + nullable: false + type: string + WatchBlocksV1: + description: Websocket requests for monitoring new blocks. + enum: + - org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Subscribe + - org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.SubscribeDelegatedSign + - org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Next + - org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Unsubscribe + - org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Error + - org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Complete + type: string + x-enum-varnames: + - Subscribe + - SubscribeDelegatedSign + - Next + - Unsubscribe + - Error + - Complete + WatchBlocksListenerTypeV1: + description: "Response type from WatchBlocks. 'Cactus*' are custom views, others\ + \ correspond to fabric SDK call." + enum: + - filtered + - full + - private + - cactus:transactions + type: string + x-enum-varnames: + - Filtered + - Full + - Private + - CactusTransactions + WatchBlocksOptionsV1: + description: Options passed when subscribing to block monitoring. + properties: + channelName: + description: Hyperledger Fabric channel to connect to. + maxLength: 100 + minLength: 1 + nullable: false + type: string + gatewayOptions: + $ref: '#/components/schemas/GatewayOptions' + type: + $ref: '#/components/schemas/WatchBlocksListenerTypeV1' + startBlock: + description: From which block start monitoring. Defaults to latest. + maxLength: 100 + minLength: 1 + nullable: false + type: string + required: + - channelName + - gatewayOptions + - type + type: object + WatchBlocksDelegatedSignOptionsV1: + description: Options passed when subscribing to block monitoring with delegated + signing. + properties: + type: + $ref: '#/components/schemas/WatchBlocksListenerTypeV1' + startBlock: + description: From which block start monitoring. Defaults to latest. + maxLength: 100 + minLength: 1 + nullable: false + type: string + channelName: + maxLength: 100 + minLength: 1 + nullable: false + type: string + signerCertificate: + nullable: false + type: string + signerMspID: + nullable: false + type: string + uniqueTransactionData: + description: Can be used to uniquely identify and authorize signing request + nullable: false + required: + - channelName + - signerCertificate + - signerMspID + - type + type: object + WatchBlocksCactusTransactionsEventV1: + description: Transaction summary from commited block. + properties: + chaincodeId: + description: ChainCode containing function that was executed. + nullable: false + type: string + transactionId: + description: Transaction identifier. + nullable: false + type: string + functionName: + description: Function name that was executed. + nullable: false + type: string + functionArgs: + description: List of function arguments. + items: + minLength: 0 + nullable: false + type: string + type: array + required: + - chaincodeId + - functionArgs + - functionName + - transactionId + type: object + WatchBlocksCactusTransactionsResponseV1: + description: Custom response containing block transactions summary. Compatible + with legacy fabric-socketio connector monitoring. + properties: + cactusTransactionsEvents: + description: List of transactions summary + items: + $ref: '#/components/schemas/WatchBlocksCactusTransactionsEventV1' + type: array + required: + - cactusTransactionsEvents + type: object + WatchBlocksFullResponseV1: + description: Response that corresponds to Fabric SDK 'full' EventType. + properties: + fullBlock: + description: Full commited block. + nullable: false + required: + - fullBlock + type: object + WatchBlocksFilteredResponseV1: + description: Response that corresponds to Fabric SDK 'filtered' EventType. + properties: + filteredBlock: + description: Filtered commited block. + nullable: false + required: + - filteredBlock + type: object + WatchBlocksPrivateResponseV1: + description: Response that corresponds to Fabric SDK 'private' EventType. + properties: + privateBlock: + description: Private commited block. + nullable: false + required: + - privateBlock + type: object + WatchBlocksCactusErrorResponseV1: + description: Error response from WatchBlocks operation. + properties: + code: + description: Error code. + type: number + errorMessage: + description: Description of the error. + type: string + required: + - code + - errorMessage + type: object + WatchBlocksResponseV1: + description: Response block from WatchBlocks endpoint. Depends on 'type' passed + in subscription options. + oneOf: + - $ref: '#/components/schemas/WatchBlocksCactusTransactionsResponseV1' + - $ref: '#/components/schemas/WatchBlocksFullResponseV1' + - $ref: '#/components/schemas/WatchBlocksFilteredResponseV1' + - $ref: '#/components/schemas/WatchBlocksPrivateResponseV1' + - $ref: '#/components/schemas/WatchBlocksCactusErrorResponseV1' + deployContractGoSourceV1_501_response: + properties: + message: + maxLength: 2048 + minLength: 1 + nullable: false + type: string + type: object + ConnectionProfile_client: + example: + organization: Org1 + properties: + organization: + example: Org1 + type: string + type: object + GatewayOptions_wallet: + example: + keychain: + vaultTransitKey: + keyName: keyName + token: token + keychainId: keychainId + keychainRef: keychainRef + webSocketKey: + signature: signature + sessionId: sessionId + type: null + json: json + maxProperties: 1 + minProperties: 1 + properties: + keychain: + $ref: '#/components/schemas/FabricSigningCredential' + json: + maxLength: 65535 + minLength: 1 + nullable: false + type: string + type: object + DeployContractGoSourceV1Request_constructorArgs: + example: "{} - An empty object literal can be sufficient if your contract does\ + \ not have parameters." + nullable: false + properties: + Args: + items: {} + maxLength: 2048 + minLength: 0 + type: array + type: object + GetBlockRequestV1_query_blockHash: + description: Select block by it's hash. + example: + buffer: buffer + encoding: encoding + nullable: false + properties: + encoding: + description: "NodeJS Buffer encoding (utf-8, hex, binary, base64, etc...).\ + \ Passed directly to `Buffer.from()` call on hashBuffer. If not provided\ + \ then JSON buffer format is assumed." + nullable: false + type: string + buffer: + description: Buffer of blockHash. It's encoding should be described in `encoding` + parameter. + nullable: false + type: string + required: + - buffer + type: object + GetBlockRequestV1_query: + description: "Query selector, caller must provide at least one of them. First\ + \ found will be used, rest will be ignored, so it's recommended to pass single\ + \ selector." + example: + blockHash: + buffer: buffer + encoding: encoding + blockNumber: blockNumber + transactionId: transactionId + properties: + blockNumber: + description: Select block by it's number. + nullable: false + type: string + blockHash: + $ref: '#/components/schemas/GetBlockRequestV1_query_blockHash' + transactionId: + description: Select block by id of transaction that it contains. + nullable: false + type: string + type: object diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..e25d76fa5bc --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,815 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeployContractGoSourceV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deployContractGoSourceV1Request *DeployContractGoSourceV1Request +} + +func (r ApiDeployContractGoSourceV1Request) DeployContractGoSourceV1Request(deployContractGoSourceV1Request DeployContractGoSourceV1Request) ApiDeployContractGoSourceV1Request { + r.deployContractGoSourceV1Request = &deployContractGoSourceV1Request + return r +} + +func (r ApiDeployContractGoSourceV1Request) Execute() (*DeployContractGoSourceV1Response, *http.Response, error) { + return r.ApiService.DeployContractGoSourceV1Execute(r) +} + +/* +DeployContractGoSourceV1 Deploys a chaincode contract in the form of a go sources. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractGoSourceV1Request +*/ +func (a *DefaultApiService) DeployContractGoSourceV1(ctx context.Context) ApiDeployContractGoSourceV1Request { + return ApiDeployContractGoSourceV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeployContractGoSourceV1Response +func (a *DefaultApiService) DeployContractGoSourceV1Execute(r ApiDeployContractGoSourceV1Request) (*DeployContractGoSourceV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeployContractGoSourceV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContractGoSourceV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract-go-source" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractGoSourceV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 501 { + var v DeployContractGoSourceV1501Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiDeployContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deployContractV1Request *DeployContractV1Request +} + +func (r ApiDeployContractV1Request) DeployContractV1Request(deployContractV1Request DeployContractV1Request) ApiDeployContractV1Request { + r.deployContractV1Request = &deployContractV1Request + return r +} + +func (r ApiDeployContractV1Request) Execute() (*DeployContractV1Response, *http.Response, error) { + return r.ApiService.DeployContractV1Execute(r) +} + +/* +DeployContractV1 Deploys a chaincode contract from a set of source files. Note: This endpoint only supports Fabric 2.x. The 'v1' suffix in the method name refers to the Cactus API version, not the supported Fabric ledger version. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractV1Request +*/ +func (a *DefaultApiService) DeployContractV1(ctx context.Context) ApiDeployContractV1Request { + return ApiDeployContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeployContractV1Response +func (a *DefaultApiService) DeployContractV1Execute(r ApiDeployContractV1Request) (*DeployContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeployContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/deploy-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json", "text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 501 { + var v DeployContractGoSourceV1501Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetBlockV1Request struct { + ctx context.Context + ApiService *DefaultApiService + getBlockRequestV1 *GetBlockRequestV1 +} + +func (r ApiGetBlockV1Request) GetBlockRequestV1(getBlockRequestV1 GetBlockRequestV1) ApiGetBlockV1Request { + r.getBlockRequestV1 = &getBlockRequestV1 + return r +} + +func (r ApiGetBlockV1Request) Execute() (*GetBlockResponseV1, *http.Response, error) { + return r.ApiService.GetBlockV1Execute(r) +} + +/* +GetBlockV1 Get block from the channel using one of selectors from the input. Works only on Fabric 2.x. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetBlockV1Request +*/ +func (a *DefaultApiService) GetBlockV1(ctx context.Context) ApiGetBlockV1Request { + return ApiGetBlockV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetBlockResponseV1 +func (a *DefaultApiService) GetBlockV1Execute(r ApiGetBlockV1Request) (*GetBlockResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetBlockResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetBlockV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-block" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.getBlockRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetTransactionReceiptByTxIDV1Request struct { + ctx context.Context + ApiService *DefaultApiService + runTransactionRequest *RunTransactionRequest +} + +func (r ApiGetTransactionReceiptByTxIDV1Request) RunTransactionRequest(runTransactionRequest RunTransactionRequest) ApiGetTransactionReceiptByTxIDV1Request { + r.runTransactionRequest = &runTransactionRequest + return r +} + +func (r ApiGetTransactionReceiptByTxIDV1Request) Execute() (*GetTransactionReceiptResponse, *http.Response, error) { + return r.ApiService.GetTransactionReceiptByTxIDV1Execute(r) +} + +/* +GetTransactionReceiptByTxIDV1 get a transaction receipt by tx id on a Fabric ledger. + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetTransactionReceiptByTxIDV1Request +*/ +func (a *DefaultApiService) GetTransactionReceiptByTxIDV1(ctx context.Context) ApiGetTransactionReceiptByTxIDV1Request { + return ApiGetTransactionReceiptByTxIDV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetTransactionReceiptResponse +func (a *DefaultApiService) GetTransactionReceiptByTxIDV1Execute(r ApiGetTransactionReceiptByTxIDV1Request) (*GetTransactionReceiptResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetTransactionReceiptResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetTransactionReceiptByTxIDV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/get-transaction-receipt-by-txid" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.runTransactionRequest == nil { + return localVarReturnValue, nil, reportError("runTransactionRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRunDelegatedSignTransactionV1Request struct { + ctx context.Context + ApiService *DefaultApiService + runDelegatedSignTransactionRequest *RunDelegatedSignTransactionRequest +} + +func (r ApiRunDelegatedSignTransactionV1Request) RunDelegatedSignTransactionRequest(runDelegatedSignTransactionRequest RunDelegatedSignTransactionRequest) ApiRunDelegatedSignTransactionV1Request { + r.runDelegatedSignTransactionRequest = &runDelegatedSignTransactionRequest + return r +} + +func (r ApiRunDelegatedSignTransactionV1Request) Execute() (*RunTransactionResponse, *http.Response, error) { + return r.ApiService.RunDelegatedSignTransactionV1Execute(r) +} + +/* +RunDelegatedSignTransactionV1 Runs a transaction on a Fabric ledger using user-provided signing callback. + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRunDelegatedSignTransactionV1Request +*/ +func (a *DefaultApiService) RunDelegatedSignTransactionV1(ctx context.Context) ApiRunDelegatedSignTransactionV1Request { + return ApiRunDelegatedSignTransactionV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionResponse +func (a *DefaultApiService) RunDelegatedSignTransactionV1Execute(r ApiRunDelegatedSignTransactionV1Request) (*RunTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RunDelegatedSignTransactionV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-delegated-sign-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.runDelegatedSignTransactionRequest == nil { + return localVarReturnValue, nil, reportError("runDelegatedSignTransactionRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runDelegatedSignTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRunTransactionV1Request struct { + ctx context.Context + ApiService *DefaultApiService + runTransactionRequest *RunTransactionRequest +} + +func (r ApiRunTransactionV1Request) RunTransactionRequest(runTransactionRequest RunTransactionRequest) ApiRunTransactionV1Request { + r.runTransactionRequest = &runTransactionRequest + return r +} + +func (r ApiRunTransactionV1Request) Execute() (*RunTransactionResponse, *http.Response, error) { + return r.ApiService.RunTransactionV1Execute(r) +} + +/* +RunTransactionV1 Runs a transaction on a Fabric ledger. + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRunTransactionV1Request +*/ +func (a *DefaultApiService) RunTransactionV1(ctx context.Context) ApiRunTransactionV1Request { + return ApiRunTransactionV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionResponse +func (a *DefaultApiService) RunTransactionV1Execute(r ApiRunTransactionV1Request) (*RunTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RunTransactionV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-fabric/run-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.runTransactionRequest == nil { + return localVarReturnValue, nil, reportError("runTransactionRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..9d664de79a5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Connector Fabric API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..d4c7a62489a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..825dd715952 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_chain_code_language_runtime.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_chain_code_language_runtime.go new file mode 100644 index 00000000000..07637483449 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_chain_code_language_runtime.go @@ -0,0 +1,113 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// ChainCodeLanguageRuntime Enumerates the supported programming language runtimes of Hyperledger Fabric +type ChainCodeLanguageRuntime string + +// List of ChainCodeLanguageRuntime +const ( + GOLANG ChainCodeLanguageRuntime = "golang" + NODE ChainCodeLanguageRuntime = "node" + JAVA ChainCodeLanguageRuntime = "java" +) + +// All allowed values of ChainCodeLanguageRuntime enum +var AllowedChainCodeLanguageRuntimeEnumValues = []ChainCodeLanguageRuntime{ + "golang", + "node", + "java", +} + +func (v *ChainCodeLanguageRuntime) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ChainCodeLanguageRuntime(value) + for _, existing := range AllowedChainCodeLanguageRuntimeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ChainCodeLanguageRuntime", value) +} + +// NewChainCodeLanguageRuntimeFromValue returns a pointer to a valid ChainCodeLanguageRuntime +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewChainCodeLanguageRuntimeFromValue(v string) (*ChainCodeLanguageRuntime, error) { + ev := ChainCodeLanguageRuntime(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ChainCodeLanguageRuntime: valid values are %v", v, AllowedChainCodeLanguageRuntimeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ChainCodeLanguageRuntime) IsValid() bool { + for _, existing := range AllowedChainCodeLanguageRuntimeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ChainCodeLanguageRuntime value +func (v ChainCodeLanguageRuntime) Ptr() *ChainCodeLanguageRuntime { + return &v +} + +type NullableChainCodeLanguageRuntime struct { + value *ChainCodeLanguageRuntime + isSet bool +} + +func (v NullableChainCodeLanguageRuntime) Get() *ChainCodeLanguageRuntime { + return v.value +} + +func (v *NullableChainCodeLanguageRuntime) Set(val *ChainCodeLanguageRuntime) { + v.value = val + v.isSet = true +} + +func (v NullableChainCodeLanguageRuntime) IsSet() bool { + return v.isSet +} + +func (v *NullableChainCodeLanguageRuntime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableChainCodeLanguageRuntime(val *ChainCodeLanguageRuntime) *NullableChainCodeLanguageRuntime { + return &NullableChainCodeLanguageRuntime{value: val, isSet: true} +} + +func (v NullableChainCodeLanguageRuntime) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableChainCodeLanguageRuntime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_chain_code_life_cycle_command_responses.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_chain_code_life_cycle_command_responses.go new file mode 100644 index 00000000000..258fc15cd39 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_chain_code_life_cycle_command_responses.go @@ -0,0 +1,315 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the ChainCodeLifeCycleCommandResponses type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ChainCodeLifeCycleCommandResponses{} + +// ChainCodeLifeCycleCommandResponses struct for ChainCodeLifeCycleCommandResponses +type ChainCodeLifeCycleCommandResponses struct { + Packaging *SSHExecCommandResponse `json:"packaging,omitempty"` + InstallList []SSHExecCommandResponse `json:"installList"` + QueryInstalledList []SSHExecCommandResponse `json:"queryInstalledList"` + ApproveForMyOrgList []SSHExecCommandResponse `json:"approveForMyOrgList"` + Commit *SSHExecCommandResponse `json:"commit,omitempty"` + QueryCommitted *SSHExecCommandResponse `json:"queryCommitted,omitempty"` + Init *SSHExecCommandResponse `json:"init,omitempty"` +} + +// NewChainCodeLifeCycleCommandResponses instantiates a new ChainCodeLifeCycleCommandResponses object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewChainCodeLifeCycleCommandResponses(installList []SSHExecCommandResponse, queryInstalledList []SSHExecCommandResponse, approveForMyOrgList []SSHExecCommandResponse) *ChainCodeLifeCycleCommandResponses { + this := ChainCodeLifeCycleCommandResponses{} + this.InstallList = installList + this.QueryInstalledList = queryInstalledList + this.ApproveForMyOrgList = approveForMyOrgList + return &this +} + +// NewChainCodeLifeCycleCommandResponsesWithDefaults instantiates a new ChainCodeLifeCycleCommandResponses object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewChainCodeLifeCycleCommandResponsesWithDefaults() *ChainCodeLifeCycleCommandResponses { + this := ChainCodeLifeCycleCommandResponses{} + return &this +} + +// GetPackaging returns the Packaging field value if set, zero value otherwise. +func (o *ChainCodeLifeCycleCommandResponses) GetPackaging() SSHExecCommandResponse { + if o == nil || IsNil(o.Packaging) { + var ret SSHExecCommandResponse + return ret + } + return *o.Packaging +} + +// GetPackagingOk returns a tuple with the Packaging field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ChainCodeLifeCycleCommandResponses) GetPackagingOk() (*SSHExecCommandResponse, bool) { + if o == nil || IsNil(o.Packaging) { + return nil, false + } + return o.Packaging, true +} + +// HasPackaging returns a boolean if a field has been set. +func (o *ChainCodeLifeCycleCommandResponses) HasPackaging() bool { + if o != nil && !IsNil(o.Packaging) { + return true + } + + return false +} + +// SetPackaging gets a reference to the given SSHExecCommandResponse and assigns it to the Packaging field. +func (o *ChainCodeLifeCycleCommandResponses) SetPackaging(v SSHExecCommandResponse) { + o.Packaging = &v +} + +// GetInstallList returns the InstallList field value +func (o *ChainCodeLifeCycleCommandResponses) GetInstallList() []SSHExecCommandResponse { + if o == nil { + var ret []SSHExecCommandResponse + return ret + } + + return o.InstallList +} + +// GetInstallListOk returns a tuple with the InstallList field value +// and a boolean to check if the value has been set. +func (o *ChainCodeLifeCycleCommandResponses) GetInstallListOk() ([]SSHExecCommandResponse, bool) { + if o == nil { + return nil, false + } + return o.InstallList, true +} + +// SetInstallList sets field value +func (o *ChainCodeLifeCycleCommandResponses) SetInstallList(v []SSHExecCommandResponse) { + o.InstallList = v +} + +// GetQueryInstalledList returns the QueryInstalledList field value +func (o *ChainCodeLifeCycleCommandResponses) GetQueryInstalledList() []SSHExecCommandResponse { + if o == nil { + var ret []SSHExecCommandResponse + return ret + } + + return o.QueryInstalledList +} + +// GetQueryInstalledListOk returns a tuple with the QueryInstalledList field value +// and a boolean to check if the value has been set. +func (o *ChainCodeLifeCycleCommandResponses) GetQueryInstalledListOk() ([]SSHExecCommandResponse, bool) { + if o == nil { + return nil, false + } + return o.QueryInstalledList, true +} + +// SetQueryInstalledList sets field value +func (o *ChainCodeLifeCycleCommandResponses) SetQueryInstalledList(v []SSHExecCommandResponse) { + o.QueryInstalledList = v +} + +// GetApproveForMyOrgList returns the ApproveForMyOrgList field value +func (o *ChainCodeLifeCycleCommandResponses) GetApproveForMyOrgList() []SSHExecCommandResponse { + if o == nil { + var ret []SSHExecCommandResponse + return ret + } + + return o.ApproveForMyOrgList +} + +// GetApproveForMyOrgListOk returns a tuple with the ApproveForMyOrgList field value +// and a boolean to check if the value has been set. +func (o *ChainCodeLifeCycleCommandResponses) GetApproveForMyOrgListOk() ([]SSHExecCommandResponse, bool) { + if o == nil { + return nil, false + } + return o.ApproveForMyOrgList, true +} + +// SetApproveForMyOrgList sets field value +func (o *ChainCodeLifeCycleCommandResponses) SetApproveForMyOrgList(v []SSHExecCommandResponse) { + o.ApproveForMyOrgList = v +} + +// GetCommit returns the Commit field value if set, zero value otherwise. +func (o *ChainCodeLifeCycleCommandResponses) GetCommit() SSHExecCommandResponse { + if o == nil || IsNil(o.Commit) { + var ret SSHExecCommandResponse + return ret + } + return *o.Commit +} + +// GetCommitOk returns a tuple with the Commit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ChainCodeLifeCycleCommandResponses) GetCommitOk() (*SSHExecCommandResponse, bool) { + if o == nil || IsNil(o.Commit) { + return nil, false + } + return o.Commit, true +} + +// HasCommit returns a boolean if a field has been set. +func (o *ChainCodeLifeCycleCommandResponses) HasCommit() bool { + if o != nil && !IsNil(o.Commit) { + return true + } + + return false +} + +// SetCommit gets a reference to the given SSHExecCommandResponse and assigns it to the Commit field. +func (o *ChainCodeLifeCycleCommandResponses) SetCommit(v SSHExecCommandResponse) { + o.Commit = &v +} + +// GetQueryCommitted returns the QueryCommitted field value if set, zero value otherwise. +func (o *ChainCodeLifeCycleCommandResponses) GetQueryCommitted() SSHExecCommandResponse { + if o == nil || IsNil(o.QueryCommitted) { + var ret SSHExecCommandResponse + return ret + } + return *o.QueryCommitted +} + +// GetQueryCommittedOk returns a tuple with the QueryCommitted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ChainCodeLifeCycleCommandResponses) GetQueryCommittedOk() (*SSHExecCommandResponse, bool) { + if o == nil || IsNil(o.QueryCommitted) { + return nil, false + } + return o.QueryCommitted, true +} + +// HasQueryCommitted returns a boolean if a field has been set. +func (o *ChainCodeLifeCycleCommandResponses) HasQueryCommitted() bool { + if o != nil && !IsNil(o.QueryCommitted) { + return true + } + + return false +} + +// SetQueryCommitted gets a reference to the given SSHExecCommandResponse and assigns it to the QueryCommitted field. +func (o *ChainCodeLifeCycleCommandResponses) SetQueryCommitted(v SSHExecCommandResponse) { + o.QueryCommitted = &v +} + +// GetInit returns the Init field value if set, zero value otherwise. +func (o *ChainCodeLifeCycleCommandResponses) GetInit() SSHExecCommandResponse { + if o == nil || IsNil(o.Init) { + var ret SSHExecCommandResponse + return ret + } + return *o.Init +} + +// GetInitOk returns a tuple with the Init field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ChainCodeLifeCycleCommandResponses) GetInitOk() (*SSHExecCommandResponse, bool) { + if o == nil || IsNil(o.Init) { + return nil, false + } + return o.Init, true +} + +// HasInit returns a boolean if a field has been set. +func (o *ChainCodeLifeCycleCommandResponses) HasInit() bool { + if o != nil && !IsNil(o.Init) { + return true + } + + return false +} + +// SetInit gets a reference to the given SSHExecCommandResponse and assigns it to the Init field. +func (o *ChainCodeLifeCycleCommandResponses) SetInit(v SSHExecCommandResponse) { + o.Init = &v +} + +func (o ChainCodeLifeCycleCommandResponses) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ChainCodeLifeCycleCommandResponses) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Packaging) { + toSerialize["packaging"] = o.Packaging + } + toSerialize["installList"] = o.InstallList + toSerialize["queryInstalledList"] = o.QueryInstalledList + toSerialize["approveForMyOrgList"] = o.ApproveForMyOrgList + if !IsNil(o.Commit) { + toSerialize["commit"] = o.Commit + } + if !IsNil(o.QueryCommitted) { + toSerialize["queryCommitted"] = o.QueryCommitted + } + if !IsNil(o.Init) { + toSerialize["init"] = o.Init + } + return toSerialize, nil +} + +type NullableChainCodeLifeCycleCommandResponses struct { + value *ChainCodeLifeCycleCommandResponses + isSet bool +} + +func (v NullableChainCodeLifeCycleCommandResponses) Get() *ChainCodeLifeCycleCommandResponses { + return v.value +} + +func (v *NullableChainCodeLifeCycleCommandResponses) Set(val *ChainCodeLifeCycleCommandResponses) { + v.value = val + v.isSet = true +} + +func (v NullableChainCodeLifeCycleCommandResponses) IsSet() bool { + return v.isSet +} + +func (v *NullableChainCodeLifeCycleCommandResponses) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableChainCodeLifeCycleCommandResponses(val *ChainCodeLifeCycleCommandResponses) *NullableChainCodeLifeCycleCommandResponses { + return &NullableChainCodeLifeCycleCommandResponses{value: val, isSet: true} +} + +func (v NullableChainCodeLifeCycleCommandResponses) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableChainCodeLifeCycleCommandResponses) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_chain_code_programming_language.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_chain_code_programming_language.go new file mode 100644 index 00000000000..2645ca802e7 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_chain_code_programming_language.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// ChainCodeProgrammingLanguage Enumerates the supported source code programming languages of Hyperledger Fabric +type ChainCodeProgrammingLanguage string + +// List of ChainCodeProgrammingLanguage +const ( + GOLANG ChainCodeProgrammingLanguage = "golang" + JAVASCRIPT ChainCodeProgrammingLanguage = "javascript" + TYPESCRIPT ChainCodeProgrammingLanguage = "typescript" + JAVA ChainCodeProgrammingLanguage = "java" +) + +// All allowed values of ChainCodeProgrammingLanguage enum +var AllowedChainCodeProgrammingLanguageEnumValues = []ChainCodeProgrammingLanguage{ + "golang", + "javascript", + "typescript", + "java", +} + +func (v *ChainCodeProgrammingLanguage) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ChainCodeProgrammingLanguage(value) + for _, existing := range AllowedChainCodeProgrammingLanguageEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ChainCodeProgrammingLanguage", value) +} + +// NewChainCodeProgrammingLanguageFromValue returns a pointer to a valid ChainCodeProgrammingLanguage +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewChainCodeProgrammingLanguageFromValue(v string) (*ChainCodeProgrammingLanguage, error) { + ev := ChainCodeProgrammingLanguage(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ChainCodeProgrammingLanguage: valid values are %v", v, AllowedChainCodeProgrammingLanguageEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ChainCodeProgrammingLanguage) IsValid() bool { + for _, existing := range AllowedChainCodeProgrammingLanguageEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ChainCodeProgrammingLanguage value +func (v ChainCodeProgrammingLanguage) Ptr() *ChainCodeProgrammingLanguage { + return &v +} + +type NullableChainCodeProgrammingLanguage struct { + value *ChainCodeProgrammingLanguage + isSet bool +} + +func (v NullableChainCodeProgrammingLanguage) Get() *ChainCodeProgrammingLanguage { + return v.value +} + +func (v *NullableChainCodeProgrammingLanguage) Set(val *ChainCodeProgrammingLanguage) { + v.value = val + v.isSet = true +} + +func (v NullableChainCodeProgrammingLanguage) IsSet() bool { + return v.isSet +} + +func (v *NullableChainCodeProgrammingLanguage) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableChainCodeProgrammingLanguage(val *ChainCodeProgrammingLanguage) *NullableChainCodeProgrammingLanguage { + return &NullableChainCodeProgrammingLanguage{value: val, isSet: true} +} + +func (v NullableChainCodeProgrammingLanguage) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableChainCodeProgrammingLanguage) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_connection_profile.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_connection_profile.go new file mode 100644 index 00000000000..ec9e89674d8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_connection_profile.go @@ -0,0 +1,448 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the ConnectionProfile type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ConnectionProfile{} + +// ConnectionProfile struct for ConnectionProfile +type ConnectionProfile struct { + Name string `json:"name"` + XType *string `json:"x-type,omitempty"` + Description *string `json:"description,omitempty"` + Version string `json:"version"` + Client *ConnectionProfileClient `json:"client,omitempty"` + Channels map[string]interface{} `json:"channels,omitempty"` + Organizations map[string]interface{} `json:"organizations"` + Orderers map[string]interface{} `json:"orderers,omitempty"` + Peers map[string]interface{} `json:"peers"` + CertificateAuthorities map[string]interface{} `json:"certificateAuthorities,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ConnectionProfile ConnectionProfile + +// NewConnectionProfile instantiates a new ConnectionProfile object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewConnectionProfile(name string, version string, organizations map[string]interface{}, peers map[string]interface{}) *ConnectionProfile { + this := ConnectionProfile{} + this.Name = name + this.Version = version + this.Organizations = organizations + this.Peers = peers + return &this +} + +// NewConnectionProfileWithDefaults instantiates a new ConnectionProfile object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewConnectionProfileWithDefaults() *ConnectionProfile { + this := ConnectionProfile{} + return &this +} + +// GetName returns the Name field value +func (o *ConnectionProfile) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *ConnectionProfile) SetName(v string) { + o.Name = v +} + +// GetXType returns the XType field value if set, zero value otherwise. +func (o *ConnectionProfile) GetXType() string { + if o == nil || IsNil(o.XType) { + var ret string + return ret + } + return *o.XType +} + +// GetXTypeOk returns a tuple with the XType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetXTypeOk() (*string, bool) { + if o == nil || IsNil(o.XType) { + return nil, false + } + return o.XType, true +} + +// HasXType returns a boolean if a field has been set. +func (o *ConnectionProfile) HasXType() bool { + if o != nil && !IsNil(o.XType) { + return true + } + + return false +} + +// SetXType gets a reference to the given string and assigns it to the XType field. +func (o *ConnectionProfile) SetXType(v string) { + o.XType = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ConnectionProfile) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ConnectionProfile) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *ConnectionProfile) SetDescription(v string) { + o.Description = &v +} + +// GetVersion returns the Version field value +func (o *ConnectionProfile) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *ConnectionProfile) SetVersion(v string) { + o.Version = v +} + +// GetClient returns the Client field value if set, zero value otherwise. +func (o *ConnectionProfile) GetClient() ConnectionProfileClient { + if o == nil || IsNil(o.Client) { + var ret ConnectionProfileClient + return ret + } + return *o.Client +} + +// GetClientOk returns a tuple with the Client field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetClientOk() (*ConnectionProfileClient, bool) { + if o == nil || IsNil(o.Client) { + return nil, false + } + return o.Client, true +} + +// HasClient returns a boolean if a field has been set. +func (o *ConnectionProfile) HasClient() bool { + if o != nil && !IsNil(o.Client) { + return true + } + + return false +} + +// SetClient gets a reference to the given ConnectionProfileClient and assigns it to the Client field. +func (o *ConnectionProfile) SetClient(v ConnectionProfileClient) { + o.Client = &v +} + +// GetChannels returns the Channels field value if set, zero value otherwise. +func (o *ConnectionProfile) GetChannels() map[string]interface{} { + if o == nil || IsNil(o.Channels) { + var ret map[string]interface{} + return ret + } + return o.Channels +} + +// GetChannelsOk returns a tuple with the Channels field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetChannelsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Channels) { + return map[string]interface{}{}, false + } + return o.Channels, true +} + +// HasChannels returns a boolean if a field has been set. +func (o *ConnectionProfile) HasChannels() bool { + if o != nil && !IsNil(o.Channels) { + return true + } + + return false +} + +// SetChannels gets a reference to the given map[string]interface{} and assigns it to the Channels field. +func (o *ConnectionProfile) SetChannels(v map[string]interface{}) { + o.Channels = v +} + +// GetOrganizations returns the Organizations field value +func (o *ConnectionProfile) GetOrganizations() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + + return o.Organizations +} + +// GetOrganizationsOk returns a tuple with the Organizations field value +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetOrganizationsOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false + } + return o.Organizations, true +} + +// SetOrganizations sets field value +func (o *ConnectionProfile) SetOrganizations(v map[string]interface{}) { + o.Organizations = v +} + +// GetOrderers returns the Orderers field value if set, zero value otherwise. +func (o *ConnectionProfile) GetOrderers() map[string]interface{} { + if o == nil || IsNil(o.Orderers) { + var ret map[string]interface{} + return ret + } + return o.Orderers +} + +// GetOrderersOk returns a tuple with the Orderers field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetOrderersOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Orderers) { + return map[string]interface{}{}, false + } + return o.Orderers, true +} + +// HasOrderers returns a boolean if a field has been set. +func (o *ConnectionProfile) HasOrderers() bool { + if o != nil && !IsNil(o.Orderers) { + return true + } + + return false +} + +// SetOrderers gets a reference to the given map[string]interface{} and assigns it to the Orderers field. +func (o *ConnectionProfile) SetOrderers(v map[string]interface{}) { + o.Orderers = v +} + +// GetPeers returns the Peers field value +func (o *ConnectionProfile) GetPeers() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + + return o.Peers +} + +// GetPeersOk returns a tuple with the Peers field value +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetPeersOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false + } + return o.Peers, true +} + +// SetPeers sets field value +func (o *ConnectionProfile) SetPeers(v map[string]interface{}) { + o.Peers = v +} + +// GetCertificateAuthorities returns the CertificateAuthorities field value if set, zero value otherwise. +func (o *ConnectionProfile) GetCertificateAuthorities() map[string]interface{} { + if o == nil || IsNil(o.CertificateAuthorities) { + var ret map[string]interface{} + return ret + } + return o.CertificateAuthorities +} + +// GetCertificateAuthoritiesOk returns a tuple with the CertificateAuthorities field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConnectionProfile) GetCertificateAuthoritiesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CertificateAuthorities) { + return map[string]interface{}{}, false + } + return o.CertificateAuthorities, true +} + +// HasCertificateAuthorities returns a boolean if a field has been set. +func (o *ConnectionProfile) HasCertificateAuthorities() bool { + if o != nil && !IsNil(o.CertificateAuthorities) { + return true + } + + return false +} + +// SetCertificateAuthorities gets a reference to the given map[string]interface{} and assigns it to the CertificateAuthorities field. +func (o *ConnectionProfile) SetCertificateAuthorities(v map[string]interface{}) { + o.CertificateAuthorities = v +} + +func (o ConnectionProfile) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ConnectionProfile) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.XType) { + toSerialize["x-type"] = o.XType + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["version"] = o.Version + if !IsNil(o.Client) { + toSerialize["client"] = o.Client + } + if !IsNil(o.Channels) { + toSerialize["channels"] = o.Channels + } + toSerialize["organizations"] = o.Organizations + if !IsNil(o.Orderers) { + toSerialize["orderers"] = o.Orderers + } + toSerialize["peers"] = o.Peers + if !IsNil(o.CertificateAuthorities) { + toSerialize["certificateAuthorities"] = o.CertificateAuthorities + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ConnectionProfile) UnmarshalJSON(bytes []byte) (err error) { + varConnectionProfile := _ConnectionProfile{} + + if err = json.Unmarshal(bytes, &varConnectionProfile); err == nil { + *o = ConnectionProfile(varConnectionProfile) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "x-type") + delete(additionalProperties, "description") + delete(additionalProperties, "version") + delete(additionalProperties, "client") + delete(additionalProperties, "channels") + delete(additionalProperties, "organizations") + delete(additionalProperties, "orderers") + delete(additionalProperties, "peers") + delete(additionalProperties, "certificateAuthorities") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableConnectionProfile struct { + value *ConnectionProfile + isSet bool +} + +func (v NullableConnectionProfile) Get() *ConnectionProfile { + return v.value +} + +func (v *NullableConnectionProfile) Set(val *ConnectionProfile) { + v.value = val + v.isSet = true +} + +func (v NullableConnectionProfile) IsSet() bool { + return v.isSet +} + +func (v *NullableConnectionProfile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConnectionProfile(val *ConnectionProfile) *NullableConnectionProfile { + return &NullableConnectionProfile{value: val, isSet: true} +} + +func (v NullableConnectionProfile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConnectionProfile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_connection_profile_client.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_connection_profile_client.go new file mode 100644 index 00000000000..fa0dbe0dc2d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_connection_profile_client.go @@ -0,0 +1,126 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the ConnectionProfileClient type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ConnectionProfileClient{} + +// ConnectionProfileClient struct for ConnectionProfileClient +type ConnectionProfileClient struct { + Organization *string `json:"organization,omitempty"` +} + +// NewConnectionProfileClient instantiates a new ConnectionProfileClient object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewConnectionProfileClient() *ConnectionProfileClient { + this := ConnectionProfileClient{} + return &this +} + +// NewConnectionProfileClientWithDefaults instantiates a new ConnectionProfileClient object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewConnectionProfileClientWithDefaults() *ConnectionProfileClient { + this := ConnectionProfileClient{} + return &this +} + +// GetOrganization returns the Organization field value if set, zero value otherwise. +func (o *ConnectionProfileClient) GetOrganization() string { + if o == nil || IsNil(o.Organization) { + var ret string + return ret + } + return *o.Organization +} + +// GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConnectionProfileClient) GetOrganizationOk() (*string, bool) { + if o == nil || IsNil(o.Organization) { + return nil, false + } + return o.Organization, true +} + +// HasOrganization returns a boolean if a field has been set. +func (o *ConnectionProfileClient) HasOrganization() bool { + if o != nil && !IsNil(o.Organization) { + return true + } + + return false +} + +// SetOrganization gets a reference to the given string and assigns it to the Organization field. +func (o *ConnectionProfileClient) SetOrganization(v string) { + o.Organization = &v +} + +func (o ConnectionProfileClient) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ConnectionProfileClient) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Organization) { + toSerialize["organization"] = o.Organization + } + return toSerialize, nil +} + +type NullableConnectionProfileClient struct { + value *ConnectionProfileClient + isSet bool +} + +func (v NullableConnectionProfileClient) Get() *ConnectionProfileClient { + return v.value +} + +func (v *NullableConnectionProfileClient) Set(val *ConnectionProfileClient) { + v.value = val + v.isSet = true +} + +func (v NullableConnectionProfileClient) IsSet() bool { + return v.isSet +} + +func (v *NullableConnectionProfileClient) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConnectionProfileClient(val *ConnectionProfileClient) *NullableConnectionProfileClient { + return &NullableConnectionProfileClient{value: val, isSet: true} +} + +func (v NullableConnectionProfileClient) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConnectionProfileClient) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_default_event_handler_strategy.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_default_event_handler_strategy.go new file mode 100644 index 00000000000..51ace2be483 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_default_event_handler_strategy.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// DefaultEventHandlerStrategy the model 'DefaultEventHandlerStrategy' +type DefaultEventHandlerStrategy string + +// List of DefaultEventHandlerStrategy +const ( + MSPID_SCOPE_ALLFORTX DefaultEventHandlerStrategy = "MSPID_SCOPE_ALLFORTX" + MSPID_SCOPE_ANYFORTX DefaultEventHandlerStrategy = "MSPID_SCOPE_ANYFORTX" + NETWORK_SCOPE_ALLFORTX DefaultEventHandlerStrategy = "NETWORK_SCOPE_ALLFORTX" + NETWORK_SCOPE_ANYFORTX DefaultEventHandlerStrategy = "NETWORK_SCOPE_ANYFORTX" +) + +// All allowed values of DefaultEventHandlerStrategy enum +var AllowedDefaultEventHandlerStrategyEnumValues = []DefaultEventHandlerStrategy{ + "MSPID_SCOPE_ALLFORTX", + "MSPID_SCOPE_ANYFORTX", + "NETWORK_SCOPE_ALLFORTX", + "NETWORK_SCOPE_ANYFORTX", +} + +func (v *DefaultEventHandlerStrategy) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DefaultEventHandlerStrategy(value) + for _, existing := range AllowedDefaultEventHandlerStrategyEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DefaultEventHandlerStrategy", value) +} + +// NewDefaultEventHandlerStrategyFromValue returns a pointer to a valid DefaultEventHandlerStrategy +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDefaultEventHandlerStrategyFromValue(v string) (*DefaultEventHandlerStrategy, error) { + ev := DefaultEventHandlerStrategy(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DefaultEventHandlerStrategy: valid values are %v", v, AllowedDefaultEventHandlerStrategyEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DefaultEventHandlerStrategy) IsValid() bool { + for _, existing := range AllowedDefaultEventHandlerStrategyEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DefaultEventHandlerStrategy value +func (v DefaultEventHandlerStrategy) Ptr() *DefaultEventHandlerStrategy { + return &v +} + +type NullableDefaultEventHandlerStrategy struct { + value *DefaultEventHandlerStrategy + isSet bool +} + +func (v NullableDefaultEventHandlerStrategy) Get() *DefaultEventHandlerStrategy { + return v.value +} + +func (v *NullableDefaultEventHandlerStrategy) Set(val *DefaultEventHandlerStrategy) { + v.value = val + v.isSet = true +} + +func (v NullableDefaultEventHandlerStrategy) IsSet() bool { + return v.isSet +} + +func (v *NullableDefaultEventHandlerStrategy) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDefaultEventHandlerStrategy(val *DefaultEventHandlerStrategy) *NullableDefaultEventHandlerStrategy { + return &NullableDefaultEventHandlerStrategy{value: val, isSet: true} +} + +func (v NullableDefaultEventHandlerStrategy) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDefaultEventHandlerStrategy) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_501_response.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_501_response.go new file mode 100644 index 00000000000..3caaa6d7e66 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_501_response.go @@ -0,0 +1,126 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the DeployContractGoSourceV1501Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractGoSourceV1501Response{} + +// DeployContractGoSourceV1501Response struct for DeployContractGoSourceV1501Response +type DeployContractGoSourceV1501Response struct { + Message *string `json:"message,omitempty"` +} + +// NewDeployContractGoSourceV1501Response instantiates a new DeployContractGoSourceV1501Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractGoSourceV1501Response() *DeployContractGoSourceV1501Response { + this := DeployContractGoSourceV1501Response{} + return &this +} + +// NewDeployContractGoSourceV1501ResponseWithDefaults instantiates a new DeployContractGoSourceV1501Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractGoSourceV1501ResponseWithDefaults() *DeployContractGoSourceV1501Response { + this := DeployContractGoSourceV1501Response{} + return &this +} + +// GetMessage returns the Message field value if set, zero value otherwise. +func (o *DeployContractGoSourceV1501Response) GetMessage() string { + if o == nil || IsNil(o.Message) { + var ret string + return ret + } + return *o.Message +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1501Response) GetMessageOk() (*string, bool) { + if o == nil || IsNil(o.Message) { + return nil, false + } + return o.Message, true +} + +// HasMessage returns a boolean if a field has been set. +func (o *DeployContractGoSourceV1501Response) HasMessage() bool { + if o != nil && !IsNil(o.Message) { + return true + } + + return false +} + +// SetMessage gets a reference to the given string and assigns it to the Message field. +func (o *DeployContractGoSourceV1501Response) SetMessage(v string) { + o.Message = &v +} + +func (o DeployContractGoSourceV1501Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractGoSourceV1501Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Message) { + toSerialize["message"] = o.Message + } + return toSerialize, nil +} + +type NullableDeployContractGoSourceV1501Response struct { + value *DeployContractGoSourceV1501Response + isSet bool +} + +func (v NullableDeployContractGoSourceV1501Response) Get() *DeployContractGoSourceV1501Response { + return v.value +} + +func (v *NullableDeployContractGoSourceV1501Response) Set(val *DeployContractGoSourceV1501Response) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractGoSourceV1501Response) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractGoSourceV1501Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractGoSourceV1501Response(val *DeployContractGoSourceV1501Response) *NullableDeployContractGoSourceV1501Response { + return &NullableDeployContractGoSourceV1501Response{value: val, isSet: true} +} + +func (v NullableDeployContractGoSourceV1501Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractGoSourceV1501Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_request.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_request.go new file mode 100644 index 00000000000..518c8bd1f25 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_request.go @@ -0,0 +1,474 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the DeployContractGoSourceV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractGoSourceV1Request{} + +// DeployContractGoSourceV1Request struct for DeployContractGoSourceV1Request +type DeployContractGoSourceV1Request struct { + PolicyDslSource string `json:"policyDslSource"` + // The TLS root cert files that will be passed to the chaincode instantiation command. + TlsRootCertFiles string `json:"tlsRootCertFiles"` + // The name of the Fabric channel where the contract will get instantiated. + ChannelId string `json:"channelId"` + TargetOrganizations []DeploymentTargetOrganization `json:"targetOrganizations"` + // An array of peer addresses where the contract will be instantiated. Note that at present only the first item from this array will be used which is the behavior taken from the official Fabric samples repository and therefore it is assumed to be correct usage. + TargetPeerAddresses []string `json:"targetPeerAddresses"` + ConstructorArgs *DeployContractGoSourceV1RequestConstructorArgs `json:"constructorArgs,omitempty"` + ChainCodeVersion string `json:"chainCodeVersion"` + GoSource FileBase64 `json:"goSource"` + GoMod *FileBase64 `json:"goMod,omitempty"` + // The go module name that will be used for the go compilation process. + ModuleName *string `json:"moduleName,omitempty"` + PinnedDeps []string `json:"pinnedDeps,omitempty"` + // Indicates to the go chaincode compiler of Cactus if it should do an actual go compilation with the contact source or if it should just execute the go mod tidy command. + ModTidyOnly NullableBool `json:"modTidyOnly,omitempty"` +} + +// NewDeployContractGoSourceV1Request instantiates a new DeployContractGoSourceV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractGoSourceV1Request(policyDslSource string, tlsRootCertFiles string, channelId string, targetOrganizations []DeploymentTargetOrganization, targetPeerAddresses []string, chainCodeVersion string, goSource FileBase64) *DeployContractGoSourceV1Request { + this := DeployContractGoSourceV1Request{} + this.PolicyDslSource = policyDslSource + this.TlsRootCertFiles = tlsRootCertFiles + this.ChannelId = channelId + this.TargetOrganizations = targetOrganizations + this.TargetPeerAddresses = targetPeerAddresses + this.ChainCodeVersion = chainCodeVersion + this.GoSource = goSource + return &this +} + +// NewDeployContractGoSourceV1RequestWithDefaults instantiates a new DeployContractGoSourceV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractGoSourceV1RequestWithDefaults() *DeployContractGoSourceV1Request { + this := DeployContractGoSourceV1Request{} + return &this +} + +// GetPolicyDslSource returns the PolicyDslSource field value +func (o *DeployContractGoSourceV1Request) GetPolicyDslSource() string { + if o == nil { + var ret string + return ret + } + + return o.PolicyDslSource +} + +// GetPolicyDslSourceOk returns a tuple with the PolicyDslSource field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetPolicyDslSourceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PolicyDslSource, true +} + +// SetPolicyDslSource sets field value +func (o *DeployContractGoSourceV1Request) SetPolicyDslSource(v string) { + o.PolicyDslSource = v +} + +// GetTlsRootCertFiles returns the TlsRootCertFiles field value +func (o *DeployContractGoSourceV1Request) GetTlsRootCertFiles() string { + if o == nil { + var ret string + return ret + } + + return o.TlsRootCertFiles +} + +// GetTlsRootCertFilesOk returns a tuple with the TlsRootCertFiles field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetTlsRootCertFilesOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TlsRootCertFiles, true +} + +// SetTlsRootCertFiles sets field value +func (o *DeployContractGoSourceV1Request) SetTlsRootCertFiles(v string) { + o.TlsRootCertFiles = v +} + +// GetChannelId returns the ChannelId field value +func (o *DeployContractGoSourceV1Request) GetChannelId() string { + if o == nil { + var ret string + return ret + } + + return o.ChannelId +} + +// GetChannelIdOk returns a tuple with the ChannelId field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetChannelIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChannelId, true +} + +// SetChannelId sets field value +func (o *DeployContractGoSourceV1Request) SetChannelId(v string) { + o.ChannelId = v +} + +// GetTargetOrganizations returns the TargetOrganizations field value +func (o *DeployContractGoSourceV1Request) GetTargetOrganizations() []DeploymentTargetOrganization { + if o == nil { + var ret []DeploymentTargetOrganization + return ret + } + + return o.TargetOrganizations +} + +// GetTargetOrganizationsOk returns a tuple with the TargetOrganizations field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetTargetOrganizationsOk() ([]DeploymentTargetOrganization, bool) { + if o == nil { + return nil, false + } + return o.TargetOrganizations, true +} + +// SetTargetOrganizations sets field value +func (o *DeployContractGoSourceV1Request) SetTargetOrganizations(v []DeploymentTargetOrganization) { + o.TargetOrganizations = v +} + +// GetTargetPeerAddresses returns the TargetPeerAddresses field value +func (o *DeployContractGoSourceV1Request) GetTargetPeerAddresses() []string { + if o == nil { + var ret []string + return ret + } + + return o.TargetPeerAddresses +} + +// GetTargetPeerAddressesOk returns a tuple with the TargetPeerAddresses field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetTargetPeerAddressesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.TargetPeerAddresses, true +} + +// SetTargetPeerAddresses sets field value +func (o *DeployContractGoSourceV1Request) SetTargetPeerAddresses(v []string) { + o.TargetPeerAddresses = v +} + +// GetConstructorArgs returns the ConstructorArgs field value if set, zero value otherwise. +func (o *DeployContractGoSourceV1Request) GetConstructorArgs() DeployContractGoSourceV1RequestConstructorArgs { + if o == nil || IsNil(o.ConstructorArgs) { + var ret DeployContractGoSourceV1RequestConstructorArgs + return ret + } + return *o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetConstructorArgsOk() (*DeployContractGoSourceV1RequestConstructorArgs, bool) { + if o == nil || IsNil(o.ConstructorArgs) { + return nil, false + } + return o.ConstructorArgs, true +} + +// HasConstructorArgs returns a boolean if a field has been set. +func (o *DeployContractGoSourceV1Request) HasConstructorArgs() bool { + if o != nil && !IsNil(o.ConstructorArgs) { + return true + } + + return false +} + +// SetConstructorArgs gets a reference to the given DeployContractGoSourceV1RequestConstructorArgs and assigns it to the ConstructorArgs field. +func (o *DeployContractGoSourceV1Request) SetConstructorArgs(v DeployContractGoSourceV1RequestConstructorArgs) { + o.ConstructorArgs = &v +} + +// GetChainCodeVersion returns the ChainCodeVersion field value +func (o *DeployContractGoSourceV1Request) GetChainCodeVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ChainCodeVersion +} + +// GetChainCodeVersionOk returns a tuple with the ChainCodeVersion field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetChainCodeVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChainCodeVersion, true +} + +// SetChainCodeVersion sets field value +func (o *DeployContractGoSourceV1Request) SetChainCodeVersion(v string) { + o.ChainCodeVersion = v +} + +// GetGoSource returns the GoSource field value +func (o *DeployContractGoSourceV1Request) GetGoSource() FileBase64 { + if o == nil { + var ret FileBase64 + return ret + } + + return o.GoSource +} + +// GetGoSourceOk returns a tuple with the GoSource field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetGoSourceOk() (*FileBase64, bool) { + if o == nil { + return nil, false + } + return &o.GoSource, true +} + +// SetGoSource sets field value +func (o *DeployContractGoSourceV1Request) SetGoSource(v FileBase64) { + o.GoSource = v +} + +// GetGoMod returns the GoMod field value if set, zero value otherwise. +func (o *DeployContractGoSourceV1Request) GetGoMod() FileBase64 { + if o == nil || IsNil(o.GoMod) { + var ret FileBase64 + return ret + } + return *o.GoMod +} + +// GetGoModOk returns a tuple with the GoMod field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetGoModOk() (*FileBase64, bool) { + if o == nil || IsNil(o.GoMod) { + return nil, false + } + return o.GoMod, true +} + +// HasGoMod returns a boolean if a field has been set. +func (o *DeployContractGoSourceV1Request) HasGoMod() bool { + if o != nil && !IsNil(o.GoMod) { + return true + } + + return false +} + +// SetGoMod gets a reference to the given FileBase64 and assigns it to the GoMod field. +func (o *DeployContractGoSourceV1Request) SetGoMod(v FileBase64) { + o.GoMod = &v +} + +// GetModuleName returns the ModuleName field value if set, zero value otherwise. +func (o *DeployContractGoSourceV1Request) GetModuleName() string { + if o == nil || IsNil(o.ModuleName) { + var ret string + return ret + } + return *o.ModuleName +} + +// GetModuleNameOk returns a tuple with the ModuleName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetModuleNameOk() (*string, bool) { + if o == nil || IsNil(o.ModuleName) { + return nil, false + } + return o.ModuleName, true +} + +// HasModuleName returns a boolean if a field has been set. +func (o *DeployContractGoSourceV1Request) HasModuleName() bool { + if o != nil && !IsNil(o.ModuleName) { + return true + } + + return false +} + +// SetModuleName gets a reference to the given string and assigns it to the ModuleName field. +func (o *DeployContractGoSourceV1Request) SetModuleName(v string) { + o.ModuleName = &v +} + +// GetPinnedDeps returns the PinnedDeps field value if set, zero value otherwise. +func (o *DeployContractGoSourceV1Request) GetPinnedDeps() []string { + if o == nil || IsNil(o.PinnedDeps) { + var ret []string + return ret + } + return o.PinnedDeps +} + +// GetPinnedDepsOk returns a tuple with the PinnedDeps field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Request) GetPinnedDepsOk() ([]string, bool) { + if o == nil || IsNil(o.PinnedDeps) { + return nil, false + } + return o.PinnedDeps, true +} + +// HasPinnedDeps returns a boolean if a field has been set. +func (o *DeployContractGoSourceV1Request) HasPinnedDeps() bool { + if o != nil && !IsNil(o.PinnedDeps) { + return true + } + + return false +} + +// SetPinnedDeps gets a reference to the given []string and assigns it to the PinnedDeps field. +func (o *DeployContractGoSourceV1Request) SetPinnedDeps(v []string) { + o.PinnedDeps = v +} + +// GetModTidyOnly returns the ModTidyOnly field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeployContractGoSourceV1Request) GetModTidyOnly() bool { + if o == nil || IsNil(o.ModTidyOnly.Get()) { + var ret bool + return ret + } + return *o.ModTidyOnly.Get() +} + +// GetModTidyOnlyOk returns a tuple with the ModTidyOnly field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeployContractGoSourceV1Request) GetModTidyOnlyOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.ModTidyOnly.Get(), o.ModTidyOnly.IsSet() +} + +// HasModTidyOnly returns a boolean if a field has been set. +func (o *DeployContractGoSourceV1Request) HasModTidyOnly() bool { + if o != nil && o.ModTidyOnly.IsSet() { + return true + } + + return false +} + +// SetModTidyOnly gets a reference to the given NullableBool and assigns it to the ModTidyOnly field. +func (o *DeployContractGoSourceV1Request) SetModTidyOnly(v bool) { + o.ModTidyOnly.Set(&v) +} +// SetModTidyOnlyNil sets the value for ModTidyOnly to be an explicit nil +func (o *DeployContractGoSourceV1Request) SetModTidyOnlyNil() { + o.ModTidyOnly.Set(nil) +} + +// UnsetModTidyOnly ensures that no value is present for ModTidyOnly, not even an explicit nil +func (o *DeployContractGoSourceV1Request) UnsetModTidyOnly() { + o.ModTidyOnly.Unset() +} + +func (o DeployContractGoSourceV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractGoSourceV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["policyDslSource"] = o.PolicyDslSource + toSerialize["tlsRootCertFiles"] = o.TlsRootCertFiles + toSerialize["channelId"] = o.ChannelId + toSerialize["targetOrganizations"] = o.TargetOrganizations + toSerialize["targetPeerAddresses"] = o.TargetPeerAddresses + if !IsNil(o.ConstructorArgs) { + toSerialize["constructorArgs"] = o.ConstructorArgs + } + toSerialize["chainCodeVersion"] = o.ChainCodeVersion + toSerialize["goSource"] = o.GoSource + if !IsNil(o.GoMod) { + toSerialize["goMod"] = o.GoMod + } + if !IsNil(o.ModuleName) { + toSerialize["moduleName"] = o.ModuleName + } + if !IsNil(o.PinnedDeps) { + toSerialize["pinnedDeps"] = o.PinnedDeps + } + if o.ModTidyOnly.IsSet() { + toSerialize["modTidyOnly"] = o.ModTidyOnly.Get() + } + return toSerialize, nil +} + +type NullableDeployContractGoSourceV1Request struct { + value *DeployContractGoSourceV1Request + isSet bool +} + +func (v NullableDeployContractGoSourceV1Request) Get() *DeployContractGoSourceV1Request { + return v.value +} + +func (v *NullableDeployContractGoSourceV1Request) Set(val *DeployContractGoSourceV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractGoSourceV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractGoSourceV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractGoSourceV1Request(val *DeployContractGoSourceV1Request) *NullableDeployContractGoSourceV1Request { + return &NullableDeployContractGoSourceV1Request{value: val, isSet: true} +} + +func (v NullableDeployContractGoSourceV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractGoSourceV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_request_constructor_args.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_request_constructor_args.go new file mode 100644 index 00000000000..99102e68d2b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_request_constructor_args.go @@ -0,0 +1,126 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the DeployContractGoSourceV1RequestConstructorArgs type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractGoSourceV1RequestConstructorArgs{} + +// DeployContractGoSourceV1RequestConstructorArgs struct for DeployContractGoSourceV1RequestConstructorArgs +type DeployContractGoSourceV1RequestConstructorArgs struct { + Args []interface{} `json:"Args,omitempty"` +} + +// NewDeployContractGoSourceV1RequestConstructorArgs instantiates a new DeployContractGoSourceV1RequestConstructorArgs object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractGoSourceV1RequestConstructorArgs() *DeployContractGoSourceV1RequestConstructorArgs { + this := DeployContractGoSourceV1RequestConstructorArgs{} + return &this +} + +// NewDeployContractGoSourceV1RequestConstructorArgsWithDefaults instantiates a new DeployContractGoSourceV1RequestConstructorArgs object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractGoSourceV1RequestConstructorArgsWithDefaults() *DeployContractGoSourceV1RequestConstructorArgs { + this := DeployContractGoSourceV1RequestConstructorArgs{} + return &this +} + +// GetArgs returns the Args field value if set, zero value otherwise. +func (o *DeployContractGoSourceV1RequestConstructorArgs) GetArgs() []interface{} { + if o == nil || IsNil(o.Args) { + var ret []interface{} + return ret + } + return o.Args +} + +// GetArgsOk returns a tuple with the Args field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1RequestConstructorArgs) GetArgsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Args) { + return nil, false + } + return o.Args, true +} + +// HasArgs returns a boolean if a field has been set. +func (o *DeployContractGoSourceV1RequestConstructorArgs) HasArgs() bool { + if o != nil && !IsNil(o.Args) { + return true + } + + return false +} + +// SetArgs gets a reference to the given []interface{} and assigns it to the Args field. +func (o *DeployContractGoSourceV1RequestConstructorArgs) SetArgs(v []interface{}) { + o.Args = v +} + +func (o DeployContractGoSourceV1RequestConstructorArgs) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractGoSourceV1RequestConstructorArgs) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Args) { + toSerialize["Args"] = o.Args + } + return toSerialize, nil +} + +type NullableDeployContractGoSourceV1RequestConstructorArgs struct { + value *DeployContractGoSourceV1RequestConstructorArgs + isSet bool +} + +func (v NullableDeployContractGoSourceV1RequestConstructorArgs) Get() *DeployContractGoSourceV1RequestConstructorArgs { + return v.value +} + +func (v *NullableDeployContractGoSourceV1RequestConstructorArgs) Set(val *DeployContractGoSourceV1RequestConstructorArgs) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractGoSourceV1RequestConstructorArgs) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractGoSourceV1RequestConstructorArgs) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractGoSourceV1RequestConstructorArgs(val *DeployContractGoSourceV1RequestConstructorArgs) *NullableDeployContractGoSourceV1RequestConstructorArgs { + return &NullableDeployContractGoSourceV1RequestConstructorArgs{value: val, isSet: true} +} + +func (v NullableDeployContractGoSourceV1RequestConstructorArgs) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractGoSourceV1RequestConstructorArgs) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_response.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_response.go new file mode 100644 index 00000000000..d15a10acb22 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_go_source_v1_response.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the DeployContractGoSourceV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractGoSourceV1Response{} + +// DeployContractGoSourceV1Response struct for DeployContractGoSourceV1Response +type DeployContractGoSourceV1Response struct { + Success bool `json:"success"` + InstallationCommandResponses []SSHExecCommandResponse `json:"installationCommandResponses"` + InstantiationCommandResponse SSHExecCommandResponse `json:"instantiationCommandResponse"` +} + +// NewDeployContractGoSourceV1Response instantiates a new DeployContractGoSourceV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractGoSourceV1Response(success bool, installationCommandResponses []SSHExecCommandResponse, instantiationCommandResponse SSHExecCommandResponse) *DeployContractGoSourceV1Response { + this := DeployContractGoSourceV1Response{} + this.Success = success + this.InstallationCommandResponses = installationCommandResponses + this.InstantiationCommandResponse = instantiationCommandResponse + return &this +} + +// NewDeployContractGoSourceV1ResponseWithDefaults instantiates a new DeployContractGoSourceV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractGoSourceV1ResponseWithDefaults() *DeployContractGoSourceV1Response { + this := DeployContractGoSourceV1Response{} + return &this +} + +// GetSuccess returns the Success field value +func (o *DeployContractGoSourceV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *DeployContractGoSourceV1Response) SetSuccess(v bool) { + o.Success = v +} + +// GetInstallationCommandResponses returns the InstallationCommandResponses field value +func (o *DeployContractGoSourceV1Response) GetInstallationCommandResponses() []SSHExecCommandResponse { + if o == nil { + var ret []SSHExecCommandResponse + return ret + } + + return o.InstallationCommandResponses +} + +// GetInstallationCommandResponsesOk returns a tuple with the InstallationCommandResponses field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Response) GetInstallationCommandResponsesOk() ([]SSHExecCommandResponse, bool) { + if o == nil { + return nil, false + } + return o.InstallationCommandResponses, true +} + +// SetInstallationCommandResponses sets field value +func (o *DeployContractGoSourceV1Response) SetInstallationCommandResponses(v []SSHExecCommandResponse) { + o.InstallationCommandResponses = v +} + +// GetInstantiationCommandResponse returns the InstantiationCommandResponse field value +func (o *DeployContractGoSourceV1Response) GetInstantiationCommandResponse() SSHExecCommandResponse { + if o == nil { + var ret SSHExecCommandResponse + return ret + } + + return o.InstantiationCommandResponse +} + +// GetInstantiationCommandResponseOk returns a tuple with the InstantiationCommandResponse field value +// and a boolean to check if the value has been set. +func (o *DeployContractGoSourceV1Response) GetInstantiationCommandResponseOk() (*SSHExecCommandResponse, bool) { + if o == nil { + return nil, false + } + return &o.InstantiationCommandResponse, true +} + +// SetInstantiationCommandResponse sets field value +func (o *DeployContractGoSourceV1Response) SetInstantiationCommandResponse(v SSHExecCommandResponse) { + o.InstantiationCommandResponse = v +} + +func (o DeployContractGoSourceV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractGoSourceV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + toSerialize["installationCommandResponses"] = o.InstallationCommandResponses + toSerialize["instantiationCommandResponse"] = o.InstantiationCommandResponse + return toSerialize, nil +} + +type NullableDeployContractGoSourceV1Response struct { + value *DeployContractGoSourceV1Response + isSet bool +} + +func (v NullableDeployContractGoSourceV1Response) Get() *DeployContractGoSourceV1Response { + return v.value +} + +func (v *NullableDeployContractGoSourceV1Response) Set(val *DeployContractGoSourceV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractGoSourceV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractGoSourceV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractGoSourceV1Response(val *DeployContractGoSourceV1Response) *NullableDeployContractGoSourceV1Response { + return &NullableDeployContractGoSourceV1Response{value: val, isSet: true} +} + +func (v NullableDeployContractGoSourceV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractGoSourceV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request.go new file mode 100644 index 00000000000..a111e7c6bea --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request.go @@ -0,0 +1,540 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the DeployContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractV1Request{} + +// DeployContractV1Request struct for DeployContractV1Request +type DeployContractV1Request struct { + CcLang ChainCodeProgrammingLanguage `json:"ccLang"` + // File-system path pointing at the CA file. + CaFile string `json:"caFile"` + // Ordering service endpoint specified as : + Orderer string `json:"orderer"` + // The hostname override to use when validating the TLS connection to the orderer + OrdererTLSHostnameOverride string `json:"ordererTLSHostnameOverride"` + // Timeout for client to connect (default 3s) + ConnTimeout *int32 `json:"connTimeout,omitempty"` + // Passed in to the peer via the --signature-policy argument on the command line. See also: https://hyperledger-fabric.readthedocs.io/en/release-2.2/endorsement-policies.html#setting-chaincode-level-endorsement-policies + SignaturePolicy *string `json:"signaturePolicy,omitempty"` + // Name of the collections config file as present in the sourceFiles array of the request. + CollectionsConfigFile *string `json:"collectionsConfigFile,omitempty"` + // The name of the Fabric channel where the contract will get instantiated. + ChannelId string `json:"channelId"` + TargetOrganizations []DeploymentTargetOrganization `json:"targetOrganizations"` + ConstructorArgs *DeployContractGoSourceV1RequestConstructorArgs `json:"constructorArgs,omitempty"` + CcSequence float32 `json:"ccSequence"` + CcVersion string `json:"ccVersion"` + CcName string `json:"ccName"` + // Human readable label to uniquely identify the contract. Recommended to include in this at least the contract name and the exact version in order to make it easily distinguishable from other deployments of the same contract. + CcLabel string `json:"ccLabel"` + // The your-smart-contract.go file where the functionality of your contract is implemented. + SourceFiles []FileBase64 `json:"sourceFiles"` +} + +// NewDeployContractV1Request instantiates a new DeployContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractV1Request(ccLang ChainCodeProgrammingLanguage, caFile string, orderer string, ordererTLSHostnameOverride string, channelId string, targetOrganizations []DeploymentTargetOrganization, ccSequence float32, ccVersion string, ccName string, ccLabel string, sourceFiles []FileBase64) *DeployContractV1Request { + this := DeployContractV1Request{} + this.CcLang = ccLang + this.CaFile = caFile + this.Orderer = orderer + this.OrdererTLSHostnameOverride = ordererTLSHostnameOverride + this.ChannelId = channelId + this.TargetOrganizations = targetOrganizations + this.CcSequence = ccSequence + this.CcVersion = ccVersion + this.CcName = ccName + this.CcLabel = ccLabel + this.SourceFiles = sourceFiles + return &this +} + +// NewDeployContractV1RequestWithDefaults instantiates a new DeployContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractV1RequestWithDefaults() *DeployContractV1Request { + this := DeployContractV1Request{} + return &this +} + +// GetCcLang returns the CcLang field value +func (o *DeployContractV1Request) GetCcLang() ChainCodeProgrammingLanguage { + if o == nil { + var ret ChainCodeProgrammingLanguage + return ret + } + + return o.CcLang +} + +// GetCcLangOk returns a tuple with the CcLang field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetCcLangOk() (*ChainCodeProgrammingLanguage, bool) { + if o == nil { + return nil, false + } + return &o.CcLang, true +} + +// SetCcLang sets field value +func (o *DeployContractV1Request) SetCcLang(v ChainCodeProgrammingLanguage) { + o.CcLang = v +} + +// GetCaFile returns the CaFile field value +func (o *DeployContractV1Request) GetCaFile() string { + if o == nil { + var ret string + return ret + } + + return o.CaFile +} + +// GetCaFileOk returns a tuple with the CaFile field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetCaFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CaFile, true +} + +// SetCaFile sets field value +func (o *DeployContractV1Request) SetCaFile(v string) { + o.CaFile = v +} + +// GetOrderer returns the Orderer field value +func (o *DeployContractV1Request) GetOrderer() string { + if o == nil { + var ret string + return ret + } + + return o.Orderer +} + +// GetOrdererOk returns a tuple with the Orderer field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetOrdererOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Orderer, true +} + +// SetOrderer sets field value +func (o *DeployContractV1Request) SetOrderer(v string) { + o.Orderer = v +} + +// GetOrdererTLSHostnameOverride returns the OrdererTLSHostnameOverride field value +func (o *DeployContractV1Request) GetOrdererTLSHostnameOverride() string { + if o == nil { + var ret string + return ret + } + + return o.OrdererTLSHostnameOverride +} + +// GetOrdererTLSHostnameOverrideOk returns a tuple with the OrdererTLSHostnameOverride field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetOrdererTLSHostnameOverrideOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OrdererTLSHostnameOverride, true +} + +// SetOrdererTLSHostnameOverride sets field value +func (o *DeployContractV1Request) SetOrdererTLSHostnameOverride(v string) { + o.OrdererTLSHostnameOverride = v +} + +// GetConnTimeout returns the ConnTimeout field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetConnTimeout() int32 { + if o == nil || IsNil(o.ConnTimeout) { + var ret int32 + return ret + } + return *o.ConnTimeout +} + +// GetConnTimeoutOk returns a tuple with the ConnTimeout field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetConnTimeoutOk() (*int32, bool) { + if o == nil || IsNil(o.ConnTimeout) { + return nil, false + } + return o.ConnTimeout, true +} + +// HasConnTimeout returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasConnTimeout() bool { + if o != nil && !IsNil(o.ConnTimeout) { + return true + } + + return false +} + +// SetConnTimeout gets a reference to the given int32 and assigns it to the ConnTimeout field. +func (o *DeployContractV1Request) SetConnTimeout(v int32) { + o.ConnTimeout = &v +} + +// GetSignaturePolicy returns the SignaturePolicy field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetSignaturePolicy() string { + if o == nil || IsNil(o.SignaturePolicy) { + var ret string + return ret + } + return *o.SignaturePolicy +} + +// GetSignaturePolicyOk returns a tuple with the SignaturePolicy field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetSignaturePolicyOk() (*string, bool) { + if o == nil || IsNil(o.SignaturePolicy) { + return nil, false + } + return o.SignaturePolicy, true +} + +// HasSignaturePolicy returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasSignaturePolicy() bool { + if o != nil && !IsNil(o.SignaturePolicy) { + return true + } + + return false +} + +// SetSignaturePolicy gets a reference to the given string and assigns it to the SignaturePolicy field. +func (o *DeployContractV1Request) SetSignaturePolicy(v string) { + o.SignaturePolicy = &v +} + +// GetCollectionsConfigFile returns the CollectionsConfigFile field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetCollectionsConfigFile() string { + if o == nil || IsNil(o.CollectionsConfigFile) { + var ret string + return ret + } + return *o.CollectionsConfigFile +} + +// GetCollectionsConfigFileOk returns a tuple with the CollectionsConfigFile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetCollectionsConfigFileOk() (*string, bool) { + if o == nil || IsNil(o.CollectionsConfigFile) { + return nil, false + } + return o.CollectionsConfigFile, true +} + +// HasCollectionsConfigFile returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasCollectionsConfigFile() bool { + if o != nil && !IsNil(o.CollectionsConfigFile) { + return true + } + + return false +} + +// SetCollectionsConfigFile gets a reference to the given string and assigns it to the CollectionsConfigFile field. +func (o *DeployContractV1Request) SetCollectionsConfigFile(v string) { + o.CollectionsConfigFile = &v +} + +// GetChannelId returns the ChannelId field value +func (o *DeployContractV1Request) GetChannelId() string { + if o == nil { + var ret string + return ret + } + + return o.ChannelId +} + +// GetChannelIdOk returns a tuple with the ChannelId field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetChannelIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChannelId, true +} + +// SetChannelId sets field value +func (o *DeployContractV1Request) SetChannelId(v string) { + o.ChannelId = v +} + +// GetTargetOrganizations returns the TargetOrganizations field value +func (o *DeployContractV1Request) GetTargetOrganizations() []DeploymentTargetOrganization { + if o == nil { + var ret []DeploymentTargetOrganization + return ret + } + + return o.TargetOrganizations +} + +// GetTargetOrganizationsOk returns a tuple with the TargetOrganizations field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetTargetOrganizationsOk() ([]DeploymentTargetOrganization, bool) { + if o == nil { + return nil, false + } + return o.TargetOrganizations, true +} + +// SetTargetOrganizations sets field value +func (o *DeployContractV1Request) SetTargetOrganizations(v []DeploymentTargetOrganization) { + o.TargetOrganizations = v +} + +// GetConstructorArgs returns the ConstructorArgs field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetConstructorArgs() DeployContractGoSourceV1RequestConstructorArgs { + if o == nil || IsNil(o.ConstructorArgs) { + var ret DeployContractGoSourceV1RequestConstructorArgs + return ret + } + return *o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetConstructorArgsOk() (*DeployContractGoSourceV1RequestConstructorArgs, bool) { + if o == nil || IsNil(o.ConstructorArgs) { + return nil, false + } + return o.ConstructorArgs, true +} + +// HasConstructorArgs returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasConstructorArgs() bool { + if o != nil && !IsNil(o.ConstructorArgs) { + return true + } + + return false +} + +// SetConstructorArgs gets a reference to the given DeployContractGoSourceV1RequestConstructorArgs and assigns it to the ConstructorArgs field. +func (o *DeployContractV1Request) SetConstructorArgs(v DeployContractGoSourceV1RequestConstructorArgs) { + o.ConstructorArgs = &v +} + +// GetCcSequence returns the CcSequence field value +func (o *DeployContractV1Request) GetCcSequence() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.CcSequence +} + +// GetCcSequenceOk returns a tuple with the CcSequence field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetCcSequenceOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.CcSequence, true +} + +// SetCcSequence sets field value +func (o *DeployContractV1Request) SetCcSequence(v float32) { + o.CcSequence = v +} + +// GetCcVersion returns the CcVersion field value +func (o *DeployContractV1Request) GetCcVersion() string { + if o == nil { + var ret string + return ret + } + + return o.CcVersion +} + +// GetCcVersionOk returns a tuple with the CcVersion field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetCcVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CcVersion, true +} + +// SetCcVersion sets field value +func (o *DeployContractV1Request) SetCcVersion(v string) { + o.CcVersion = v +} + +// GetCcName returns the CcName field value +func (o *DeployContractV1Request) GetCcName() string { + if o == nil { + var ret string + return ret + } + + return o.CcName +} + +// GetCcNameOk returns a tuple with the CcName field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetCcNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CcName, true +} + +// SetCcName sets field value +func (o *DeployContractV1Request) SetCcName(v string) { + o.CcName = v +} + +// GetCcLabel returns the CcLabel field value +func (o *DeployContractV1Request) GetCcLabel() string { + if o == nil { + var ret string + return ret + } + + return o.CcLabel +} + +// GetCcLabelOk returns a tuple with the CcLabel field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetCcLabelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CcLabel, true +} + +// SetCcLabel sets field value +func (o *DeployContractV1Request) SetCcLabel(v string) { + o.CcLabel = v +} + +// GetSourceFiles returns the SourceFiles field value +func (o *DeployContractV1Request) GetSourceFiles() []FileBase64 { + if o == nil { + var ret []FileBase64 + return ret + } + + return o.SourceFiles +} + +// GetSourceFilesOk returns a tuple with the SourceFiles field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetSourceFilesOk() ([]FileBase64, bool) { + if o == nil { + return nil, false + } + return o.SourceFiles, true +} + +// SetSourceFiles sets field value +func (o *DeployContractV1Request) SetSourceFiles(v []FileBase64) { + o.SourceFiles = v +} + +func (o DeployContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["ccLang"] = o.CcLang + toSerialize["caFile"] = o.CaFile + toSerialize["orderer"] = o.Orderer + toSerialize["ordererTLSHostnameOverride"] = o.OrdererTLSHostnameOverride + if !IsNil(o.ConnTimeout) { + toSerialize["connTimeout"] = o.ConnTimeout + } + if !IsNil(o.SignaturePolicy) { + toSerialize["signaturePolicy"] = o.SignaturePolicy + } + if !IsNil(o.CollectionsConfigFile) { + toSerialize["collectionsConfigFile"] = o.CollectionsConfigFile + } + toSerialize["channelId"] = o.ChannelId + toSerialize["targetOrganizations"] = o.TargetOrganizations + if !IsNil(o.ConstructorArgs) { + toSerialize["constructorArgs"] = o.ConstructorArgs + } + toSerialize["ccSequence"] = o.CcSequence + toSerialize["ccVersion"] = o.CcVersion + toSerialize["ccName"] = o.CcName + toSerialize["ccLabel"] = o.CcLabel + toSerialize["sourceFiles"] = o.SourceFiles + return toSerialize, nil +} + +type NullableDeployContractV1Request struct { + value *DeployContractV1Request + isSet bool +} + +func (v NullableDeployContractV1Request) Get() *DeployContractV1Request { + return v.value +} + +func (v *NullableDeployContractV1Request) Set(val *DeployContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractV1Request(val *DeployContractV1Request) *NullableDeployContractV1Request { + return &NullableDeployContractV1Request{value: val, isSet: true} +} + +func (v NullableDeployContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_response.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_response.go new file mode 100644 index 00000000000..da5c210e78f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_response.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the DeployContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractV1Response{} + +// DeployContractV1Response struct for DeployContractV1Response +type DeployContractV1Response struct { + Success bool `json:"success"` + PackageIds []string `json:"packageIds"` + Lifecycle ChainCodeLifeCycleCommandResponses `json:"lifecycle"` +} + +// NewDeployContractV1Response instantiates a new DeployContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractV1Response(success bool, packageIds []string, lifecycle ChainCodeLifeCycleCommandResponses) *DeployContractV1Response { + this := DeployContractV1Response{} + this.Success = success + this.PackageIds = packageIds + this.Lifecycle = lifecycle + return &this +} + +// NewDeployContractV1ResponseWithDefaults instantiates a new DeployContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractV1ResponseWithDefaults() *DeployContractV1Response { + this := DeployContractV1Response{} + return &this +} + +// GetSuccess returns the Success field value +func (o *DeployContractV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *DeployContractV1Response) SetSuccess(v bool) { + o.Success = v +} + +// GetPackageIds returns the PackageIds field value +func (o *DeployContractV1Response) GetPackageIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.PackageIds +} + +// GetPackageIdsOk returns a tuple with the PackageIds field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Response) GetPackageIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.PackageIds, true +} + +// SetPackageIds sets field value +func (o *DeployContractV1Response) SetPackageIds(v []string) { + o.PackageIds = v +} + +// GetLifecycle returns the Lifecycle field value +func (o *DeployContractV1Response) GetLifecycle() ChainCodeLifeCycleCommandResponses { + if o == nil { + var ret ChainCodeLifeCycleCommandResponses + return ret + } + + return o.Lifecycle +} + +// GetLifecycleOk returns a tuple with the Lifecycle field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Response) GetLifecycleOk() (*ChainCodeLifeCycleCommandResponses, bool) { + if o == nil { + return nil, false + } + return &o.Lifecycle, true +} + +// SetLifecycle sets field value +func (o *DeployContractV1Response) SetLifecycle(v ChainCodeLifeCycleCommandResponses) { + o.Lifecycle = v +} + +func (o DeployContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + toSerialize["packageIds"] = o.PackageIds + toSerialize["lifecycle"] = o.Lifecycle + return toSerialize, nil +} + +type NullableDeployContractV1Response struct { + value *DeployContractV1Response + isSet bool +} + +func (v NullableDeployContractV1Response) Get() *DeployContractV1Response { + return v.value +} + +func (v *NullableDeployContractV1Response) Set(val *DeployContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractV1Response(val *DeployContractV1Response) *NullableDeployContractV1Response { + return &NullableDeployContractV1Response{value: val, isSet: true} +} + +func (v NullableDeployContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deployment_target_org_fabric2x.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deployment_target_org_fabric2x.go new file mode 100644 index 00000000000..dbf6245ed77 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deployment_target_org_fabric2x.go @@ -0,0 +1,267 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the DeploymentTargetOrgFabric2x type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeploymentTargetOrgFabric2x{} + +// DeploymentTargetOrgFabric2x struct for DeploymentTargetOrgFabric2x +type DeploymentTargetOrgFabric2x struct { + // Transient map of arguments in JSON encoding + Transient *string `json:"transient,omitempty"` + // Mapped to environment variables of the Fabric CLI container. + CORE_PEER_LOCALMSPID string `json:"CORE_PEER_LOCALMSPID"` + // Mapped to environment variables of the Fabric CLI container. + CORE_PEER_ADDRESS string `json:"CORE_PEER_ADDRESS"` + // Mapped to environment variables of the Fabric CLI container. + CORE_PEER_MSPCONFIGPATH string `json:"CORE_PEER_MSPCONFIGPATH"` + // Mapped to environment variables of the Fabric CLI container. + CORE_PEER_TLS_ROOTCERT_FILE string `json:"CORE_PEER_TLS_ROOTCERT_FILE"` + // Mapped to environment variables of the Fabric CLI container. + ORDERER_TLS_ROOTCERT_FILE string `json:"ORDERER_TLS_ROOTCERT_FILE"` +} + +// NewDeploymentTargetOrgFabric2x instantiates a new DeploymentTargetOrgFabric2x object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeploymentTargetOrgFabric2x(cOREPEERLOCALMSPID string, cOREPEERADDRESS string, cOREPEERMSPCONFIGPATH string, cOREPEERTLSROOTCERTFILE string, oRDERERTLSROOTCERTFILE string) *DeploymentTargetOrgFabric2x { + this := DeploymentTargetOrgFabric2x{} + this.CORE_PEER_LOCALMSPID = cOREPEERLOCALMSPID + this.CORE_PEER_ADDRESS = cOREPEERADDRESS + this.CORE_PEER_MSPCONFIGPATH = cOREPEERMSPCONFIGPATH + this.CORE_PEER_TLS_ROOTCERT_FILE = cOREPEERTLSROOTCERTFILE + this.ORDERER_TLS_ROOTCERT_FILE = oRDERERTLSROOTCERTFILE + return &this +} + +// NewDeploymentTargetOrgFabric2xWithDefaults instantiates a new DeploymentTargetOrgFabric2x object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeploymentTargetOrgFabric2xWithDefaults() *DeploymentTargetOrgFabric2x { + this := DeploymentTargetOrgFabric2x{} + return &this +} + +// GetTransient returns the Transient field value if set, zero value otherwise. +func (o *DeploymentTargetOrgFabric2x) GetTransient() string { + if o == nil || IsNil(o.Transient) { + var ret string + return ret + } + return *o.Transient +} + +// GetTransientOk returns a tuple with the Transient field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrgFabric2x) GetTransientOk() (*string, bool) { + if o == nil || IsNil(o.Transient) { + return nil, false + } + return o.Transient, true +} + +// HasTransient returns a boolean if a field has been set. +func (o *DeploymentTargetOrgFabric2x) HasTransient() bool { + if o != nil && !IsNil(o.Transient) { + return true + } + + return false +} + +// SetTransient gets a reference to the given string and assigns it to the Transient field. +func (o *DeploymentTargetOrgFabric2x) SetTransient(v string) { + o.Transient = &v +} + +// GetCORE_PEER_LOCALMSPID returns the CORE_PEER_LOCALMSPID field value +func (o *DeploymentTargetOrgFabric2x) GetCORE_PEER_LOCALMSPID() string { + if o == nil { + var ret string + return ret + } + + return o.CORE_PEER_LOCALMSPID +} + +// GetCORE_PEER_LOCALMSPIDOk returns a tuple with the CORE_PEER_LOCALMSPID field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrgFabric2x) GetCORE_PEER_LOCALMSPIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CORE_PEER_LOCALMSPID, true +} + +// SetCORE_PEER_LOCALMSPID sets field value +func (o *DeploymentTargetOrgFabric2x) SetCORE_PEER_LOCALMSPID(v string) { + o.CORE_PEER_LOCALMSPID = v +} + +// GetCORE_PEER_ADDRESS returns the CORE_PEER_ADDRESS field value +func (o *DeploymentTargetOrgFabric2x) GetCORE_PEER_ADDRESS() string { + if o == nil { + var ret string + return ret + } + + return o.CORE_PEER_ADDRESS +} + +// GetCORE_PEER_ADDRESSOk returns a tuple with the CORE_PEER_ADDRESS field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrgFabric2x) GetCORE_PEER_ADDRESSOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CORE_PEER_ADDRESS, true +} + +// SetCORE_PEER_ADDRESS sets field value +func (o *DeploymentTargetOrgFabric2x) SetCORE_PEER_ADDRESS(v string) { + o.CORE_PEER_ADDRESS = v +} + +// GetCORE_PEER_MSPCONFIGPATH returns the CORE_PEER_MSPCONFIGPATH field value +func (o *DeploymentTargetOrgFabric2x) GetCORE_PEER_MSPCONFIGPATH() string { + if o == nil { + var ret string + return ret + } + + return o.CORE_PEER_MSPCONFIGPATH +} + +// GetCORE_PEER_MSPCONFIGPATHOk returns a tuple with the CORE_PEER_MSPCONFIGPATH field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrgFabric2x) GetCORE_PEER_MSPCONFIGPATHOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CORE_PEER_MSPCONFIGPATH, true +} + +// SetCORE_PEER_MSPCONFIGPATH sets field value +func (o *DeploymentTargetOrgFabric2x) SetCORE_PEER_MSPCONFIGPATH(v string) { + o.CORE_PEER_MSPCONFIGPATH = v +} + +// GetCORE_PEER_TLS_ROOTCERT_FILE returns the CORE_PEER_TLS_ROOTCERT_FILE field value +func (o *DeploymentTargetOrgFabric2x) GetCORE_PEER_TLS_ROOTCERT_FILE() string { + if o == nil { + var ret string + return ret + } + + return o.CORE_PEER_TLS_ROOTCERT_FILE +} + +// GetCORE_PEER_TLS_ROOTCERT_FILEOk returns a tuple with the CORE_PEER_TLS_ROOTCERT_FILE field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrgFabric2x) GetCORE_PEER_TLS_ROOTCERT_FILEOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CORE_PEER_TLS_ROOTCERT_FILE, true +} + +// SetCORE_PEER_TLS_ROOTCERT_FILE sets field value +func (o *DeploymentTargetOrgFabric2x) SetCORE_PEER_TLS_ROOTCERT_FILE(v string) { + o.CORE_PEER_TLS_ROOTCERT_FILE = v +} + +// GetORDERER_TLS_ROOTCERT_FILE returns the ORDERER_TLS_ROOTCERT_FILE field value +func (o *DeploymentTargetOrgFabric2x) GetORDERER_TLS_ROOTCERT_FILE() string { + if o == nil { + var ret string + return ret + } + + return o.ORDERER_TLS_ROOTCERT_FILE +} + +// GetORDERER_TLS_ROOTCERT_FILEOk returns a tuple with the ORDERER_TLS_ROOTCERT_FILE field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrgFabric2x) GetORDERER_TLS_ROOTCERT_FILEOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ORDERER_TLS_ROOTCERT_FILE, true +} + +// SetORDERER_TLS_ROOTCERT_FILE sets field value +func (o *DeploymentTargetOrgFabric2x) SetORDERER_TLS_ROOTCERT_FILE(v string) { + o.ORDERER_TLS_ROOTCERT_FILE = v +} + +func (o DeploymentTargetOrgFabric2x) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeploymentTargetOrgFabric2x) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Transient) { + toSerialize["transient"] = o.Transient + } + toSerialize["CORE_PEER_LOCALMSPID"] = o.CORE_PEER_LOCALMSPID + toSerialize["CORE_PEER_ADDRESS"] = o.CORE_PEER_ADDRESS + toSerialize["CORE_PEER_MSPCONFIGPATH"] = o.CORE_PEER_MSPCONFIGPATH + toSerialize["CORE_PEER_TLS_ROOTCERT_FILE"] = o.CORE_PEER_TLS_ROOTCERT_FILE + toSerialize["ORDERER_TLS_ROOTCERT_FILE"] = o.ORDERER_TLS_ROOTCERT_FILE + return toSerialize, nil +} + +type NullableDeploymentTargetOrgFabric2x struct { + value *DeploymentTargetOrgFabric2x + isSet bool +} + +func (v NullableDeploymentTargetOrgFabric2x) Get() *DeploymentTargetOrgFabric2x { + return v.value +} + +func (v *NullableDeploymentTargetOrgFabric2x) Set(val *DeploymentTargetOrgFabric2x) { + v.value = val + v.isSet = true +} + +func (v NullableDeploymentTargetOrgFabric2x) IsSet() bool { + return v.isSet +} + +func (v *NullableDeploymentTargetOrgFabric2x) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeploymentTargetOrgFabric2x(val *DeploymentTargetOrgFabric2x) *NullableDeploymentTargetOrgFabric2x { + return &NullableDeploymentTargetOrgFabric2x{value: val, isSet: true} +} + +func (v NullableDeploymentTargetOrgFabric2x) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeploymentTargetOrgFabric2x) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deployment_target_organization.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deployment_target_organization.go new file mode 100644 index 00000000000..efecb744876 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_deployment_target_organization.go @@ -0,0 +1,230 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the DeploymentTargetOrganization type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeploymentTargetOrganization{} + +// DeploymentTargetOrganization struct for DeploymentTargetOrganization +type DeploymentTargetOrganization struct { + // Mapped to environment variables of the Fabric CLI container. + CORE_PEER_LOCALMSPID string `json:"CORE_PEER_LOCALMSPID"` + // Mapped to environment variables of the Fabric CLI container. + CORE_PEER_ADDRESS string `json:"CORE_PEER_ADDRESS"` + // Mapped to environment variables of the Fabric CLI container. + CORE_PEER_MSPCONFIGPATH string `json:"CORE_PEER_MSPCONFIGPATH"` + // Mapped to environment variables of the Fabric CLI container. + CORE_PEER_TLS_ROOTCERT_FILE string `json:"CORE_PEER_TLS_ROOTCERT_FILE"` + // Mapped to environment variables of the Fabric CLI container. + ORDERER_TLS_ROOTCERT_FILE string `json:"ORDERER_TLS_ROOTCERT_FILE"` +} + +// NewDeploymentTargetOrganization instantiates a new DeploymentTargetOrganization object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeploymentTargetOrganization(cOREPEERLOCALMSPID string, cOREPEERADDRESS string, cOREPEERMSPCONFIGPATH string, cOREPEERTLSROOTCERTFILE string, oRDERERTLSROOTCERTFILE string) *DeploymentTargetOrganization { + this := DeploymentTargetOrganization{} + this.CORE_PEER_LOCALMSPID = cOREPEERLOCALMSPID + this.CORE_PEER_ADDRESS = cOREPEERADDRESS + this.CORE_PEER_MSPCONFIGPATH = cOREPEERMSPCONFIGPATH + this.CORE_PEER_TLS_ROOTCERT_FILE = cOREPEERTLSROOTCERTFILE + this.ORDERER_TLS_ROOTCERT_FILE = oRDERERTLSROOTCERTFILE + return &this +} + +// NewDeploymentTargetOrganizationWithDefaults instantiates a new DeploymentTargetOrganization object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeploymentTargetOrganizationWithDefaults() *DeploymentTargetOrganization { + this := DeploymentTargetOrganization{} + return &this +} + +// GetCORE_PEER_LOCALMSPID returns the CORE_PEER_LOCALMSPID field value +func (o *DeploymentTargetOrganization) GetCORE_PEER_LOCALMSPID() string { + if o == nil { + var ret string + return ret + } + + return o.CORE_PEER_LOCALMSPID +} + +// GetCORE_PEER_LOCALMSPIDOk returns a tuple with the CORE_PEER_LOCALMSPID field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrganization) GetCORE_PEER_LOCALMSPIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CORE_PEER_LOCALMSPID, true +} + +// SetCORE_PEER_LOCALMSPID sets field value +func (o *DeploymentTargetOrganization) SetCORE_PEER_LOCALMSPID(v string) { + o.CORE_PEER_LOCALMSPID = v +} + +// GetCORE_PEER_ADDRESS returns the CORE_PEER_ADDRESS field value +func (o *DeploymentTargetOrganization) GetCORE_PEER_ADDRESS() string { + if o == nil { + var ret string + return ret + } + + return o.CORE_PEER_ADDRESS +} + +// GetCORE_PEER_ADDRESSOk returns a tuple with the CORE_PEER_ADDRESS field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrganization) GetCORE_PEER_ADDRESSOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CORE_PEER_ADDRESS, true +} + +// SetCORE_PEER_ADDRESS sets field value +func (o *DeploymentTargetOrganization) SetCORE_PEER_ADDRESS(v string) { + o.CORE_PEER_ADDRESS = v +} + +// GetCORE_PEER_MSPCONFIGPATH returns the CORE_PEER_MSPCONFIGPATH field value +func (o *DeploymentTargetOrganization) GetCORE_PEER_MSPCONFIGPATH() string { + if o == nil { + var ret string + return ret + } + + return o.CORE_PEER_MSPCONFIGPATH +} + +// GetCORE_PEER_MSPCONFIGPATHOk returns a tuple with the CORE_PEER_MSPCONFIGPATH field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrganization) GetCORE_PEER_MSPCONFIGPATHOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CORE_PEER_MSPCONFIGPATH, true +} + +// SetCORE_PEER_MSPCONFIGPATH sets field value +func (o *DeploymentTargetOrganization) SetCORE_PEER_MSPCONFIGPATH(v string) { + o.CORE_PEER_MSPCONFIGPATH = v +} + +// GetCORE_PEER_TLS_ROOTCERT_FILE returns the CORE_PEER_TLS_ROOTCERT_FILE field value +func (o *DeploymentTargetOrganization) GetCORE_PEER_TLS_ROOTCERT_FILE() string { + if o == nil { + var ret string + return ret + } + + return o.CORE_PEER_TLS_ROOTCERT_FILE +} + +// GetCORE_PEER_TLS_ROOTCERT_FILEOk returns a tuple with the CORE_PEER_TLS_ROOTCERT_FILE field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrganization) GetCORE_PEER_TLS_ROOTCERT_FILEOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CORE_PEER_TLS_ROOTCERT_FILE, true +} + +// SetCORE_PEER_TLS_ROOTCERT_FILE sets field value +func (o *DeploymentTargetOrganization) SetCORE_PEER_TLS_ROOTCERT_FILE(v string) { + o.CORE_PEER_TLS_ROOTCERT_FILE = v +} + +// GetORDERER_TLS_ROOTCERT_FILE returns the ORDERER_TLS_ROOTCERT_FILE field value +func (o *DeploymentTargetOrganization) GetORDERER_TLS_ROOTCERT_FILE() string { + if o == nil { + var ret string + return ret + } + + return o.ORDERER_TLS_ROOTCERT_FILE +} + +// GetORDERER_TLS_ROOTCERT_FILEOk returns a tuple with the ORDERER_TLS_ROOTCERT_FILE field value +// and a boolean to check if the value has been set. +func (o *DeploymentTargetOrganization) GetORDERER_TLS_ROOTCERT_FILEOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ORDERER_TLS_ROOTCERT_FILE, true +} + +// SetORDERER_TLS_ROOTCERT_FILE sets field value +func (o *DeploymentTargetOrganization) SetORDERER_TLS_ROOTCERT_FILE(v string) { + o.ORDERER_TLS_ROOTCERT_FILE = v +} + +func (o DeploymentTargetOrganization) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeploymentTargetOrganization) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["CORE_PEER_LOCALMSPID"] = o.CORE_PEER_LOCALMSPID + toSerialize["CORE_PEER_ADDRESS"] = o.CORE_PEER_ADDRESS + toSerialize["CORE_PEER_MSPCONFIGPATH"] = o.CORE_PEER_MSPCONFIGPATH + toSerialize["CORE_PEER_TLS_ROOTCERT_FILE"] = o.CORE_PEER_TLS_ROOTCERT_FILE + toSerialize["ORDERER_TLS_ROOTCERT_FILE"] = o.ORDERER_TLS_ROOTCERT_FILE + return toSerialize, nil +} + +type NullableDeploymentTargetOrganization struct { + value *DeploymentTargetOrganization + isSet bool +} + +func (v NullableDeploymentTargetOrganization) Get() *DeploymentTargetOrganization { + return v.value +} + +func (v *NullableDeploymentTargetOrganization) Set(val *DeploymentTargetOrganization) { + v.value = val + v.isSet = true +} + +func (v NullableDeploymentTargetOrganization) IsSet() bool { + return v.isSet +} + +func (v *NullableDeploymentTargetOrganization) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeploymentTargetOrganization(val *DeploymentTargetOrganization) *NullableDeploymentTargetOrganization { + return &NullableDeploymentTargetOrganization{value: val, isSet: true} +} + +func (v NullableDeploymentTargetOrganization) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeploymentTargetOrganization) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go new file mode 100644 index 00000000000..f49e6ee4052 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the ErrorExceptionResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ErrorExceptionResponseV1{} + +// ErrorExceptionResponseV1 struct for ErrorExceptionResponseV1 +type ErrorExceptionResponseV1 struct { + Message string `json:"message"` + Error string `json:"error"` +} + +// NewErrorExceptionResponseV1 instantiates a new ErrorExceptionResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewErrorExceptionResponseV1(message string, error_ string) *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + this.Message = message + this.Error = error_ + return &this +} + +// NewErrorExceptionResponseV1WithDefaults instantiates a new ErrorExceptionResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewErrorExceptionResponseV1WithDefaults() *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + return &this +} + +// GetMessage returns the Message field value +func (o *ErrorExceptionResponseV1) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *ErrorExceptionResponseV1) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +func (o *ErrorExceptionResponseV1) GetError() string { + if o == nil { + var ret string + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *ErrorExceptionResponseV1) SetError(v string) { + o.Error = v +} + +func (o ErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ErrorExceptionResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error + return toSerialize, nil +} + +type NullableErrorExceptionResponseV1 struct { + value *ErrorExceptionResponseV1 + isSet bool +} + +func (v NullableErrorExceptionResponseV1) Get() *ErrorExceptionResponseV1 { + return v.value +} + +func (v *NullableErrorExceptionResponseV1) Set(val *ErrorExceptionResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableErrorExceptionResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableErrorExceptionResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableErrorExceptionResponseV1(val *ErrorExceptionResponseV1) *NullableErrorExceptionResponseV1 { + return &NullableErrorExceptionResponseV1{value: val, isSet: true} +} + +func (v NullableErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableErrorExceptionResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_fabric_contract_invocation_type.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_fabric_contract_invocation_type.go new file mode 100644 index 00000000000..84b5b3e0e72 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_fabric_contract_invocation_type.go @@ -0,0 +1,113 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// FabricContractInvocationType the model 'FabricContractInvocationType' +type FabricContractInvocationType string + +// List of FabricContractInvocationType +const ( + SEND FabricContractInvocationType = "FabricContractInvocationType.SEND" + CALL FabricContractInvocationType = "FabricContractInvocationType.CALL" + SENDPRIVATE FabricContractInvocationType = "FabricContractInvocationType.SENDPRIVATE" +) + +// All allowed values of FabricContractInvocationType enum +var AllowedFabricContractInvocationTypeEnumValues = []FabricContractInvocationType{ + "FabricContractInvocationType.SEND", + "FabricContractInvocationType.CALL", + "FabricContractInvocationType.SENDPRIVATE", +} + +func (v *FabricContractInvocationType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := FabricContractInvocationType(value) + for _, existing := range AllowedFabricContractInvocationTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid FabricContractInvocationType", value) +} + +// NewFabricContractInvocationTypeFromValue returns a pointer to a valid FabricContractInvocationType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewFabricContractInvocationTypeFromValue(v string) (*FabricContractInvocationType, error) { + ev := FabricContractInvocationType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for FabricContractInvocationType: valid values are %v", v, AllowedFabricContractInvocationTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v FabricContractInvocationType) IsValid() bool { + for _, existing := range AllowedFabricContractInvocationTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to FabricContractInvocationType value +func (v FabricContractInvocationType) Ptr() *FabricContractInvocationType { + return &v +} + +type NullableFabricContractInvocationType struct { + value *FabricContractInvocationType + isSet bool +} + +func (v NullableFabricContractInvocationType) Get() *FabricContractInvocationType { + return v.value +} + +func (v *NullableFabricContractInvocationType) Set(val *FabricContractInvocationType) { + v.value = val + v.isSet = true +} + +func (v NullableFabricContractInvocationType) IsSet() bool { + return v.isSet +} + +func (v *NullableFabricContractInvocationType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFabricContractInvocationType(val *FabricContractInvocationType) *NullableFabricContractInvocationType { + return &NullableFabricContractInvocationType{value: val, isSet: true} +} + +func (v NullableFabricContractInvocationType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFabricContractInvocationType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_fabric_signing_credential.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_fabric_signing_credential.go new file mode 100644 index 00000000000..f13788b3c33 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_fabric_signing_credential.go @@ -0,0 +1,252 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the FabricSigningCredential type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &FabricSigningCredential{} + +// FabricSigningCredential struct for FabricSigningCredential +type FabricSigningCredential struct { + KeychainId string `json:"keychainId"` + KeychainRef string `json:"keychainRef"` + Type *FabricSigningCredentialType `json:"type,omitempty"` + VaultTransitKey *VaultTransitKey `json:"vaultTransitKey,omitempty"` + WebSocketKey *WebSocketKey `json:"webSocketKey,omitempty"` +} + +// NewFabricSigningCredential instantiates a new FabricSigningCredential object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewFabricSigningCredential(keychainId string, keychainRef string) *FabricSigningCredential { + this := FabricSigningCredential{} + this.KeychainId = keychainId + this.KeychainRef = keychainRef + return &this +} + +// NewFabricSigningCredentialWithDefaults instantiates a new FabricSigningCredential object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewFabricSigningCredentialWithDefaults() *FabricSigningCredential { + this := FabricSigningCredential{} + return &this +} + +// GetKeychainId returns the KeychainId field value +func (o *FabricSigningCredential) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *FabricSigningCredential) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *FabricSigningCredential) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetKeychainRef returns the KeychainRef field value +func (o *FabricSigningCredential) GetKeychainRef() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainRef +} + +// GetKeychainRefOk returns a tuple with the KeychainRef field value +// and a boolean to check if the value has been set. +func (o *FabricSigningCredential) GetKeychainRefOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainRef, true +} + +// SetKeychainRef sets field value +func (o *FabricSigningCredential) SetKeychainRef(v string) { + o.KeychainRef = v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *FabricSigningCredential) GetType() FabricSigningCredentialType { + if o == nil || IsNil(o.Type) { + var ret FabricSigningCredentialType + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FabricSigningCredential) GetTypeOk() (*FabricSigningCredentialType, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *FabricSigningCredential) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given FabricSigningCredentialType and assigns it to the Type field. +func (o *FabricSigningCredential) SetType(v FabricSigningCredentialType) { + o.Type = &v +} + +// GetVaultTransitKey returns the VaultTransitKey field value if set, zero value otherwise. +func (o *FabricSigningCredential) GetVaultTransitKey() VaultTransitKey { + if o == nil || IsNil(o.VaultTransitKey) { + var ret VaultTransitKey + return ret + } + return *o.VaultTransitKey +} + +// GetVaultTransitKeyOk returns a tuple with the VaultTransitKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FabricSigningCredential) GetVaultTransitKeyOk() (*VaultTransitKey, bool) { + if o == nil || IsNil(o.VaultTransitKey) { + return nil, false + } + return o.VaultTransitKey, true +} + +// HasVaultTransitKey returns a boolean if a field has been set. +func (o *FabricSigningCredential) HasVaultTransitKey() bool { + if o != nil && !IsNil(o.VaultTransitKey) { + return true + } + + return false +} + +// SetVaultTransitKey gets a reference to the given VaultTransitKey and assigns it to the VaultTransitKey field. +func (o *FabricSigningCredential) SetVaultTransitKey(v VaultTransitKey) { + o.VaultTransitKey = &v +} + +// GetWebSocketKey returns the WebSocketKey field value if set, zero value otherwise. +func (o *FabricSigningCredential) GetWebSocketKey() WebSocketKey { + if o == nil || IsNil(o.WebSocketKey) { + var ret WebSocketKey + return ret + } + return *o.WebSocketKey +} + +// GetWebSocketKeyOk returns a tuple with the WebSocketKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FabricSigningCredential) GetWebSocketKeyOk() (*WebSocketKey, bool) { + if o == nil || IsNil(o.WebSocketKey) { + return nil, false + } + return o.WebSocketKey, true +} + +// HasWebSocketKey returns a boolean if a field has been set. +func (o *FabricSigningCredential) HasWebSocketKey() bool { + if o != nil && !IsNil(o.WebSocketKey) { + return true + } + + return false +} + +// SetWebSocketKey gets a reference to the given WebSocketKey and assigns it to the WebSocketKey field. +func (o *FabricSigningCredential) SetWebSocketKey(v WebSocketKey) { + o.WebSocketKey = &v +} + +func (o FabricSigningCredential) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o FabricSigningCredential) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["keychainId"] = o.KeychainId + toSerialize["keychainRef"] = o.KeychainRef + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + if !IsNil(o.VaultTransitKey) { + toSerialize["vaultTransitKey"] = o.VaultTransitKey + } + if !IsNil(o.WebSocketKey) { + toSerialize["webSocketKey"] = o.WebSocketKey + } + return toSerialize, nil +} + +type NullableFabricSigningCredential struct { + value *FabricSigningCredential + isSet bool +} + +func (v NullableFabricSigningCredential) Get() *FabricSigningCredential { + return v.value +} + +func (v *NullableFabricSigningCredential) Set(val *FabricSigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableFabricSigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableFabricSigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFabricSigningCredential(val *FabricSigningCredential) *NullableFabricSigningCredential { + return &NullableFabricSigningCredential{value: val, isSet: true} +} + +func (v NullableFabricSigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFabricSigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_fabric_signing_credential_type.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_fabric_signing_credential_type.go new file mode 100644 index 00000000000..b48c4d1c3f8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_fabric_signing_credential_type.go @@ -0,0 +1,113 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// FabricSigningCredentialType different type of identity provider for singing fabric messages supported by this package +type FabricSigningCredentialType string + +// List of FabricSigningCredentialType +const ( + X_509 FabricSigningCredentialType = "X.509" + VAULT_X_509 FabricSigningCredentialType = "Vault-X.509" + WS_X_509 FabricSigningCredentialType = "WS-X.509" +) + +// All allowed values of FabricSigningCredentialType enum +var AllowedFabricSigningCredentialTypeEnumValues = []FabricSigningCredentialType{ + "X.509", + "Vault-X.509", + "WS-X.509", +} + +func (v *FabricSigningCredentialType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := FabricSigningCredentialType(value) + for _, existing := range AllowedFabricSigningCredentialTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid FabricSigningCredentialType", value) +} + +// NewFabricSigningCredentialTypeFromValue returns a pointer to a valid FabricSigningCredentialType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewFabricSigningCredentialTypeFromValue(v string) (*FabricSigningCredentialType, error) { + ev := FabricSigningCredentialType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for FabricSigningCredentialType: valid values are %v", v, AllowedFabricSigningCredentialTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v FabricSigningCredentialType) IsValid() bool { + for _, existing := range AllowedFabricSigningCredentialTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to FabricSigningCredentialType value +func (v FabricSigningCredentialType) Ptr() *FabricSigningCredentialType { + return &v +} + +type NullableFabricSigningCredentialType struct { + value *FabricSigningCredentialType + isSet bool +} + +func (v NullableFabricSigningCredentialType) Get() *FabricSigningCredentialType { + return v.value +} + +func (v *NullableFabricSigningCredentialType) Set(val *FabricSigningCredentialType) { + v.value = val + v.isSet = true +} + +func (v NullableFabricSigningCredentialType) IsSet() bool { + return v.isSet +} + +func (v *NullableFabricSigningCredentialType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFabricSigningCredentialType(val *FabricSigningCredentialType) *NullableFabricSigningCredentialType { + return &NullableFabricSigningCredentialType{value: val, isSet: true} +} + +func (v NullableFabricSigningCredentialType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFabricSigningCredentialType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_file_base64.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_file_base64.go new file mode 100644 index 00000000000..b84eca67052 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_file_base64.go @@ -0,0 +1,183 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the FileBase64 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &FileBase64{} + +// FileBase64 Represents a file-system file that has a name and a body which holds the file contents as a Base64 encoded string +type FileBase64 struct { + // The file's contents encoded as a Base64 string. + Body string `json:"body"` + // The name as referred to on a file system + Filename string `json:"filename"` + // The relative path of the file, if it should be placed in a sub-directory + Filepath *string `json:"filepath,omitempty"` +} + +// NewFileBase64 instantiates a new FileBase64 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewFileBase64(body string, filename string) *FileBase64 { + this := FileBase64{} + this.Body = body + this.Filename = filename + return &this +} + +// NewFileBase64WithDefaults instantiates a new FileBase64 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewFileBase64WithDefaults() *FileBase64 { + this := FileBase64{} + return &this +} + +// GetBody returns the Body field value +func (o *FileBase64) GetBody() string { + if o == nil { + var ret string + return ret + } + + return o.Body +} + +// GetBodyOk returns a tuple with the Body field value +// and a boolean to check if the value has been set. +func (o *FileBase64) GetBodyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Body, true +} + +// SetBody sets field value +func (o *FileBase64) SetBody(v string) { + o.Body = v +} + +// GetFilename returns the Filename field value +func (o *FileBase64) GetFilename() string { + if o == nil { + var ret string + return ret + } + + return o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value +// and a boolean to check if the value has been set. +func (o *FileBase64) GetFilenameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Filename, true +} + +// SetFilename sets field value +func (o *FileBase64) SetFilename(v string) { + o.Filename = v +} + +// GetFilepath returns the Filepath field value if set, zero value otherwise. +func (o *FileBase64) GetFilepath() string { + if o == nil || IsNil(o.Filepath) { + var ret string + return ret + } + return *o.Filepath +} + +// GetFilepathOk returns a tuple with the Filepath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FileBase64) GetFilepathOk() (*string, bool) { + if o == nil || IsNil(o.Filepath) { + return nil, false + } + return o.Filepath, true +} + +// HasFilepath returns a boolean if a field has been set. +func (o *FileBase64) HasFilepath() bool { + if o != nil && !IsNil(o.Filepath) { + return true + } + + return false +} + +// SetFilepath gets a reference to the given string and assigns it to the Filepath field. +func (o *FileBase64) SetFilepath(v string) { + o.Filepath = &v +} + +func (o FileBase64) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o FileBase64) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["body"] = o.Body + toSerialize["filename"] = o.Filename + if !IsNil(o.Filepath) { + toSerialize["filepath"] = o.Filepath + } + return toSerialize, nil +} + +type NullableFileBase64 struct { + value *FileBase64 + isSet bool +} + +func (v NullableFileBase64) Get() *FileBase64 { + return v.value +} + +func (v *NullableFileBase64) Set(val *FileBase64) { + v.value = val + v.isSet = true +} + +func (v NullableFileBase64) IsSet() bool { + return v.isSet +} + +func (v *NullableFileBase64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFileBase64(val *FileBase64) *NullableFileBase64 { + return &NullableFileBase64{value: val, isSet: true} +} + +func (v NullableFileBase64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFileBase64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_discovery_options.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_discovery_options.go new file mode 100644 index 00000000000..eea7fa633fe --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_discovery_options.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GatewayDiscoveryOptions type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GatewayDiscoveryOptions{} + +// GatewayDiscoveryOptions struct for GatewayDiscoveryOptions +type GatewayDiscoveryOptions struct { + AsLocalhost *bool `json:"asLocalhost,omitempty"` + Enabled *bool `json:"enabled,omitempty"` +} + +// NewGatewayDiscoveryOptions instantiates a new GatewayDiscoveryOptions object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGatewayDiscoveryOptions() *GatewayDiscoveryOptions { + this := GatewayDiscoveryOptions{} + return &this +} + +// NewGatewayDiscoveryOptionsWithDefaults instantiates a new GatewayDiscoveryOptions object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGatewayDiscoveryOptionsWithDefaults() *GatewayDiscoveryOptions { + this := GatewayDiscoveryOptions{} + return &this +} + +// GetAsLocalhost returns the AsLocalhost field value if set, zero value otherwise. +func (o *GatewayDiscoveryOptions) GetAsLocalhost() bool { + if o == nil || IsNil(o.AsLocalhost) { + var ret bool + return ret + } + return *o.AsLocalhost +} + +// GetAsLocalhostOk returns a tuple with the AsLocalhost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayDiscoveryOptions) GetAsLocalhostOk() (*bool, bool) { + if o == nil || IsNil(o.AsLocalhost) { + return nil, false + } + return o.AsLocalhost, true +} + +// HasAsLocalhost returns a boolean if a field has been set. +func (o *GatewayDiscoveryOptions) HasAsLocalhost() bool { + if o != nil && !IsNil(o.AsLocalhost) { + return true + } + + return false +} + +// SetAsLocalhost gets a reference to the given bool and assigns it to the AsLocalhost field. +func (o *GatewayDiscoveryOptions) SetAsLocalhost(v bool) { + o.AsLocalhost = &v +} + +// GetEnabled returns the Enabled field value if set, zero value otherwise. +func (o *GatewayDiscoveryOptions) GetEnabled() bool { + if o == nil || IsNil(o.Enabled) { + var ret bool + return ret + } + return *o.Enabled +} + +// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayDiscoveryOptions) GetEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.Enabled) { + return nil, false + } + return o.Enabled, true +} + +// HasEnabled returns a boolean if a field has been set. +func (o *GatewayDiscoveryOptions) HasEnabled() bool { + if o != nil && !IsNil(o.Enabled) { + return true + } + + return false +} + +// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. +func (o *GatewayDiscoveryOptions) SetEnabled(v bool) { + o.Enabled = &v +} + +func (o GatewayDiscoveryOptions) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GatewayDiscoveryOptions) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AsLocalhost) { + toSerialize["asLocalhost"] = o.AsLocalhost + } + if !IsNil(o.Enabled) { + toSerialize["enabled"] = o.Enabled + } + return toSerialize, nil +} + +type NullableGatewayDiscoveryOptions struct { + value *GatewayDiscoveryOptions + isSet bool +} + +func (v NullableGatewayDiscoveryOptions) Get() *GatewayDiscoveryOptions { + return v.value +} + +func (v *NullableGatewayDiscoveryOptions) Set(val *GatewayDiscoveryOptions) { + v.value = val + v.isSet = true +} + +func (v NullableGatewayDiscoveryOptions) IsSet() bool { + return v.isSet +} + +func (v *NullableGatewayDiscoveryOptions) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGatewayDiscoveryOptions(val *GatewayDiscoveryOptions) *NullableGatewayDiscoveryOptions { + return &NullableGatewayDiscoveryOptions{value: val, isSet: true} +} + +func (v NullableGatewayDiscoveryOptions) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGatewayDiscoveryOptions) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_event_handler_options.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_event_handler_options.go new file mode 100644 index 00000000000..c9b025bdd55 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_event_handler_options.go @@ -0,0 +1,189 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GatewayEventHandlerOptions type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GatewayEventHandlerOptions{} + +// GatewayEventHandlerOptions struct for GatewayEventHandlerOptions +type GatewayEventHandlerOptions struct { + CommitTimeout *float32 `json:"commitTimeout,omitempty"` + EndorseTimeout *float32 `json:"endorseTimeout,omitempty"` + Strategy DefaultEventHandlerStrategy `json:"strategy"` +} + +// NewGatewayEventHandlerOptions instantiates a new GatewayEventHandlerOptions object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGatewayEventHandlerOptions(strategy DefaultEventHandlerStrategy) *GatewayEventHandlerOptions { + this := GatewayEventHandlerOptions{} + this.Strategy = strategy + return &this +} + +// NewGatewayEventHandlerOptionsWithDefaults instantiates a new GatewayEventHandlerOptions object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGatewayEventHandlerOptionsWithDefaults() *GatewayEventHandlerOptions { + this := GatewayEventHandlerOptions{} + return &this +} + +// GetCommitTimeout returns the CommitTimeout field value if set, zero value otherwise. +func (o *GatewayEventHandlerOptions) GetCommitTimeout() float32 { + if o == nil || IsNil(o.CommitTimeout) { + var ret float32 + return ret + } + return *o.CommitTimeout +} + +// GetCommitTimeoutOk returns a tuple with the CommitTimeout field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayEventHandlerOptions) GetCommitTimeoutOk() (*float32, bool) { + if o == nil || IsNil(o.CommitTimeout) { + return nil, false + } + return o.CommitTimeout, true +} + +// HasCommitTimeout returns a boolean if a field has been set. +func (o *GatewayEventHandlerOptions) HasCommitTimeout() bool { + if o != nil && !IsNil(o.CommitTimeout) { + return true + } + + return false +} + +// SetCommitTimeout gets a reference to the given float32 and assigns it to the CommitTimeout field. +func (o *GatewayEventHandlerOptions) SetCommitTimeout(v float32) { + o.CommitTimeout = &v +} + +// GetEndorseTimeout returns the EndorseTimeout field value if set, zero value otherwise. +func (o *GatewayEventHandlerOptions) GetEndorseTimeout() float32 { + if o == nil || IsNil(o.EndorseTimeout) { + var ret float32 + return ret + } + return *o.EndorseTimeout +} + +// GetEndorseTimeoutOk returns a tuple with the EndorseTimeout field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayEventHandlerOptions) GetEndorseTimeoutOk() (*float32, bool) { + if o == nil || IsNil(o.EndorseTimeout) { + return nil, false + } + return o.EndorseTimeout, true +} + +// HasEndorseTimeout returns a boolean if a field has been set. +func (o *GatewayEventHandlerOptions) HasEndorseTimeout() bool { + if o != nil && !IsNil(o.EndorseTimeout) { + return true + } + + return false +} + +// SetEndorseTimeout gets a reference to the given float32 and assigns it to the EndorseTimeout field. +func (o *GatewayEventHandlerOptions) SetEndorseTimeout(v float32) { + o.EndorseTimeout = &v +} + +// GetStrategy returns the Strategy field value +func (o *GatewayEventHandlerOptions) GetStrategy() DefaultEventHandlerStrategy { + if o == nil { + var ret DefaultEventHandlerStrategy + return ret + } + + return o.Strategy +} + +// GetStrategyOk returns a tuple with the Strategy field value +// and a boolean to check if the value has been set. +func (o *GatewayEventHandlerOptions) GetStrategyOk() (*DefaultEventHandlerStrategy, bool) { + if o == nil { + return nil, false + } + return &o.Strategy, true +} + +// SetStrategy sets field value +func (o *GatewayEventHandlerOptions) SetStrategy(v DefaultEventHandlerStrategy) { + o.Strategy = v +} + +func (o GatewayEventHandlerOptions) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GatewayEventHandlerOptions) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.CommitTimeout) { + toSerialize["commitTimeout"] = o.CommitTimeout + } + if !IsNil(o.EndorseTimeout) { + toSerialize["endorseTimeout"] = o.EndorseTimeout + } + toSerialize["strategy"] = o.Strategy + return toSerialize, nil +} + +type NullableGatewayEventHandlerOptions struct { + value *GatewayEventHandlerOptions + isSet bool +} + +func (v NullableGatewayEventHandlerOptions) Get() *GatewayEventHandlerOptions { + return v.value +} + +func (v *NullableGatewayEventHandlerOptions) Set(val *GatewayEventHandlerOptions) { + v.value = val + v.isSet = true +} + +func (v NullableGatewayEventHandlerOptions) IsSet() bool { + return v.isSet +} + +func (v *NullableGatewayEventHandlerOptions) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGatewayEventHandlerOptions(val *GatewayEventHandlerOptions) *NullableGatewayEventHandlerOptions { + return &NullableGatewayEventHandlerOptions{value: val, isSet: true} +} + +func (v NullableGatewayEventHandlerOptions) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGatewayEventHandlerOptions) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_options.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_options.go new file mode 100644 index 00000000000..729a35b7021 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_options.go @@ -0,0 +1,252 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GatewayOptions type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GatewayOptions{} + +// GatewayOptions struct for GatewayOptions +type GatewayOptions struct { + ConnectionProfile *ConnectionProfile `json:"connectionProfile,omitempty"` + Discovery *GatewayDiscoveryOptions `json:"discovery,omitempty"` + EventHandlerOptions *GatewayEventHandlerOptions `json:"eventHandlerOptions,omitempty"` + Identity string `json:"identity"` + Wallet GatewayOptionsWallet `json:"wallet"` +} + +// NewGatewayOptions instantiates a new GatewayOptions object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGatewayOptions(identity string, wallet GatewayOptionsWallet) *GatewayOptions { + this := GatewayOptions{} + this.Identity = identity + this.Wallet = wallet + return &this +} + +// NewGatewayOptionsWithDefaults instantiates a new GatewayOptions object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGatewayOptionsWithDefaults() *GatewayOptions { + this := GatewayOptions{} + return &this +} + +// GetConnectionProfile returns the ConnectionProfile field value if set, zero value otherwise. +func (o *GatewayOptions) GetConnectionProfile() ConnectionProfile { + if o == nil || IsNil(o.ConnectionProfile) { + var ret ConnectionProfile + return ret + } + return *o.ConnectionProfile +} + +// GetConnectionProfileOk returns a tuple with the ConnectionProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayOptions) GetConnectionProfileOk() (*ConnectionProfile, bool) { + if o == nil || IsNil(o.ConnectionProfile) { + return nil, false + } + return o.ConnectionProfile, true +} + +// HasConnectionProfile returns a boolean if a field has been set. +func (o *GatewayOptions) HasConnectionProfile() bool { + if o != nil && !IsNil(o.ConnectionProfile) { + return true + } + + return false +} + +// SetConnectionProfile gets a reference to the given ConnectionProfile and assigns it to the ConnectionProfile field. +func (o *GatewayOptions) SetConnectionProfile(v ConnectionProfile) { + o.ConnectionProfile = &v +} + +// GetDiscovery returns the Discovery field value if set, zero value otherwise. +func (o *GatewayOptions) GetDiscovery() GatewayDiscoveryOptions { + if o == nil || IsNil(o.Discovery) { + var ret GatewayDiscoveryOptions + return ret + } + return *o.Discovery +} + +// GetDiscoveryOk returns a tuple with the Discovery field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayOptions) GetDiscoveryOk() (*GatewayDiscoveryOptions, bool) { + if o == nil || IsNil(o.Discovery) { + return nil, false + } + return o.Discovery, true +} + +// HasDiscovery returns a boolean if a field has been set. +func (o *GatewayOptions) HasDiscovery() bool { + if o != nil && !IsNil(o.Discovery) { + return true + } + + return false +} + +// SetDiscovery gets a reference to the given GatewayDiscoveryOptions and assigns it to the Discovery field. +func (o *GatewayOptions) SetDiscovery(v GatewayDiscoveryOptions) { + o.Discovery = &v +} + +// GetEventHandlerOptions returns the EventHandlerOptions field value if set, zero value otherwise. +func (o *GatewayOptions) GetEventHandlerOptions() GatewayEventHandlerOptions { + if o == nil || IsNil(o.EventHandlerOptions) { + var ret GatewayEventHandlerOptions + return ret + } + return *o.EventHandlerOptions +} + +// GetEventHandlerOptionsOk returns a tuple with the EventHandlerOptions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayOptions) GetEventHandlerOptionsOk() (*GatewayEventHandlerOptions, bool) { + if o == nil || IsNil(o.EventHandlerOptions) { + return nil, false + } + return o.EventHandlerOptions, true +} + +// HasEventHandlerOptions returns a boolean if a field has been set. +func (o *GatewayOptions) HasEventHandlerOptions() bool { + if o != nil && !IsNil(o.EventHandlerOptions) { + return true + } + + return false +} + +// SetEventHandlerOptions gets a reference to the given GatewayEventHandlerOptions and assigns it to the EventHandlerOptions field. +func (o *GatewayOptions) SetEventHandlerOptions(v GatewayEventHandlerOptions) { + o.EventHandlerOptions = &v +} + +// GetIdentity returns the Identity field value +func (o *GatewayOptions) GetIdentity() string { + if o == nil { + var ret string + return ret + } + + return o.Identity +} + +// GetIdentityOk returns a tuple with the Identity field value +// and a boolean to check if the value has been set. +func (o *GatewayOptions) GetIdentityOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Identity, true +} + +// SetIdentity sets field value +func (o *GatewayOptions) SetIdentity(v string) { + o.Identity = v +} + +// GetWallet returns the Wallet field value +func (o *GatewayOptions) GetWallet() GatewayOptionsWallet { + if o == nil { + var ret GatewayOptionsWallet + return ret + } + + return o.Wallet +} + +// GetWalletOk returns a tuple with the Wallet field value +// and a boolean to check if the value has been set. +func (o *GatewayOptions) GetWalletOk() (*GatewayOptionsWallet, bool) { + if o == nil { + return nil, false + } + return &o.Wallet, true +} + +// SetWallet sets field value +func (o *GatewayOptions) SetWallet(v GatewayOptionsWallet) { + o.Wallet = v +} + +func (o GatewayOptions) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GatewayOptions) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.ConnectionProfile) { + toSerialize["connectionProfile"] = o.ConnectionProfile + } + if !IsNil(o.Discovery) { + toSerialize["discovery"] = o.Discovery + } + if !IsNil(o.EventHandlerOptions) { + toSerialize["eventHandlerOptions"] = o.EventHandlerOptions + } + toSerialize["identity"] = o.Identity + toSerialize["wallet"] = o.Wallet + return toSerialize, nil +} + +type NullableGatewayOptions struct { + value *GatewayOptions + isSet bool +} + +func (v NullableGatewayOptions) Get() *GatewayOptions { + return v.value +} + +func (v *NullableGatewayOptions) Set(val *GatewayOptions) { + v.value = val + v.isSet = true +} + +func (v NullableGatewayOptions) IsSet() bool { + return v.isSet +} + +func (v *NullableGatewayOptions) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGatewayOptions(val *GatewayOptions) *NullableGatewayOptions { + return &NullableGatewayOptions{value: val, isSet: true} +} + +func (v NullableGatewayOptions) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGatewayOptions) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_options_wallet.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_options_wallet.go new file mode 100644 index 00000000000..a79aaa6a8db --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_gateway_options_wallet.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GatewayOptionsWallet type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GatewayOptionsWallet{} + +// GatewayOptionsWallet struct for GatewayOptionsWallet +type GatewayOptionsWallet struct { + Keychain *FabricSigningCredential `json:"keychain,omitempty"` + Json *string `json:"json,omitempty"` +} + +// NewGatewayOptionsWallet instantiates a new GatewayOptionsWallet object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGatewayOptionsWallet() *GatewayOptionsWallet { + this := GatewayOptionsWallet{} + return &this +} + +// NewGatewayOptionsWalletWithDefaults instantiates a new GatewayOptionsWallet object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGatewayOptionsWalletWithDefaults() *GatewayOptionsWallet { + this := GatewayOptionsWallet{} + return &this +} + +// GetKeychain returns the Keychain field value if set, zero value otherwise. +func (o *GatewayOptionsWallet) GetKeychain() FabricSigningCredential { + if o == nil || IsNil(o.Keychain) { + var ret FabricSigningCredential + return ret + } + return *o.Keychain +} + +// GetKeychainOk returns a tuple with the Keychain field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayOptionsWallet) GetKeychainOk() (*FabricSigningCredential, bool) { + if o == nil || IsNil(o.Keychain) { + return nil, false + } + return o.Keychain, true +} + +// HasKeychain returns a boolean if a field has been set. +func (o *GatewayOptionsWallet) HasKeychain() bool { + if o != nil && !IsNil(o.Keychain) { + return true + } + + return false +} + +// SetKeychain gets a reference to the given FabricSigningCredential and assigns it to the Keychain field. +func (o *GatewayOptionsWallet) SetKeychain(v FabricSigningCredential) { + o.Keychain = &v +} + +// GetJson returns the Json field value if set, zero value otherwise. +func (o *GatewayOptionsWallet) GetJson() string { + if o == nil || IsNil(o.Json) { + var ret string + return ret + } + return *o.Json +} + +// GetJsonOk returns a tuple with the Json field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GatewayOptionsWallet) GetJsonOk() (*string, bool) { + if o == nil || IsNil(o.Json) { + return nil, false + } + return o.Json, true +} + +// HasJson returns a boolean if a field has been set. +func (o *GatewayOptionsWallet) HasJson() bool { + if o != nil && !IsNil(o.Json) { + return true + } + + return false +} + +// SetJson gets a reference to the given string and assigns it to the Json field. +func (o *GatewayOptionsWallet) SetJson(v string) { + o.Json = &v +} + +func (o GatewayOptionsWallet) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GatewayOptionsWallet) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Keychain) { + toSerialize["keychain"] = o.Keychain + } + if !IsNil(o.Json) { + toSerialize["json"] = o.Json + } + return toSerialize, nil +} + +type NullableGatewayOptionsWallet struct { + value *GatewayOptionsWallet + isSet bool +} + +func (v NullableGatewayOptionsWallet) Get() *GatewayOptionsWallet { + return v.value +} + +func (v *NullableGatewayOptionsWallet) Set(val *GatewayOptionsWallet) { + v.value = val + v.isSet = true +} + +func (v NullableGatewayOptionsWallet) IsSet() bool { + return v.isSet +} + +func (v *NullableGatewayOptionsWallet) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGatewayOptionsWallet(val *GatewayOptionsWallet) *NullableGatewayOptionsWallet { + return &NullableGatewayOptionsWallet{value: val, isSet: true} +} + +func (v NullableGatewayOptionsWallet) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGatewayOptionsWallet) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_request_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_request_v1.go new file mode 100644 index 00000000000..752cf543d84 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_request_v1.go @@ -0,0 +1,250 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GetBlockRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBlockRequestV1{} + +// GetBlockRequestV1 Request for GetBlock endpoint. +type GetBlockRequestV1 struct { + // Fabric channel which we want to query. + ChannelName string `json:"channelName"` + // Fabric channel we want to connect to. If not provided, then one from channelName parameter will be used + ConnectionChannelName *string `json:"connectionChannelName,omitempty"` + GatewayOptions GatewayOptions `json:"gatewayOptions"` + Query GetBlockRequestV1Query `json:"query"` + // If true, encoded buffer will be returned. Otherwise, entire block object is returned. + SkipDecode *bool `json:"skipDecode,omitempty"` +} + +// NewGetBlockRequestV1 instantiates a new GetBlockRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockRequestV1(channelName string, gatewayOptions GatewayOptions, query GetBlockRequestV1Query) *GetBlockRequestV1 { + this := GetBlockRequestV1{} + this.ChannelName = channelName + this.GatewayOptions = gatewayOptions + this.Query = query + var skipDecode bool = false + this.SkipDecode = &skipDecode + return &this +} + +// NewGetBlockRequestV1WithDefaults instantiates a new GetBlockRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockRequestV1WithDefaults() *GetBlockRequestV1 { + this := GetBlockRequestV1{} + var skipDecode bool = false + this.SkipDecode = &skipDecode + return &this +} + +// GetChannelName returns the ChannelName field value +func (o *GetBlockRequestV1) GetChannelName() string { + if o == nil { + var ret string + return ret + } + + return o.ChannelName +} + +// GetChannelNameOk returns a tuple with the ChannelName field value +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1) GetChannelNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChannelName, true +} + +// SetChannelName sets field value +func (o *GetBlockRequestV1) SetChannelName(v string) { + o.ChannelName = v +} + +// GetConnectionChannelName returns the ConnectionChannelName field value if set, zero value otherwise. +func (o *GetBlockRequestV1) GetConnectionChannelName() string { + if o == nil || IsNil(o.ConnectionChannelName) { + var ret string + return ret + } + return *o.ConnectionChannelName +} + +// GetConnectionChannelNameOk returns a tuple with the ConnectionChannelName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1) GetConnectionChannelNameOk() (*string, bool) { + if o == nil || IsNil(o.ConnectionChannelName) { + return nil, false + } + return o.ConnectionChannelName, true +} + +// HasConnectionChannelName returns a boolean if a field has been set. +func (o *GetBlockRequestV1) HasConnectionChannelName() bool { + if o != nil && !IsNil(o.ConnectionChannelName) { + return true + } + + return false +} + +// SetConnectionChannelName gets a reference to the given string and assigns it to the ConnectionChannelName field. +func (o *GetBlockRequestV1) SetConnectionChannelName(v string) { + o.ConnectionChannelName = &v +} + +// GetGatewayOptions returns the GatewayOptions field value +func (o *GetBlockRequestV1) GetGatewayOptions() GatewayOptions { + if o == nil { + var ret GatewayOptions + return ret + } + + return o.GatewayOptions +} + +// GetGatewayOptionsOk returns a tuple with the GatewayOptions field value +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1) GetGatewayOptionsOk() (*GatewayOptions, bool) { + if o == nil { + return nil, false + } + return &o.GatewayOptions, true +} + +// SetGatewayOptions sets field value +func (o *GetBlockRequestV1) SetGatewayOptions(v GatewayOptions) { + o.GatewayOptions = v +} + +// GetQuery returns the Query field value +func (o *GetBlockRequestV1) GetQuery() GetBlockRequestV1Query { + if o == nil { + var ret GetBlockRequestV1Query + return ret + } + + return o.Query +} + +// GetQueryOk returns a tuple with the Query field value +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1) GetQueryOk() (*GetBlockRequestV1Query, bool) { + if o == nil { + return nil, false + } + return &o.Query, true +} + +// SetQuery sets field value +func (o *GetBlockRequestV1) SetQuery(v GetBlockRequestV1Query) { + o.Query = v +} + +// GetSkipDecode returns the SkipDecode field value if set, zero value otherwise. +func (o *GetBlockRequestV1) GetSkipDecode() bool { + if o == nil || IsNil(o.SkipDecode) { + var ret bool + return ret + } + return *o.SkipDecode +} + +// GetSkipDecodeOk returns a tuple with the SkipDecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1) GetSkipDecodeOk() (*bool, bool) { + if o == nil || IsNil(o.SkipDecode) { + return nil, false + } + return o.SkipDecode, true +} + +// HasSkipDecode returns a boolean if a field has been set. +func (o *GetBlockRequestV1) HasSkipDecode() bool { + if o != nil && !IsNil(o.SkipDecode) { + return true + } + + return false +} + +// SetSkipDecode gets a reference to the given bool and assigns it to the SkipDecode field. +func (o *GetBlockRequestV1) SetSkipDecode(v bool) { + o.SkipDecode = &v +} + +func (o GetBlockRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBlockRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["channelName"] = o.ChannelName + if !IsNil(o.ConnectionChannelName) { + toSerialize["connectionChannelName"] = o.ConnectionChannelName + } + toSerialize["gatewayOptions"] = o.GatewayOptions + toSerialize["query"] = o.Query + if !IsNil(o.SkipDecode) { + toSerialize["skipDecode"] = o.SkipDecode + } + return toSerialize, nil +} + +type NullableGetBlockRequestV1 struct { + value *GetBlockRequestV1 + isSet bool +} + +func (v NullableGetBlockRequestV1) Get() *GetBlockRequestV1 { + return v.value +} + +func (v *NullableGetBlockRequestV1) Set(val *GetBlockRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockRequestV1(val *GetBlockRequestV1) *NullableGetBlockRequestV1 { + return &NullableGetBlockRequestV1{value: val, isSet: true} +} + +func (v NullableGetBlockRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_request_v1_query.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_request_v1_query.go new file mode 100644 index 00000000000..37073b77e18 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_request_v1_query.go @@ -0,0 +1,200 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GetBlockRequestV1Query type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBlockRequestV1Query{} + +// GetBlockRequestV1Query Query selector, caller must provide at least one of them. First found will be used, rest will be ignored, so it's recommended to pass single selector. +type GetBlockRequestV1Query struct { + // Select block by it's number. + BlockNumber *string `json:"blockNumber,omitempty"` + BlockHash *GetBlockRequestV1QueryBlockHash `json:"blockHash,omitempty"` + // Select block by id of transaction that it contains. + TransactionId *string `json:"transactionId,omitempty"` +} + +// NewGetBlockRequestV1Query instantiates a new GetBlockRequestV1Query object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockRequestV1Query() *GetBlockRequestV1Query { + this := GetBlockRequestV1Query{} + return &this +} + +// NewGetBlockRequestV1QueryWithDefaults instantiates a new GetBlockRequestV1Query object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockRequestV1QueryWithDefaults() *GetBlockRequestV1Query { + this := GetBlockRequestV1Query{} + return &this +} + +// GetBlockNumber returns the BlockNumber field value if set, zero value otherwise. +func (o *GetBlockRequestV1Query) GetBlockNumber() string { + if o == nil || IsNil(o.BlockNumber) { + var ret string + return ret + } + return *o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1Query) GetBlockNumberOk() (*string, bool) { + if o == nil || IsNil(o.BlockNumber) { + return nil, false + } + return o.BlockNumber, true +} + +// HasBlockNumber returns a boolean if a field has been set. +func (o *GetBlockRequestV1Query) HasBlockNumber() bool { + if o != nil && !IsNil(o.BlockNumber) { + return true + } + + return false +} + +// SetBlockNumber gets a reference to the given string and assigns it to the BlockNumber field. +func (o *GetBlockRequestV1Query) SetBlockNumber(v string) { + o.BlockNumber = &v +} + +// GetBlockHash returns the BlockHash field value if set, zero value otherwise. +func (o *GetBlockRequestV1Query) GetBlockHash() GetBlockRequestV1QueryBlockHash { + if o == nil || IsNil(o.BlockHash) { + var ret GetBlockRequestV1QueryBlockHash + return ret + } + return *o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1Query) GetBlockHashOk() (*GetBlockRequestV1QueryBlockHash, bool) { + if o == nil || IsNil(o.BlockHash) { + return nil, false + } + return o.BlockHash, true +} + +// HasBlockHash returns a boolean if a field has been set. +func (o *GetBlockRequestV1Query) HasBlockHash() bool { + if o != nil && !IsNil(o.BlockHash) { + return true + } + + return false +} + +// SetBlockHash gets a reference to the given GetBlockRequestV1QueryBlockHash and assigns it to the BlockHash field. +func (o *GetBlockRequestV1Query) SetBlockHash(v GetBlockRequestV1QueryBlockHash) { + o.BlockHash = &v +} + +// GetTransactionId returns the TransactionId field value if set, zero value otherwise. +func (o *GetBlockRequestV1Query) GetTransactionId() string { + if o == nil || IsNil(o.TransactionId) { + var ret string + return ret + } + return *o.TransactionId +} + +// GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1Query) GetTransactionIdOk() (*string, bool) { + if o == nil || IsNil(o.TransactionId) { + return nil, false + } + return o.TransactionId, true +} + +// HasTransactionId returns a boolean if a field has been set. +func (o *GetBlockRequestV1Query) HasTransactionId() bool { + if o != nil && !IsNil(o.TransactionId) { + return true + } + + return false +} + +// SetTransactionId gets a reference to the given string and assigns it to the TransactionId field. +func (o *GetBlockRequestV1Query) SetTransactionId(v string) { + o.TransactionId = &v +} + +func (o GetBlockRequestV1Query) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBlockRequestV1Query) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.BlockNumber) { + toSerialize["blockNumber"] = o.BlockNumber + } + if !IsNil(o.BlockHash) { + toSerialize["blockHash"] = o.BlockHash + } + if !IsNil(o.TransactionId) { + toSerialize["transactionId"] = o.TransactionId + } + return toSerialize, nil +} + +type NullableGetBlockRequestV1Query struct { + value *GetBlockRequestV1Query + isSet bool +} + +func (v NullableGetBlockRequestV1Query) Get() *GetBlockRequestV1Query { + return v.value +} + +func (v *NullableGetBlockRequestV1Query) Set(val *GetBlockRequestV1Query) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockRequestV1Query) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockRequestV1Query) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockRequestV1Query(val *GetBlockRequestV1Query) *NullableGetBlockRequestV1Query { + return &NullableGetBlockRequestV1Query{value: val, isSet: true} +} + +func (v NullableGetBlockRequestV1Query) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockRequestV1Query) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_request_v1_query_block_hash.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_request_v1_query_block_hash.go new file mode 100644 index 00000000000..246b71482d9 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_request_v1_query_block_hash.go @@ -0,0 +1,155 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GetBlockRequestV1QueryBlockHash type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBlockRequestV1QueryBlockHash{} + +// GetBlockRequestV1QueryBlockHash Select block by it's hash. +type GetBlockRequestV1QueryBlockHash struct { + // NodeJS Buffer encoding (utf-8, hex, binary, base64, etc...). Passed directly to `Buffer.from()` call on hashBuffer. If not provided then JSON buffer format is assumed. + Encoding *string `json:"encoding,omitempty"` + // Buffer of blockHash. It's encoding should be described in `encoding` parameter. + Buffer string `json:"buffer"` +} + +// NewGetBlockRequestV1QueryBlockHash instantiates a new GetBlockRequestV1QueryBlockHash object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockRequestV1QueryBlockHash(buffer string) *GetBlockRequestV1QueryBlockHash { + this := GetBlockRequestV1QueryBlockHash{} + this.Buffer = buffer + return &this +} + +// NewGetBlockRequestV1QueryBlockHashWithDefaults instantiates a new GetBlockRequestV1QueryBlockHash object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockRequestV1QueryBlockHashWithDefaults() *GetBlockRequestV1QueryBlockHash { + this := GetBlockRequestV1QueryBlockHash{} + return &this +} + +// GetEncoding returns the Encoding field value if set, zero value otherwise. +func (o *GetBlockRequestV1QueryBlockHash) GetEncoding() string { + if o == nil || IsNil(o.Encoding) { + var ret string + return ret + } + return *o.Encoding +} + +// GetEncodingOk returns a tuple with the Encoding field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1QueryBlockHash) GetEncodingOk() (*string, bool) { + if o == nil || IsNil(o.Encoding) { + return nil, false + } + return o.Encoding, true +} + +// HasEncoding returns a boolean if a field has been set. +func (o *GetBlockRequestV1QueryBlockHash) HasEncoding() bool { + if o != nil && !IsNil(o.Encoding) { + return true + } + + return false +} + +// SetEncoding gets a reference to the given string and assigns it to the Encoding field. +func (o *GetBlockRequestV1QueryBlockHash) SetEncoding(v string) { + o.Encoding = &v +} + +// GetBuffer returns the Buffer field value +func (o *GetBlockRequestV1QueryBlockHash) GetBuffer() string { + if o == nil { + var ret string + return ret + } + + return o.Buffer +} + +// GetBufferOk returns a tuple with the Buffer field value +// and a boolean to check if the value has been set. +func (o *GetBlockRequestV1QueryBlockHash) GetBufferOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Buffer, true +} + +// SetBuffer sets field value +func (o *GetBlockRequestV1QueryBlockHash) SetBuffer(v string) { + o.Buffer = v +} + +func (o GetBlockRequestV1QueryBlockHash) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBlockRequestV1QueryBlockHash) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Encoding) { + toSerialize["encoding"] = o.Encoding + } + toSerialize["buffer"] = o.Buffer + return toSerialize, nil +} + +type NullableGetBlockRequestV1QueryBlockHash struct { + value *GetBlockRequestV1QueryBlockHash + isSet bool +} + +func (v NullableGetBlockRequestV1QueryBlockHash) Get() *GetBlockRequestV1QueryBlockHash { + return v.value +} + +func (v *NullableGetBlockRequestV1QueryBlockHash) Set(val *GetBlockRequestV1QueryBlockHash) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockRequestV1QueryBlockHash) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockRequestV1QueryBlockHash) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockRequestV1QueryBlockHash(val *GetBlockRequestV1QueryBlockHash) *NullableGetBlockRequestV1QueryBlockHash { + return &NullableGetBlockRequestV1QueryBlockHash{value: val, isSet: true} +} + +func (v NullableGetBlockRequestV1QueryBlockHash) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockRequestV1QueryBlockHash) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_response_decoded_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_response_decoded_v1.go new file mode 100644 index 00000000000..987e3662e55 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_response_decoded_v1.go @@ -0,0 +1,122 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GetBlockResponseDecodedV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBlockResponseDecodedV1{} + +// GetBlockResponseDecodedV1 When skipDecode is false (default) then decoded block object is returned. +type GetBlockResponseDecodedV1 struct { + // Full hyperledger fabric block data. + DecodedBlock interface{} `json:"decodedBlock"` +} + +// NewGetBlockResponseDecodedV1 instantiates a new GetBlockResponseDecodedV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockResponseDecodedV1(decodedBlock interface{}) *GetBlockResponseDecodedV1 { + this := GetBlockResponseDecodedV1{} + this.DecodedBlock = decodedBlock + return &this +} + +// NewGetBlockResponseDecodedV1WithDefaults instantiates a new GetBlockResponseDecodedV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockResponseDecodedV1WithDefaults() *GetBlockResponseDecodedV1 { + this := GetBlockResponseDecodedV1{} + return &this +} + +// GetDecodedBlock returns the DecodedBlock field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *GetBlockResponseDecodedV1) GetDecodedBlock() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.DecodedBlock +} + +// GetDecodedBlockOk returns a tuple with the DecodedBlock field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GetBlockResponseDecodedV1) GetDecodedBlockOk() (*interface{}, bool) { + if o == nil || IsNil(o.DecodedBlock) { + return nil, false + } + return &o.DecodedBlock, true +} + +// SetDecodedBlock sets field value +func (o *GetBlockResponseDecodedV1) SetDecodedBlock(v interface{}) { + o.DecodedBlock = v +} + +func (o GetBlockResponseDecodedV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBlockResponseDecodedV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.DecodedBlock != nil { + toSerialize["decodedBlock"] = o.DecodedBlock + } + return toSerialize, nil +} + +type NullableGetBlockResponseDecodedV1 struct { + value *GetBlockResponseDecodedV1 + isSet bool +} + +func (v NullableGetBlockResponseDecodedV1) Get() *GetBlockResponseDecodedV1 { + return v.value +} + +func (v *NullableGetBlockResponseDecodedV1) Set(val *GetBlockResponseDecodedV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockResponseDecodedV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockResponseDecodedV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockResponseDecodedV1(val *GetBlockResponseDecodedV1) *NullableGetBlockResponseDecodedV1 { + return &NullableGetBlockResponseDecodedV1{value: val, isSet: true} +} + +func (v NullableGetBlockResponseDecodedV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockResponseDecodedV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_response_encoded_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_response_encoded_v1.go new file mode 100644 index 00000000000..cd74e31dc84 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_response_encoded_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GetBlockResponseEncodedV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetBlockResponseEncodedV1{} + +// GetBlockResponseEncodedV1 When skipDecode is true then encoded block Buffer is returned. +type GetBlockResponseEncodedV1 struct { + EncodedBlock string `json:"encodedBlock"` +} + +// NewGetBlockResponseEncodedV1 instantiates a new GetBlockResponseEncodedV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockResponseEncodedV1(encodedBlock string) *GetBlockResponseEncodedV1 { + this := GetBlockResponseEncodedV1{} + this.EncodedBlock = encodedBlock + return &this +} + +// NewGetBlockResponseEncodedV1WithDefaults instantiates a new GetBlockResponseEncodedV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockResponseEncodedV1WithDefaults() *GetBlockResponseEncodedV1 { + this := GetBlockResponseEncodedV1{} + return &this +} + +// GetEncodedBlock returns the EncodedBlock field value +func (o *GetBlockResponseEncodedV1) GetEncodedBlock() string { + if o == nil { + var ret string + return ret + } + + return o.EncodedBlock +} + +// GetEncodedBlockOk returns a tuple with the EncodedBlock field value +// and a boolean to check if the value has been set. +func (o *GetBlockResponseEncodedV1) GetEncodedBlockOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EncodedBlock, true +} + +// SetEncodedBlock sets field value +func (o *GetBlockResponseEncodedV1) SetEncodedBlock(v string) { + o.EncodedBlock = v +} + +func (o GetBlockResponseEncodedV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetBlockResponseEncodedV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["encodedBlock"] = o.EncodedBlock + return toSerialize, nil +} + +type NullableGetBlockResponseEncodedV1 struct { + value *GetBlockResponseEncodedV1 + isSet bool +} + +func (v NullableGetBlockResponseEncodedV1) Get() *GetBlockResponseEncodedV1 { + return v.value +} + +func (v *NullableGetBlockResponseEncodedV1) Set(val *GetBlockResponseEncodedV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockResponseEncodedV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockResponseEncodedV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockResponseEncodedV1(val *GetBlockResponseEncodedV1) *NullableGetBlockResponseEncodedV1 { + return &NullableGetBlockResponseEncodedV1{value: val, isSet: true} +} + +func (v NullableGetBlockResponseEncodedV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockResponseEncodedV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_response_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_response_v1.go new file mode 100644 index 00000000000..aef478f029b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_block_response_v1.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// GetBlockResponseV1 - Response from GetBlock endpoint. +type GetBlockResponseV1 struct { + GetBlockResponseDecodedV1 *GetBlockResponseDecodedV1 + GetBlockResponseEncodedV1 *GetBlockResponseEncodedV1 +} + +// GetBlockResponseDecodedV1AsGetBlockResponseV1 is a convenience function that returns GetBlockResponseDecodedV1 wrapped in GetBlockResponseV1 +func GetBlockResponseDecodedV1AsGetBlockResponseV1(v *GetBlockResponseDecodedV1) GetBlockResponseV1 { + return GetBlockResponseV1{ + GetBlockResponseDecodedV1: v, + } +} + +// GetBlockResponseEncodedV1AsGetBlockResponseV1 is a convenience function that returns GetBlockResponseEncodedV1 wrapped in GetBlockResponseV1 +func GetBlockResponseEncodedV1AsGetBlockResponseV1(v *GetBlockResponseEncodedV1) GetBlockResponseV1 { + return GetBlockResponseV1{ + GetBlockResponseEncodedV1: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetBlockResponseV1) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into GetBlockResponseDecodedV1 + err = newStrictDecoder(data).Decode(&dst.GetBlockResponseDecodedV1) + if err == nil { + jsonGetBlockResponseDecodedV1, _ := json.Marshal(dst.GetBlockResponseDecodedV1) + if string(jsonGetBlockResponseDecodedV1) == "{}" { // empty struct + dst.GetBlockResponseDecodedV1 = nil + } else { + match++ + } + } else { + dst.GetBlockResponseDecodedV1 = nil + } + + // try to unmarshal data into GetBlockResponseEncodedV1 + err = newStrictDecoder(data).Decode(&dst.GetBlockResponseEncodedV1) + if err == nil { + jsonGetBlockResponseEncodedV1, _ := json.Marshal(dst.GetBlockResponseEncodedV1) + if string(jsonGetBlockResponseEncodedV1) == "{}" { // empty struct + dst.GetBlockResponseEncodedV1 = nil + } else { + match++ + } + } else { + dst.GetBlockResponseEncodedV1 = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.GetBlockResponseDecodedV1 = nil + dst.GetBlockResponseEncodedV1 = nil + + return fmt.Errorf("data matches more than one schema in oneOf(GetBlockResponseV1)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(GetBlockResponseV1)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetBlockResponseV1) MarshalJSON() ([]byte, error) { + if src.GetBlockResponseDecodedV1 != nil { + return json.Marshal(&src.GetBlockResponseDecodedV1) + } + + if src.GetBlockResponseEncodedV1 != nil { + return json.Marshal(&src.GetBlockResponseEncodedV1) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetBlockResponseV1) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.GetBlockResponseDecodedV1 != nil { + return obj.GetBlockResponseDecodedV1 + } + + if obj.GetBlockResponseEncodedV1 != nil { + return obj.GetBlockResponseEncodedV1 + } + + // all schemas are nil + return nil +} + +type NullableGetBlockResponseV1 struct { + value *GetBlockResponseV1 + isSet bool +} + +func (v NullableGetBlockResponseV1) Get() *GetBlockResponseV1 { + return v.value +} + +func (v *NullableGetBlockResponseV1) Set(val *GetBlockResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockResponseV1(val *GetBlockResponseV1) *NullableGetBlockResponseV1 { + return &NullableGetBlockResponseV1{value: val, isSet: true} +} + +func (v NullableGetBlockResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_transaction_receipt_response.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_transaction_receipt_response.go new file mode 100644 index 00000000000..a95f65a1d6d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_get_transaction_receipt_response.go @@ -0,0 +1,450 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the GetTransactionReceiptResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetTransactionReceiptResponse{} + +// GetTransactionReceiptResponse struct for GetTransactionReceiptResponse +type GetTransactionReceiptResponse struct { + BlockNumber *string `json:"blockNumber,omitempty"` + ChannelID *string `json:"channelID,omitempty"` + TransactionCreator *TransactReceiptTransactionCreator `json:"transactionCreator,omitempty"` + TransactionEndorsement []TransactReceiptTransactionEndorsement `json:"transactionEndorsement,omitempty"` + BlockMetaData *TransactReceiptBlockMetaData `json:"blockMetaData,omitempty"` + ChainCodeName *string `json:"chainCodeName,omitempty"` + ChainCodeVersion *string `json:"chainCodeVersion,omitempty"` + ResponseStatus *string `json:"responseStatus,omitempty"` + RwsetKey *string `json:"rwsetKey,omitempty"` + RwsetWriteData *string `json:"rwsetWriteData,omitempty"` +} + +// NewGetTransactionReceiptResponse instantiates a new GetTransactionReceiptResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetTransactionReceiptResponse() *GetTransactionReceiptResponse { + this := GetTransactionReceiptResponse{} + return &this +} + +// NewGetTransactionReceiptResponseWithDefaults instantiates a new GetTransactionReceiptResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetTransactionReceiptResponseWithDefaults() *GetTransactionReceiptResponse { + this := GetTransactionReceiptResponse{} + return &this +} + +// GetBlockNumber returns the BlockNumber field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetBlockNumber() string { + if o == nil || IsNil(o.BlockNumber) { + var ret string + return ret + } + return *o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetBlockNumberOk() (*string, bool) { + if o == nil || IsNil(o.BlockNumber) { + return nil, false + } + return o.BlockNumber, true +} + +// HasBlockNumber returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasBlockNumber() bool { + if o != nil && !IsNil(o.BlockNumber) { + return true + } + + return false +} + +// SetBlockNumber gets a reference to the given string and assigns it to the BlockNumber field. +func (o *GetTransactionReceiptResponse) SetBlockNumber(v string) { + o.BlockNumber = &v +} + +// GetChannelID returns the ChannelID field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetChannelID() string { + if o == nil || IsNil(o.ChannelID) { + var ret string + return ret + } + return *o.ChannelID +} + +// GetChannelIDOk returns a tuple with the ChannelID field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetChannelIDOk() (*string, bool) { + if o == nil || IsNil(o.ChannelID) { + return nil, false + } + return o.ChannelID, true +} + +// HasChannelID returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasChannelID() bool { + if o != nil && !IsNil(o.ChannelID) { + return true + } + + return false +} + +// SetChannelID gets a reference to the given string and assigns it to the ChannelID field. +func (o *GetTransactionReceiptResponse) SetChannelID(v string) { + o.ChannelID = &v +} + +// GetTransactionCreator returns the TransactionCreator field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetTransactionCreator() TransactReceiptTransactionCreator { + if o == nil || IsNil(o.TransactionCreator) { + var ret TransactReceiptTransactionCreator + return ret + } + return *o.TransactionCreator +} + +// GetTransactionCreatorOk returns a tuple with the TransactionCreator field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetTransactionCreatorOk() (*TransactReceiptTransactionCreator, bool) { + if o == nil || IsNil(o.TransactionCreator) { + return nil, false + } + return o.TransactionCreator, true +} + +// HasTransactionCreator returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasTransactionCreator() bool { + if o != nil && !IsNil(o.TransactionCreator) { + return true + } + + return false +} + +// SetTransactionCreator gets a reference to the given TransactReceiptTransactionCreator and assigns it to the TransactionCreator field. +func (o *GetTransactionReceiptResponse) SetTransactionCreator(v TransactReceiptTransactionCreator) { + o.TransactionCreator = &v +} + +// GetTransactionEndorsement returns the TransactionEndorsement field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetTransactionEndorsement() []TransactReceiptTransactionEndorsement { + if o == nil || IsNil(o.TransactionEndorsement) { + var ret []TransactReceiptTransactionEndorsement + return ret + } + return o.TransactionEndorsement +} + +// GetTransactionEndorsementOk returns a tuple with the TransactionEndorsement field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetTransactionEndorsementOk() ([]TransactReceiptTransactionEndorsement, bool) { + if o == nil || IsNil(o.TransactionEndorsement) { + return nil, false + } + return o.TransactionEndorsement, true +} + +// HasTransactionEndorsement returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasTransactionEndorsement() bool { + if o != nil && !IsNil(o.TransactionEndorsement) { + return true + } + + return false +} + +// SetTransactionEndorsement gets a reference to the given []TransactReceiptTransactionEndorsement and assigns it to the TransactionEndorsement field. +func (o *GetTransactionReceiptResponse) SetTransactionEndorsement(v []TransactReceiptTransactionEndorsement) { + o.TransactionEndorsement = v +} + +// GetBlockMetaData returns the BlockMetaData field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetBlockMetaData() TransactReceiptBlockMetaData { + if o == nil || IsNil(o.BlockMetaData) { + var ret TransactReceiptBlockMetaData + return ret + } + return *o.BlockMetaData +} + +// GetBlockMetaDataOk returns a tuple with the BlockMetaData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetBlockMetaDataOk() (*TransactReceiptBlockMetaData, bool) { + if o == nil || IsNil(o.BlockMetaData) { + return nil, false + } + return o.BlockMetaData, true +} + +// HasBlockMetaData returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasBlockMetaData() bool { + if o != nil && !IsNil(o.BlockMetaData) { + return true + } + + return false +} + +// SetBlockMetaData gets a reference to the given TransactReceiptBlockMetaData and assigns it to the BlockMetaData field. +func (o *GetTransactionReceiptResponse) SetBlockMetaData(v TransactReceiptBlockMetaData) { + o.BlockMetaData = &v +} + +// GetChainCodeName returns the ChainCodeName field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetChainCodeName() string { + if o == nil || IsNil(o.ChainCodeName) { + var ret string + return ret + } + return *o.ChainCodeName +} + +// GetChainCodeNameOk returns a tuple with the ChainCodeName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetChainCodeNameOk() (*string, bool) { + if o == nil || IsNil(o.ChainCodeName) { + return nil, false + } + return o.ChainCodeName, true +} + +// HasChainCodeName returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasChainCodeName() bool { + if o != nil && !IsNil(o.ChainCodeName) { + return true + } + + return false +} + +// SetChainCodeName gets a reference to the given string and assigns it to the ChainCodeName field. +func (o *GetTransactionReceiptResponse) SetChainCodeName(v string) { + o.ChainCodeName = &v +} + +// GetChainCodeVersion returns the ChainCodeVersion field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetChainCodeVersion() string { + if o == nil || IsNil(o.ChainCodeVersion) { + var ret string + return ret + } + return *o.ChainCodeVersion +} + +// GetChainCodeVersionOk returns a tuple with the ChainCodeVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetChainCodeVersionOk() (*string, bool) { + if o == nil || IsNil(o.ChainCodeVersion) { + return nil, false + } + return o.ChainCodeVersion, true +} + +// HasChainCodeVersion returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasChainCodeVersion() bool { + if o != nil && !IsNil(o.ChainCodeVersion) { + return true + } + + return false +} + +// SetChainCodeVersion gets a reference to the given string and assigns it to the ChainCodeVersion field. +func (o *GetTransactionReceiptResponse) SetChainCodeVersion(v string) { + o.ChainCodeVersion = &v +} + +// GetResponseStatus returns the ResponseStatus field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetResponseStatus() string { + if o == nil || IsNil(o.ResponseStatus) { + var ret string + return ret + } + return *o.ResponseStatus +} + +// GetResponseStatusOk returns a tuple with the ResponseStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetResponseStatusOk() (*string, bool) { + if o == nil || IsNil(o.ResponseStatus) { + return nil, false + } + return o.ResponseStatus, true +} + +// HasResponseStatus returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasResponseStatus() bool { + if o != nil && !IsNil(o.ResponseStatus) { + return true + } + + return false +} + +// SetResponseStatus gets a reference to the given string and assigns it to the ResponseStatus field. +func (o *GetTransactionReceiptResponse) SetResponseStatus(v string) { + o.ResponseStatus = &v +} + +// GetRwsetKey returns the RwsetKey field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetRwsetKey() string { + if o == nil || IsNil(o.RwsetKey) { + var ret string + return ret + } + return *o.RwsetKey +} + +// GetRwsetKeyOk returns a tuple with the RwsetKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetRwsetKeyOk() (*string, bool) { + if o == nil || IsNil(o.RwsetKey) { + return nil, false + } + return o.RwsetKey, true +} + +// HasRwsetKey returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasRwsetKey() bool { + if o != nil && !IsNil(o.RwsetKey) { + return true + } + + return false +} + +// SetRwsetKey gets a reference to the given string and assigns it to the RwsetKey field. +func (o *GetTransactionReceiptResponse) SetRwsetKey(v string) { + o.RwsetKey = &v +} + +// GetRwsetWriteData returns the RwsetWriteData field value if set, zero value otherwise. +func (o *GetTransactionReceiptResponse) GetRwsetWriteData() string { + if o == nil || IsNil(o.RwsetWriteData) { + var ret string + return ret + } + return *o.RwsetWriteData +} + +// GetRwsetWriteDataOk returns a tuple with the RwsetWriteData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionReceiptResponse) GetRwsetWriteDataOk() (*string, bool) { + if o == nil || IsNil(o.RwsetWriteData) { + return nil, false + } + return o.RwsetWriteData, true +} + +// HasRwsetWriteData returns a boolean if a field has been set. +func (o *GetTransactionReceiptResponse) HasRwsetWriteData() bool { + if o != nil && !IsNil(o.RwsetWriteData) { + return true + } + + return false +} + +// SetRwsetWriteData gets a reference to the given string and assigns it to the RwsetWriteData field. +func (o *GetTransactionReceiptResponse) SetRwsetWriteData(v string) { + o.RwsetWriteData = &v +} + +func (o GetTransactionReceiptResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetTransactionReceiptResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.BlockNumber) { + toSerialize["blockNumber"] = o.BlockNumber + } + if !IsNil(o.ChannelID) { + toSerialize["channelID"] = o.ChannelID + } + if !IsNil(o.TransactionCreator) { + toSerialize["transactionCreator"] = o.TransactionCreator + } + if !IsNil(o.TransactionEndorsement) { + toSerialize["transactionEndorsement"] = o.TransactionEndorsement + } + if !IsNil(o.BlockMetaData) { + toSerialize["blockMetaData"] = o.BlockMetaData + } + if !IsNil(o.ChainCodeName) { + toSerialize["chainCodeName"] = o.ChainCodeName + } + if !IsNil(o.ChainCodeVersion) { + toSerialize["chainCodeVersion"] = o.ChainCodeVersion + } + if !IsNil(o.ResponseStatus) { + toSerialize["responseStatus"] = o.ResponseStatus + } + if !IsNil(o.RwsetKey) { + toSerialize["rwsetKey"] = o.RwsetKey + } + if !IsNil(o.RwsetWriteData) { + toSerialize["rwsetWriteData"] = o.RwsetWriteData + } + return toSerialize, nil +} + +type NullableGetTransactionReceiptResponse struct { + value *GetTransactionReceiptResponse + isSet bool +} + +func (v NullableGetTransactionReceiptResponse) Get() *GetTransactionReceiptResponse { + return v.value +} + +func (v *NullableGetTransactionReceiptResponse) Set(val *GetTransactionReceiptResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetTransactionReceiptResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTransactionReceiptResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTransactionReceiptResponse(val *GetTransactionReceiptResponse) *NullableGetTransactionReceiptResponse { + return &NullableGetTransactionReceiptResponse{value: val, isSet: true} +} + +func (v NullableGetTransactionReceiptResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTransactionReceiptResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_delegated_sign_transaction_request.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_delegated_sign_transaction_request.go new file mode 100644 index 00000000000..abbcc501850 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_delegated_sign_transaction_request.go @@ -0,0 +1,464 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the RunDelegatedSignTransactionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunDelegatedSignTransactionRequest{} + +// RunDelegatedSignTransactionRequest struct for RunDelegatedSignTransactionRequest +type RunDelegatedSignTransactionRequest struct { + // An array of endorsing peers (name or url) for the transaction. + EndorsingPeers []string `json:"endorsingPeers,omitempty"` + // An array of endorsing organizations (by mspID or issuer org name on certificate) for the transaction. + EndorsingOrgs []string `json:"endorsingOrgs,omitempty"` + TransientData map[string]interface{} `json:"transientData,omitempty"` + SignerCertificate string `json:"signerCertificate"` + SignerMspID string `json:"signerMspID"` + // Can be used to uniquely identify and authorize signing request + UniqueTransactionData interface{} `json:"uniqueTransactionData,omitempty"` + ChannelName string `json:"channelName"` + ContractName string `json:"contractName"` + InvocationType FabricContractInvocationType `json:"invocationType"` + MethodName string `json:"methodName"` + Params []*string `json:"params"` + ResponseType *RunTransactionResponseType `json:"responseType,omitempty"` +} + +// NewRunDelegatedSignTransactionRequest instantiates a new RunDelegatedSignTransactionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunDelegatedSignTransactionRequest(signerCertificate string, signerMspID string, channelName string, contractName string, invocationType FabricContractInvocationType, methodName string, params []*string) *RunDelegatedSignTransactionRequest { + this := RunDelegatedSignTransactionRequest{} + this.SignerCertificate = signerCertificate + this.SignerMspID = signerMspID + this.ChannelName = channelName + this.ContractName = contractName + this.InvocationType = invocationType + this.MethodName = methodName + this.Params = params + return &this +} + +// NewRunDelegatedSignTransactionRequestWithDefaults instantiates a new RunDelegatedSignTransactionRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunDelegatedSignTransactionRequestWithDefaults() *RunDelegatedSignTransactionRequest { + this := RunDelegatedSignTransactionRequest{} + return &this +} + +// GetEndorsingPeers returns the EndorsingPeers field value if set, zero value otherwise. +func (o *RunDelegatedSignTransactionRequest) GetEndorsingPeers() []string { + if o == nil || IsNil(o.EndorsingPeers) { + var ret []string + return ret + } + return o.EndorsingPeers +} + +// GetEndorsingPeersOk returns a tuple with the EndorsingPeers field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetEndorsingPeersOk() ([]string, bool) { + if o == nil || IsNil(o.EndorsingPeers) { + return nil, false + } + return o.EndorsingPeers, true +} + +// HasEndorsingPeers returns a boolean if a field has been set. +func (o *RunDelegatedSignTransactionRequest) HasEndorsingPeers() bool { + if o != nil && !IsNil(o.EndorsingPeers) { + return true + } + + return false +} + +// SetEndorsingPeers gets a reference to the given []string and assigns it to the EndorsingPeers field. +func (o *RunDelegatedSignTransactionRequest) SetEndorsingPeers(v []string) { + o.EndorsingPeers = v +} + +// GetEndorsingOrgs returns the EndorsingOrgs field value if set, zero value otherwise. +func (o *RunDelegatedSignTransactionRequest) GetEndorsingOrgs() []string { + if o == nil || IsNil(o.EndorsingOrgs) { + var ret []string + return ret + } + return o.EndorsingOrgs +} + +// GetEndorsingOrgsOk returns a tuple with the EndorsingOrgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetEndorsingOrgsOk() ([]string, bool) { + if o == nil || IsNil(o.EndorsingOrgs) { + return nil, false + } + return o.EndorsingOrgs, true +} + +// HasEndorsingOrgs returns a boolean if a field has been set. +func (o *RunDelegatedSignTransactionRequest) HasEndorsingOrgs() bool { + if o != nil && !IsNil(o.EndorsingOrgs) { + return true + } + + return false +} + +// SetEndorsingOrgs gets a reference to the given []string and assigns it to the EndorsingOrgs field. +func (o *RunDelegatedSignTransactionRequest) SetEndorsingOrgs(v []string) { + o.EndorsingOrgs = v +} + +// GetTransientData returns the TransientData field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RunDelegatedSignTransactionRequest) GetTransientData() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.TransientData +} + +// GetTransientDataOk returns a tuple with the TransientData field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RunDelegatedSignTransactionRequest) GetTransientDataOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.TransientData) { + return map[string]interface{}{}, false + } + return o.TransientData, true +} + +// HasTransientData returns a boolean if a field has been set. +func (o *RunDelegatedSignTransactionRequest) HasTransientData() bool { + if o != nil && IsNil(o.TransientData) { + return true + } + + return false +} + +// SetTransientData gets a reference to the given map[string]interface{} and assigns it to the TransientData field. +func (o *RunDelegatedSignTransactionRequest) SetTransientData(v map[string]interface{}) { + o.TransientData = v +} + +// GetSignerCertificate returns the SignerCertificate field value +func (o *RunDelegatedSignTransactionRequest) GetSignerCertificate() string { + if o == nil { + var ret string + return ret + } + + return o.SignerCertificate +} + +// GetSignerCertificateOk returns a tuple with the SignerCertificate field value +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetSignerCertificateOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SignerCertificate, true +} + +// SetSignerCertificate sets field value +func (o *RunDelegatedSignTransactionRequest) SetSignerCertificate(v string) { + o.SignerCertificate = v +} + +// GetSignerMspID returns the SignerMspID field value +func (o *RunDelegatedSignTransactionRequest) GetSignerMspID() string { + if o == nil { + var ret string + return ret + } + + return o.SignerMspID +} + +// GetSignerMspIDOk returns a tuple with the SignerMspID field value +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetSignerMspIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SignerMspID, true +} + +// SetSignerMspID sets field value +func (o *RunDelegatedSignTransactionRequest) SetSignerMspID(v string) { + o.SignerMspID = v +} + +// GetUniqueTransactionData returns the UniqueTransactionData field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RunDelegatedSignTransactionRequest) GetUniqueTransactionData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.UniqueTransactionData +} + +// GetUniqueTransactionDataOk returns a tuple with the UniqueTransactionData field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RunDelegatedSignTransactionRequest) GetUniqueTransactionDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.UniqueTransactionData) { + return nil, false + } + return &o.UniqueTransactionData, true +} + +// HasUniqueTransactionData returns a boolean if a field has been set. +func (o *RunDelegatedSignTransactionRequest) HasUniqueTransactionData() bool { + if o != nil && IsNil(o.UniqueTransactionData) { + return true + } + + return false +} + +// SetUniqueTransactionData gets a reference to the given interface{} and assigns it to the UniqueTransactionData field. +func (o *RunDelegatedSignTransactionRequest) SetUniqueTransactionData(v interface{}) { + o.UniqueTransactionData = v +} + +// GetChannelName returns the ChannelName field value +func (o *RunDelegatedSignTransactionRequest) GetChannelName() string { + if o == nil { + var ret string + return ret + } + + return o.ChannelName +} + +// GetChannelNameOk returns a tuple with the ChannelName field value +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetChannelNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChannelName, true +} + +// SetChannelName sets field value +func (o *RunDelegatedSignTransactionRequest) SetChannelName(v string) { + o.ChannelName = v +} + +// GetContractName returns the ContractName field value +func (o *RunDelegatedSignTransactionRequest) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *RunDelegatedSignTransactionRequest) SetContractName(v string) { + o.ContractName = v +} + +// GetInvocationType returns the InvocationType field value +func (o *RunDelegatedSignTransactionRequest) GetInvocationType() FabricContractInvocationType { + if o == nil { + var ret FabricContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetInvocationTypeOk() (*FabricContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *RunDelegatedSignTransactionRequest) SetInvocationType(v FabricContractInvocationType) { + o.InvocationType = v +} + +// GetMethodName returns the MethodName field value +func (o *RunDelegatedSignTransactionRequest) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *RunDelegatedSignTransactionRequest) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value +func (o *RunDelegatedSignTransactionRequest) GetParams() []*string { + if o == nil { + var ret []*string + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetParamsOk() ([]*string, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *RunDelegatedSignTransactionRequest) SetParams(v []*string) { + o.Params = v +} + +// GetResponseType returns the ResponseType field value if set, zero value otherwise. +func (o *RunDelegatedSignTransactionRequest) GetResponseType() RunTransactionResponseType { + if o == nil || IsNil(o.ResponseType) { + var ret RunTransactionResponseType + return ret + } + return *o.ResponseType +} + +// GetResponseTypeOk returns a tuple with the ResponseType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunDelegatedSignTransactionRequest) GetResponseTypeOk() (*RunTransactionResponseType, bool) { + if o == nil || IsNil(o.ResponseType) { + return nil, false + } + return o.ResponseType, true +} + +// HasResponseType returns a boolean if a field has been set. +func (o *RunDelegatedSignTransactionRequest) HasResponseType() bool { + if o != nil && !IsNil(o.ResponseType) { + return true + } + + return false +} + +// SetResponseType gets a reference to the given RunTransactionResponseType and assigns it to the ResponseType field. +func (o *RunDelegatedSignTransactionRequest) SetResponseType(v RunTransactionResponseType) { + o.ResponseType = &v +} + +func (o RunDelegatedSignTransactionRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunDelegatedSignTransactionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.EndorsingPeers) { + toSerialize["endorsingPeers"] = o.EndorsingPeers + } + if !IsNil(o.EndorsingOrgs) { + toSerialize["endorsingOrgs"] = o.EndorsingOrgs + } + if o.TransientData != nil { + toSerialize["transientData"] = o.TransientData + } + toSerialize["signerCertificate"] = o.SignerCertificate + toSerialize["signerMspID"] = o.SignerMspID + if o.UniqueTransactionData != nil { + toSerialize["uniqueTransactionData"] = o.UniqueTransactionData + } + toSerialize["channelName"] = o.ChannelName + toSerialize["contractName"] = o.ContractName + toSerialize["invocationType"] = o.InvocationType + toSerialize["methodName"] = o.MethodName + toSerialize["params"] = o.Params + if !IsNil(o.ResponseType) { + toSerialize["responseType"] = o.ResponseType + } + return toSerialize, nil +} + +type NullableRunDelegatedSignTransactionRequest struct { + value *RunDelegatedSignTransactionRequest + isSet bool +} + +func (v NullableRunDelegatedSignTransactionRequest) Get() *RunDelegatedSignTransactionRequest { + return v.value +} + +func (v *NullableRunDelegatedSignTransactionRequest) Set(val *RunDelegatedSignTransactionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRunDelegatedSignTransactionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRunDelegatedSignTransactionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunDelegatedSignTransactionRequest(val *RunDelegatedSignTransactionRequest) *NullableRunDelegatedSignTransactionRequest { + return &NullableRunDelegatedSignTransactionRequest{value: val, isSet: true} +} + +func (v NullableRunDelegatedSignTransactionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunDelegatedSignTransactionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_transaction_request.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_transaction_request.go new file mode 100644 index 00000000000..c7b3908051a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_transaction_request.go @@ -0,0 +1,435 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the RunTransactionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionRequest{} + +// RunTransactionRequest struct for RunTransactionRequest +type RunTransactionRequest struct { + // An array of endorsing peers (name or url) for the transaction. + EndorsingPeers []string `json:"endorsingPeers,omitempty"` + // An array of endorsing organizations (by mspID or issuer org name on certificate) for the transaction. + EndorsingOrgs []string `json:"endorsingOrgs,omitempty"` + TransientData map[string]interface{} `json:"transientData,omitempty"` + GatewayOptions *GatewayOptions `json:"gatewayOptions,omitempty"` + SigningCredential FabricSigningCredential `json:"signingCredential"` + ChannelName string `json:"channelName"` + ContractName string `json:"contractName"` + InvocationType FabricContractInvocationType `json:"invocationType"` + MethodName string `json:"methodName"` + Params []*string `json:"params"` + ResponseType *RunTransactionResponseType `json:"responseType,omitempty"` +} + +// NewRunTransactionRequest instantiates a new RunTransactionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionRequest(signingCredential FabricSigningCredential, channelName string, contractName string, invocationType FabricContractInvocationType, methodName string, params []*string) *RunTransactionRequest { + this := RunTransactionRequest{} + this.SigningCredential = signingCredential + this.ChannelName = channelName + this.ContractName = contractName + this.InvocationType = invocationType + this.MethodName = methodName + this.Params = params + return &this +} + +// NewRunTransactionRequestWithDefaults instantiates a new RunTransactionRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionRequestWithDefaults() *RunTransactionRequest { + this := RunTransactionRequest{} + return &this +} + +// GetEndorsingPeers returns the EndorsingPeers field value if set, zero value otherwise. +func (o *RunTransactionRequest) GetEndorsingPeers() []string { + if o == nil || IsNil(o.EndorsingPeers) { + var ret []string + return ret + } + return o.EndorsingPeers +} + +// GetEndorsingPeersOk returns a tuple with the EndorsingPeers field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetEndorsingPeersOk() ([]string, bool) { + if o == nil || IsNil(o.EndorsingPeers) { + return nil, false + } + return o.EndorsingPeers, true +} + +// HasEndorsingPeers returns a boolean if a field has been set. +func (o *RunTransactionRequest) HasEndorsingPeers() bool { + if o != nil && !IsNil(o.EndorsingPeers) { + return true + } + + return false +} + +// SetEndorsingPeers gets a reference to the given []string and assigns it to the EndorsingPeers field. +func (o *RunTransactionRequest) SetEndorsingPeers(v []string) { + o.EndorsingPeers = v +} + +// GetEndorsingOrgs returns the EndorsingOrgs field value if set, zero value otherwise. +func (o *RunTransactionRequest) GetEndorsingOrgs() []string { + if o == nil || IsNil(o.EndorsingOrgs) { + var ret []string + return ret + } + return o.EndorsingOrgs +} + +// GetEndorsingOrgsOk returns a tuple with the EndorsingOrgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetEndorsingOrgsOk() ([]string, bool) { + if o == nil || IsNil(o.EndorsingOrgs) { + return nil, false + } + return o.EndorsingOrgs, true +} + +// HasEndorsingOrgs returns a boolean if a field has been set. +func (o *RunTransactionRequest) HasEndorsingOrgs() bool { + if o != nil && !IsNil(o.EndorsingOrgs) { + return true + } + + return false +} + +// SetEndorsingOrgs gets a reference to the given []string and assigns it to the EndorsingOrgs field. +func (o *RunTransactionRequest) SetEndorsingOrgs(v []string) { + o.EndorsingOrgs = v +} + +// GetTransientData returns the TransientData field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RunTransactionRequest) GetTransientData() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.TransientData +} + +// GetTransientDataOk returns a tuple with the TransientData field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RunTransactionRequest) GetTransientDataOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.TransientData) { + return map[string]interface{}{}, false + } + return o.TransientData, true +} + +// HasTransientData returns a boolean if a field has been set. +func (o *RunTransactionRequest) HasTransientData() bool { + if o != nil && IsNil(o.TransientData) { + return true + } + + return false +} + +// SetTransientData gets a reference to the given map[string]interface{} and assigns it to the TransientData field. +func (o *RunTransactionRequest) SetTransientData(v map[string]interface{}) { + o.TransientData = v +} + +// GetGatewayOptions returns the GatewayOptions field value if set, zero value otherwise. +func (o *RunTransactionRequest) GetGatewayOptions() GatewayOptions { + if o == nil || IsNil(o.GatewayOptions) { + var ret GatewayOptions + return ret + } + return *o.GatewayOptions +} + +// GetGatewayOptionsOk returns a tuple with the GatewayOptions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetGatewayOptionsOk() (*GatewayOptions, bool) { + if o == nil || IsNil(o.GatewayOptions) { + return nil, false + } + return o.GatewayOptions, true +} + +// HasGatewayOptions returns a boolean if a field has been set. +func (o *RunTransactionRequest) HasGatewayOptions() bool { + if o != nil && !IsNil(o.GatewayOptions) { + return true + } + + return false +} + +// SetGatewayOptions gets a reference to the given GatewayOptions and assigns it to the GatewayOptions field. +func (o *RunTransactionRequest) SetGatewayOptions(v GatewayOptions) { + o.GatewayOptions = &v +} + +// GetSigningCredential returns the SigningCredential field value +func (o *RunTransactionRequest) GetSigningCredential() FabricSigningCredential { + if o == nil { + var ret FabricSigningCredential + return ret + } + + return o.SigningCredential +} + +// GetSigningCredentialOk returns a tuple with the SigningCredential field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetSigningCredentialOk() (*FabricSigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.SigningCredential, true +} + +// SetSigningCredential sets field value +func (o *RunTransactionRequest) SetSigningCredential(v FabricSigningCredential) { + o.SigningCredential = v +} + +// GetChannelName returns the ChannelName field value +func (o *RunTransactionRequest) GetChannelName() string { + if o == nil { + var ret string + return ret + } + + return o.ChannelName +} + +// GetChannelNameOk returns a tuple with the ChannelName field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetChannelNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChannelName, true +} + +// SetChannelName sets field value +func (o *RunTransactionRequest) SetChannelName(v string) { + o.ChannelName = v +} + +// GetContractName returns the ContractName field value +func (o *RunTransactionRequest) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *RunTransactionRequest) SetContractName(v string) { + o.ContractName = v +} + +// GetInvocationType returns the InvocationType field value +func (o *RunTransactionRequest) GetInvocationType() FabricContractInvocationType { + if o == nil { + var ret FabricContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetInvocationTypeOk() (*FabricContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *RunTransactionRequest) SetInvocationType(v FabricContractInvocationType) { + o.InvocationType = v +} + +// GetMethodName returns the MethodName field value +func (o *RunTransactionRequest) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *RunTransactionRequest) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value +func (o *RunTransactionRequest) GetParams() []*string { + if o == nil { + var ret []*string + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetParamsOk() ([]*string, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *RunTransactionRequest) SetParams(v []*string) { + o.Params = v +} + +// GetResponseType returns the ResponseType field value if set, zero value otherwise. +func (o *RunTransactionRequest) GetResponseType() RunTransactionResponseType { + if o == nil || IsNil(o.ResponseType) { + var ret RunTransactionResponseType + return ret + } + return *o.ResponseType +} + +// GetResponseTypeOk returns a tuple with the ResponseType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetResponseTypeOk() (*RunTransactionResponseType, bool) { + if o == nil || IsNil(o.ResponseType) { + return nil, false + } + return o.ResponseType, true +} + +// HasResponseType returns a boolean if a field has been set. +func (o *RunTransactionRequest) HasResponseType() bool { + if o != nil && !IsNil(o.ResponseType) { + return true + } + + return false +} + +// SetResponseType gets a reference to the given RunTransactionResponseType and assigns it to the ResponseType field. +func (o *RunTransactionRequest) SetResponseType(v RunTransactionResponseType) { + o.ResponseType = &v +} + +func (o RunTransactionRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.EndorsingPeers) { + toSerialize["endorsingPeers"] = o.EndorsingPeers + } + if !IsNil(o.EndorsingOrgs) { + toSerialize["endorsingOrgs"] = o.EndorsingOrgs + } + if o.TransientData != nil { + toSerialize["transientData"] = o.TransientData + } + if !IsNil(o.GatewayOptions) { + toSerialize["gatewayOptions"] = o.GatewayOptions + } + toSerialize["signingCredential"] = o.SigningCredential + toSerialize["channelName"] = o.ChannelName + toSerialize["contractName"] = o.ContractName + toSerialize["invocationType"] = o.InvocationType + toSerialize["methodName"] = o.MethodName + toSerialize["params"] = o.Params + if !IsNil(o.ResponseType) { + toSerialize["responseType"] = o.ResponseType + } + return toSerialize, nil +} + +type NullableRunTransactionRequest struct { + value *RunTransactionRequest + isSet bool +} + +func (v NullableRunTransactionRequest) Get() *RunTransactionRequest { + return v.value +} + +func (v *NullableRunTransactionRequest) Set(val *RunTransactionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionRequest(val *RunTransactionRequest) *NullableRunTransactionRequest { + return &NullableRunTransactionRequest{value: val, isSet: true} +} + +func (v NullableRunTransactionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_transaction_response.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_transaction_response.go new file mode 100644 index 00000000000..20c74f33571 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_transaction_response.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the RunTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionResponse{} + +// RunTransactionResponse struct for RunTransactionResponse +type RunTransactionResponse struct { + FunctionOutput string `json:"functionOutput"` + TransactionId string `json:"transactionId"` +} + +// NewRunTransactionResponse instantiates a new RunTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionResponse(functionOutput string, transactionId string) *RunTransactionResponse { + this := RunTransactionResponse{} + this.FunctionOutput = functionOutput + this.TransactionId = transactionId + return &this +} + +// NewRunTransactionResponseWithDefaults instantiates a new RunTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionResponseWithDefaults() *RunTransactionResponse { + this := RunTransactionResponse{} + return &this +} + +// GetFunctionOutput returns the FunctionOutput field value +func (o *RunTransactionResponse) GetFunctionOutput() string { + if o == nil { + var ret string + return ret + } + + return o.FunctionOutput +} + +// GetFunctionOutputOk returns a tuple with the FunctionOutput field value +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetFunctionOutputOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FunctionOutput, true +} + +// SetFunctionOutput sets field value +func (o *RunTransactionResponse) SetFunctionOutput(v string) { + o.FunctionOutput = v +} + +// GetTransactionId returns the TransactionId field value +func (o *RunTransactionResponse) GetTransactionId() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionId +} + +// GetTransactionIdOk returns a tuple with the TransactionId field value +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetTransactionIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionId, true +} + +// SetTransactionId sets field value +func (o *RunTransactionResponse) SetTransactionId(v string) { + o.TransactionId = v +} + +func (o RunTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["functionOutput"] = o.FunctionOutput + toSerialize["transactionId"] = o.TransactionId + return toSerialize, nil +} + +type NullableRunTransactionResponse struct { + value *RunTransactionResponse + isSet bool +} + +func (v NullableRunTransactionResponse) Get() *RunTransactionResponse { + return v.value +} + +func (v *NullableRunTransactionResponse) Set(val *RunTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionResponse(val *RunTransactionResponse) *NullableRunTransactionResponse { + return &NullableRunTransactionResponse{value: val, isSet: true} +} + +func (v NullableRunTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_transaction_response_type.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_transaction_response_type.go new file mode 100644 index 00000000000..721010bf2f3 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_run_transaction_response_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// RunTransactionResponseType Response format from transaction / query execution +type RunTransactionResponseType string + +// List of RunTransactionResponseType +const ( + JSON RunTransactionResponseType = "org.hyperledger.cacti.api.hlfabric.RunTransactionResponseType.JSON" + UTF8 RunTransactionResponseType = "org.hyperledger.cacti.api.hlfabric.RunTransactionResponseType.UTF8" +) + +// All allowed values of RunTransactionResponseType enum +var AllowedRunTransactionResponseTypeEnumValues = []RunTransactionResponseType{ + "org.hyperledger.cacti.api.hlfabric.RunTransactionResponseType.JSON", + "org.hyperledger.cacti.api.hlfabric.RunTransactionResponseType.UTF8", +} + +func (v *RunTransactionResponseType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RunTransactionResponseType(value) + for _, existing := range AllowedRunTransactionResponseTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RunTransactionResponseType", value) +} + +// NewRunTransactionResponseTypeFromValue returns a pointer to a valid RunTransactionResponseType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRunTransactionResponseTypeFromValue(v string) (*RunTransactionResponseType, error) { + ev := RunTransactionResponseType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RunTransactionResponseType: valid values are %v", v, AllowedRunTransactionResponseTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RunTransactionResponseType) IsValid() bool { + for _, existing := range AllowedRunTransactionResponseTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to RunTransactionResponseType value +func (v RunTransactionResponseType) Ptr() *RunTransactionResponseType { + return &v +} + +type NullableRunTransactionResponseType struct { + value *RunTransactionResponseType + isSet bool +} + +func (v NullableRunTransactionResponseType) Get() *RunTransactionResponseType { + return v.value +} + +func (v *NullableRunTransactionResponseType) Set(val *RunTransactionResponseType) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionResponseType) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionResponseType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionResponseType(val *RunTransactionResponseType) *NullableRunTransactionResponseType { + return &NullableRunTransactionResponseType{value: val, isSet: true} +} + +func (v NullableRunTransactionResponseType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionResponseType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_ssh_exec_command_response.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_ssh_exec_command_response.go new file mode 100644 index 00000000000..e50c47a3444 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_ssh_exec_command_response.go @@ -0,0 +1,202 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the SSHExecCommandResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SSHExecCommandResponse{} + +// SSHExecCommandResponse struct for SSHExecCommandResponse +type SSHExecCommandResponse struct { + Stdout string `json:"stdout"` + Stderr string `json:"stderr"` + Code NullableInt32 `json:"code"` + Signal NullableString `json:"signal"` +} + +// NewSSHExecCommandResponse instantiates a new SSHExecCommandResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSSHExecCommandResponse(stdout string, stderr string, code NullableInt32, signal NullableString) *SSHExecCommandResponse { + this := SSHExecCommandResponse{} + this.Stdout = stdout + this.Stderr = stderr + this.Code = code + this.Signal = signal + return &this +} + +// NewSSHExecCommandResponseWithDefaults instantiates a new SSHExecCommandResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSSHExecCommandResponseWithDefaults() *SSHExecCommandResponse { + this := SSHExecCommandResponse{} + return &this +} + +// GetStdout returns the Stdout field value +func (o *SSHExecCommandResponse) GetStdout() string { + if o == nil { + var ret string + return ret + } + + return o.Stdout +} + +// GetStdoutOk returns a tuple with the Stdout field value +// and a boolean to check if the value has been set. +func (o *SSHExecCommandResponse) GetStdoutOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Stdout, true +} + +// SetStdout sets field value +func (o *SSHExecCommandResponse) SetStdout(v string) { + o.Stdout = v +} + +// GetStderr returns the Stderr field value +func (o *SSHExecCommandResponse) GetStderr() string { + if o == nil { + var ret string + return ret + } + + return o.Stderr +} + +// GetStderrOk returns a tuple with the Stderr field value +// and a boolean to check if the value has been set. +func (o *SSHExecCommandResponse) GetStderrOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Stderr, true +} + +// SetStderr sets field value +func (o *SSHExecCommandResponse) SetStderr(v string) { + o.Stderr = v +} + +// GetCode returns the Code field value +// If the value is explicit nil, the zero value for int32 will be returned +func (o *SSHExecCommandResponse) GetCode() int32 { + if o == nil || o.Code.Get() == nil { + var ret int32 + return ret + } + + return *o.Code.Get() +} + +// GetCodeOk returns a tuple with the Code field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SSHExecCommandResponse) GetCodeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Code.Get(), o.Code.IsSet() +} + +// SetCode sets field value +func (o *SSHExecCommandResponse) SetCode(v int32) { + o.Code.Set(&v) +} + +// GetSignal returns the Signal field value +// If the value is explicit nil, the zero value for string will be returned +func (o *SSHExecCommandResponse) GetSignal() string { + if o == nil || o.Signal.Get() == nil { + var ret string + return ret + } + + return *o.Signal.Get() +} + +// GetSignalOk returns a tuple with the Signal field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SSHExecCommandResponse) GetSignalOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Signal.Get(), o.Signal.IsSet() +} + +// SetSignal sets field value +func (o *SSHExecCommandResponse) SetSignal(v string) { + o.Signal.Set(&v) +} + +func (o SSHExecCommandResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SSHExecCommandResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["stdout"] = o.Stdout + toSerialize["stderr"] = o.Stderr + toSerialize["code"] = o.Code.Get() + toSerialize["signal"] = o.Signal.Get() + return toSerialize, nil +} + +type NullableSSHExecCommandResponse struct { + value *SSHExecCommandResponse + isSet bool +} + +func (v NullableSSHExecCommandResponse) Get() *SSHExecCommandResponse { + return v.value +} + +func (v *NullableSSHExecCommandResponse) Set(val *SSHExecCommandResponse) { + v.value = val + v.isSet = true +} + +func (v NullableSSHExecCommandResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableSSHExecCommandResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSSHExecCommandResponse(val *SSHExecCommandResponse) *NullableSSHExecCommandResponse { + return &NullableSSHExecCommandResponse{value: val, isSet: true} +} + +func (v NullableSSHExecCommandResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSSHExecCommandResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_transact_receipt_block_meta_data.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_transact_receipt_block_meta_data.go new file mode 100644 index 00000000000..e1bf1a63dd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_transact_receipt_block_meta_data.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the TransactReceiptBlockMetaData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransactReceiptBlockMetaData{} + +// TransactReceiptBlockMetaData struct for TransactReceiptBlockMetaData +type TransactReceiptBlockMetaData struct { + Mspid *string `json:"mspid,omitempty"` + BlockCreatorID *string `json:"blockCreatorID,omitempty"` + Signature *string `json:"signature,omitempty"` +} + +// NewTransactReceiptBlockMetaData instantiates a new TransactReceiptBlockMetaData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransactReceiptBlockMetaData() *TransactReceiptBlockMetaData { + this := TransactReceiptBlockMetaData{} + return &this +} + +// NewTransactReceiptBlockMetaDataWithDefaults instantiates a new TransactReceiptBlockMetaData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransactReceiptBlockMetaDataWithDefaults() *TransactReceiptBlockMetaData { + this := TransactReceiptBlockMetaData{} + return &this +} + +// GetMspid returns the Mspid field value if set, zero value otherwise. +func (o *TransactReceiptBlockMetaData) GetMspid() string { + if o == nil || IsNil(o.Mspid) { + var ret string + return ret + } + return *o.Mspid +} + +// GetMspidOk returns a tuple with the Mspid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactReceiptBlockMetaData) GetMspidOk() (*string, bool) { + if o == nil || IsNil(o.Mspid) { + return nil, false + } + return o.Mspid, true +} + +// HasMspid returns a boolean if a field has been set. +func (o *TransactReceiptBlockMetaData) HasMspid() bool { + if o != nil && !IsNil(o.Mspid) { + return true + } + + return false +} + +// SetMspid gets a reference to the given string and assigns it to the Mspid field. +func (o *TransactReceiptBlockMetaData) SetMspid(v string) { + o.Mspid = &v +} + +// GetBlockCreatorID returns the BlockCreatorID field value if set, zero value otherwise. +func (o *TransactReceiptBlockMetaData) GetBlockCreatorID() string { + if o == nil || IsNil(o.BlockCreatorID) { + var ret string + return ret + } + return *o.BlockCreatorID +} + +// GetBlockCreatorIDOk returns a tuple with the BlockCreatorID field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactReceiptBlockMetaData) GetBlockCreatorIDOk() (*string, bool) { + if o == nil || IsNil(o.BlockCreatorID) { + return nil, false + } + return o.BlockCreatorID, true +} + +// HasBlockCreatorID returns a boolean if a field has been set. +func (o *TransactReceiptBlockMetaData) HasBlockCreatorID() bool { + if o != nil && !IsNil(o.BlockCreatorID) { + return true + } + + return false +} + +// SetBlockCreatorID gets a reference to the given string and assigns it to the BlockCreatorID field. +func (o *TransactReceiptBlockMetaData) SetBlockCreatorID(v string) { + o.BlockCreatorID = &v +} + +// GetSignature returns the Signature field value if set, zero value otherwise. +func (o *TransactReceiptBlockMetaData) GetSignature() string { + if o == nil || IsNil(o.Signature) { + var ret string + return ret + } + return *o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactReceiptBlockMetaData) GetSignatureOk() (*string, bool) { + if o == nil || IsNil(o.Signature) { + return nil, false + } + return o.Signature, true +} + +// HasSignature returns a boolean if a field has been set. +func (o *TransactReceiptBlockMetaData) HasSignature() bool { + if o != nil && !IsNil(o.Signature) { + return true + } + + return false +} + +// SetSignature gets a reference to the given string and assigns it to the Signature field. +func (o *TransactReceiptBlockMetaData) SetSignature(v string) { + o.Signature = &v +} + +func (o TransactReceiptBlockMetaData) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransactReceiptBlockMetaData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Mspid) { + toSerialize["mspid"] = o.Mspid + } + if !IsNil(o.BlockCreatorID) { + toSerialize["blockCreatorID"] = o.BlockCreatorID + } + if !IsNil(o.Signature) { + toSerialize["signature"] = o.Signature + } + return toSerialize, nil +} + +type NullableTransactReceiptBlockMetaData struct { + value *TransactReceiptBlockMetaData + isSet bool +} + +func (v NullableTransactReceiptBlockMetaData) Get() *TransactReceiptBlockMetaData { + return v.value +} + +func (v *NullableTransactReceiptBlockMetaData) Set(val *TransactReceiptBlockMetaData) { + v.value = val + v.isSet = true +} + +func (v NullableTransactReceiptBlockMetaData) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactReceiptBlockMetaData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactReceiptBlockMetaData(val *TransactReceiptBlockMetaData) *NullableTransactReceiptBlockMetaData { + return &NullableTransactReceiptBlockMetaData{value: val, isSet: true} +} + +func (v NullableTransactReceiptBlockMetaData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactReceiptBlockMetaData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_transact_receipt_transaction_creator.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_transact_receipt_transaction_creator.go new file mode 100644 index 00000000000..06e9b6ac958 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_transact_receipt_transaction_creator.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the TransactReceiptTransactionCreator type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransactReceiptTransactionCreator{} + +// TransactReceiptTransactionCreator struct for TransactReceiptTransactionCreator +type TransactReceiptTransactionCreator struct { + Mspid *string `json:"mspid,omitempty"` + CreatorID *string `json:"creatorID,omitempty"` +} + +// NewTransactReceiptTransactionCreator instantiates a new TransactReceiptTransactionCreator object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransactReceiptTransactionCreator() *TransactReceiptTransactionCreator { + this := TransactReceiptTransactionCreator{} + return &this +} + +// NewTransactReceiptTransactionCreatorWithDefaults instantiates a new TransactReceiptTransactionCreator object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransactReceiptTransactionCreatorWithDefaults() *TransactReceiptTransactionCreator { + this := TransactReceiptTransactionCreator{} + return &this +} + +// GetMspid returns the Mspid field value if set, zero value otherwise. +func (o *TransactReceiptTransactionCreator) GetMspid() string { + if o == nil || IsNil(o.Mspid) { + var ret string + return ret + } + return *o.Mspid +} + +// GetMspidOk returns a tuple with the Mspid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactReceiptTransactionCreator) GetMspidOk() (*string, bool) { + if o == nil || IsNil(o.Mspid) { + return nil, false + } + return o.Mspid, true +} + +// HasMspid returns a boolean if a field has been set. +func (o *TransactReceiptTransactionCreator) HasMspid() bool { + if o != nil && !IsNil(o.Mspid) { + return true + } + + return false +} + +// SetMspid gets a reference to the given string and assigns it to the Mspid field. +func (o *TransactReceiptTransactionCreator) SetMspid(v string) { + o.Mspid = &v +} + +// GetCreatorID returns the CreatorID field value if set, zero value otherwise. +func (o *TransactReceiptTransactionCreator) GetCreatorID() string { + if o == nil || IsNil(o.CreatorID) { + var ret string + return ret + } + return *o.CreatorID +} + +// GetCreatorIDOk returns a tuple with the CreatorID field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactReceiptTransactionCreator) GetCreatorIDOk() (*string, bool) { + if o == nil || IsNil(o.CreatorID) { + return nil, false + } + return o.CreatorID, true +} + +// HasCreatorID returns a boolean if a field has been set. +func (o *TransactReceiptTransactionCreator) HasCreatorID() bool { + if o != nil && !IsNil(o.CreatorID) { + return true + } + + return false +} + +// SetCreatorID gets a reference to the given string and assigns it to the CreatorID field. +func (o *TransactReceiptTransactionCreator) SetCreatorID(v string) { + o.CreatorID = &v +} + +func (o TransactReceiptTransactionCreator) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransactReceiptTransactionCreator) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Mspid) { + toSerialize["mspid"] = o.Mspid + } + if !IsNil(o.CreatorID) { + toSerialize["creatorID"] = o.CreatorID + } + return toSerialize, nil +} + +type NullableTransactReceiptTransactionCreator struct { + value *TransactReceiptTransactionCreator + isSet bool +} + +func (v NullableTransactReceiptTransactionCreator) Get() *TransactReceiptTransactionCreator { + return v.value +} + +func (v *NullableTransactReceiptTransactionCreator) Set(val *TransactReceiptTransactionCreator) { + v.value = val + v.isSet = true +} + +func (v NullableTransactReceiptTransactionCreator) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactReceiptTransactionCreator) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactReceiptTransactionCreator(val *TransactReceiptTransactionCreator) *NullableTransactReceiptTransactionCreator { + return &NullableTransactReceiptTransactionCreator{value: val, isSet: true} +} + +func (v NullableTransactReceiptTransactionCreator) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactReceiptTransactionCreator) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_transact_receipt_transaction_endorsement.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_transact_receipt_transaction_endorsement.go new file mode 100644 index 00000000000..5544859e0de --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_transact_receipt_transaction_endorsement.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the TransactReceiptTransactionEndorsement type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransactReceiptTransactionEndorsement{} + +// TransactReceiptTransactionEndorsement struct for TransactReceiptTransactionEndorsement +type TransactReceiptTransactionEndorsement struct { + Mspid *string `json:"mspid,omitempty"` + EndorserID *string `json:"endorserID,omitempty"` + Signature *string `json:"signature,omitempty"` +} + +// NewTransactReceiptTransactionEndorsement instantiates a new TransactReceiptTransactionEndorsement object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransactReceiptTransactionEndorsement() *TransactReceiptTransactionEndorsement { + this := TransactReceiptTransactionEndorsement{} + return &this +} + +// NewTransactReceiptTransactionEndorsementWithDefaults instantiates a new TransactReceiptTransactionEndorsement object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransactReceiptTransactionEndorsementWithDefaults() *TransactReceiptTransactionEndorsement { + this := TransactReceiptTransactionEndorsement{} + return &this +} + +// GetMspid returns the Mspid field value if set, zero value otherwise. +func (o *TransactReceiptTransactionEndorsement) GetMspid() string { + if o == nil || IsNil(o.Mspid) { + var ret string + return ret + } + return *o.Mspid +} + +// GetMspidOk returns a tuple with the Mspid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactReceiptTransactionEndorsement) GetMspidOk() (*string, bool) { + if o == nil || IsNil(o.Mspid) { + return nil, false + } + return o.Mspid, true +} + +// HasMspid returns a boolean if a field has been set. +func (o *TransactReceiptTransactionEndorsement) HasMspid() bool { + if o != nil && !IsNil(o.Mspid) { + return true + } + + return false +} + +// SetMspid gets a reference to the given string and assigns it to the Mspid field. +func (o *TransactReceiptTransactionEndorsement) SetMspid(v string) { + o.Mspid = &v +} + +// GetEndorserID returns the EndorserID field value if set, zero value otherwise. +func (o *TransactReceiptTransactionEndorsement) GetEndorserID() string { + if o == nil || IsNil(o.EndorserID) { + var ret string + return ret + } + return *o.EndorserID +} + +// GetEndorserIDOk returns a tuple with the EndorserID field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactReceiptTransactionEndorsement) GetEndorserIDOk() (*string, bool) { + if o == nil || IsNil(o.EndorserID) { + return nil, false + } + return o.EndorserID, true +} + +// HasEndorserID returns a boolean if a field has been set. +func (o *TransactReceiptTransactionEndorsement) HasEndorserID() bool { + if o != nil && !IsNil(o.EndorserID) { + return true + } + + return false +} + +// SetEndorserID gets a reference to the given string and assigns it to the EndorserID field. +func (o *TransactReceiptTransactionEndorsement) SetEndorserID(v string) { + o.EndorserID = &v +} + +// GetSignature returns the Signature field value if set, zero value otherwise. +func (o *TransactReceiptTransactionEndorsement) GetSignature() string { + if o == nil || IsNil(o.Signature) { + var ret string + return ret + } + return *o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactReceiptTransactionEndorsement) GetSignatureOk() (*string, bool) { + if o == nil || IsNil(o.Signature) { + return nil, false + } + return o.Signature, true +} + +// HasSignature returns a boolean if a field has been set. +func (o *TransactReceiptTransactionEndorsement) HasSignature() bool { + if o != nil && !IsNil(o.Signature) { + return true + } + + return false +} + +// SetSignature gets a reference to the given string and assigns it to the Signature field. +func (o *TransactReceiptTransactionEndorsement) SetSignature(v string) { + o.Signature = &v +} + +func (o TransactReceiptTransactionEndorsement) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransactReceiptTransactionEndorsement) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Mspid) { + toSerialize["mspid"] = o.Mspid + } + if !IsNil(o.EndorserID) { + toSerialize["endorserID"] = o.EndorserID + } + if !IsNil(o.Signature) { + toSerialize["signature"] = o.Signature + } + return toSerialize, nil +} + +type NullableTransactReceiptTransactionEndorsement struct { + value *TransactReceiptTransactionEndorsement + isSet bool +} + +func (v NullableTransactReceiptTransactionEndorsement) Get() *TransactReceiptTransactionEndorsement { + return v.value +} + +func (v *NullableTransactReceiptTransactionEndorsement) Set(val *TransactReceiptTransactionEndorsement) { + v.value = val + v.isSet = true +} + +func (v NullableTransactReceiptTransactionEndorsement) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactReceiptTransactionEndorsement) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactReceiptTransactionEndorsement(val *TransactReceiptTransactionEndorsement) *NullableTransactReceiptTransactionEndorsement { + return &NullableTransactReceiptTransactionEndorsement{value: val, isSet: true} +} + +func (v NullableTransactReceiptTransactionEndorsement) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactReceiptTransactionEndorsement) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_vault_transit_key.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_vault_transit_key.go new file mode 100644 index 00000000000..0ad1d2f1603 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_vault_transit_key.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the VaultTransitKey type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &VaultTransitKey{} + +// VaultTransitKey vault key details for signing fabric message with private key stored with transit engine. +type VaultTransitKey struct { + // label of private key + KeyName string `json:"keyName"` + // token for accessing private key + Token string `json:"token"` +} + +// NewVaultTransitKey instantiates a new VaultTransitKey object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewVaultTransitKey(keyName string, token string) *VaultTransitKey { + this := VaultTransitKey{} + this.KeyName = keyName + this.Token = token + return &this +} + +// NewVaultTransitKeyWithDefaults instantiates a new VaultTransitKey object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewVaultTransitKeyWithDefaults() *VaultTransitKey { + this := VaultTransitKey{} + return &this +} + +// GetKeyName returns the KeyName field value +func (o *VaultTransitKey) GetKeyName() string { + if o == nil { + var ret string + return ret + } + + return o.KeyName +} + +// GetKeyNameOk returns a tuple with the KeyName field value +// and a boolean to check if the value has been set. +func (o *VaultTransitKey) GetKeyNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeyName, true +} + +// SetKeyName sets field value +func (o *VaultTransitKey) SetKeyName(v string) { + o.KeyName = v +} + +// GetToken returns the Token field value +func (o *VaultTransitKey) GetToken() string { + if o == nil { + var ret string + return ret + } + + return o.Token +} + +// GetTokenOk returns a tuple with the Token field value +// and a boolean to check if the value has been set. +func (o *VaultTransitKey) GetTokenOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Token, true +} + +// SetToken sets field value +func (o *VaultTransitKey) SetToken(v string) { + o.Token = v +} + +func (o VaultTransitKey) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o VaultTransitKey) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["keyName"] = o.KeyName + toSerialize["token"] = o.Token + return toSerialize, nil +} + +type NullableVaultTransitKey struct { + value *VaultTransitKey + isSet bool +} + +func (v NullableVaultTransitKey) Get() *VaultTransitKey { + return v.value +} + +func (v *NullableVaultTransitKey) Set(val *VaultTransitKey) { + v.value = val + v.isSet = true +} + +func (v NullableVaultTransitKey) IsSet() bool { + return v.isSet +} + +func (v *NullableVaultTransitKey) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVaultTransitKey(val *VaultTransitKey) *NullableVaultTransitKey { + return &NullableVaultTransitKey{value: val, isSet: true} +} + +func (v NullableVaultTransitKey) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVaultTransitKey) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_cactus_error_response_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_cactus_error_response_v1.go new file mode 100644 index 00000000000..e9d86d8d219 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_cactus_error_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the WatchBlocksCactusErrorResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksCactusErrorResponseV1{} + +// WatchBlocksCactusErrorResponseV1 Error response from WatchBlocks operation. +type WatchBlocksCactusErrorResponseV1 struct { + // Error code. + Code float32 `json:"code"` + // Description of the error. + ErrorMessage string `json:"errorMessage"` +} + +// NewWatchBlocksCactusErrorResponseV1 instantiates a new WatchBlocksCactusErrorResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksCactusErrorResponseV1(code float32, errorMessage string) *WatchBlocksCactusErrorResponseV1 { + this := WatchBlocksCactusErrorResponseV1{} + this.Code = code + this.ErrorMessage = errorMessage + return &this +} + +// NewWatchBlocksCactusErrorResponseV1WithDefaults instantiates a new WatchBlocksCactusErrorResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksCactusErrorResponseV1WithDefaults() *WatchBlocksCactusErrorResponseV1 { + this := WatchBlocksCactusErrorResponseV1{} + return &this +} + +// GetCode returns the Code field value +func (o *WatchBlocksCactusErrorResponseV1) GetCode() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Code +} + +// GetCodeOk returns a tuple with the Code field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksCactusErrorResponseV1) GetCodeOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Code, true +} + +// SetCode sets field value +func (o *WatchBlocksCactusErrorResponseV1) SetCode(v float32) { + o.Code = v +} + +// GetErrorMessage returns the ErrorMessage field value +func (o *WatchBlocksCactusErrorResponseV1) GetErrorMessage() string { + if o == nil { + var ret string + return ret + } + + return o.ErrorMessage +} + +// GetErrorMessageOk returns a tuple with the ErrorMessage field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksCactusErrorResponseV1) GetErrorMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ErrorMessage, true +} + +// SetErrorMessage sets field value +func (o *WatchBlocksCactusErrorResponseV1) SetErrorMessage(v string) { + o.ErrorMessage = v +} + +func (o WatchBlocksCactusErrorResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksCactusErrorResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["code"] = o.Code + toSerialize["errorMessage"] = o.ErrorMessage + return toSerialize, nil +} + +type NullableWatchBlocksCactusErrorResponseV1 struct { + value *WatchBlocksCactusErrorResponseV1 + isSet bool +} + +func (v NullableWatchBlocksCactusErrorResponseV1) Get() *WatchBlocksCactusErrorResponseV1 { + return v.value +} + +func (v *NullableWatchBlocksCactusErrorResponseV1) Set(val *WatchBlocksCactusErrorResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksCactusErrorResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksCactusErrorResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksCactusErrorResponseV1(val *WatchBlocksCactusErrorResponseV1) *NullableWatchBlocksCactusErrorResponseV1 { + return &NullableWatchBlocksCactusErrorResponseV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksCactusErrorResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksCactusErrorResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_cactus_transactions_event_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_cactus_transactions_event_v1.go new file mode 100644 index 00000000000..7b5cf178bf8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_cactus_transactions_event_v1.go @@ -0,0 +1,202 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the WatchBlocksCactusTransactionsEventV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksCactusTransactionsEventV1{} + +// WatchBlocksCactusTransactionsEventV1 Transaction summary from commited block. +type WatchBlocksCactusTransactionsEventV1 struct { + // ChainCode containing function that was executed. + ChaincodeId string `json:"chaincodeId"` + // Transaction identifier. + TransactionId string `json:"transactionId"` + // Function name that was executed. + FunctionName string `json:"functionName"` + // List of function arguments. + FunctionArgs []string `json:"functionArgs"` +} + +// NewWatchBlocksCactusTransactionsEventV1 instantiates a new WatchBlocksCactusTransactionsEventV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksCactusTransactionsEventV1(chaincodeId string, transactionId string, functionName string, functionArgs []string) *WatchBlocksCactusTransactionsEventV1 { + this := WatchBlocksCactusTransactionsEventV1{} + this.ChaincodeId = chaincodeId + this.TransactionId = transactionId + this.FunctionName = functionName + this.FunctionArgs = functionArgs + return &this +} + +// NewWatchBlocksCactusTransactionsEventV1WithDefaults instantiates a new WatchBlocksCactusTransactionsEventV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksCactusTransactionsEventV1WithDefaults() *WatchBlocksCactusTransactionsEventV1 { + this := WatchBlocksCactusTransactionsEventV1{} + return &this +} + +// GetChaincodeId returns the ChaincodeId field value +func (o *WatchBlocksCactusTransactionsEventV1) GetChaincodeId() string { + if o == nil { + var ret string + return ret + } + + return o.ChaincodeId +} + +// GetChaincodeIdOk returns a tuple with the ChaincodeId field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksCactusTransactionsEventV1) GetChaincodeIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChaincodeId, true +} + +// SetChaincodeId sets field value +func (o *WatchBlocksCactusTransactionsEventV1) SetChaincodeId(v string) { + o.ChaincodeId = v +} + +// GetTransactionId returns the TransactionId field value +func (o *WatchBlocksCactusTransactionsEventV1) GetTransactionId() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionId +} + +// GetTransactionIdOk returns a tuple with the TransactionId field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksCactusTransactionsEventV1) GetTransactionIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionId, true +} + +// SetTransactionId sets field value +func (o *WatchBlocksCactusTransactionsEventV1) SetTransactionId(v string) { + o.TransactionId = v +} + +// GetFunctionName returns the FunctionName field value +func (o *WatchBlocksCactusTransactionsEventV1) GetFunctionName() string { + if o == nil { + var ret string + return ret + } + + return o.FunctionName +} + +// GetFunctionNameOk returns a tuple with the FunctionName field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksCactusTransactionsEventV1) GetFunctionNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FunctionName, true +} + +// SetFunctionName sets field value +func (o *WatchBlocksCactusTransactionsEventV1) SetFunctionName(v string) { + o.FunctionName = v +} + +// GetFunctionArgs returns the FunctionArgs field value +func (o *WatchBlocksCactusTransactionsEventV1) GetFunctionArgs() []string { + if o == nil { + var ret []string + return ret + } + + return o.FunctionArgs +} + +// GetFunctionArgsOk returns a tuple with the FunctionArgs field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksCactusTransactionsEventV1) GetFunctionArgsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.FunctionArgs, true +} + +// SetFunctionArgs sets field value +func (o *WatchBlocksCactusTransactionsEventV1) SetFunctionArgs(v []string) { + o.FunctionArgs = v +} + +func (o WatchBlocksCactusTransactionsEventV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksCactusTransactionsEventV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["chaincodeId"] = o.ChaincodeId + toSerialize["transactionId"] = o.TransactionId + toSerialize["functionName"] = o.FunctionName + toSerialize["functionArgs"] = o.FunctionArgs + return toSerialize, nil +} + +type NullableWatchBlocksCactusTransactionsEventV1 struct { + value *WatchBlocksCactusTransactionsEventV1 + isSet bool +} + +func (v NullableWatchBlocksCactusTransactionsEventV1) Get() *WatchBlocksCactusTransactionsEventV1 { + return v.value +} + +func (v *NullableWatchBlocksCactusTransactionsEventV1) Set(val *WatchBlocksCactusTransactionsEventV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksCactusTransactionsEventV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksCactusTransactionsEventV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksCactusTransactionsEventV1(val *WatchBlocksCactusTransactionsEventV1) *NullableWatchBlocksCactusTransactionsEventV1 { + return &NullableWatchBlocksCactusTransactionsEventV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksCactusTransactionsEventV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksCactusTransactionsEventV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_cactus_transactions_response_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_cactus_transactions_response_v1.go new file mode 100644 index 00000000000..53f1b3b6f61 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_cactus_transactions_response_v1.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the WatchBlocksCactusTransactionsResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksCactusTransactionsResponseV1{} + +// WatchBlocksCactusTransactionsResponseV1 Custom response containing block transactions summary. Compatible with legacy fabric-socketio connector monitoring. +type WatchBlocksCactusTransactionsResponseV1 struct { + // List of transactions summary + CactusTransactionsEvents []WatchBlocksCactusTransactionsEventV1 `json:"cactusTransactionsEvents"` +} + +// NewWatchBlocksCactusTransactionsResponseV1 instantiates a new WatchBlocksCactusTransactionsResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksCactusTransactionsResponseV1(cactusTransactionsEvents []WatchBlocksCactusTransactionsEventV1) *WatchBlocksCactusTransactionsResponseV1 { + this := WatchBlocksCactusTransactionsResponseV1{} + this.CactusTransactionsEvents = cactusTransactionsEvents + return &this +} + +// NewWatchBlocksCactusTransactionsResponseV1WithDefaults instantiates a new WatchBlocksCactusTransactionsResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksCactusTransactionsResponseV1WithDefaults() *WatchBlocksCactusTransactionsResponseV1 { + this := WatchBlocksCactusTransactionsResponseV1{} + return &this +} + +// GetCactusTransactionsEvents returns the CactusTransactionsEvents field value +func (o *WatchBlocksCactusTransactionsResponseV1) GetCactusTransactionsEvents() []WatchBlocksCactusTransactionsEventV1 { + if o == nil { + var ret []WatchBlocksCactusTransactionsEventV1 + return ret + } + + return o.CactusTransactionsEvents +} + +// GetCactusTransactionsEventsOk returns a tuple with the CactusTransactionsEvents field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksCactusTransactionsResponseV1) GetCactusTransactionsEventsOk() ([]WatchBlocksCactusTransactionsEventV1, bool) { + if o == nil { + return nil, false + } + return o.CactusTransactionsEvents, true +} + +// SetCactusTransactionsEvents sets field value +func (o *WatchBlocksCactusTransactionsResponseV1) SetCactusTransactionsEvents(v []WatchBlocksCactusTransactionsEventV1) { + o.CactusTransactionsEvents = v +} + +func (o WatchBlocksCactusTransactionsResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksCactusTransactionsResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["cactusTransactionsEvents"] = o.CactusTransactionsEvents + return toSerialize, nil +} + +type NullableWatchBlocksCactusTransactionsResponseV1 struct { + value *WatchBlocksCactusTransactionsResponseV1 + isSet bool +} + +func (v NullableWatchBlocksCactusTransactionsResponseV1) Get() *WatchBlocksCactusTransactionsResponseV1 { + return v.value +} + +func (v *NullableWatchBlocksCactusTransactionsResponseV1) Set(val *WatchBlocksCactusTransactionsResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksCactusTransactionsResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksCactusTransactionsResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksCactusTransactionsResponseV1(val *WatchBlocksCactusTransactionsResponseV1) *NullableWatchBlocksCactusTransactionsResponseV1 { + return &NullableWatchBlocksCactusTransactionsResponseV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksCactusTransactionsResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksCactusTransactionsResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_delegated_sign_options_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_delegated_sign_options_v1.go new file mode 100644 index 00000000000..ec6d26540b0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_delegated_sign_options_v1.go @@ -0,0 +1,273 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the WatchBlocksDelegatedSignOptionsV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksDelegatedSignOptionsV1{} + +// WatchBlocksDelegatedSignOptionsV1 Options passed when subscribing to block monitoring with delegated signing. +type WatchBlocksDelegatedSignOptionsV1 struct { + Type WatchBlocksListenerTypeV1 `json:"type"` + // From which block start monitoring. Defaults to latest. + StartBlock *string `json:"startBlock,omitempty"` + ChannelName string `json:"channelName"` + SignerCertificate string `json:"signerCertificate"` + SignerMspID string `json:"signerMspID"` + // Can be used to uniquely identify and authorize signing request + UniqueTransactionData interface{} `json:"uniqueTransactionData,omitempty"` +} + +// NewWatchBlocksDelegatedSignOptionsV1 instantiates a new WatchBlocksDelegatedSignOptionsV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksDelegatedSignOptionsV1(type_ WatchBlocksListenerTypeV1, channelName string, signerCertificate string, signerMspID string) *WatchBlocksDelegatedSignOptionsV1 { + this := WatchBlocksDelegatedSignOptionsV1{} + this.Type = type_ + this.ChannelName = channelName + this.SignerCertificate = signerCertificate + this.SignerMspID = signerMspID + return &this +} + +// NewWatchBlocksDelegatedSignOptionsV1WithDefaults instantiates a new WatchBlocksDelegatedSignOptionsV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksDelegatedSignOptionsV1WithDefaults() *WatchBlocksDelegatedSignOptionsV1 { + this := WatchBlocksDelegatedSignOptionsV1{} + return &this +} + +// GetType returns the Type field value +func (o *WatchBlocksDelegatedSignOptionsV1) GetType() WatchBlocksListenerTypeV1 { + if o == nil { + var ret WatchBlocksListenerTypeV1 + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksDelegatedSignOptionsV1) GetTypeOk() (*WatchBlocksListenerTypeV1, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *WatchBlocksDelegatedSignOptionsV1) SetType(v WatchBlocksListenerTypeV1) { + o.Type = v +} + +// GetStartBlock returns the StartBlock field value if set, zero value otherwise. +func (o *WatchBlocksDelegatedSignOptionsV1) GetStartBlock() string { + if o == nil || IsNil(o.StartBlock) { + var ret string + return ret + } + return *o.StartBlock +} + +// GetStartBlockOk returns a tuple with the StartBlock field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksDelegatedSignOptionsV1) GetStartBlockOk() (*string, bool) { + if o == nil || IsNil(o.StartBlock) { + return nil, false + } + return o.StartBlock, true +} + +// HasStartBlock returns a boolean if a field has been set. +func (o *WatchBlocksDelegatedSignOptionsV1) HasStartBlock() bool { + if o != nil && !IsNil(o.StartBlock) { + return true + } + + return false +} + +// SetStartBlock gets a reference to the given string and assigns it to the StartBlock field. +func (o *WatchBlocksDelegatedSignOptionsV1) SetStartBlock(v string) { + o.StartBlock = &v +} + +// GetChannelName returns the ChannelName field value +func (o *WatchBlocksDelegatedSignOptionsV1) GetChannelName() string { + if o == nil { + var ret string + return ret + } + + return o.ChannelName +} + +// GetChannelNameOk returns a tuple with the ChannelName field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksDelegatedSignOptionsV1) GetChannelNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChannelName, true +} + +// SetChannelName sets field value +func (o *WatchBlocksDelegatedSignOptionsV1) SetChannelName(v string) { + o.ChannelName = v +} + +// GetSignerCertificate returns the SignerCertificate field value +func (o *WatchBlocksDelegatedSignOptionsV1) GetSignerCertificate() string { + if o == nil { + var ret string + return ret + } + + return o.SignerCertificate +} + +// GetSignerCertificateOk returns a tuple with the SignerCertificate field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksDelegatedSignOptionsV1) GetSignerCertificateOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SignerCertificate, true +} + +// SetSignerCertificate sets field value +func (o *WatchBlocksDelegatedSignOptionsV1) SetSignerCertificate(v string) { + o.SignerCertificate = v +} + +// GetSignerMspID returns the SignerMspID field value +func (o *WatchBlocksDelegatedSignOptionsV1) GetSignerMspID() string { + if o == nil { + var ret string + return ret + } + + return o.SignerMspID +} + +// GetSignerMspIDOk returns a tuple with the SignerMspID field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksDelegatedSignOptionsV1) GetSignerMspIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SignerMspID, true +} + +// SetSignerMspID sets field value +func (o *WatchBlocksDelegatedSignOptionsV1) SetSignerMspID(v string) { + o.SignerMspID = v +} + +// GetUniqueTransactionData returns the UniqueTransactionData field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WatchBlocksDelegatedSignOptionsV1) GetUniqueTransactionData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.UniqueTransactionData +} + +// GetUniqueTransactionDataOk returns a tuple with the UniqueTransactionData field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WatchBlocksDelegatedSignOptionsV1) GetUniqueTransactionDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.UniqueTransactionData) { + return nil, false + } + return &o.UniqueTransactionData, true +} + +// HasUniqueTransactionData returns a boolean if a field has been set. +func (o *WatchBlocksDelegatedSignOptionsV1) HasUniqueTransactionData() bool { + if o != nil && IsNil(o.UniqueTransactionData) { + return true + } + + return false +} + +// SetUniqueTransactionData gets a reference to the given interface{} and assigns it to the UniqueTransactionData field. +func (o *WatchBlocksDelegatedSignOptionsV1) SetUniqueTransactionData(v interface{}) { + o.UniqueTransactionData = v +} + +func (o WatchBlocksDelegatedSignOptionsV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksDelegatedSignOptionsV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + if !IsNil(o.StartBlock) { + toSerialize["startBlock"] = o.StartBlock + } + toSerialize["channelName"] = o.ChannelName + toSerialize["signerCertificate"] = o.SignerCertificate + toSerialize["signerMspID"] = o.SignerMspID + if o.UniqueTransactionData != nil { + toSerialize["uniqueTransactionData"] = o.UniqueTransactionData + } + return toSerialize, nil +} + +type NullableWatchBlocksDelegatedSignOptionsV1 struct { + value *WatchBlocksDelegatedSignOptionsV1 + isSet bool +} + +func (v NullableWatchBlocksDelegatedSignOptionsV1) Get() *WatchBlocksDelegatedSignOptionsV1 { + return v.value +} + +func (v *NullableWatchBlocksDelegatedSignOptionsV1) Set(val *WatchBlocksDelegatedSignOptionsV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksDelegatedSignOptionsV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksDelegatedSignOptionsV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksDelegatedSignOptionsV1(val *WatchBlocksDelegatedSignOptionsV1) *NullableWatchBlocksDelegatedSignOptionsV1 { + return &NullableWatchBlocksDelegatedSignOptionsV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksDelegatedSignOptionsV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksDelegatedSignOptionsV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_filtered_response_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_filtered_response_v1.go new file mode 100644 index 00000000000..92d2bc9d2bf --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_filtered_response_v1.go @@ -0,0 +1,122 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the WatchBlocksFilteredResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksFilteredResponseV1{} + +// WatchBlocksFilteredResponseV1 Response that corresponds to Fabric SDK 'filtered' EventType. +type WatchBlocksFilteredResponseV1 struct { + // Filtered commited block. + FilteredBlock interface{} `json:"filteredBlock"` +} + +// NewWatchBlocksFilteredResponseV1 instantiates a new WatchBlocksFilteredResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksFilteredResponseV1(filteredBlock interface{}) *WatchBlocksFilteredResponseV1 { + this := WatchBlocksFilteredResponseV1{} + this.FilteredBlock = filteredBlock + return &this +} + +// NewWatchBlocksFilteredResponseV1WithDefaults instantiates a new WatchBlocksFilteredResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksFilteredResponseV1WithDefaults() *WatchBlocksFilteredResponseV1 { + this := WatchBlocksFilteredResponseV1{} + return &this +} + +// GetFilteredBlock returns the FilteredBlock field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *WatchBlocksFilteredResponseV1) GetFilteredBlock() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.FilteredBlock +} + +// GetFilteredBlockOk returns a tuple with the FilteredBlock field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WatchBlocksFilteredResponseV1) GetFilteredBlockOk() (*interface{}, bool) { + if o == nil || IsNil(o.FilteredBlock) { + return nil, false + } + return &o.FilteredBlock, true +} + +// SetFilteredBlock sets field value +func (o *WatchBlocksFilteredResponseV1) SetFilteredBlock(v interface{}) { + o.FilteredBlock = v +} + +func (o WatchBlocksFilteredResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksFilteredResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.FilteredBlock != nil { + toSerialize["filteredBlock"] = o.FilteredBlock + } + return toSerialize, nil +} + +type NullableWatchBlocksFilteredResponseV1 struct { + value *WatchBlocksFilteredResponseV1 + isSet bool +} + +func (v NullableWatchBlocksFilteredResponseV1) Get() *WatchBlocksFilteredResponseV1 { + return v.value +} + +func (v *NullableWatchBlocksFilteredResponseV1) Set(val *WatchBlocksFilteredResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksFilteredResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksFilteredResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksFilteredResponseV1(val *WatchBlocksFilteredResponseV1) *NullableWatchBlocksFilteredResponseV1 { + return &NullableWatchBlocksFilteredResponseV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksFilteredResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksFilteredResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_full_response_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_full_response_v1.go new file mode 100644 index 00000000000..a03029fa7aa --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_full_response_v1.go @@ -0,0 +1,122 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the WatchBlocksFullResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksFullResponseV1{} + +// WatchBlocksFullResponseV1 Response that corresponds to Fabric SDK 'full' EventType. +type WatchBlocksFullResponseV1 struct { + // Full commited block. + FullBlock interface{} `json:"fullBlock"` +} + +// NewWatchBlocksFullResponseV1 instantiates a new WatchBlocksFullResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksFullResponseV1(fullBlock interface{}) *WatchBlocksFullResponseV1 { + this := WatchBlocksFullResponseV1{} + this.FullBlock = fullBlock + return &this +} + +// NewWatchBlocksFullResponseV1WithDefaults instantiates a new WatchBlocksFullResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksFullResponseV1WithDefaults() *WatchBlocksFullResponseV1 { + this := WatchBlocksFullResponseV1{} + return &this +} + +// GetFullBlock returns the FullBlock field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *WatchBlocksFullResponseV1) GetFullBlock() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.FullBlock +} + +// GetFullBlockOk returns a tuple with the FullBlock field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WatchBlocksFullResponseV1) GetFullBlockOk() (*interface{}, bool) { + if o == nil || IsNil(o.FullBlock) { + return nil, false + } + return &o.FullBlock, true +} + +// SetFullBlock sets field value +func (o *WatchBlocksFullResponseV1) SetFullBlock(v interface{}) { + o.FullBlock = v +} + +func (o WatchBlocksFullResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksFullResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.FullBlock != nil { + toSerialize["fullBlock"] = o.FullBlock + } + return toSerialize, nil +} + +type NullableWatchBlocksFullResponseV1 struct { + value *WatchBlocksFullResponseV1 + isSet bool +} + +func (v NullableWatchBlocksFullResponseV1) Get() *WatchBlocksFullResponseV1 { + return v.value +} + +func (v *NullableWatchBlocksFullResponseV1) Set(val *WatchBlocksFullResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksFullResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksFullResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksFullResponseV1(val *WatchBlocksFullResponseV1) *NullableWatchBlocksFullResponseV1 { + return &NullableWatchBlocksFullResponseV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksFullResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksFullResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_listener_type_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_listener_type_v1.go new file mode 100644 index 00000000000..b37438ecf96 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_listener_type_v1.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksListenerTypeV1 Response type from WatchBlocks. 'Cactus*' are custom views, others correspond to fabric SDK call. +type WatchBlocksListenerTypeV1 string + +// List of WatchBlocksListenerTypeV1 +const ( + Filtered WatchBlocksListenerTypeV1 = "filtered" + Full WatchBlocksListenerTypeV1 = "full" + Private WatchBlocksListenerTypeV1 = "private" + CactusTransactions WatchBlocksListenerTypeV1 = "cactus:transactions" +) + +// All allowed values of WatchBlocksListenerTypeV1 enum +var AllowedWatchBlocksListenerTypeV1EnumValues = []WatchBlocksListenerTypeV1{ + "filtered", + "full", + "private", + "cactus:transactions", +} + +func (v *WatchBlocksListenerTypeV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchBlocksListenerTypeV1(value) + for _, existing := range AllowedWatchBlocksListenerTypeV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchBlocksListenerTypeV1", value) +} + +// NewWatchBlocksListenerTypeV1FromValue returns a pointer to a valid WatchBlocksListenerTypeV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchBlocksListenerTypeV1FromValue(v string) (*WatchBlocksListenerTypeV1, error) { + ev := WatchBlocksListenerTypeV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchBlocksListenerTypeV1: valid values are %v", v, AllowedWatchBlocksListenerTypeV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchBlocksListenerTypeV1) IsValid() bool { + for _, existing := range AllowedWatchBlocksListenerTypeV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchBlocksListenerTypeV1 value +func (v WatchBlocksListenerTypeV1) Ptr() *WatchBlocksListenerTypeV1 { + return &v +} + +type NullableWatchBlocksListenerTypeV1 struct { + value *WatchBlocksListenerTypeV1 + isSet bool +} + +func (v NullableWatchBlocksListenerTypeV1) Get() *WatchBlocksListenerTypeV1 { + return v.value +} + +func (v *NullableWatchBlocksListenerTypeV1) Set(val *WatchBlocksListenerTypeV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksListenerTypeV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksListenerTypeV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksListenerTypeV1(val *WatchBlocksListenerTypeV1) *NullableWatchBlocksListenerTypeV1 { + return &NullableWatchBlocksListenerTypeV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksListenerTypeV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksListenerTypeV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_options_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_options_v1.go new file mode 100644 index 00000000000..f29dcf4eabc --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_options_v1.go @@ -0,0 +1,209 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the WatchBlocksOptionsV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksOptionsV1{} + +// WatchBlocksOptionsV1 Options passed when subscribing to block monitoring. +type WatchBlocksOptionsV1 struct { + // Hyperledger Fabric channel to connect to. + ChannelName string `json:"channelName"` + GatewayOptions GatewayOptions `json:"gatewayOptions"` + Type WatchBlocksListenerTypeV1 `json:"type"` + // From which block start monitoring. Defaults to latest. + StartBlock *string `json:"startBlock,omitempty"` +} + +// NewWatchBlocksOptionsV1 instantiates a new WatchBlocksOptionsV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksOptionsV1(channelName string, gatewayOptions GatewayOptions, type_ WatchBlocksListenerTypeV1) *WatchBlocksOptionsV1 { + this := WatchBlocksOptionsV1{} + this.ChannelName = channelName + this.GatewayOptions = gatewayOptions + this.Type = type_ + return &this +} + +// NewWatchBlocksOptionsV1WithDefaults instantiates a new WatchBlocksOptionsV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksOptionsV1WithDefaults() *WatchBlocksOptionsV1 { + this := WatchBlocksOptionsV1{} + return &this +} + +// GetChannelName returns the ChannelName field value +func (o *WatchBlocksOptionsV1) GetChannelName() string { + if o == nil { + var ret string + return ret + } + + return o.ChannelName +} + +// GetChannelNameOk returns a tuple with the ChannelName field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksOptionsV1) GetChannelNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChannelName, true +} + +// SetChannelName sets field value +func (o *WatchBlocksOptionsV1) SetChannelName(v string) { + o.ChannelName = v +} + +// GetGatewayOptions returns the GatewayOptions field value +func (o *WatchBlocksOptionsV1) GetGatewayOptions() GatewayOptions { + if o == nil { + var ret GatewayOptions + return ret + } + + return o.GatewayOptions +} + +// GetGatewayOptionsOk returns a tuple with the GatewayOptions field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksOptionsV1) GetGatewayOptionsOk() (*GatewayOptions, bool) { + if o == nil { + return nil, false + } + return &o.GatewayOptions, true +} + +// SetGatewayOptions sets field value +func (o *WatchBlocksOptionsV1) SetGatewayOptions(v GatewayOptions) { + o.GatewayOptions = v +} + +// GetType returns the Type field value +func (o *WatchBlocksOptionsV1) GetType() WatchBlocksListenerTypeV1 { + if o == nil { + var ret WatchBlocksListenerTypeV1 + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksOptionsV1) GetTypeOk() (*WatchBlocksListenerTypeV1, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *WatchBlocksOptionsV1) SetType(v WatchBlocksListenerTypeV1) { + o.Type = v +} + +// GetStartBlock returns the StartBlock field value if set, zero value otherwise. +func (o *WatchBlocksOptionsV1) GetStartBlock() string { + if o == nil || IsNil(o.StartBlock) { + var ret string + return ret + } + return *o.StartBlock +} + +// GetStartBlockOk returns a tuple with the StartBlock field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksOptionsV1) GetStartBlockOk() (*string, bool) { + if o == nil || IsNil(o.StartBlock) { + return nil, false + } + return o.StartBlock, true +} + +// HasStartBlock returns a boolean if a field has been set. +func (o *WatchBlocksOptionsV1) HasStartBlock() bool { + if o != nil && !IsNil(o.StartBlock) { + return true + } + + return false +} + +// SetStartBlock gets a reference to the given string and assigns it to the StartBlock field. +func (o *WatchBlocksOptionsV1) SetStartBlock(v string) { + o.StartBlock = &v +} + +func (o WatchBlocksOptionsV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksOptionsV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["channelName"] = o.ChannelName + toSerialize["gatewayOptions"] = o.GatewayOptions + toSerialize["type"] = o.Type + if !IsNil(o.StartBlock) { + toSerialize["startBlock"] = o.StartBlock + } + return toSerialize, nil +} + +type NullableWatchBlocksOptionsV1 struct { + value *WatchBlocksOptionsV1 + isSet bool +} + +func (v NullableWatchBlocksOptionsV1) Get() *WatchBlocksOptionsV1 { + return v.value +} + +func (v *NullableWatchBlocksOptionsV1) Set(val *WatchBlocksOptionsV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksOptionsV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksOptionsV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksOptionsV1(val *WatchBlocksOptionsV1) *NullableWatchBlocksOptionsV1 { + return &NullableWatchBlocksOptionsV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksOptionsV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksOptionsV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_private_response_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_private_response_v1.go new file mode 100644 index 00000000000..43edcc07a02 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_private_response_v1.go @@ -0,0 +1,122 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the WatchBlocksPrivateResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksPrivateResponseV1{} + +// WatchBlocksPrivateResponseV1 Response that corresponds to Fabric SDK 'private' EventType. +type WatchBlocksPrivateResponseV1 struct { + // Private commited block. + PrivateBlock interface{} `json:"privateBlock"` +} + +// NewWatchBlocksPrivateResponseV1 instantiates a new WatchBlocksPrivateResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksPrivateResponseV1(privateBlock interface{}) *WatchBlocksPrivateResponseV1 { + this := WatchBlocksPrivateResponseV1{} + this.PrivateBlock = privateBlock + return &this +} + +// NewWatchBlocksPrivateResponseV1WithDefaults instantiates a new WatchBlocksPrivateResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksPrivateResponseV1WithDefaults() *WatchBlocksPrivateResponseV1 { + this := WatchBlocksPrivateResponseV1{} + return &this +} + +// GetPrivateBlock returns the PrivateBlock field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *WatchBlocksPrivateResponseV1) GetPrivateBlock() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.PrivateBlock +} + +// GetPrivateBlockOk returns a tuple with the PrivateBlock field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WatchBlocksPrivateResponseV1) GetPrivateBlockOk() (*interface{}, bool) { + if o == nil || IsNil(o.PrivateBlock) { + return nil, false + } + return &o.PrivateBlock, true +} + +// SetPrivateBlock sets field value +func (o *WatchBlocksPrivateResponseV1) SetPrivateBlock(v interface{}) { + o.PrivateBlock = v +} + +func (o WatchBlocksPrivateResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksPrivateResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.PrivateBlock != nil { + toSerialize["privateBlock"] = o.PrivateBlock + } + return toSerialize, nil +} + +type NullableWatchBlocksPrivateResponseV1 struct { + value *WatchBlocksPrivateResponseV1 + isSet bool +} + +func (v NullableWatchBlocksPrivateResponseV1) Get() *WatchBlocksPrivateResponseV1 { + return v.value +} + +func (v *NullableWatchBlocksPrivateResponseV1) Set(val *WatchBlocksPrivateResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksPrivateResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksPrivateResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksPrivateResponseV1(val *WatchBlocksPrivateResponseV1) *NullableWatchBlocksPrivateResponseV1 { + return &NullableWatchBlocksPrivateResponseV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksPrivateResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksPrivateResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_response_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_response_v1.go new file mode 100644 index 00000000000..8e54bc0babd --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_response_v1.go @@ -0,0 +1,238 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksResponseV1 - Response block from WatchBlocks endpoint. Depends on 'type' passed in subscription options. +type WatchBlocksResponseV1 struct { + WatchBlocksCactusErrorResponseV1 *WatchBlocksCactusErrorResponseV1 + WatchBlocksCactusTransactionsResponseV1 *WatchBlocksCactusTransactionsResponseV1 + WatchBlocksFilteredResponseV1 *WatchBlocksFilteredResponseV1 + WatchBlocksFullResponseV1 *WatchBlocksFullResponseV1 + WatchBlocksPrivateResponseV1 *WatchBlocksPrivateResponseV1 +} + +// WatchBlocksCactusErrorResponseV1AsWatchBlocksResponseV1 is a convenience function that returns WatchBlocksCactusErrorResponseV1 wrapped in WatchBlocksResponseV1 +func WatchBlocksCactusErrorResponseV1AsWatchBlocksResponseV1(v *WatchBlocksCactusErrorResponseV1) WatchBlocksResponseV1 { + return WatchBlocksResponseV1{ + WatchBlocksCactusErrorResponseV1: v, + } +} + +// WatchBlocksCactusTransactionsResponseV1AsWatchBlocksResponseV1 is a convenience function that returns WatchBlocksCactusTransactionsResponseV1 wrapped in WatchBlocksResponseV1 +func WatchBlocksCactusTransactionsResponseV1AsWatchBlocksResponseV1(v *WatchBlocksCactusTransactionsResponseV1) WatchBlocksResponseV1 { + return WatchBlocksResponseV1{ + WatchBlocksCactusTransactionsResponseV1: v, + } +} + +// WatchBlocksFilteredResponseV1AsWatchBlocksResponseV1 is a convenience function that returns WatchBlocksFilteredResponseV1 wrapped in WatchBlocksResponseV1 +func WatchBlocksFilteredResponseV1AsWatchBlocksResponseV1(v *WatchBlocksFilteredResponseV1) WatchBlocksResponseV1 { + return WatchBlocksResponseV1{ + WatchBlocksFilteredResponseV1: v, + } +} + +// WatchBlocksFullResponseV1AsWatchBlocksResponseV1 is a convenience function that returns WatchBlocksFullResponseV1 wrapped in WatchBlocksResponseV1 +func WatchBlocksFullResponseV1AsWatchBlocksResponseV1(v *WatchBlocksFullResponseV1) WatchBlocksResponseV1 { + return WatchBlocksResponseV1{ + WatchBlocksFullResponseV1: v, + } +} + +// WatchBlocksPrivateResponseV1AsWatchBlocksResponseV1 is a convenience function that returns WatchBlocksPrivateResponseV1 wrapped in WatchBlocksResponseV1 +func WatchBlocksPrivateResponseV1AsWatchBlocksResponseV1(v *WatchBlocksPrivateResponseV1) WatchBlocksResponseV1 { + return WatchBlocksResponseV1{ + WatchBlocksPrivateResponseV1: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *WatchBlocksResponseV1) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into WatchBlocksCactusErrorResponseV1 + err = newStrictDecoder(data).Decode(&dst.WatchBlocksCactusErrorResponseV1) + if err == nil { + jsonWatchBlocksCactusErrorResponseV1, _ := json.Marshal(dst.WatchBlocksCactusErrorResponseV1) + if string(jsonWatchBlocksCactusErrorResponseV1) == "{}" { // empty struct + dst.WatchBlocksCactusErrorResponseV1 = nil + } else { + match++ + } + } else { + dst.WatchBlocksCactusErrorResponseV1 = nil + } + + // try to unmarshal data into WatchBlocksCactusTransactionsResponseV1 + err = newStrictDecoder(data).Decode(&dst.WatchBlocksCactusTransactionsResponseV1) + if err == nil { + jsonWatchBlocksCactusTransactionsResponseV1, _ := json.Marshal(dst.WatchBlocksCactusTransactionsResponseV1) + if string(jsonWatchBlocksCactusTransactionsResponseV1) == "{}" { // empty struct + dst.WatchBlocksCactusTransactionsResponseV1 = nil + } else { + match++ + } + } else { + dst.WatchBlocksCactusTransactionsResponseV1 = nil + } + + // try to unmarshal data into WatchBlocksFilteredResponseV1 + err = newStrictDecoder(data).Decode(&dst.WatchBlocksFilteredResponseV1) + if err == nil { + jsonWatchBlocksFilteredResponseV1, _ := json.Marshal(dst.WatchBlocksFilteredResponseV1) + if string(jsonWatchBlocksFilteredResponseV1) == "{}" { // empty struct + dst.WatchBlocksFilteredResponseV1 = nil + } else { + match++ + } + } else { + dst.WatchBlocksFilteredResponseV1 = nil + } + + // try to unmarshal data into WatchBlocksFullResponseV1 + err = newStrictDecoder(data).Decode(&dst.WatchBlocksFullResponseV1) + if err == nil { + jsonWatchBlocksFullResponseV1, _ := json.Marshal(dst.WatchBlocksFullResponseV1) + if string(jsonWatchBlocksFullResponseV1) == "{}" { // empty struct + dst.WatchBlocksFullResponseV1 = nil + } else { + match++ + } + } else { + dst.WatchBlocksFullResponseV1 = nil + } + + // try to unmarshal data into WatchBlocksPrivateResponseV1 + err = newStrictDecoder(data).Decode(&dst.WatchBlocksPrivateResponseV1) + if err == nil { + jsonWatchBlocksPrivateResponseV1, _ := json.Marshal(dst.WatchBlocksPrivateResponseV1) + if string(jsonWatchBlocksPrivateResponseV1) == "{}" { // empty struct + dst.WatchBlocksPrivateResponseV1 = nil + } else { + match++ + } + } else { + dst.WatchBlocksPrivateResponseV1 = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.WatchBlocksCactusErrorResponseV1 = nil + dst.WatchBlocksCactusTransactionsResponseV1 = nil + dst.WatchBlocksFilteredResponseV1 = nil + dst.WatchBlocksFullResponseV1 = nil + dst.WatchBlocksPrivateResponseV1 = nil + + return fmt.Errorf("data matches more than one schema in oneOf(WatchBlocksResponseV1)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(WatchBlocksResponseV1)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src WatchBlocksResponseV1) MarshalJSON() ([]byte, error) { + if src.WatchBlocksCactusErrorResponseV1 != nil { + return json.Marshal(&src.WatchBlocksCactusErrorResponseV1) + } + + if src.WatchBlocksCactusTransactionsResponseV1 != nil { + return json.Marshal(&src.WatchBlocksCactusTransactionsResponseV1) + } + + if src.WatchBlocksFilteredResponseV1 != nil { + return json.Marshal(&src.WatchBlocksFilteredResponseV1) + } + + if src.WatchBlocksFullResponseV1 != nil { + return json.Marshal(&src.WatchBlocksFullResponseV1) + } + + if src.WatchBlocksPrivateResponseV1 != nil { + return json.Marshal(&src.WatchBlocksPrivateResponseV1) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *WatchBlocksResponseV1) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.WatchBlocksCactusErrorResponseV1 != nil { + return obj.WatchBlocksCactusErrorResponseV1 + } + + if obj.WatchBlocksCactusTransactionsResponseV1 != nil { + return obj.WatchBlocksCactusTransactionsResponseV1 + } + + if obj.WatchBlocksFilteredResponseV1 != nil { + return obj.WatchBlocksFilteredResponseV1 + } + + if obj.WatchBlocksFullResponseV1 != nil { + return obj.WatchBlocksFullResponseV1 + } + + if obj.WatchBlocksPrivateResponseV1 != nil { + return obj.WatchBlocksPrivateResponseV1 + } + + // all schemas are nil + return nil +} + +type NullableWatchBlocksResponseV1 struct { + value *WatchBlocksResponseV1 + isSet bool +} + +func (v NullableWatchBlocksResponseV1) Get() *WatchBlocksResponseV1 { + return v.value +} + +func (v *NullableWatchBlocksResponseV1) Set(val *WatchBlocksResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksResponseV1(val *WatchBlocksResponseV1) *NullableWatchBlocksResponseV1 { + return &NullableWatchBlocksResponseV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go new file mode 100644 index 00000000000..3038571e2bf --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go @@ -0,0 +1,119 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksV1 Websocket requests for monitoring new blocks. +type WatchBlocksV1 string + +// List of WatchBlocksV1 +const ( + Subscribe WatchBlocksV1 = "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Subscribe" + SubscribeDelegatedSign WatchBlocksV1 = "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.SubscribeDelegatedSign" + Next WatchBlocksV1 = "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Next" + Unsubscribe WatchBlocksV1 = "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Unsubscribe" + Error WatchBlocksV1 = "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Error" + Complete WatchBlocksV1 = "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Complete" +) + +// All allowed values of WatchBlocksV1 enum +var AllowedWatchBlocksV1EnumValues = []WatchBlocksV1{ + "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Subscribe", + "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.SubscribeDelegatedSign", + "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Next", + "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Unsubscribe", + "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Error", + "org.hyperledger.cactus.api.async.hlfabric.WatchBlocksV1.Complete", +} + +func (v *WatchBlocksV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchBlocksV1(value) + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchBlocksV1", value) +} + +// NewWatchBlocksV1FromValue returns a pointer to a valid WatchBlocksV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchBlocksV1FromValue(v string) (*WatchBlocksV1, error) { + ev := WatchBlocksV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchBlocksV1: valid values are %v", v, AllowedWatchBlocksV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchBlocksV1) IsValid() bool { + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchBlocksV1 value +func (v WatchBlocksV1) Ptr() *WatchBlocksV1 { + return &v +} + +type NullableWatchBlocksV1 struct { + value *WatchBlocksV1 + isSet bool +} + +func (v NullableWatchBlocksV1) Get() *WatchBlocksV1 { + return v.value +} + +func (v *NullableWatchBlocksV1) Set(val *WatchBlocksV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1(val *WatchBlocksV1) *NullableWatchBlocksV1 { + return &NullableWatchBlocksV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_web_socket_key.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_web_socket_key.go new file mode 100644 index 00000000000..322359188df --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/model_web_socket_key.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" +) + +// checks if the WebSocketKey type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WebSocketKey{} + +// WebSocketKey web-socket key details for signing fabric message with private key stored with external client +type WebSocketKey struct { + // session Id to access client + SessionId string `json:"sessionId"` + // signature of the session ID + Signature string `json:"signature"` +} + +// NewWebSocketKey instantiates a new WebSocketKey object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWebSocketKey(sessionId string, signature string) *WebSocketKey { + this := WebSocketKey{} + this.SessionId = sessionId + this.Signature = signature + return &this +} + +// NewWebSocketKeyWithDefaults instantiates a new WebSocketKey object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWebSocketKeyWithDefaults() *WebSocketKey { + this := WebSocketKey{} + return &this +} + +// GetSessionId returns the SessionId field value +func (o *WebSocketKey) GetSessionId() string { + if o == nil { + var ret string + return ret + } + + return o.SessionId +} + +// GetSessionIdOk returns a tuple with the SessionId field value +// and a boolean to check if the value has been set. +func (o *WebSocketKey) GetSessionIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionId, true +} + +// SetSessionId sets field value +func (o *WebSocketKey) SetSessionId(v string) { + o.SessionId = v +} + +// GetSignature returns the Signature field value +func (o *WebSocketKey) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *WebSocketKey) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *WebSocketKey) SetSignature(v string) { + o.Signature = v +} + +func (o WebSocketKey) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WebSocketKey) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionId"] = o.SessionId + toSerialize["signature"] = o.Signature + return toSerialize, nil +} + +type NullableWebSocketKey struct { + value *WebSocketKey + isSet bool +} + +func (v NullableWebSocketKey) Get() *WebSocketKey { + return v.value +} + +func (v *NullableWebSocketKey) Set(val *WebSocketKey) { + v.value = val + v.isSet = true +} + +func (v NullableWebSocketKey) IsSet() bool { + return v.isSet +} + +func (v *NullableWebSocketKey) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWebSocketKey(val *WebSocketKey) *NullableWebSocketKey { + return &NullableWebSocketKey{value: val, isSet: true} +} + +func (v NullableWebSocketKey) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWebSocketKey) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..e6d9da5f6bd --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..4468fd0fe7d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,109 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-fabric + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-fabric_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeployContractGoSourceV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContractGoSourceV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService DeployContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetBlockV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetBlockV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetTransactionReceiptByTxIDV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetTransactionReceiptByTxIDV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RunDelegatedSignTransactionV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RunDelegatedSignTransactionV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RunTransactionV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RunTransactionV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..3fafbc69d84 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Connector Fabric + +Can perform basic tasks on a fabric ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-fabric + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-iroha2/package.json b/packages/cactus-plugin-ledger-connector-iroha2/package.json index 2f46add53a1..85d2458f4c2 100644 --- a/packages/cactus-plugin-ledger-connector-iroha2/package.json +++ b/packages/cactus-plugin-ledger-connector-iroha2/package.json @@ -43,7 +43,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore" + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore" }, "dependencies": { "@hyperledger/cactus-common": "2.0.0-alpha.2", diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..985839e334c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,40 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_block_type_v1.go +model_error_exception_response_v1.go +model_generate_transaction_request_v1.go +model_generate_transaction_request_v1_request.go +model_iroha2_account_id.go +model_iroha2_base_config.go +model_iroha2_base_config_signing_credential.go +model_iroha2_base_config_torii.go +model_iroha2_key_json.go +model_iroha2_key_pair.go +model_iroha_instruction.go +model_iroha_instruction_request_v1.go +model_iroha_query.go +model_iroha_query_definition_v1.go +model_iroha_signed_query_definition_v1.go +model_iroha_transaction_definition_v1.go +model_iroha_transaction_definition_v1_instruction.go +model_iroha_transaction_parameters_v1.go +model_keychain_reference.go +model_query_request_v1.go +model_query_response_v1.go +model_transact_request_v1.go +model_transact_response_v1.go +model_transaction_status_v1.go +model_watch_blocks_binary_response_v1.go +model_watch_blocks_options_v1.go +model_watch_blocks_raw_response_v1.go +model_watch_blocks_response_v1.go +model_watch_blocks_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..1a77910f3e4 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,142 @@ +# Go API client for cactus-plugin-ledger-connector-iroha2 + +Can perform basic tasks on a Iroha V2 ledger + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-iroha2 "github.com/hyperledger/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-iroha2.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-iroha2.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-iroha2.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-iroha2.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**GenerateTransactionV1**](docs/DefaultApi.md#generatetransactionv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/generate-transaction | Generate transaction that can be signed locally. +*DefaultApi* | [**QueryV1**](docs/DefaultApi.md#queryv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/query | Executes a query on a Iroha V2 ledger and returns it's results. +*DefaultApi* | [**TransactV1**](docs/DefaultApi.md#transactv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/transact | Executes a transaction on a Iroha V2 ledger (by sending some instructions) + + +## Documentation For Models + + - [BlockTypeV1](docs/BlockTypeV1.md) + - [ErrorExceptionResponseV1](docs/ErrorExceptionResponseV1.md) + - [GenerateTransactionRequestV1](docs/GenerateTransactionRequestV1.md) + - [GenerateTransactionRequestV1Request](docs/GenerateTransactionRequestV1Request.md) + - [Iroha2AccountId](docs/Iroha2AccountId.md) + - [Iroha2BaseConfig](docs/Iroha2BaseConfig.md) + - [Iroha2BaseConfigSigningCredential](docs/Iroha2BaseConfigSigningCredential.md) + - [Iroha2BaseConfigTorii](docs/Iroha2BaseConfigTorii.md) + - [Iroha2KeyJson](docs/Iroha2KeyJson.md) + - [Iroha2KeyPair](docs/Iroha2KeyPair.md) + - [IrohaInstruction](docs/IrohaInstruction.md) + - [IrohaInstructionRequestV1](docs/IrohaInstructionRequestV1.md) + - [IrohaQuery](docs/IrohaQuery.md) + - [IrohaQueryDefinitionV1](docs/IrohaQueryDefinitionV1.md) + - [IrohaSignedQueryDefinitionV1](docs/IrohaSignedQueryDefinitionV1.md) + - [IrohaTransactionDefinitionV1](docs/IrohaTransactionDefinitionV1.md) + - [IrohaTransactionDefinitionV1Instruction](docs/IrohaTransactionDefinitionV1Instruction.md) + - [IrohaTransactionParametersV1](docs/IrohaTransactionParametersV1.md) + - [KeychainReference](docs/KeychainReference.md) + - [QueryRequestV1](docs/QueryRequestV1.md) + - [QueryResponseV1](docs/QueryResponseV1.md) + - [TransactRequestV1](docs/TransactRequestV1.md) + - [TransactResponseV1](docs/TransactResponseV1.md) + - [TransactionStatusV1](docs/TransactionStatusV1.md) + - [WatchBlocksBinaryResponseV1](docs/WatchBlocksBinaryResponseV1.md) + - [WatchBlocksOptionsV1](docs/WatchBlocksOptionsV1.md) + - [WatchBlocksRawResponseV1](docs/WatchBlocksRawResponseV1.md) + - [WatchBlocksResponseV1](docs/WatchBlocksResponseV1.md) + - [WatchBlocksV1](docs/WatchBlocksV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..cd4e67dfb3c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,585 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on a Iroha V2 ledger + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Connector Iroha V2 + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/transact: + post: + operationId: TransactV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TransactRequestV1' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/TransactResponseV1' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error. + summary: Executes a transaction on a Iroha V2 ledger (by sending some instructions) + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/transact + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/generate-transaction: + post: + operationId: generateTransactionV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GenerateTransactionRequestV1' + responses: + "200": + content: + text/plain: + schema: + type: string + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Generate transaction that can be signed locally. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/generate-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/query: + post: + operationId: QueryV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/QueryRequestV1' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/QueryResponseV1' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error. + summary: Executes a query on a Iroha V2 ledger and returns it's results. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/query +components: + schemas: + IrohaInstruction: + description: Command names that correspond to Iroha Special Instructions (https://hyperledger.github.io/iroha-2-docs/guide/advanced/isi.html) + enum: + - registerDomain + - registerAssetDefinition + - registerAsset + - mintAsset + - burnAsset + - transferAsset + - registerAccount + type: string + x-enum-descriptions: + - Register new domain + - Register new asset definition + - Register new asset + - Mint asset value + - Burn asset value + - Transfer asset between accounts + - Register new account + x-enum-varnames: + - RegisterDomain + - RegisterAssetDefinition + - RegisterAsset + - MintAsset + - BurnAsset + - TransferAsset + - RegisterAccount + IrohaQuery: + description: Command names that correspond to Iroha queries (https://hyperledger.github.io/iroha-2-docs/guide/advanced/queries.html) + enum: + - findAllDomains + - findDomainById + - findAssetDefinitionById + - findAllAssetsDefinitions + - findAssetById + - findAllAssets + - findAllPeers + - findAllBlocks + - findAccountById + - findAllAccounts + - findAllTransactions + - findTransactionByHash + type: string + x-enum-descriptions: + - Get list of all registered domains + - Get domain with specified ID + - Get asset definition with specified ID + - Get list of all registered asset definition + - Get asset with specified ID + - Get list of all registered assets + - Get list of all ledger peers + - Get list of all ledger blocks + - Get account with specified ID + - Get list of all registered accounts + - Get list of all transactions + - Get transaction with specified hash + x-enum-varnames: + - FindAllDomains + - FindDomainById + - FindAssetDefinitionById + - FindAllAssetsDefinitions + - FindAssetById + - FindAllAssets + - FindAllPeers + - FindAllBlocks + - FindAccountById + - FindAllAccounts + - FindAllTransactions + - FindTransactionByHash + WatchBlocksV1: + description: Websocket requests for monitoring new blocks. + enum: + - org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Subscribe + - org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Next + - org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Unsubscribe + - org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Error + - org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Complete + type: string + x-enum-varnames: + - Subscribe + - Next + - Unsubscribe + - Error + - Complete + BlockTypeV1: + description: Iroha V2 block response type. + enum: + - raw + - binary + type: string + x-enum-descriptions: + - Default JSON-encoded string full block data. + - Encoded format that must be decoded with Iroha SDK on client side before use + x-enum-varnames: + - Raw + - Binary + TransactionStatusV1: + description: Status of Iroha V2 transaction. + enum: + - submitted + - committed + - rejected + type: string + x-enum-descriptions: + - Transaction was submitted to the ledger - use other tools to check if it was + accepted and committed. + - Transaction was committed to the ledger. + - Transaction was rejected. + x-enum-varnames: + - Submitted + - Committed + - Rejected + WatchBlocksOptionsV1: + description: Options passed when subscribing to block monitoring. + properties: + type: + $ref: '#/components/schemas/BlockTypeV1' + startBlock: + description: Number of block to start monitoring from. + minLength: 1 + nullable: false + type: string + baseConfig: + $ref: '#/components/schemas/Iroha2BaseConfig' + type: object + WatchBlocksRawResponseV1: + description: Default JSON-encoded string full block data. + properties: + blockData: + nullable: false + type: string + required: + - blockData + type: object + WatchBlocksBinaryResponseV1: + description: Binary encoded response of block data. + properties: + binaryBlock: + nullable: false + type: string + required: + - binaryBlock + type: object + WatchBlocksResponseV1: + oneOf: + - $ref: '#/components/schemas/WatchBlocksRawResponseV1' + - $ref: '#/components/schemas/WatchBlocksBinaryResponseV1' + - $ref: '#/components/schemas/ErrorExceptionResponseV1' + Iroha2AccountId: + additionalProperties: false + description: Iroha V2 account ID. + example: + name: name + domainId: domainId + nullable: false + properties: + name: + nullable: false + type: string + domainId: + nullable: false + type: string + required: + - domainId + - name + type: object + Iroha2KeyJson: + additionalProperties: false + description: Private/Public key JSON containing payload and digest function. + nullable: false + properties: + digestFunction: + nullable: false + type: string + payload: + nullable: false + type: string + required: + - digestFunction + - payload + type: object + KeychainReference: + description: Reference to entry stored in Cactus keychain plugin. + properties: + keychainId: + description: Keychain plugin ID. + maxLength: 100 + minLength: 1 + nullable: false + type: string + keychainRef: + description: Key reference name. + maxLength: 100 + minLength: 1 + nullable: false + type: string + required: + - keychainId + - keychainRef + type: object + Iroha2KeyPair: + description: Pair of Iroha account private and public keys. + properties: + privateKey: + $ref: '#/components/schemas/Iroha2KeyJson' + publicKey: + nullable: false + type: string + required: + - privateKey + - publicKey + type: object + Iroha2BaseConfigTorii: + additionalProperties: false + description: Iroha V2 peer connection information. + example: + apiURL: apiURL + telemetryURL: telemetryURL + nullable: false + properties: + apiURL: + nullable: false + type: string + telemetryURL: + nullable: false + type: string + type: object + Iroha2BaseConfig: + additionalProperties: false + description: Iroha V2 connection configuration. + example: + torii: + apiURL: apiURL + telemetryURL: telemetryURL + accountId: + name: name + domainId: domainId + signingCredential: null + properties: + torii: + $ref: '#/components/schemas/Iroha2BaseConfigTorii' + accountId: + $ref: '#/components/schemas/Iroha2AccountId' + signingCredential: + $ref: '#/components/schemas/Iroha2BaseConfig_signingCredential' + required: + - torii + type: object + IrohaInstructionRequestV1: + additionalProperties: false + description: Single Iroha V2 instruction to be executed request. + properties: + name: + description: Iroha V2 instruction name. + nullable: false + type: IrohaInstruction + params: + description: The list of arguments to pass with specified instruction. + items: {} + type: array + required: + - name + - params + type: object + IrohaTransactionParametersV1: + additionalProperties: true + description: Iroha V2 transaction payload parameters + example: + creationTime: creationTime + ttl: ttl + nonce: 0.8008281904610115 + properties: + ttl: + description: BigInt time to live. + nullable: false + type: string + creationTime: + description: BigInt creation time + nullable: false + type: string + nonce: + description: Transaction nonce + nullable: false + type: number + type: object + IrohaTransactionDefinitionV1: + additionalProperties: false + description: Iroha V2 transaction definition + example: + instruction: null + params: + creationTime: creationTime + ttl: ttl + nonce: 0.8008281904610115 + properties: + instruction: + $ref: '#/components/schemas/IrohaTransactionDefinitionV1_instruction' + params: + $ref: '#/components/schemas/IrohaTransactionParametersV1' + required: + - instruction + type: object + IrohaQueryDefinitionV1: + additionalProperties: false + description: Iroha V2 query definition. + example: + query: "" + params: + - "" + - "" + properties: + query: + description: Name of the query to be executed. + nullable: false + type: IrohaQuery + params: + description: The list of arguments to pass with the query. + items: {} + type: array + required: + - query + type: object + IrohaSignedQueryDefinitionV1: + additionalProperties: false + description: Iroha V2 signed query definition + example: + payload: payload + query: "" + properties: + query: + description: Name of the query to be executed. + nullable: false + type: IrohaQuery + payload: + description: Signed query transaction binary data received from generate-transaction + endpoint. + nullable: false + type: string + required: + - payload + - query + type: object + TransactRequestV1: + additionalProperties: false + description: Request to transact endpoint. + example: + waitForCommit: false + signedTransaction: signedTransaction + transaction: + instruction: null + params: + creationTime: creationTime + ttl: ttl + nonce: 0.8008281904610115 + baseConfig: + torii: + apiURL: apiURL + telemetryURL: telemetryURL + accountId: + name: name + domainId: domainId + signingCredential: null + properties: + signedTransaction: + description: Signed transaction binary data received from generate-transaction + endpoint. + nullable: false + type: string + transaction: + $ref: '#/components/schemas/IrohaTransactionDefinitionV1' + waitForCommit: + default: false + description: Wait unitl transaction is sent and return the final status + (committed / rejected) + nullable: false + type: boolean + baseConfig: + $ref: '#/components/schemas/Iroha2BaseConfig' + type: object + TransactResponseV1: + description: Response from transaction endpoint with operation status. + example: + rejectReason: rejectReason + hash: hash + status: null + properties: + hash: + description: Hexadecimal hash of the transaction sent to the ledger. + nullable: false + type: string + status: + $ref: '#/components/schemas/TransactionStatusV1' + rejectReason: + description: "When waitForCommit was suplied and the transaction was rejected,\ + \ contains the reason of the rejection." + nullable: false + type: string + required: + - hash + - status + type: object + QueryRequestV1: + additionalProperties: false + description: Request to query endpoint. + example: + query: + query: "" + params: + - "" + - "" + signedQuery: + payload: payload + query: "" + baseConfig: + torii: + apiURL: apiURL + telemetryURL: telemetryURL + accountId: + name: name + domainId: domainId + signingCredential: null + properties: + query: + $ref: '#/components/schemas/IrohaQueryDefinitionV1' + signedQuery: + $ref: '#/components/schemas/IrohaSignedQueryDefinitionV1' + baseConfig: + $ref: '#/components/schemas/Iroha2BaseConfig' + type: object + QueryResponseV1: + description: Response with the query results. + example: + response: "" + properties: + response: + description: Query response data that varies between different queries. + nullable: false + required: + - response + type: object + GenerateTransactionRequestV1: + additionalProperties: false + description: Request for generating transaction or query payload that can be + signed on the client side. + example: + request: null + baseConfig: + torii: + apiURL: apiURL + telemetryURL: telemetryURL + accountId: + name: name + domainId: domainId + signingCredential: null + properties: + request: + $ref: '#/components/schemas/GenerateTransactionRequestV1_request' + baseConfig: + $ref: '#/components/schemas/Iroha2BaseConfig' + required: + - request + type: object + ErrorExceptionResponseV1: + description: Error response from the connector. + properties: + message: + description: Short error description message. + nullable: false + type: string + error: + description: Detailed error information. + nullable: false + type: string + required: + - error + - message + type: object + Iroha2BaseConfig_signingCredential: + oneOf: + - $ref: '#/components/schemas/Iroha2KeyPair' + - $ref: '#/components/schemas/KeychainReference' + IrohaTransactionDefinitionV1_instruction: + oneOf: + - $ref: '#/components/schemas/IrohaInstructionRequestV1' + - items: + $ref: '#/components/schemas/IrohaInstructionRequestV1' + type: array + GenerateTransactionRequestV1_request: + oneOf: + - $ref: '#/components/schemas/IrohaTransactionDefinitionV1' + - $ref: '#/components/schemas/IrohaQueryDefinitionV1' diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..4c599015a74 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,368 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiGenerateTransactionV1Request struct { + ctx context.Context + ApiService *DefaultApiService + generateTransactionRequestV1 *GenerateTransactionRequestV1 +} + +func (r ApiGenerateTransactionV1Request) GenerateTransactionRequestV1(generateTransactionRequestV1 GenerateTransactionRequestV1) ApiGenerateTransactionV1Request { + r.generateTransactionRequestV1 = &generateTransactionRequestV1 + return r +} + +func (r ApiGenerateTransactionV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GenerateTransactionV1Execute(r) +} + +/* +GenerateTransactionV1 Generate transaction that can be signed locally. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGenerateTransactionV1Request +*/ +func (a *DefaultApiService) GenerateTransactionV1(ctx context.Context) ApiGenerateTransactionV1Request { + return ApiGenerateTransactionV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GenerateTransactionV1Execute(r ApiGenerateTransactionV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GenerateTransactionV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/generate-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.generateTransactionRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiQueryV1Request struct { + ctx context.Context + ApiService *DefaultApiService + queryRequestV1 *QueryRequestV1 +} + +func (r ApiQueryV1Request) QueryRequestV1(queryRequestV1 QueryRequestV1) ApiQueryV1Request { + r.queryRequestV1 = &queryRequestV1 + return r +} + +func (r ApiQueryV1Request) Execute() (*QueryResponseV1, *http.Response, error) { + return r.ApiService.QueryV1Execute(r) +} + +/* +QueryV1 Executes a query on a Iroha V2 ledger and returns it's results. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiQueryV1Request +*/ +func (a *DefaultApiService) QueryV1(ctx context.Context) ApiQueryV1Request { + return ApiQueryV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return QueryResponseV1 +func (a *DefaultApiService) QueryV1Execute(r ApiQueryV1Request) (*QueryResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QueryResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.QueryV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/query" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.queryRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiTransactV1Request struct { + ctx context.Context + ApiService *DefaultApiService + transactRequestV1 *TransactRequestV1 +} + +func (r ApiTransactV1Request) TransactRequestV1(transactRequestV1 TransactRequestV1) ApiTransactV1Request { + r.transactRequestV1 = &transactRequestV1 + return r +} + +func (r ApiTransactV1Request) Execute() (*TransactResponseV1, *http.Response, error) { + return r.ApiService.TransactV1Execute(r) +} + +/* +TransactV1 Executes a transaction on a Iroha V2 ledger (by sending some instructions) + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiTransactV1Request +*/ +func (a *DefaultApiService) TransactV1(ctx context.Context) ApiTransactV1Request { + return ApiTransactV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return TransactResponseV1 +func (a *DefaultApiService) TransactV1Execute(r ApiTransactV1Request) (*TransactResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TransactResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.TransactV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-iroha2/transact" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.transactRequestV1 + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..feaeb4ab57d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Connector Iroha V2 API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..6e408b52870 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..2a2fe99e0e2 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_block_type_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_block_type_v1.go new file mode 100644 index 00000000000..5ad1706ecd9 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_block_type_v1.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "fmt" +) + +// BlockTypeV1 Iroha V2 block response type. +type BlockTypeV1 string + +// List of BlockTypeV1 +const ( + Raw BlockTypeV1 = "raw" + Binary BlockTypeV1 = "binary" +) + +// All allowed values of BlockTypeV1 enum +var AllowedBlockTypeV1EnumValues = []BlockTypeV1{ + "raw", + "binary", +} + +func (v *BlockTypeV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BlockTypeV1(value) + for _, existing := range AllowedBlockTypeV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BlockTypeV1", value) +} + +// NewBlockTypeV1FromValue returns a pointer to a valid BlockTypeV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBlockTypeV1FromValue(v string) (*BlockTypeV1, error) { + ev := BlockTypeV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BlockTypeV1: valid values are %v", v, AllowedBlockTypeV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BlockTypeV1) IsValid() bool { + for _, existing := range AllowedBlockTypeV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BlockTypeV1 value +func (v BlockTypeV1) Ptr() *BlockTypeV1 { + return &v +} + +type NullableBlockTypeV1 struct { + value *BlockTypeV1 + isSet bool +} + +func (v NullableBlockTypeV1) Get() *BlockTypeV1 { + return v.value +} + +func (v *NullableBlockTypeV1) Set(val *BlockTypeV1) { + v.value = val + v.isSet = true +} + +func (v NullableBlockTypeV1) IsSet() bool { + return v.isSet +} + +func (v *NullableBlockTypeV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBlockTypeV1(val *BlockTypeV1) *NullableBlockTypeV1 { + return &NullableBlockTypeV1{value: val, isSet: true} +} + +func (v NullableBlockTypeV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBlockTypeV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go new file mode 100644 index 00000000000..1c2eab38a39 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the ErrorExceptionResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ErrorExceptionResponseV1{} + +// ErrorExceptionResponseV1 Error response from the connector. +type ErrorExceptionResponseV1 struct { + // Short error description message. + Message string `json:"message"` + // Detailed error information. + Error string `json:"error"` +} + +// NewErrorExceptionResponseV1 instantiates a new ErrorExceptionResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewErrorExceptionResponseV1(message string, error_ string) *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + this.Message = message + this.Error = error_ + return &this +} + +// NewErrorExceptionResponseV1WithDefaults instantiates a new ErrorExceptionResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewErrorExceptionResponseV1WithDefaults() *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + return &this +} + +// GetMessage returns the Message field value +func (o *ErrorExceptionResponseV1) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *ErrorExceptionResponseV1) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +func (o *ErrorExceptionResponseV1) GetError() string { + if o == nil { + var ret string + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *ErrorExceptionResponseV1) SetError(v string) { + o.Error = v +} + +func (o ErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ErrorExceptionResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error + return toSerialize, nil +} + +type NullableErrorExceptionResponseV1 struct { + value *ErrorExceptionResponseV1 + isSet bool +} + +func (v NullableErrorExceptionResponseV1) Get() *ErrorExceptionResponseV1 { + return v.value +} + +func (v *NullableErrorExceptionResponseV1) Set(val *ErrorExceptionResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableErrorExceptionResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableErrorExceptionResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableErrorExceptionResponseV1(val *ErrorExceptionResponseV1) *NullableErrorExceptionResponseV1 { + return &NullableErrorExceptionResponseV1{value: val, isSet: true} +} + +func (v NullableErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableErrorExceptionResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_generate_transaction_request_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_generate_transaction_request_v1.go new file mode 100644 index 00000000000..f76d80a23a8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_generate_transaction_request_v1.go @@ -0,0 +1,153 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the GenerateTransactionRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GenerateTransactionRequestV1{} + +// GenerateTransactionRequestV1 Request for generating transaction or query payload that can be signed on the client side. +type GenerateTransactionRequestV1 struct { + Request GenerateTransactionRequestV1Request `json:"request"` + BaseConfig *Iroha2BaseConfig `json:"baseConfig,omitempty"` +} + +// NewGenerateTransactionRequestV1 instantiates a new GenerateTransactionRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGenerateTransactionRequestV1(request GenerateTransactionRequestV1Request) *GenerateTransactionRequestV1 { + this := GenerateTransactionRequestV1{} + this.Request = request + return &this +} + +// NewGenerateTransactionRequestV1WithDefaults instantiates a new GenerateTransactionRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGenerateTransactionRequestV1WithDefaults() *GenerateTransactionRequestV1 { + this := GenerateTransactionRequestV1{} + return &this +} + +// GetRequest returns the Request field value +func (o *GenerateTransactionRequestV1) GetRequest() GenerateTransactionRequestV1Request { + if o == nil { + var ret GenerateTransactionRequestV1Request + return ret + } + + return o.Request +} + +// GetRequestOk returns a tuple with the Request field value +// and a boolean to check if the value has been set. +func (o *GenerateTransactionRequestV1) GetRequestOk() (*GenerateTransactionRequestV1Request, bool) { + if o == nil { + return nil, false + } + return &o.Request, true +} + +// SetRequest sets field value +func (o *GenerateTransactionRequestV1) SetRequest(v GenerateTransactionRequestV1Request) { + o.Request = v +} + +// GetBaseConfig returns the BaseConfig field value if set, zero value otherwise. +func (o *GenerateTransactionRequestV1) GetBaseConfig() Iroha2BaseConfig { + if o == nil || IsNil(o.BaseConfig) { + var ret Iroha2BaseConfig + return ret + } + return *o.BaseConfig +} + +// GetBaseConfigOk returns a tuple with the BaseConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GenerateTransactionRequestV1) GetBaseConfigOk() (*Iroha2BaseConfig, bool) { + if o == nil || IsNil(o.BaseConfig) { + return nil, false + } + return o.BaseConfig, true +} + +// HasBaseConfig returns a boolean if a field has been set. +func (o *GenerateTransactionRequestV1) HasBaseConfig() bool { + if o != nil && !IsNil(o.BaseConfig) { + return true + } + + return false +} + +// SetBaseConfig gets a reference to the given Iroha2BaseConfig and assigns it to the BaseConfig field. +func (o *GenerateTransactionRequestV1) SetBaseConfig(v Iroha2BaseConfig) { + o.BaseConfig = &v +} + +func (o GenerateTransactionRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GenerateTransactionRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["request"] = o.Request + if !IsNil(o.BaseConfig) { + toSerialize["baseConfig"] = o.BaseConfig + } + return toSerialize, nil +} + +type NullableGenerateTransactionRequestV1 struct { + value *GenerateTransactionRequestV1 + isSet bool +} + +func (v NullableGenerateTransactionRequestV1) Get() *GenerateTransactionRequestV1 { + return v.value +} + +func (v *NullableGenerateTransactionRequestV1) Set(val *GenerateTransactionRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableGenerateTransactionRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableGenerateTransactionRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGenerateTransactionRequestV1(val *GenerateTransactionRequestV1) *NullableGenerateTransactionRequestV1 { + return &NullableGenerateTransactionRequestV1{value: val, isSet: true} +} + +func (v NullableGenerateTransactionRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGenerateTransactionRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_generate_transaction_request_v1_request.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_generate_transaction_request_v1_request.go new file mode 100644 index 00000000000..0c0f16a6424 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_generate_transaction_request_v1_request.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "fmt" +) + +// GenerateTransactionRequestV1Request - struct for GenerateTransactionRequestV1Request +type GenerateTransactionRequestV1Request struct { + IrohaQueryDefinitionV1 *IrohaQueryDefinitionV1 + IrohaTransactionDefinitionV1 *IrohaTransactionDefinitionV1 +} + +// IrohaQueryDefinitionV1AsGenerateTransactionRequestV1Request is a convenience function that returns IrohaQueryDefinitionV1 wrapped in GenerateTransactionRequestV1Request +func IrohaQueryDefinitionV1AsGenerateTransactionRequestV1Request(v *IrohaQueryDefinitionV1) GenerateTransactionRequestV1Request { + return GenerateTransactionRequestV1Request{ + IrohaQueryDefinitionV1: v, + } +} + +// IrohaTransactionDefinitionV1AsGenerateTransactionRequestV1Request is a convenience function that returns IrohaTransactionDefinitionV1 wrapped in GenerateTransactionRequestV1Request +func IrohaTransactionDefinitionV1AsGenerateTransactionRequestV1Request(v *IrohaTransactionDefinitionV1) GenerateTransactionRequestV1Request { + return GenerateTransactionRequestV1Request{ + IrohaTransactionDefinitionV1: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GenerateTransactionRequestV1Request) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into IrohaQueryDefinitionV1 + err = newStrictDecoder(data).Decode(&dst.IrohaQueryDefinitionV1) + if err == nil { + jsonIrohaQueryDefinitionV1, _ := json.Marshal(dst.IrohaQueryDefinitionV1) + if string(jsonIrohaQueryDefinitionV1) == "{}" { // empty struct + dst.IrohaQueryDefinitionV1 = nil + } else { + match++ + } + } else { + dst.IrohaQueryDefinitionV1 = nil + } + + // try to unmarshal data into IrohaTransactionDefinitionV1 + err = newStrictDecoder(data).Decode(&dst.IrohaTransactionDefinitionV1) + if err == nil { + jsonIrohaTransactionDefinitionV1, _ := json.Marshal(dst.IrohaTransactionDefinitionV1) + if string(jsonIrohaTransactionDefinitionV1) == "{}" { // empty struct + dst.IrohaTransactionDefinitionV1 = nil + } else { + match++ + } + } else { + dst.IrohaTransactionDefinitionV1 = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.IrohaQueryDefinitionV1 = nil + dst.IrohaTransactionDefinitionV1 = nil + + return fmt.Errorf("data matches more than one schema in oneOf(GenerateTransactionRequestV1Request)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(GenerateTransactionRequestV1Request)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GenerateTransactionRequestV1Request) MarshalJSON() ([]byte, error) { + if src.IrohaQueryDefinitionV1 != nil { + return json.Marshal(&src.IrohaQueryDefinitionV1) + } + + if src.IrohaTransactionDefinitionV1 != nil { + return json.Marshal(&src.IrohaTransactionDefinitionV1) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GenerateTransactionRequestV1Request) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.IrohaQueryDefinitionV1 != nil { + return obj.IrohaQueryDefinitionV1 + } + + if obj.IrohaTransactionDefinitionV1 != nil { + return obj.IrohaTransactionDefinitionV1 + } + + // all schemas are nil + return nil +} + +type NullableGenerateTransactionRequestV1Request struct { + value *GenerateTransactionRequestV1Request + isSet bool +} + +func (v NullableGenerateTransactionRequestV1Request) Get() *GenerateTransactionRequestV1Request { + return v.value +} + +func (v *NullableGenerateTransactionRequestV1Request) Set(val *GenerateTransactionRequestV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableGenerateTransactionRequestV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableGenerateTransactionRequestV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGenerateTransactionRequestV1Request(val *GenerateTransactionRequestV1Request) *NullableGenerateTransactionRequestV1Request { + return &NullableGenerateTransactionRequestV1Request{value: val, isSet: true} +} + +func (v NullableGenerateTransactionRequestV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGenerateTransactionRequestV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_account_id.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_account_id.go new file mode 100644 index 00000000000..871a94cd6e5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_account_id.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the Iroha2AccountId type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Iroha2AccountId{} + +// Iroha2AccountId Iroha V2 account ID. +type Iroha2AccountId struct { + Name string `json:"name"` + DomainId string `json:"domainId"` +} + +// NewIroha2AccountId instantiates a new Iroha2AccountId object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIroha2AccountId(name string, domainId string) *Iroha2AccountId { + this := Iroha2AccountId{} + this.Name = name + this.DomainId = domainId + return &this +} + +// NewIroha2AccountIdWithDefaults instantiates a new Iroha2AccountId object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIroha2AccountIdWithDefaults() *Iroha2AccountId { + this := Iroha2AccountId{} + return &this +} + +// GetName returns the Name field value +func (o *Iroha2AccountId) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *Iroha2AccountId) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *Iroha2AccountId) SetName(v string) { + o.Name = v +} + +// GetDomainId returns the DomainId field value +func (o *Iroha2AccountId) GetDomainId() string { + if o == nil { + var ret string + return ret + } + + return o.DomainId +} + +// GetDomainIdOk returns a tuple with the DomainId field value +// and a boolean to check if the value has been set. +func (o *Iroha2AccountId) GetDomainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.DomainId, true +} + +// SetDomainId sets field value +func (o *Iroha2AccountId) SetDomainId(v string) { + o.DomainId = v +} + +func (o Iroha2AccountId) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Iroha2AccountId) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["domainId"] = o.DomainId + return toSerialize, nil +} + +type NullableIroha2AccountId struct { + value *Iroha2AccountId + isSet bool +} + +func (v NullableIroha2AccountId) Get() *Iroha2AccountId { + return v.value +} + +func (v *NullableIroha2AccountId) Set(val *Iroha2AccountId) { + v.value = val + v.isSet = true +} + +func (v NullableIroha2AccountId) IsSet() bool { + return v.isSet +} + +func (v *NullableIroha2AccountId) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIroha2AccountId(val *Iroha2AccountId) *NullableIroha2AccountId { + return &NullableIroha2AccountId{value: val, isSet: true} +} + +func (v NullableIroha2AccountId) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIroha2AccountId) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_base_config.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_base_config.go new file mode 100644 index 00000000000..638f79d92ba --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_base_config.go @@ -0,0 +1,189 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the Iroha2BaseConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Iroha2BaseConfig{} + +// Iroha2BaseConfig Iroha V2 connection configuration. +type Iroha2BaseConfig struct { + Torii Iroha2BaseConfigTorii `json:"torii"` + AccountId *Iroha2AccountId `json:"accountId,omitempty"` + SigningCredential *Iroha2BaseConfigSigningCredential `json:"signingCredential,omitempty"` +} + +// NewIroha2BaseConfig instantiates a new Iroha2BaseConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIroha2BaseConfig(torii Iroha2BaseConfigTorii) *Iroha2BaseConfig { + this := Iroha2BaseConfig{} + this.Torii = torii + return &this +} + +// NewIroha2BaseConfigWithDefaults instantiates a new Iroha2BaseConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIroha2BaseConfigWithDefaults() *Iroha2BaseConfig { + this := Iroha2BaseConfig{} + return &this +} + +// GetTorii returns the Torii field value +func (o *Iroha2BaseConfig) GetTorii() Iroha2BaseConfigTorii { + if o == nil { + var ret Iroha2BaseConfigTorii + return ret + } + + return o.Torii +} + +// GetToriiOk returns a tuple with the Torii field value +// and a boolean to check if the value has been set. +func (o *Iroha2BaseConfig) GetToriiOk() (*Iroha2BaseConfigTorii, bool) { + if o == nil { + return nil, false + } + return &o.Torii, true +} + +// SetTorii sets field value +func (o *Iroha2BaseConfig) SetTorii(v Iroha2BaseConfigTorii) { + o.Torii = v +} + +// GetAccountId returns the AccountId field value if set, zero value otherwise. +func (o *Iroha2BaseConfig) GetAccountId() Iroha2AccountId { + if o == nil || IsNil(o.AccountId) { + var ret Iroha2AccountId + return ret + } + return *o.AccountId +} + +// GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Iroha2BaseConfig) GetAccountIdOk() (*Iroha2AccountId, bool) { + if o == nil || IsNil(o.AccountId) { + return nil, false + } + return o.AccountId, true +} + +// HasAccountId returns a boolean if a field has been set. +func (o *Iroha2BaseConfig) HasAccountId() bool { + if o != nil && !IsNil(o.AccountId) { + return true + } + + return false +} + +// SetAccountId gets a reference to the given Iroha2AccountId and assigns it to the AccountId field. +func (o *Iroha2BaseConfig) SetAccountId(v Iroha2AccountId) { + o.AccountId = &v +} + +// GetSigningCredential returns the SigningCredential field value if set, zero value otherwise. +func (o *Iroha2BaseConfig) GetSigningCredential() Iroha2BaseConfigSigningCredential { + if o == nil || IsNil(o.SigningCredential) { + var ret Iroha2BaseConfigSigningCredential + return ret + } + return *o.SigningCredential +} + +// GetSigningCredentialOk returns a tuple with the SigningCredential field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Iroha2BaseConfig) GetSigningCredentialOk() (*Iroha2BaseConfigSigningCredential, bool) { + if o == nil || IsNil(o.SigningCredential) { + return nil, false + } + return o.SigningCredential, true +} + +// HasSigningCredential returns a boolean if a field has been set. +func (o *Iroha2BaseConfig) HasSigningCredential() bool { + if o != nil && !IsNil(o.SigningCredential) { + return true + } + + return false +} + +// SetSigningCredential gets a reference to the given Iroha2BaseConfigSigningCredential and assigns it to the SigningCredential field. +func (o *Iroha2BaseConfig) SetSigningCredential(v Iroha2BaseConfigSigningCredential) { + o.SigningCredential = &v +} + +func (o Iroha2BaseConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Iroha2BaseConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["torii"] = o.Torii + if !IsNil(o.AccountId) { + toSerialize["accountId"] = o.AccountId + } + if !IsNil(o.SigningCredential) { + toSerialize["signingCredential"] = o.SigningCredential + } + return toSerialize, nil +} + +type NullableIroha2BaseConfig struct { + value *Iroha2BaseConfig + isSet bool +} + +func (v NullableIroha2BaseConfig) Get() *Iroha2BaseConfig { + return v.value +} + +func (v *NullableIroha2BaseConfig) Set(val *Iroha2BaseConfig) { + v.value = val + v.isSet = true +} + +func (v NullableIroha2BaseConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableIroha2BaseConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIroha2BaseConfig(val *Iroha2BaseConfig) *NullableIroha2BaseConfig { + return &NullableIroha2BaseConfig{value: val, isSet: true} +} + +func (v NullableIroha2BaseConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIroha2BaseConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_base_config_signing_credential.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_base_config_signing_credential.go new file mode 100644 index 00000000000..9967a35c8cb --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_base_config_signing_credential.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "fmt" +) + +// Iroha2BaseConfigSigningCredential - struct for Iroha2BaseConfigSigningCredential +type Iroha2BaseConfigSigningCredential struct { + Iroha2KeyPair *Iroha2KeyPair + KeychainReference *KeychainReference +} + +// Iroha2KeyPairAsIroha2BaseConfigSigningCredential is a convenience function that returns Iroha2KeyPair wrapped in Iroha2BaseConfigSigningCredential +func Iroha2KeyPairAsIroha2BaseConfigSigningCredential(v *Iroha2KeyPair) Iroha2BaseConfigSigningCredential { + return Iroha2BaseConfigSigningCredential{ + Iroha2KeyPair: v, + } +} + +// KeychainReferenceAsIroha2BaseConfigSigningCredential is a convenience function that returns KeychainReference wrapped in Iroha2BaseConfigSigningCredential +func KeychainReferenceAsIroha2BaseConfigSigningCredential(v *KeychainReference) Iroha2BaseConfigSigningCredential { + return Iroha2BaseConfigSigningCredential{ + KeychainReference: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Iroha2BaseConfigSigningCredential) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Iroha2KeyPair + err = newStrictDecoder(data).Decode(&dst.Iroha2KeyPair) + if err == nil { + jsonIroha2KeyPair, _ := json.Marshal(dst.Iroha2KeyPair) + if string(jsonIroha2KeyPair) == "{}" { // empty struct + dst.Iroha2KeyPair = nil + } else { + match++ + } + } else { + dst.Iroha2KeyPair = nil + } + + // try to unmarshal data into KeychainReference + err = newStrictDecoder(data).Decode(&dst.KeychainReference) + if err == nil { + jsonKeychainReference, _ := json.Marshal(dst.KeychainReference) + if string(jsonKeychainReference) == "{}" { // empty struct + dst.KeychainReference = nil + } else { + match++ + } + } else { + dst.KeychainReference = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Iroha2KeyPair = nil + dst.KeychainReference = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Iroha2BaseConfigSigningCredential)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Iroha2BaseConfigSigningCredential)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Iroha2BaseConfigSigningCredential) MarshalJSON() ([]byte, error) { + if src.Iroha2KeyPair != nil { + return json.Marshal(&src.Iroha2KeyPair) + } + + if src.KeychainReference != nil { + return json.Marshal(&src.KeychainReference) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Iroha2BaseConfigSigningCredential) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Iroha2KeyPair != nil { + return obj.Iroha2KeyPair + } + + if obj.KeychainReference != nil { + return obj.KeychainReference + } + + // all schemas are nil + return nil +} + +type NullableIroha2BaseConfigSigningCredential struct { + value *Iroha2BaseConfigSigningCredential + isSet bool +} + +func (v NullableIroha2BaseConfigSigningCredential) Get() *Iroha2BaseConfigSigningCredential { + return v.value +} + +func (v *NullableIroha2BaseConfigSigningCredential) Set(val *Iroha2BaseConfigSigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableIroha2BaseConfigSigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableIroha2BaseConfigSigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIroha2BaseConfigSigningCredential(val *Iroha2BaseConfigSigningCredential) *NullableIroha2BaseConfigSigningCredential { + return &NullableIroha2BaseConfigSigningCredential{value: val, isSet: true} +} + +func (v NullableIroha2BaseConfigSigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIroha2BaseConfigSigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_base_config_torii.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_base_config_torii.go new file mode 100644 index 00000000000..98dcbb34330 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_base_config_torii.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the Iroha2BaseConfigTorii type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Iroha2BaseConfigTorii{} + +// Iroha2BaseConfigTorii Iroha V2 peer connection information. +type Iroha2BaseConfigTorii struct { + ApiURL *string `json:"apiURL,omitempty"` + TelemetryURL *string `json:"telemetryURL,omitempty"` +} + +// NewIroha2BaseConfigTorii instantiates a new Iroha2BaseConfigTorii object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIroha2BaseConfigTorii() *Iroha2BaseConfigTorii { + this := Iroha2BaseConfigTorii{} + return &this +} + +// NewIroha2BaseConfigToriiWithDefaults instantiates a new Iroha2BaseConfigTorii object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIroha2BaseConfigToriiWithDefaults() *Iroha2BaseConfigTorii { + this := Iroha2BaseConfigTorii{} + return &this +} + +// GetApiURL returns the ApiURL field value if set, zero value otherwise. +func (o *Iroha2BaseConfigTorii) GetApiURL() string { + if o == nil || IsNil(o.ApiURL) { + var ret string + return ret + } + return *o.ApiURL +} + +// GetApiURLOk returns a tuple with the ApiURL field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Iroha2BaseConfigTorii) GetApiURLOk() (*string, bool) { + if o == nil || IsNil(o.ApiURL) { + return nil, false + } + return o.ApiURL, true +} + +// HasApiURL returns a boolean if a field has been set. +func (o *Iroha2BaseConfigTorii) HasApiURL() bool { + if o != nil && !IsNil(o.ApiURL) { + return true + } + + return false +} + +// SetApiURL gets a reference to the given string and assigns it to the ApiURL field. +func (o *Iroha2BaseConfigTorii) SetApiURL(v string) { + o.ApiURL = &v +} + +// GetTelemetryURL returns the TelemetryURL field value if set, zero value otherwise. +func (o *Iroha2BaseConfigTorii) GetTelemetryURL() string { + if o == nil || IsNil(o.TelemetryURL) { + var ret string + return ret + } + return *o.TelemetryURL +} + +// GetTelemetryURLOk returns a tuple with the TelemetryURL field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Iroha2BaseConfigTorii) GetTelemetryURLOk() (*string, bool) { + if o == nil || IsNil(o.TelemetryURL) { + return nil, false + } + return o.TelemetryURL, true +} + +// HasTelemetryURL returns a boolean if a field has been set. +func (o *Iroha2BaseConfigTorii) HasTelemetryURL() bool { + if o != nil && !IsNil(o.TelemetryURL) { + return true + } + + return false +} + +// SetTelemetryURL gets a reference to the given string and assigns it to the TelemetryURL field. +func (o *Iroha2BaseConfigTorii) SetTelemetryURL(v string) { + o.TelemetryURL = &v +} + +func (o Iroha2BaseConfigTorii) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Iroha2BaseConfigTorii) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.ApiURL) { + toSerialize["apiURL"] = o.ApiURL + } + if !IsNil(o.TelemetryURL) { + toSerialize["telemetryURL"] = o.TelemetryURL + } + return toSerialize, nil +} + +type NullableIroha2BaseConfigTorii struct { + value *Iroha2BaseConfigTorii + isSet bool +} + +func (v NullableIroha2BaseConfigTorii) Get() *Iroha2BaseConfigTorii { + return v.value +} + +func (v *NullableIroha2BaseConfigTorii) Set(val *Iroha2BaseConfigTorii) { + v.value = val + v.isSet = true +} + +func (v NullableIroha2BaseConfigTorii) IsSet() bool { + return v.isSet +} + +func (v *NullableIroha2BaseConfigTorii) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIroha2BaseConfigTorii(val *Iroha2BaseConfigTorii) *NullableIroha2BaseConfigTorii { + return &NullableIroha2BaseConfigTorii{value: val, isSet: true} +} + +func (v NullableIroha2BaseConfigTorii) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIroha2BaseConfigTorii) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_key_json.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_key_json.go new file mode 100644 index 00000000000..695510712fe --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_key_json.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the Iroha2KeyJson type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Iroha2KeyJson{} + +// Iroha2KeyJson Private/Public key JSON containing payload and digest function. +type Iroha2KeyJson struct { + DigestFunction string `json:"digestFunction"` + Payload string `json:"payload"` +} + +// NewIroha2KeyJson instantiates a new Iroha2KeyJson object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIroha2KeyJson(digestFunction string, payload string) *Iroha2KeyJson { + this := Iroha2KeyJson{} + this.DigestFunction = digestFunction + this.Payload = payload + return &this +} + +// NewIroha2KeyJsonWithDefaults instantiates a new Iroha2KeyJson object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIroha2KeyJsonWithDefaults() *Iroha2KeyJson { + this := Iroha2KeyJson{} + return &this +} + +// GetDigestFunction returns the DigestFunction field value +func (o *Iroha2KeyJson) GetDigestFunction() string { + if o == nil { + var ret string + return ret + } + + return o.DigestFunction +} + +// GetDigestFunctionOk returns a tuple with the DigestFunction field value +// and a boolean to check if the value has been set. +func (o *Iroha2KeyJson) GetDigestFunctionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.DigestFunction, true +} + +// SetDigestFunction sets field value +func (o *Iroha2KeyJson) SetDigestFunction(v string) { + o.DigestFunction = v +} + +// GetPayload returns the Payload field value +func (o *Iroha2KeyJson) GetPayload() string { + if o == nil { + var ret string + return ret + } + + return o.Payload +} + +// GetPayloadOk returns a tuple with the Payload field value +// and a boolean to check if the value has been set. +func (o *Iroha2KeyJson) GetPayloadOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Payload, true +} + +// SetPayload sets field value +func (o *Iroha2KeyJson) SetPayload(v string) { + o.Payload = v +} + +func (o Iroha2KeyJson) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Iroha2KeyJson) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["digestFunction"] = o.DigestFunction + toSerialize["payload"] = o.Payload + return toSerialize, nil +} + +type NullableIroha2KeyJson struct { + value *Iroha2KeyJson + isSet bool +} + +func (v NullableIroha2KeyJson) Get() *Iroha2KeyJson { + return v.value +} + +func (v *NullableIroha2KeyJson) Set(val *Iroha2KeyJson) { + v.value = val + v.isSet = true +} + +func (v NullableIroha2KeyJson) IsSet() bool { + return v.isSet +} + +func (v *NullableIroha2KeyJson) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIroha2KeyJson(val *Iroha2KeyJson) *NullableIroha2KeyJson { + return &NullableIroha2KeyJson{value: val, isSet: true} +} + +func (v NullableIroha2KeyJson) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIroha2KeyJson) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_key_pair.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_key_pair.go new file mode 100644 index 00000000000..31b7dbc0d25 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha2_key_pair.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the Iroha2KeyPair type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Iroha2KeyPair{} + +// Iroha2KeyPair Pair of Iroha account private and public keys. +type Iroha2KeyPair struct { + PrivateKey Iroha2KeyJson `json:"privateKey"` + PublicKey string `json:"publicKey"` +} + +// NewIroha2KeyPair instantiates a new Iroha2KeyPair object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIroha2KeyPair(privateKey Iroha2KeyJson, publicKey string) *Iroha2KeyPair { + this := Iroha2KeyPair{} + this.PrivateKey = privateKey + this.PublicKey = publicKey + return &this +} + +// NewIroha2KeyPairWithDefaults instantiates a new Iroha2KeyPair object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIroha2KeyPairWithDefaults() *Iroha2KeyPair { + this := Iroha2KeyPair{} + return &this +} + +// GetPrivateKey returns the PrivateKey field value +func (o *Iroha2KeyPair) GetPrivateKey() Iroha2KeyJson { + if o == nil { + var ret Iroha2KeyJson + return ret + } + + return o.PrivateKey +} + +// GetPrivateKeyOk returns a tuple with the PrivateKey field value +// and a boolean to check if the value has been set. +func (o *Iroha2KeyPair) GetPrivateKeyOk() (*Iroha2KeyJson, bool) { + if o == nil { + return nil, false + } + return &o.PrivateKey, true +} + +// SetPrivateKey sets field value +func (o *Iroha2KeyPair) SetPrivateKey(v Iroha2KeyJson) { + o.PrivateKey = v +} + +// GetPublicKey returns the PublicKey field value +func (o *Iroha2KeyPair) GetPublicKey() string { + if o == nil { + var ret string + return ret + } + + return o.PublicKey +} + +// GetPublicKeyOk returns a tuple with the PublicKey field value +// and a boolean to check if the value has been set. +func (o *Iroha2KeyPair) GetPublicKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PublicKey, true +} + +// SetPublicKey sets field value +func (o *Iroha2KeyPair) SetPublicKey(v string) { + o.PublicKey = v +} + +func (o Iroha2KeyPair) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Iroha2KeyPair) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["privateKey"] = o.PrivateKey + toSerialize["publicKey"] = o.PublicKey + return toSerialize, nil +} + +type NullableIroha2KeyPair struct { + value *Iroha2KeyPair + isSet bool +} + +func (v NullableIroha2KeyPair) Get() *Iroha2KeyPair { + return v.value +} + +func (v *NullableIroha2KeyPair) Set(val *Iroha2KeyPair) { + v.value = val + v.isSet = true +} + +func (v NullableIroha2KeyPair) IsSet() bool { + return v.isSet +} + +func (v *NullableIroha2KeyPair) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIroha2KeyPair(val *Iroha2KeyPair) *NullableIroha2KeyPair { + return &NullableIroha2KeyPair{value: val, isSet: true} +} + +func (v NullableIroha2KeyPair) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIroha2KeyPair) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_instruction.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_instruction.go new file mode 100644 index 00000000000..e59196c5c25 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_instruction.go @@ -0,0 +1,121 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "fmt" +) + +// IrohaInstruction Command names that correspond to Iroha Special Instructions (https://hyperledger.github.io/iroha-2-docs/guide/advanced/isi.html) +type IrohaInstruction string + +// List of IrohaInstruction +const ( + RegisterDomain IrohaInstruction = "registerDomain" + RegisterAssetDefinition IrohaInstruction = "registerAssetDefinition" + RegisterAsset IrohaInstruction = "registerAsset" + MintAsset IrohaInstruction = "mintAsset" + BurnAsset IrohaInstruction = "burnAsset" + TransferAsset IrohaInstruction = "transferAsset" + RegisterAccount IrohaInstruction = "registerAccount" +) + +// All allowed values of IrohaInstruction enum +var AllowedIrohaInstructionEnumValues = []IrohaInstruction{ + "registerDomain", + "registerAssetDefinition", + "registerAsset", + "mintAsset", + "burnAsset", + "transferAsset", + "registerAccount", +} + +func (v *IrohaInstruction) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IrohaInstruction(value) + for _, existing := range AllowedIrohaInstructionEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IrohaInstruction", value) +} + +// NewIrohaInstructionFromValue returns a pointer to a valid IrohaInstruction +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIrohaInstructionFromValue(v string) (*IrohaInstruction, error) { + ev := IrohaInstruction(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IrohaInstruction: valid values are %v", v, AllowedIrohaInstructionEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IrohaInstruction) IsValid() bool { + for _, existing := range AllowedIrohaInstructionEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to IrohaInstruction value +func (v IrohaInstruction) Ptr() *IrohaInstruction { + return &v +} + +type NullableIrohaInstruction struct { + value *IrohaInstruction + isSet bool +} + +func (v NullableIrohaInstruction) Get() *IrohaInstruction { + return v.value +} + +func (v *NullableIrohaInstruction) Set(val *IrohaInstruction) { + v.value = val + v.isSet = true +} + +func (v NullableIrohaInstruction) IsSet() bool { + return v.isSet +} + +func (v *NullableIrohaInstruction) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIrohaInstruction(val *IrohaInstruction) *NullableIrohaInstruction { + return &NullableIrohaInstruction{value: val, isSet: true} +} + +func (v NullableIrohaInstruction) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIrohaInstruction) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_instruction_request_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_instruction_request_v1.go new file mode 100644 index 00000000000..143d03a7750 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_instruction_request_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the IrohaInstructionRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &IrohaInstructionRequestV1{} + +// IrohaInstructionRequestV1 Single Iroha V2 instruction to be executed request. +type IrohaInstructionRequestV1 struct { + // Iroha V2 instruction name. + Name IrohaInstruction `json:"name"` + // The list of arguments to pass with specified instruction. + Params []interface{} `json:"params"` +} + +// NewIrohaInstructionRequestV1 instantiates a new IrohaInstructionRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIrohaInstructionRequestV1(name IrohaInstruction, params []interface{}) *IrohaInstructionRequestV1 { + this := IrohaInstructionRequestV1{} + this.Name = name + this.Params = params + return &this +} + +// NewIrohaInstructionRequestV1WithDefaults instantiates a new IrohaInstructionRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIrohaInstructionRequestV1WithDefaults() *IrohaInstructionRequestV1 { + this := IrohaInstructionRequestV1{} + return &this +} + +// GetName returns the Name field value +func (o *IrohaInstructionRequestV1) GetName() IrohaInstruction { + if o == nil { + var ret IrohaInstruction + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *IrohaInstructionRequestV1) GetNameOk() (*IrohaInstruction, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *IrohaInstructionRequestV1) SetName(v IrohaInstruction) { + o.Name = v +} + +// GetParams returns the Params field value +func (o *IrohaInstructionRequestV1) GetParams() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *IrohaInstructionRequestV1) GetParamsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *IrohaInstructionRequestV1) SetParams(v []interface{}) { + o.Params = v +} + +func (o IrohaInstructionRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o IrohaInstructionRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["params"] = o.Params + return toSerialize, nil +} + +type NullableIrohaInstructionRequestV1 struct { + value *IrohaInstructionRequestV1 + isSet bool +} + +func (v NullableIrohaInstructionRequestV1) Get() *IrohaInstructionRequestV1 { + return v.value +} + +func (v *NullableIrohaInstructionRequestV1) Set(val *IrohaInstructionRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableIrohaInstructionRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableIrohaInstructionRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIrohaInstructionRequestV1(val *IrohaInstructionRequestV1) *NullableIrohaInstructionRequestV1 { + return &NullableIrohaInstructionRequestV1{value: val, isSet: true} +} + +func (v NullableIrohaInstructionRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIrohaInstructionRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_query.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_query.go new file mode 100644 index 00000000000..98f0985de0e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_query.go @@ -0,0 +1,131 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "fmt" +) + +// IrohaQuery Command names that correspond to Iroha queries (https://hyperledger.github.io/iroha-2-docs/guide/advanced/queries.html) +type IrohaQuery string + +// List of IrohaQuery +const ( + FindAllDomains IrohaQuery = "findAllDomains" + FindDomainById IrohaQuery = "findDomainById" + FindAssetDefinitionById IrohaQuery = "findAssetDefinitionById" + FindAllAssetsDefinitions IrohaQuery = "findAllAssetsDefinitions" + FindAssetById IrohaQuery = "findAssetById" + FindAllAssets IrohaQuery = "findAllAssets" + FindAllPeers IrohaQuery = "findAllPeers" + FindAllBlocks IrohaQuery = "findAllBlocks" + FindAccountById IrohaQuery = "findAccountById" + FindAllAccounts IrohaQuery = "findAllAccounts" + FindAllTransactions IrohaQuery = "findAllTransactions" + FindTransactionByHash IrohaQuery = "findTransactionByHash" +) + +// All allowed values of IrohaQuery enum +var AllowedIrohaQueryEnumValues = []IrohaQuery{ + "findAllDomains", + "findDomainById", + "findAssetDefinitionById", + "findAllAssetsDefinitions", + "findAssetById", + "findAllAssets", + "findAllPeers", + "findAllBlocks", + "findAccountById", + "findAllAccounts", + "findAllTransactions", + "findTransactionByHash", +} + +func (v *IrohaQuery) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IrohaQuery(value) + for _, existing := range AllowedIrohaQueryEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IrohaQuery", value) +} + +// NewIrohaQueryFromValue returns a pointer to a valid IrohaQuery +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIrohaQueryFromValue(v string) (*IrohaQuery, error) { + ev := IrohaQuery(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IrohaQuery: valid values are %v", v, AllowedIrohaQueryEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IrohaQuery) IsValid() bool { + for _, existing := range AllowedIrohaQueryEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to IrohaQuery value +func (v IrohaQuery) Ptr() *IrohaQuery { + return &v +} + +type NullableIrohaQuery struct { + value *IrohaQuery + isSet bool +} + +func (v NullableIrohaQuery) Get() *IrohaQuery { + return v.value +} + +func (v *NullableIrohaQuery) Set(val *IrohaQuery) { + v.value = val + v.isSet = true +} + +func (v NullableIrohaQuery) IsSet() bool { + return v.isSet +} + +func (v *NullableIrohaQuery) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIrohaQuery(val *IrohaQuery) *NullableIrohaQuery { + return &NullableIrohaQuery{value: val, isSet: true} +} + +func (v NullableIrohaQuery) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIrohaQuery) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_query_definition_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_query_definition_v1.go new file mode 100644 index 00000000000..d34ef733589 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_query_definition_v1.go @@ -0,0 +1,155 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the IrohaQueryDefinitionV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &IrohaQueryDefinitionV1{} + +// IrohaQueryDefinitionV1 Iroha V2 query definition. +type IrohaQueryDefinitionV1 struct { + // Name of the query to be executed. + Query IrohaQuery `json:"query"` + // The list of arguments to pass with the query. + Params []interface{} `json:"params,omitempty"` +} + +// NewIrohaQueryDefinitionV1 instantiates a new IrohaQueryDefinitionV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIrohaQueryDefinitionV1(query IrohaQuery) *IrohaQueryDefinitionV1 { + this := IrohaQueryDefinitionV1{} + this.Query = query + return &this +} + +// NewIrohaQueryDefinitionV1WithDefaults instantiates a new IrohaQueryDefinitionV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIrohaQueryDefinitionV1WithDefaults() *IrohaQueryDefinitionV1 { + this := IrohaQueryDefinitionV1{} + return &this +} + +// GetQuery returns the Query field value +func (o *IrohaQueryDefinitionV1) GetQuery() IrohaQuery { + if o == nil { + var ret IrohaQuery + return ret + } + + return o.Query +} + +// GetQueryOk returns a tuple with the Query field value +// and a boolean to check if the value has been set. +func (o *IrohaQueryDefinitionV1) GetQueryOk() (*IrohaQuery, bool) { + if o == nil { + return nil, false + } + return &o.Query, true +} + +// SetQuery sets field value +func (o *IrohaQueryDefinitionV1) SetQuery(v IrohaQuery) { + o.Query = v +} + +// GetParams returns the Params field value if set, zero value otherwise. +func (o *IrohaQueryDefinitionV1) GetParams() []interface{} { + if o == nil || IsNil(o.Params) { + var ret []interface{} + return ret + } + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IrohaQueryDefinitionV1) GetParamsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Params) { + return nil, false + } + return o.Params, true +} + +// HasParams returns a boolean if a field has been set. +func (o *IrohaQueryDefinitionV1) HasParams() bool { + if o != nil && !IsNil(o.Params) { + return true + } + + return false +} + +// SetParams gets a reference to the given []interface{} and assigns it to the Params field. +func (o *IrohaQueryDefinitionV1) SetParams(v []interface{}) { + o.Params = v +} + +func (o IrohaQueryDefinitionV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o IrohaQueryDefinitionV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["query"] = o.Query + if !IsNil(o.Params) { + toSerialize["params"] = o.Params + } + return toSerialize, nil +} + +type NullableIrohaQueryDefinitionV1 struct { + value *IrohaQueryDefinitionV1 + isSet bool +} + +func (v NullableIrohaQueryDefinitionV1) Get() *IrohaQueryDefinitionV1 { + return v.value +} + +func (v *NullableIrohaQueryDefinitionV1) Set(val *IrohaQueryDefinitionV1) { + v.value = val + v.isSet = true +} + +func (v NullableIrohaQueryDefinitionV1) IsSet() bool { + return v.isSet +} + +func (v *NullableIrohaQueryDefinitionV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIrohaQueryDefinitionV1(val *IrohaQueryDefinitionV1) *NullableIrohaQueryDefinitionV1 { + return &NullableIrohaQueryDefinitionV1{value: val, isSet: true} +} + +func (v NullableIrohaQueryDefinitionV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIrohaQueryDefinitionV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_signed_query_definition_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_signed_query_definition_v1.go new file mode 100644 index 00000000000..ccaafbebec8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_signed_query_definition_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the IrohaSignedQueryDefinitionV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &IrohaSignedQueryDefinitionV1{} + +// IrohaSignedQueryDefinitionV1 Iroha V2 signed query definition +type IrohaSignedQueryDefinitionV1 struct { + // Name of the query to be executed. + Query IrohaQuery `json:"query"` + // Signed query transaction binary data received from generate-transaction endpoint. + Payload string `json:"payload"` +} + +// NewIrohaSignedQueryDefinitionV1 instantiates a new IrohaSignedQueryDefinitionV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIrohaSignedQueryDefinitionV1(query IrohaQuery, payload string) *IrohaSignedQueryDefinitionV1 { + this := IrohaSignedQueryDefinitionV1{} + this.Query = query + this.Payload = payload + return &this +} + +// NewIrohaSignedQueryDefinitionV1WithDefaults instantiates a new IrohaSignedQueryDefinitionV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIrohaSignedQueryDefinitionV1WithDefaults() *IrohaSignedQueryDefinitionV1 { + this := IrohaSignedQueryDefinitionV1{} + return &this +} + +// GetQuery returns the Query field value +func (o *IrohaSignedQueryDefinitionV1) GetQuery() IrohaQuery { + if o == nil { + var ret IrohaQuery + return ret + } + + return o.Query +} + +// GetQueryOk returns a tuple with the Query field value +// and a boolean to check if the value has been set. +func (o *IrohaSignedQueryDefinitionV1) GetQueryOk() (*IrohaQuery, bool) { + if o == nil { + return nil, false + } + return &o.Query, true +} + +// SetQuery sets field value +func (o *IrohaSignedQueryDefinitionV1) SetQuery(v IrohaQuery) { + o.Query = v +} + +// GetPayload returns the Payload field value +func (o *IrohaSignedQueryDefinitionV1) GetPayload() string { + if o == nil { + var ret string + return ret + } + + return o.Payload +} + +// GetPayloadOk returns a tuple with the Payload field value +// and a boolean to check if the value has been set. +func (o *IrohaSignedQueryDefinitionV1) GetPayloadOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Payload, true +} + +// SetPayload sets field value +func (o *IrohaSignedQueryDefinitionV1) SetPayload(v string) { + o.Payload = v +} + +func (o IrohaSignedQueryDefinitionV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o IrohaSignedQueryDefinitionV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["query"] = o.Query + toSerialize["payload"] = o.Payload + return toSerialize, nil +} + +type NullableIrohaSignedQueryDefinitionV1 struct { + value *IrohaSignedQueryDefinitionV1 + isSet bool +} + +func (v NullableIrohaSignedQueryDefinitionV1) Get() *IrohaSignedQueryDefinitionV1 { + return v.value +} + +func (v *NullableIrohaSignedQueryDefinitionV1) Set(val *IrohaSignedQueryDefinitionV1) { + v.value = val + v.isSet = true +} + +func (v NullableIrohaSignedQueryDefinitionV1) IsSet() bool { + return v.isSet +} + +func (v *NullableIrohaSignedQueryDefinitionV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIrohaSignedQueryDefinitionV1(val *IrohaSignedQueryDefinitionV1) *NullableIrohaSignedQueryDefinitionV1 { + return &NullableIrohaSignedQueryDefinitionV1{value: val, isSet: true} +} + +func (v NullableIrohaSignedQueryDefinitionV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIrohaSignedQueryDefinitionV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_transaction_definition_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_transaction_definition_v1.go new file mode 100644 index 00000000000..97f8e67ac2b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_transaction_definition_v1.go @@ -0,0 +1,153 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the IrohaTransactionDefinitionV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &IrohaTransactionDefinitionV1{} + +// IrohaTransactionDefinitionV1 Iroha V2 transaction definition +type IrohaTransactionDefinitionV1 struct { + Instruction IrohaTransactionDefinitionV1Instruction `json:"instruction"` + Params *IrohaTransactionParametersV1 `json:"params,omitempty"` +} + +// NewIrohaTransactionDefinitionV1 instantiates a new IrohaTransactionDefinitionV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIrohaTransactionDefinitionV1(instruction IrohaTransactionDefinitionV1Instruction) *IrohaTransactionDefinitionV1 { + this := IrohaTransactionDefinitionV1{} + this.Instruction = instruction + return &this +} + +// NewIrohaTransactionDefinitionV1WithDefaults instantiates a new IrohaTransactionDefinitionV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIrohaTransactionDefinitionV1WithDefaults() *IrohaTransactionDefinitionV1 { + this := IrohaTransactionDefinitionV1{} + return &this +} + +// GetInstruction returns the Instruction field value +func (o *IrohaTransactionDefinitionV1) GetInstruction() IrohaTransactionDefinitionV1Instruction { + if o == nil { + var ret IrohaTransactionDefinitionV1Instruction + return ret + } + + return o.Instruction +} + +// GetInstructionOk returns a tuple with the Instruction field value +// and a boolean to check if the value has been set. +func (o *IrohaTransactionDefinitionV1) GetInstructionOk() (*IrohaTransactionDefinitionV1Instruction, bool) { + if o == nil { + return nil, false + } + return &o.Instruction, true +} + +// SetInstruction sets field value +func (o *IrohaTransactionDefinitionV1) SetInstruction(v IrohaTransactionDefinitionV1Instruction) { + o.Instruction = v +} + +// GetParams returns the Params field value if set, zero value otherwise. +func (o *IrohaTransactionDefinitionV1) GetParams() IrohaTransactionParametersV1 { + if o == nil || IsNil(o.Params) { + var ret IrohaTransactionParametersV1 + return ret + } + return *o.Params +} + +// GetParamsOk returns a tuple with the Params field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IrohaTransactionDefinitionV1) GetParamsOk() (*IrohaTransactionParametersV1, bool) { + if o == nil || IsNil(o.Params) { + return nil, false + } + return o.Params, true +} + +// HasParams returns a boolean if a field has been set. +func (o *IrohaTransactionDefinitionV1) HasParams() bool { + if o != nil && !IsNil(o.Params) { + return true + } + + return false +} + +// SetParams gets a reference to the given IrohaTransactionParametersV1 and assigns it to the Params field. +func (o *IrohaTransactionDefinitionV1) SetParams(v IrohaTransactionParametersV1) { + o.Params = &v +} + +func (o IrohaTransactionDefinitionV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o IrohaTransactionDefinitionV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["instruction"] = o.Instruction + if !IsNil(o.Params) { + toSerialize["params"] = o.Params + } + return toSerialize, nil +} + +type NullableIrohaTransactionDefinitionV1 struct { + value *IrohaTransactionDefinitionV1 + isSet bool +} + +func (v NullableIrohaTransactionDefinitionV1) Get() *IrohaTransactionDefinitionV1 { + return v.value +} + +func (v *NullableIrohaTransactionDefinitionV1) Set(val *IrohaTransactionDefinitionV1) { + v.value = val + v.isSet = true +} + +func (v NullableIrohaTransactionDefinitionV1) IsSet() bool { + return v.isSet +} + +func (v *NullableIrohaTransactionDefinitionV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIrohaTransactionDefinitionV1(val *IrohaTransactionDefinitionV1) *NullableIrohaTransactionDefinitionV1 { + return &NullableIrohaTransactionDefinitionV1{value: val, isSet: true} +} + +func (v NullableIrohaTransactionDefinitionV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIrohaTransactionDefinitionV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_transaction_definition_v1_instruction.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_transaction_definition_v1_instruction.go new file mode 100644 index 00000000000..2242a4a2a41 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_transaction_definition_v1_instruction.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "fmt" +) + +// IrohaTransactionDefinitionV1Instruction - struct for IrohaTransactionDefinitionV1Instruction +type IrohaTransactionDefinitionV1Instruction struct { + IrohaInstructionRequestV1 *IrohaInstructionRequestV1 + ArrayOfIrohaInstructionRequestV1 *[]IrohaInstructionRequestV1 +} + +// IrohaInstructionRequestV1AsIrohaTransactionDefinitionV1Instruction is a convenience function that returns IrohaInstructionRequestV1 wrapped in IrohaTransactionDefinitionV1Instruction +func IrohaInstructionRequestV1AsIrohaTransactionDefinitionV1Instruction(v *IrohaInstructionRequestV1) IrohaTransactionDefinitionV1Instruction { + return IrohaTransactionDefinitionV1Instruction{ + IrohaInstructionRequestV1: v, + } +} + +// []IrohaInstructionRequestV1AsIrohaTransactionDefinitionV1Instruction is a convenience function that returns []IrohaInstructionRequestV1 wrapped in IrohaTransactionDefinitionV1Instruction +func ArrayOfIrohaInstructionRequestV1AsIrohaTransactionDefinitionV1Instruction(v *[]IrohaInstructionRequestV1) IrohaTransactionDefinitionV1Instruction { + return IrohaTransactionDefinitionV1Instruction{ + ArrayOfIrohaInstructionRequestV1: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *IrohaTransactionDefinitionV1Instruction) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into IrohaInstructionRequestV1 + err = newStrictDecoder(data).Decode(&dst.IrohaInstructionRequestV1) + if err == nil { + jsonIrohaInstructionRequestV1, _ := json.Marshal(dst.IrohaInstructionRequestV1) + if string(jsonIrohaInstructionRequestV1) == "{}" { // empty struct + dst.IrohaInstructionRequestV1 = nil + } else { + match++ + } + } else { + dst.IrohaInstructionRequestV1 = nil + } + + // try to unmarshal data into ArrayOfIrohaInstructionRequestV1 + err = newStrictDecoder(data).Decode(&dst.ArrayOfIrohaInstructionRequestV1) + if err == nil { + jsonArrayOfIrohaInstructionRequestV1, _ := json.Marshal(dst.ArrayOfIrohaInstructionRequestV1) + if string(jsonArrayOfIrohaInstructionRequestV1) == "{}" { // empty struct + dst.ArrayOfIrohaInstructionRequestV1 = nil + } else { + match++ + } + } else { + dst.ArrayOfIrohaInstructionRequestV1 = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.IrohaInstructionRequestV1 = nil + dst.ArrayOfIrohaInstructionRequestV1 = nil + + return fmt.Errorf("data matches more than one schema in oneOf(IrohaTransactionDefinitionV1Instruction)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(IrohaTransactionDefinitionV1Instruction)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src IrohaTransactionDefinitionV1Instruction) MarshalJSON() ([]byte, error) { + if src.IrohaInstructionRequestV1 != nil { + return json.Marshal(&src.IrohaInstructionRequestV1) + } + + if src.ArrayOfIrohaInstructionRequestV1 != nil { + return json.Marshal(&src.ArrayOfIrohaInstructionRequestV1) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *IrohaTransactionDefinitionV1Instruction) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.IrohaInstructionRequestV1 != nil { + return obj.IrohaInstructionRequestV1 + } + + if obj.ArrayOfIrohaInstructionRequestV1 != nil { + return obj.ArrayOfIrohaInstructionRequestV1 + } + + // all schemas are nil + return nil +} + +type NullableIrohaTransactionDefinitionV1Instruction struct { + value *IrohaTransactionDefinitionV1Instruction + isSet bool +} + +func (v NullableIrohaTransactionDefinitionV1Instruction) Get() *IrohaTransactionDefinitionV1Instruction { + return v.value +} + +func (v *NullableIrohaTransactionDefinitionV1Instruction) Set(val *IrohaTransactionDefinitionV1Instruction) { + v.value = val + v.isSet = true +} + +func (v NullableIrohaTransactionDefinitionV1Instruction) IsSet() bool { + return v.isSet +} + +func (v *NullableIrohaTransactionDefinitionV1Instruction) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIrohaTransactionDefinitionV1Instruction(val *IrohaTransactionDefinitionV1Instruction) *NullableIrohaTransactionDefinitionV1Instruction { + return &NullableIrohaTransactionDefinitionV1Instruction{value: val, isSet: true} +} + +func (v NullableIrohaTransactionDefinitionV1Instruction) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIrohaTransactionDefinitionV1Instruction) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_transaction_parameters_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_transaction_parameters_v1.go new file mode 100644 index 00000000000..e69be44440e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_iroha_transaction_parameters_v1.go @@ -0,0 +1,228 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the IrohaTransactionParametersV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &IrohaTransactionParametersV1{} + +// IrohaTransactionParametersV1 Iroha V2 transaction payload parameters +type IrohaTransactionParametersV1 struct { + // BigInt time to live. + Ttl *string `json:"ttl,omitempty"` + // BigInt creation time + CreationTime *string `json:"creationTime,omitempty"` + // Transaction nonce + Nonce *float32 `json:"nonce,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _IrohaTransactionParametersV1 IrohaTransactionParametersV1 + +// NewIrohaTransactionParametersV1 instantiates a new IrohaTransactionParametersV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIrohaTransactionParametersV1() *IrohaTransactionParametersV1 { + this := IrohaTransactionParametersV1{} + return &this +} + +// NewIrohaTransactionParametersV1WithDefaults instantiates a new IrohaTransactionParametersV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIrohaTransactionParametersV1WithDefaults() *IrohaTransactionParametersV1 { + this := IrohaTransactionParametersV1{} + return &this +} + +// GetTtl returns the Ttl field value if set, zero value otherwise. +func (o *IrohaTransactionParametersV1) GetTtl() string { + if o == nil || IsNil(o.Ttl) { + var ret string + return ret + } + return *o.Ttl +} + +// GetTtlOk returns a tuple with the Ttl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IrohaTransactionParametersV1) GetTtlOk() (*string, bool) { + if o == nil || IsNil(o.Ttl) { + return nil, false + } + return o.Ttl, true +} + +// HasTtl returns a boolean if a field has been set. +func (o *IrohaTransactionParametersV1) HasTtl() bool { + if o != nil && !IsNil(o.Ttl) { + return true + } + + return false +} + +// SetTtl gets a reference to the given string and assigns it to the Ttl field. +func (o *IrohaTransactionParametersV1) SetTtl(v string) { + o.Ttl = &v +} + +// GetCreationTime returns the CreationTime field value if set, zero value otherwise. +func (o *IrohaTransactionParametersV1) GetCreationTime() string { + if o == nil || IsNil(o.CreationTime) { + var ret string + return ret + } + return *o.CreationTime +} + +// GetCreationTimeOk returns a tuple with the CreationTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IrohaTransactionParametersV1) GetCreationTimeOk() (*string, bool) { + if o == nil || IsNil(o.CreationTime) { + return nil, false + } + return o.CreationTime, true +} + +// HasCreationTime returns a boolean if a field has been set. +func (o *IrohaTransactionParametersV1) HasCreationTime() bool { + if o != nil && !IsNil(o.CreationTime) { + return true + } + + return false +} + +// SetCreationTime gets a reference to the given string and assigns it to the CreationTime field. +func (o *IrohaTransactionParametersV1) SetCreationTime(v string) { + o.CreationTime = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *IrohaTransactionParametersV1) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IrohaTransactionParametersV1) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *IrohaTransactionParametersV1) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *IrohaTransactionParametersV1) SetNonce(v float32) { + o.Nonce = &v +} + +func (o IrohaTransactionParametersV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o IrohaTransactionParametersV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Ttl) { + toSerialize["ttl"] = o.Ttl + } + if !IsNil(o.CreationTime) { + toSerialize["creationTime"] = o.CreationTime + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *IrohaTransactionParametersV1) UnmarshalJSON(bytes []byte) (err error) { + varIrohaTransactionParametersV1 := _IrohaTransactionParametersV1{} + + if err = json.Unmarshal(bytes, &varIrohaTransactionParametersV1); err == nil { + *o = IrohaTransactionParametersV1(varIrohaTransactionParametersV1) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "ttl") + delete(additionalProperties, "creationTime") + delete(additionalProperties, "nonce") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableIrohaTransactionParametersV1 struct { + value *IrohaTransactionParametersV1 + isSet bool +} + +func (v NullableIrohaTransactionParametersV1) Get() *IrohaTransactionParametersV1 { + return v.value +} + +func (v *NullableIrohaTransactionParametersV1) Set(val *IrohaTransactionParametersV1) { + v.value = val + v.isSet = true +} + +func (v NullableIrohaTransactionParametersV1) IsSet() bool { + return v.isSet +} + +func (v *NullableIrohaTransactionParametersV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIrohaTransactionParametersV1(val *IrohaTransactionParametersV1) *NullableIrohaTransactionParametersV1 { + return &NullableIrohaTransactionParametersV1{value: val, isSet: true} +} + +func (v NullableIrohaTransactionParametersV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIrohaTransactionParametersV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_keychain_reference.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_keychain_reference.go new file mode 100644 index 00000000000..d93bceb3d6c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_keychain_reference.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the KeychainReference type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &KeychainReference{} + +// KeychainReference Reference to entry stored in Cactus keychain plugin. +type KeychainReference struct { + // Keychain plugin ID. + KeychainId string `json:"keychainId"` + // Key reference name. + KeychainRef string `json:"keychainRef"` +} + +// NewKeychainReference instantiates a new KeychainReference object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewKeychainReference(keychainId string, keychainRef string) *KeychainReference { + this := KeychainReference{} + this.KeychainId = keychainId + this.KeychainRef = keychainRef + return &this +} + +// NewKeychainReferenceWithDefaults instantiates a new KeychainReference object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewKeychainReferenceWithDefaults() *KeychainReference { + this := KeychainReference{} + return &this +} + +// GetKeychainId returns the KeychainId field value +func (o *KeychainReference) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *KeychainReference) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *KeychainReference) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetKeychainRef returns the KeychainRef field value +func (o *KeychainReference) GetKeychainRef() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainRef +} + +// GetKeychainRefOk returns a tuple with the KeychainRef field value +// and a boolean to check if the value has been set. +func (o *KeychainReference) GetKeychainRefOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainRef, true +} + +// SetKeychainRef sets field value +func (o *KeychainReference) SetKeychainRef(v string) { + o.KeychainRef = v +} + +func (o KeychainReference) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o KeychainReference) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["keychainId"] = o.KeychainId + toSerialize["keychainRef"] = o.KeychainRef + return toSerialize, nil +} + +type NullableKeychainReference struct { + value *KeychainReference + isSet bool +} + +func (v NullableKeychainReference) Get() *KeychainReference { + return v.value +} + +func (v *NullableKeychainReference) Set(val *KeychainReference) { + v.value = val + v.isSet = true +} + +func (v NullableKeychainReference) IsSet() bool { + return v.isSet +} + +func (v *NullableKeychainReference) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableKeychainReference(val *KeychainReference) *NullableKeychainReference { + return &NullableKeychainReference{value: val, isSet: true} +} + +func (v NullableKeychainReference) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableKeychainReference) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_query_request_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_query_request_v1.go new file mode 100644 index 00000000000..e1f547c09a1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_query_request_v1.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the QueryRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &QueryRequestV1{} + +// QueryRequestV1 Request to query endpoint. +type QueryRequestV1 struct { + Query *IrohaQueryDefinitionV1 `json:"query,omitempty"` + SignedQuery *IrohaSignedQueryDefinitionV1 `json:"signedQuery,omitempty"` + BaseConfig *Iroha2BaseConfig `json:"baseConfig,omitempty"` +} + +// NewQueryRequestV1 instantiates a new QueryRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQueryRequestV1() *QueryRequestV1 { + this := QueryRequestV1{} + return &this +} + +// NewQueryRequestV1WithDefaults instantiates a new QueryRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQueryRequestV1WithDefaults() *QueryRequestV1 { + this := QueryRequestV1{} + return &this +} + +// GetQuery returns the Query field value if set, zero value otherwise. +func (o *QueryRequestV1) GetQuery() IrohaQueryDefinitionV1 { + if o == nil || IsNil(o.Query) { + var ret IrohaQueryDefinitionV1 + return ret + } + return *o.Query +} + +// GetQueryOk returns a tuple with the Query field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueryRequestV1) GetQueryOk() (*IrohaQueryDefinitionV1, bool) { + if o == nil || IsNil(o.Query) { + return nil, false + } + return o.Query, true +} + +// HasQuery returns a boolean if a field has been set. +func (o *QueryRequestV1) HasQuery() bool { + if o != nil && !IsNil(o.Query) { + return true + } + + return false +} + +// SetQuery gets a reference to the given IrohaQueryDefinitionV1 and assigns it to the Query field. +func (o *QueryRequestV1) SetQuery(v IrohaQueryDefinitionV1) { + o.Query = &v +} + +// GetSignedQuery returns the SignedQuery field value if set, zero value otherwise. +func (o *QueryRequestV1) GetSignedQuery() IrohaSignedQueryDefinitionV1 { + if o == nil || IsNil(o.SignedQuery) { + var ret IrohaSignedQueryDefinitionV1 + return ret + } + return *o.SignedQuery +} + +// GetSignedQueryOk returns a tuple with the SignedQuery field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueryRequestV1) GetSignedQueryOk() (*IrohaSignedQueryDefinitionV1, bool) { + if o == nil || IsNil(o.SignedQuery) { + return nil, false + } + return o.SignedQuery, true +} + +// HasSignedQuery returns a boolean if a field has been set. +func (o *QueryRequestV1) HasSignedQuery() bool { + if o != nil && !IsNil(o.SignedQuery) { + return true + } + + return false +} + +// SetSignedQuery gets a reference to the given IrohaSignedQueryDefinitionV1 and assigns it to the SignedQuery field. +func (o *QueryRequestV1) SetSignedQuery(v IrohaSignedQueryDefinitionV1) { + o.SignedQuery = &v +} + +// GetBaseConfig returns the BaseConfig field value if set, zero value otherwise. +func (o *QueryRequestV1) GetBaseConfig() Iroha2BaseConfig { + if o == nil || IsNil(o.BaseConfig) { + var ret Iroha2BaseConfig + return ret + } + return *o.BaseConfig +} + +// GetBaseConfigOk returns a tuple with the BaseConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueryRequestV1) GetBaseConfigOk() (*Iroha2BaseConfig, bool) { + if o == nil || IsNil(o.BaseConfig) { + return nil, false + } + return o.BaseConfig, true +} + +// HasBaseConfig returns a boolean if a field has been set. +func (o *QueryRequestV1) HasBaseConfig() bool { + if o != nil && !IsNil(o.BaseConfig) { + return true + } + + return false +} + +// SetBaseConfig gets a reference to the given Iroha2BaseConfig and assigns it to the BaseConfig field. +func (o *QueryRequestV1) SetBaseConfig(v Iroha2BaseConfig) { + o.BaseConfig = &v +} + +func (o QueryRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o QueryRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Query) { + toSerialize["query"] = o.Query + } + if !IsNil(o.SignedQuery) { + toSerialize["signedQuery"] = o.SignedQuery + } + if !IsNil(o.BaseConfig) { + toSerialize["baseConfig"] = o.BaseConfig + } + return toSerialize, nil +} + +type NullableQueryRequestV1 struct { + value *QueryRequestV1 + isSet bool +} + +func (v NullableQueryRequestV1) Get() *QueryRequestV1 { + return v.value +} + +func (v *NullableQueryRequestV1) Set(val *QueryRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableQueryRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableQueryRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQueryRequestV1(val *QueryRequestV1) *NullableQueryRequestV1 { + return &NullableQueryRequestV1{value: val, isSet: true} +} + +func (v NullableQueryRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQueryRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_query_response_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_query_response_v1.go new file mode 100644 index 00000000000..eec5c647184 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_query_response_v1.go @@ -0,0 +1,122 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the QueryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &QueryResponseV1{} + +// QueryResponseV1 Response with the query results. +type QueryResponseV1 struct { + // Query response data that varies between different queries. + Response interface{} `json:"response"` +} + +// NewQueryResponseV1 instantiates a new QueryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQueryResponseV1(response interface{}) *QueryResponseV1 { + this := QueryResponseV1{} + this.Response = response + return &this +} + +// NewQueryResponseV1WithDefaults instantiates a new QueryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQueryResponseV1WithDefaults() *QueryResponseV1 { + this := QueryResponseV1{} + return &this +} + +// GetResponse returns the Response field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *QueryResponseV1) GetResponse() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Response +} + +// GetResponseOk returns a tuple with the Response field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueryResponseV1) GetResponseOk() (*interface{}, bool) { + if o == nil || IsNil(o.Response) { + return nil, false + } + return &o.Response, true +} + +// SetResponse sets field value +func (o *QueryResponseV1) SetResponse(v interface{}) { + o.Response = v +} + +func (o QueryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o QueryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Response != nil { + toSerialize["response"] = o.Response + } + return toSerialize, nil +} + +type NullableQueryResponseV1 struct { + value *QueryResponseV1 + isSet bool +} + +func (v NullableQueryResponseV1) Get() *QueryResponseV1 { + return v.value +} + +func (v *NullableQueryResponseV1) Set(val *QueryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableQueryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableQueryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQueryResponseV1(val *QueryResponseV1) *NullableQueryResponseV1 { + return &NullableQueryResponseV1{value: val, isSet: true} +} + +func (v NullableQueryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQueryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_transact_request_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_transact_request_v1.go new file mode 100644 index 00000000000..5e9149ce290 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_transact_request_v1.go @@ -0,0 +1,240 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the TransactRequestV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransactRequestV1{} + +// TransactRequestV1 Request to transact endpoint. +type TransactRequestV1 struct { + // Signed transaction binary data received from generate-transaction endpoint. + SignedTransaction *string `json:"signedTransaction,omitempty"` + Transaction *IrohaTransactionDefinitionV1 `json:"transaction,omitempty"` + // Wait unitl transaction is sent and return the final status (committed / rejected) + WaitForCommit *bool `json:"waitForCommit,omitempty"` + BaseConfig *Iroha2BaseConfig `json:"baseConfig,omitempty"` +} + +// NewTransactRequestV1 instantiates a new TransactRequestV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransactRequestV1() *TransactRequestV1 { + this := TransactRequestV1{} + var waitForCommit bool = false + this.WaitForCommit = &waitForCommit + return &this +} + +// NewTransactRequestV1WithDefaults instantiates a new TransactRequestV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransactRequestV1WithDefaults() *TransactRequestV1 { + this := TransactRequestV1{} + var waitForCommit bool = false + this.WaitForCommit = &waitForCommit + return &this +} + +// GetSignedTransaction returns the SignedTransaction field value if set, zero value otherwise. +func (o *TransactRequestV1) GetSignedTransaction() string { + if o == nil || IsNil(o.SignedTransaction) { + var ret string + return ret + } + return *o.SignedTransaction +} + +// GetSignedTransactionOk returns a tuple with the SignedTransaction field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactRequestV1) GetSignedTransactionOk() (*string, bool) { + if o == nil || IsNil(o.SignedTransaction) { + return nil, false + } + return o.SignedTransaction, true +} + +// HasSignedTransaction returns a boolean if a field has been set. +func (o *TransactRequestV1) HasSignedTransaction() bool { + if o != nil && !IsNil(o.SignedTransaction) { + return true + } + + return false +} + +// SetSignedTransaction gets a reference to the given string and assigns it to the SignedTransaction field. +func (o *TransactRequestV1) SetSignedTransaction(v string) { + o.SignedTransaction = &v +} + +// GetTransaction returns the Transaction field value if set, zero value otherwise. +func (o *TransactRequestV1) GetTransaction() IrohaTransactionDefinitionV1 { + if o == nil || IsNil(o.Transaction) { + var ret IrohaTransactionDefinitionV1 + return ret + } + return *o.Transaction +} + +// GetTransactionOk returns a tuple with the Transaction field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactRequestV1) GetTransactionOk() (*IrohaTransactionDefinitionV1, bool) { + if o == nil || IsNil(o.Transaction) { + return nil, false + } + return o.Transaction, true +} + +// HasTransaction returns a boolean if a field has been set. +func (o *TransactRequestV1) HasTransaction() bool { + if o != nil && !IsNil(o.Transaction) { + return true + } + + return false +} + +// SetTransaction gets a reference to the given IrohaTransactionDefinitionV1 and assigns it to the Transaction field. +func (o *TransactRequestV1) SetTransaction(v IrohaTransactionDefinitionV1) { + o.Transaction = &v +} + +// GetWaitForCommit returns the WaitForCommit field value if set, zero value otherwise. +func (o *TransactRequestV1) GetWaitForCommit() bool { + if o == nil || IsNil(o.WaitForCommit) { + var ret bool + return ret + } + return *o.WaitForCommit +} + +// GetWaitForCommitOk returns a tuple with the WaitForCommit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactRequestV1) GetWaitForCommitOk() (*bool, bool) { + if o == nil || IsNil(o.WaitForCommit) { + return nil, false + } + return o.WaitForCommit, true +} + +// HasWaitForCommit returns a boolean if a field has been set. +func (o *TransactRequestV1) HasWaitForCommit() bool { + if o != nil && !IsNil(o.WaitForCommit) { + return true + } + + return false +} + +// SetWaitForCommit gets a reference to the given bool and assigns it to the WaitForCommit field. +func (o *TransactRequestV1) SetWaitForCommit(v bool) { + o.WaitForCommit = &v +} + +// GetBaseConfig returns the BaseConfig field value if set, zero value otherwise. +func (o *TransactRequestV1) GetBaseConfig() Iroha2BaseConfig { + if o == nil || IsNil(o.BaseConfig) { + var ret Iroha2BaseConfig + return ret + } + return *o.BaseConfig +} + +// GetBaseConfigOk returns a tuple with the BaseConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactRequestV1) GetBaseConfigOk() (*Iroha2BaseConfig, bool) { + if o == nil || IsNil(o.BaseConfig) { + return nil, false + } + return o.BaseConfig, true +} + +// HasBaseConfig returns a boolean if a field has been set. +func (o *TransactRequestV1) HasBaseConfig() bool { + if o != nil && !IsNil(o.BaseConfig) { + return true + } + + return false +} + +// SetBaseConfig gets a reference to the given Iroha2BaseConfig and assigns it to the BaseConfig field. +func (o *TransactRequestV1) SetBaseConfig(v Iroha2BaseConfig) { + o.BaseConfig = &v +} + +func (o TransactRequestV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransactRequestV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.SignedTransaction) { + toSerialize["signedTransaction"] = o.SignedTransaction + } + if !IsNil(o.Transaction) { + toSerialize["transaction"] = o.Transaction + } + if !IsNil(o.WaitForCommit) { + toSerialize["waitForCommit"] = o.WaitForCommit + } + if !IsNil(o.BaseConfig) { + toSerialize["baseConfig"] = o.BaseConfig + } + return toSerialize, nil +} + +type NullableTransactRequestV1 struct { + value *TransactRequestV1 + isSet bool +} + +func (v NullableTransactRequestV1) Get() *TransactRequestV1 { + return v.value +} + +func (v *NullableTransactRequestV1) Set(val *TransactRequestV1) { + v.value = val + v.isSet = true +} + +func (v NullableTransactRequestV1) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactRequestV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactRequestV1(val *TransactRequestV1) *NullableTransactRequestV1 { + return &NullableTransactRequestV1{value: val, isSet: true} +} + +func (v NullableTransactRequestV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactRequestV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_transact_response_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_transact_response_v1.go new file mode 100644 index 00000000000..2ae1c04f35f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_transact_response_v1.go @@ -0,0 +1,182 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the TransactResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransactResponseV1{} + +// TransactResponseV1 Response from transaction endpoint with operation status. +type TransactResponseV1 struct { + // Hexadecimal hash of the transaction sent to the ledger. + Hash string `json:"hash"` + Status TransactionStatusV1 `json:"status"` + // When waitForCommit was suplied and the transaction was rejected, contains the reason of the rejection. + RejectReason *string `json:"rejectReason,omitempty"` +} + +// NewTransactResponseV1 instantiates a new TransactResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransactResponseV1(hash string, status TransactionStatusV1) *TransactResponseV1 { + this := TransactResponseV1{} + this.Hash = hash + this.Status = status + return &this +} + +// NewTransactResponseV1WithDefaults instantiates a new TransactResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransactResponseV1WithDefaults() *TransactResponseV1 { + this := TransactResponseV1{} + return &this +} + +// GetHash returns the Hash field value +func (o *TransactResponseV1) GetHash() string { + if o == nil { + var ret string + return ret + } + + return o.Hash +} + +// GetHashOk returns a tuple with the Hash field value +// and a boolean to check if the value has been set. +func (o *TransactResponseV1) GetHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Hash, true +} + +// SetHash sets field value +func (o *TransactResponseV1) SetHash(v string) { + o.Hash = v +} + +// GetStatus returns the Status field value +func (o *TransactResponseV1) GetStatus() TransactionStatusV1 { + if o == nil { + var ret TransactionStatusV1 + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *TransactResponseV1) GetStatusOk() (*TransactionStatusV1, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *TransactResponseV1) SetStatus(v TransactionStatusV1) { + o.Status = v +} + +// GetRejectReason returns the RejectReason field value if set, zero value otherwise. +func (o *TransactResponseV1) GetRejectReason() string { + if o == nil || IsNil(o.RejectReason) { + var ret string + return ret + } + return *o.RejectReason +} + +// GetRejectReasonOk returns a tuple with the RejectReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactResponseV1) GetRejectReasonOk() (*string, bool) { + if o == nil || IsNil(o.RejectReason) { + return nil, false + } + return o.RejectReason, true +} + +// HasRejectReason returns a boolean if a field has been set. +func (o *TransactResponseV1) HasRejectReason() bool { + if o != nil && !IsNil(o.RejectReason) { + return true + } + + return false +} + +// SetRejectReason gets a reference to the given string and assigns it to the RejectReason field. +func (o *TransactResponseV1) SetRejectReason(v string) { + o.RejectReason = &v +} + +func (o TransactResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransactResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["hash"] = o.Hash + toSerialize["status"] = o.Status + if !IsNil(o.RejectReason) { + toSerialize["rejectReason"] = o.RejectReason + } + return toSerialize, nil +} + +type NullableTransactResponseV1 struct { + value *TransactResponseV1 + isSet bool +} + +func (v NullableTransactResponseV1) Get() *TransactResponseV1 { + return v.value +} + +func (v *NullableTransactResponseV1) Set(val *TransactResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableTransactResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactResponseV1(val *TransactResponseV1) *NullableTransactResponseV1 { + return &NullableTransactResponseV1{value: val, isSet: true} +} + +func (v NullableTransactResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_transaction_status_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_transaction_status_v1.go new file mode 100644 index 00000000000..6b2510af137 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_transaction_status_v1.go @@ -0,0 +1,113 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "fmt" +) + +// TransactionStatusV1 Status of Iroha V2 transaction. +type TransactionStatusV1 string + +// List of TransactionStatusV1 +const ( + Submitted TransactionStatusV1 = "submitted" + Committed TransactionStatusV1 = "committed" + Rejected TransactionStatusV1 = "rejected" +) + +// All allowed values of TransactionStatusV1 enum +var AllowedTransactionStatusV1EnumValues = []TransactionStatusV1{ + "submitted", + "committed", + "rejected", +} + +func (v *TransactionStatusV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := TransactionStatusV1(value) + for _, existing := range AllowedTransactionStatusV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid TransactionStatusV1", value) +} + +// NewTransactionStatusV1FromValue returns a pointer to a valid TransactionStatusV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewTransactionStatusV1FromValue(v string) (*TransactionStatusV1, error) { + ev := TransactionStatusV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for TransactionStatusV1: valid values are %v", v, AllowedTransactionStatusV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v TransactionStatusV1) IsValid() bool { + for _, existing := range AllowedTransactionStatusV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to TransactionStatusV1 value +func (v TransactionStatusV1) Ptr() *TransactionStatusV1 { + return &v +} + +type NullableTransactionStatusV1 struct { + value *TransactionStatusV1 + isSet bool +} + +func (v NullableTransactionStatusV1) Get() *TransactionStatusV1 { + return v.value +} + +func (v *NullableTransactionStatusV1) Set(val *TransactionStatusV1) { + v.value = val + v.isSet = true +} + +func (v NullableTransactionStatusV1) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactionStatusV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactionStatusV1(val *TransactionStatusV1) *NullableTransactionStatusV1 { + return &NullableTransactionStatusV1{value: val, isSet: true} +} + +func (v NullableTransactionStatusV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactionStatusV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_binary_response_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_binary_response_v1.go new file mode 100644 index 00000000000..068a3cc1095 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_binary_response_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the WatchBlocksBinaryResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksBinaryResponseV1{} + +// WatchBlocksBinaryResponseV1 Binary encoded response of block data. +type WatchBlocksBinaryResponseV1 struct { + BinaryBlock string `json:"binaryBlock"` +} + +// NewWatchBlocksBinaryResponseV1 instantiates a new WatchBlocksBinaryResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksBinaryResponseV1(binaryBlock string) *WatchBlocksBinaryResponseV1 { + this := WatchBlocksBinaryResponseV1{} + this.BinaryBlock = binaryBlock + return &this +} + +// NewWatchBlocksBinaryResponseV1WithDefaults instantiates a new WatchBlocksBinaryResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksBinaryResponseV1WithDefaults() *WatchBlocksBinaryResponseV1 { + this := WatchBlocksBinaryResponseV1{} + return &this +} + +// GetBinaryBlock returns the BinaryBlock field value +func (o *WatchBlocksBinaryResponseV1) GetBinaryBlock() string { + if o == nil { + var ret string + return ret + } + + return o.BinaryBlock +} + +// GetBinaryBlockOk returns a tuple with the BinaryBlock field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksBinaryResponseV1) GetBinaryBlockOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BinaryBlock, true +} + +// SetBinaryBlock sets field value +func (o *WatchBlocksBinaryResponseV1) SetBinaryBlock(v string) { + o.BinaryBlock = v +} + +func (o WatchBlocksBinaryResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksBinaryResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["binaryBlock"] = o.BinaryBlock + return toSerialize, nil +} + +type NullableWatchBlocksBinaryResponseV1 struct { + value *WatchBlocksBinaryResponseV1 + isSet bool +} + +func (v NullableWatchBlocksBinaryResponseV1) Get() *WatchBlocksBinaryResponseV1 { + return v.value +} + +func (v *NullableWatchBlocksBinaryResponseV1) Set(val *WatchBlocksBinaryResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksBinaryResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksBinaryResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksBinaryResponseV1(val *WatchBlocksBinaryResponseV1) *NullableWatchBlocksBinaryResponseV1 { + return &NullableWatchBlocksBinaryResponseV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksBinaryResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksBinaryResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_options_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_options_v1.go new file mode 100644 index 00000000000..b73c554e6ab --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_options_v1.go @@ -0,0 +1,199 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the WatchBlocksOptionsV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksOptionsV1{} + +// WatchBlocksOptionsV1 Options passed when subscribing to block monitoring. +type WatchBlocksOptionsV1 struct { + Type *BlockTypeV1 `json:"type,omitempty"` + // Number of block to start monitoring from. + StartBlock *string `json:"startBlock,omitempty"` + BaseConfig *Iroha2BaseConfig `json:"baseConfig,omitempty"` +} + +// NewWatchBlocksOptionsV1 instantiates a new WatchBlocksOptionsV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksOptionsV1() *WatchBlocksOptionsV1 { + this := WatchBlocksOptionsV1{} + return &this +} + +// NewWatchBlocksOptionsV1WithDefaults instantiates a new WatchBlocksOptionsV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksOptionsV1WithDefaults() *WatchBlocksOptionsV1 { + this := WatchBlocksOptionsV1{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *WatchBlocksOptionsV1) GetType() BlockTypeV1 { + if o == nil || IsNil(o.Type) { + var ret BlockTypeV1 + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksOptionsV1) GetTypeOk() (*BlockTypeV1, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *WatchBlocksOptionsV1) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given BlockTypeV1 and assigns it to the Type field. +func (o *WatchBlocksOptionsV1) SetType(v BlockTypeV1) { + o.Type = &v +} + +// GetStartBlock returns the StartBlock field value if set, zero value otherwise. +func (o *WatchBlocksOptionsV1) GetStartBlock() string { + if o == nil || IsNil(o.StartBlock) { + var ret string + return ret + } + return *o.StartBlock +} + +// GetStartBlockOk returns a tuple with the StartBlock field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksOptionsV1) GetStartBlockOk() (*string, bool) { + if o == nil || IsNil(o.StartBlock) { + return nil, false + } + return o.StartBlock, true +} + +// HasStartBlock returns a boolean if a field has been set. +func (o *WatchBlocksOptionsV1) HasStartBlock() bool { + if o != nil && !IsNil(o.StartBlock) { + return true + } + + return false +} + +// SetStartBlock gets a reference to the given string and assigns it to the StartBlock field. +func (o *WatchBlocksOptionsV1) SetStartBlock(v string) { + o.StartBlock = &v +} + +// GetBaseConfig returns the BaseConfig field value if set, zero value otherwise. +func (o *WatchBlocksOptionsV1) GetBaseConfig() Iroha2BaseConfig { + if o == nil || IsNil(o.BaseConfig) { + var ret Iroha2BaseConfig + return ret + } + return *o.BaseConfig +} + +// GetBaseConfigOk returns a tuple with the BaseConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksOptionsV1) GetBaseConfigOk() (*Iroha2BaseConfig, bool) { + if o == nil || IsNil(o.BaseConfig) { + return nil, false + } + return o.BaseConfig, true +} + +// HasBaseConfig returns a boolean if a field has been set. +func (o *WatchBlocksOptionsV1) HasBaseConfig() bool { + if o != nil && !IsNil(o.BaseConfig) { + return true + } + + return false +} + +// SetBaseConfig gets a reference to the given Iroha2BaseConfig and assigns it to the BaseConfig field. +func (o *WatchBlocksOptionsV1) SetBaseConfig(v Iroha2BaseConfig) { + o.BaseConfig = &v +} + +func (o WatchBlocksOptionsV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksOptionsV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + if !IsNil(o.StartBlock) { + toSerialize["startBlock"] = o.StartBlock + } + if !IsNil(o.BaseConfig) { + toSerialize["baseConfig"] = o.BaseConfig + } + return toSerialize, nil +} + +type NullableWatchBlocksOptionsV1 struct { + value *WatchBlocksOptionsV1 + isSet bool +} + +func (v NullableWatchBlocksOptionsV1) Get() *WatchBlocksOptionsV1 { + return v.value +} + +func (v *NullableWatchBlocksOptionsV1) Set(val *WatchBlocksOptionsV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksOptionsV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksOptionsV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksOptionsV1(val *WatchBlocksOptionsV1) *NullableWatchBlocksOptionsV1 { + return &NullableWatchBlocksOptionsV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksOptionsV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksOptionsV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_raw_response_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_raw_response_v1.go new file mode 100644 index 00000000000..bce3355eb19 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_raw_response_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" +) + +// checks if the WatchBlocksRawResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksRawResponseV1{} + +// WatchBlocksRawResponseV1 Default JSON-encoded string full block data. +type WatchBlocksRawResponseV1 struct { + BlockData string `json:"blockData"` +} + +// NewWatchBlocksRawResponseV1 instantiates a new WatchBlocksRawResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksRawResponseV1(blockData string) *WatchBlocksRawResponseV1 { + this := WatchBlocksRawResponseV1{} + this.BlockData = blockData + return &this +} + +// NewWatchBlocksRawResponseV1WithDefaults instantiates a new WatchBlocksRawResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksRawResponseV1WithDefaults() *WatchBlocksRawResponseV1 { + this := WatchBlocksRawResponseV1{} + return &this +} + +// GetBlockData returns the BlockData field value +func (o *WatchBlocksRawResponseV1) GetBlockData() string { + if o == nil { + var ret string + return ret + } + + return o.BlockData +} + +// GetBlockDataOk returns a tuple with the BlockData field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksRawResponseV1) GetBlockDataOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockData, true +} + +// SetBlockData sets field value +func (o *WatchBlocksRawResponseV1) SetBlockData(v string) { + o.BlockData = v +} + +func (o WatchBlocksRawResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksRawResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["blockData"] = o.BlockData + return toSerialize, nil +} + +type NullableWatchBlocksRawResponseV1 struct { + value *WatchBlocksRawResponseV1 + isSet bool +} + +func (v NullableWatchBlocksRawResponseV1) Get() *WatchBlocksRawResponseV1 { + return v.value +} + +func (v *NullableWatchBlocksRawResponseV1) Set(val *WatchBlocksRawResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksRawResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksRawResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksRawResponseV1(val *WatchBlocksRawResponseV1) *NullableWatchBlocksRawResponseV1 { + return &NullableWatchBlocksRawResponseV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksRawResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksRawResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_response_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_response_v1.go new file mode 100644 index 00000000000..78de66d26c9 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_response_v1.go @@ -0,0 +1,178 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksResponseV1 - struct for WatchBlocksResponseV1 +type WatchBlocksResponseV1 struct { + ErrorExceptionResponseV1 *ErrorExceptionResponseV1 + WatchBlocksBinaryResponseV1 *WatchBlocksBinaryResponseV1 + WatchBlocksRawResponseV1 *WatchBlocksRawResponseV1 +} + +// ErrorExceptionResponseV1AsWatchBlocksResponseV1 is a convenience function that returns ErrorExceptionResponseV1 wrapped in WatchBlocksResponseV1 +func ErrorExceptionResponseV1AsWatchBlocksResponseV1(v *ErrorExceptionResponseV1) WatchBlocksResponseV1 { + return WatchBlocksResponseV1{ + ErrorExceptionResponseV1: v, + } +} + +// WatchBlocksBinaryResponseV1AsWatchBlocksResponseV1 is a convenience function that returns WatchBlocksBinaryResponseV1 wrapped in WatchBlocksResponseV1 +func WatchBlocksBinaryResponseV1AsWatchBlocksResponseV1(v *WatchBlocksBinaryResponseV1) WatchBlocksResponseV1 { + return WatchBlocksResponseV1{ + WatchBlocksBinaryResponseV1: v, + } +} + +// WatchBlocksRawResponseV1AsWatchBlocksResponseV1 is a convenience function that returns WatchBlocksRawResponseV1 wrapped in WatchBlocksResponseV1 +func WatchBlocksRawResponseV1AsWatchBlocksResponseV1(v *WatchBlocksRawResponseV1) WatchBlocksResponseV1 { + return WatchBlocksResponseV1{ + WatchBlocksRawResponseV1: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *WatchBlocksResponseV1) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into ErrorExceptionResponseV1 + err = newStrictDecoder(data).Decode(&dst.ErrorExceptionResponseV1) + if err == nil { + jsonErrorExceptionResponseV1, _ := json.Marshal(dst.ErrorExceptionResponseV1) + if string(jsonErrorExceptionResponseV1) == "{}" { // empty struct + dst.ErrorExceptionResponseV1 = nil + } else { + match++ + } + } else { + dst.ErrorExceptionResponseV1 = nil + } + + // try to unmarshal data into WatchBlocksBinaryResponseV1 + err = newStrictDecoder(data).Decode(&dst.WatchBlocksBinaryResponseV1) + if err == nil { + jsonWatchBlocksBinaryResponseV1, _ := json.Marshal(dst.WatchBlocksBinaryResponseV1) + if string(jsonWatchBlocksBinaryResponseV1) == "{}" { // empty struct + dst.WatchBlocksBinaryResponseV1 = nil + } else { + match++ + } + } else { + dst.WatchBlocksBinaryResponseV1 = nil + } + + // try to unmarshal data into WatchBlocksRawResponseV1 + err = newStrictDecoder(data).Decode(&dst.WatchBlocksRawResponseV1) + if err == nil { + jsonWatchBlocksRawResponseV1, _ := json.Marshal(dst.WatchBlocksRawResponseV1) + if string(jsonWatchBlocksRawResponseV1) == "{}" { // empty struct + dst.WatchBlocksRawResponseV1 = nil + } else { + match++ + } + } else { + dst.WatchBlocksRawResponseV1 = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.ErrorExceptionResponseV1 = nil + dst.WatchBlocksBinaryResponseV1 = nil + dst.WatchBlocksRawResponseV1 = nil + + return fmt.Errorf("data matches more than one schema in oneOf(WatchBlocksResponseV1)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(WatchBlocksResponseV1)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src WatchBlocksResponseV1) MarshalJSON() ([]byte, error) { + if src.ErrorExceptionResponseV1 != nil { + return json.Marshal(&src.ErrorExceptionResponseV1) + } + + if src.WatchBlocksBinaryResponseV1 != nil { + return json.Marshal(&src.WatchBlocksBinaryResponseV1) + } + + if src.WatchBlocksRawResponseV1 != nil { + return json.Marshal(&src.WatchBlocksRawResponseV1) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *WatchBlocksResponseV1) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.ErrorExceptionResponseV1 != nil { + return obj.ErrorExceptionResponseV1 + } + + if obj.WatchBlocksBinaryResponseV1 != nil { + return obj.WatchBlocksBinaryResponseV1 + } + + if obj.WatchBlocksRawResponseV1 != nil { + return obj.WatchBlocksRawResponseV1 + } + + // all schemas are nil + return nil +} + +type NullableWatchBlocksResponseV1 struct { + value *WatchBlocksResponseV1 + isSet bool +} + +func (v NullableWatchBlocksResponseV1) Get() *WatchBlocksResponseV1 { + return v.value +} + +func (v *NullableWatchBlocksResponseV1) Set(val *WatchBlocksResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksResponseV1(val *WatchBlocksResponseV1) *NullableWatchBlocksResponseV1 { + return &NullableWatchBlocksResponseV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go new file mode 100644 index 00000000000..61bcb00a53d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksV1 Websocket requests for monitoring new blocks. +type WatchBlocksV1 string + +// List of WatchBlocksV1 +const ( + Subscribe WatchBlocksV1 = "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Subscribe" + Next WatchBlocksV1 = "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Next" + Unsubscribe WatchBlocksV1 = "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Unsubscribe" + Error WatchBlocksV1 = "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Error" + Complete WatchBlocksV1 = "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Complete" +) + +// All allowed values of WatchBlocksV1 enum +var AllowedWatchBlocksV1EnumValues = []WatchBlocksV1{ + "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Subscribe", + "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Next", + "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Unsubscribe", + "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Error", + "org.hyperledger.cactus.api.async.hliroha2.WatchBlocksV1.Complete", +} + +func (v *WatchBlocksV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchBlocksV1(value) + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchBlocksV1", value) +} + +// NewWatchBlocksV1FromValue returns a pointer to a valid WatchBlocksV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchBlocksV1FromValue(v string) (*WatchBlocksV1, error) { + ev := WatchBlocksV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchBlocksV1: valid values are %v", v, AllowedWatchBlocksV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchBlocksV1) IsValid() bool { + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchBlocksV1 value +func (v WatchBlocksV1) Ptr() *WatchBlocksV1 { + return &v +} + +type NullableWatchBlocksV1 struct { + value *WatchBlocksV1 + isSet bool +} + +func (v NullableWatchBlocksV1) Get() *WatchBlocksV1 { + return v.value +} + +func (v *NullableWatchBlocksV1) Set(val *WatchBlocksV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1(val *WatchBlocksV1) *NullableWatchBlocksV1 { + return &NullableWatchBlocksV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..4b19d786a65 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..ef61ecb479e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,61 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-iroha2_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService GenerateTransactionV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GenerateTransactionV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService QueryV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.QueryV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService TransactV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.TransactV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..25703c5fc87 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-iroha2/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Connector Iroha V2 + +Can perform basic tasks on a Iroha V2 ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-iroha2 + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-polkadot/package.json b/packages/cactus-plugin-ledger-connector-polkadot/package.json index 74c25705c6f..b887db60e24 100644 --- a/packages/cactus-plugin-ledger-connector-polkadot/package.json +++ b/packages/cactus-plugin-ledger-connector-polkadot/package.json @@ -50,7 +50,9 @@ "scripts": { "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk": "run-p 'generate-sdk:*'", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "lint": "tslint tests/*.ts -t verbose", "lint-fix": "tslint --fix tests/*.ts -t verbose", "watch": "npm-watch", diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..88eb87a0618 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,41 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_deploy_contract_ink_request.go +model_deploy_contract_ink_request_balance.go +model_deploy_contract_ink_request_gas_limit.go +model_deploy_contract_ink_request_salt.go +model_deploy_contract_ink_request_storage_deposit_limit.go +model_deploy_contract_ink_response.go +model_error_exception_response.go +model_invoke_contract_request.go +model_invoke_contract_response.go +model_polkadot_contract_invocation_type.go +model_polkadot_transaction_config.go +model_polkadot_transaction_config_transfer_submittable.go +model_polkadot_transaction_config_value.go +model_raw_transaction_request.go +model_raw_transaction_response.go +model_raw_transaction_response_data.go +model_raw_transaction_response_response_container.go +model_run_transaction_request.go +model_run_transaction_response.go +model_sign_raw_transaction_request.go +model_sign_raw_transaction_response.go +model_transaction_info_request.go +model_transaction_info_response.go +model_transaction_info_response_data.go +model_transaction_info_response_response_container.go +model_web3_signing_credential.go +model_web3_signing_credential_cactus_keychain_ref.go +model_web3_signing_credential_mnemonic_string.go +model_web3_signing_credential_none.go +model_web3_signing_credential_type.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..f0189312be4 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,147 @@ +# Go API client for cactus-plugin-ledger-connector-polkadot + +Can perform basic tasks on a Polkadot parachain + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-polkadot "github.com/hyperledger/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-polkadot.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-polkadot.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-polkadot.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-polkadot.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeployContractInk**](docs/DefaultApi.md#deploycontractink) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/deploy-contract-ink | Deploys the ink! contract +*DefaultApi* | [**GetPrometheusMetrics**](docs/DefaultApi.md#getprometheusmetrics) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**GetRawTransaction**](docs/DefaultApi.md#getrawtransaction) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-raw-transaction | Get raw unsigned transaction +*DefaultApi* | [**GetTransactionInfo**](docs/DefaultApi.md#gettransactioninfo) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-transaction-info | Get the necessary Transaction Info for a account +*DefaultApi* | [**InvokeContract**](docs/DefaultApi.md#invokecontract) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/invoke-contract | Invokes a contract on a polkadot ledger +*DefaultApi* | [**RunTransaction**](docs/DefaultApi.md#runtransaction) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/run-transaction | Executes a transaction on a Polkadot ledger +*DefaultApi* | [**SignRawTransaction**](docs/DefaultApi.md#signrawtransaction) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/sign-raw-transaction | sign the raw transaction + + +## Documentation For Models + + - [DeployContractInkRequest](docs/DeployContractInkRequest.md) + - [DeployContractInkRequestBalance](docs/DeployContractInkRequestBalance.md) + - [DeployContractInkRequestGasLimit](docs/DeployContractInkRequestGasLimit.md) + - [DeployContractInkRequestSalt](docs/DeployContractInkRequestSalt.md) + - [DeployContractInkRequestStorageDepositLimit](docs/DeployContractInkRequestStorageDepositLimit.md) + - [DeployContractInkResponse](docs/DeployContractInkResponse.md) + - [ErrorExceptionResponse](docs/ErrorExceptionResponse.md) + - [InvokeContractRequest](docs/InvokeContractRequest.md) + - [InvokeContractResponse](docs/InvokeContractResponse.md) + - [PolkadotContractInvocationType](docs/PolkadotContractInvocationType.md) + - [PolkadotTransactionConfig](docs/PolkadotTransactionConfig.md) + - [PolkadotTransactionConfigTransferSubmittable](docs/PolkadotTransactionConfigTransferSubmittable.md) + - [PolkadotTransactionConfigValue](docs/PolkadotTransactionConfigValue.md) + - [RawTransactionRequest](docs/RawTransactionRequest.md) + - [RawTransactionResponse](docs/RawTransactionResponse.md) + - [RawTransactionResponseData](docs/RawTransactionResponseData.md) + - [RawTransactionResponseResponseContainer](docs/RawTransactionResponseResponseContainer.md) + - [RunTransactionRequest](docs/RunTransactionRequest.md) + - [RunTransactionResponse](docs/RunTransactionResponse.md) + - [SignRawTransactionRequest](docs/SignRawTransactionRequest.md) + - [SignRawTransactionResponse](docs/SignRawTransactionResponse.md) + - [TransactionInfoRequest](docs/TransactionInfoRequest.md) + - [TransactionInfoResponse](docs/TransactionInfoResponse.md) + - [TransactionInfoResponseData](docs/TransactionInfoResponseData.md) + - [TransactionInfoResponseResponseContainer](docs/TransactionInfoResponseResponseContainer.md) + - [Web3SigningCredential](docs/Web3SigningCredential.md) + - [Web3SigningCredentialCactusKeychainRef](docs/Web3SigningCredentialCactusKeychainRef.md) + - [Web3SigningCredentialMnemonicString](docs/Web3SigningCredentialMnemonicString.md) + - [Web3SigningCredentialNone](docs/Web3SigningCredentialNone.md) + - [Web3SigningCredentialType](docs/Web3SigningCredentialType.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..b85ce50cf34 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,700 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on a Polkadot parachain + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Connector Polkadot + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetrics + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponse' + description: Internal Server Error + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-prometheus-exporter-metrics + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-transaction-info: + post: + operationId: getTransactionInfo + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TransactionInfoRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/TransactionInfoResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponse' + description: Internal Server Error + summary: Get the necessary Transaction Info for a account + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-transaction-info + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-raw-transaction: + post: + operationId: getRawTransaction + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RawTransactionRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RawTransactionResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponse' + description: Internal Server Error + summary: Get raw unsigned transaction + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-raw-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/sign-raw-transaction: + post: + operationId: signRawTransaction + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SignRawTransactionRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SignRawTransactionResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponse' + description: Internal Server Error + summary: sign the raw transaction + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/sign-raw-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/run-transaction: + post: + operationId: runTransaction + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponse' + description: Internal Server Error + summary: Executes a transaction on a Polkadot ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/run-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/deploy-contract-ink: + post: + operationId: deployContractInk + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractInkRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractInkResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponse' + description: Internal Server Error + summary: Deploys the ink! contract + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/deploy-contract-ink + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/invoke-contract: + post: + operationId: invokeContract + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractResponse' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponse' + description: Internal Server Error + summary: Invokes a contract on a polkadot ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/invoke-contract +components: + schemas: + PrometheusExporterMetricsResponse: + nullable: false + type: string + TransactionInfoRequest: + additionalProperties: false + example: + transactionExpiration: 0.8008281904610115 + accountAddress: accountAddress + properties: + accountAddress: + nullable: false + type: string + transactionExpiration: + nullable: true + type: number + required: + - accountAddress + - transactionExpiration + type: object + TransactionInfoResponseData: + additionalProperties: false + example: + blockHash: "{}" + era: "{}" + nonce: "{}" + properties: + nonce: + nullable: false + type: object + blockHash: + nullable: false + type: object + era: + nullable: true + type: object + required: + - blockHash + - era + - nonce + type: object + TransactionInfoResponse: + additionalProperties: false + example: + responseContainer: + response_data: + blockHash: "{}" + era: "{}" + nonce: "{}" + message: message + error: error + succeeded: true + properties: + responseContainer: + $ref: '#/components/schemas/TransactionInfoResponse_responseContainer' + required: + - responseContainer + type: object + RawTransactionRequest: + additionalProperties: false + example: + to: to + value: 0.8008281904610115 + properties: + to: + nullable: false + type: string + value: + nullable: false + type: number + required: + - to + - value + type: object + RawTransactionResponseData: + additionalProperties: false + example: + rawTransaction: rawTransaction + properties: + rawTransaction: + nullable: false + type: string + required: + - rawTransaction + type: object + RawTransactionResponse: + additionalProperties: false + example: + responseContainer: + response_data: + rawTransaction: rawTransaction + message: message + error: error + succeeded: true + properties: + responseContainer: + $ref: '#/components/schemas/RawTransactionResponse_responseContainer' + required: + - responseContainer + type: object + SignRawTransactionRequest: + additionalProperties: false + example: + rawTransaction: rawTransaction + signingOptions: "{}" + mnemonic: mnemonic + properties: + rawTransaction: + nullable: false + type: string + mnemonic: + nullable: false + type: string + signingOptions: + nullable: false + type: object + required: + - mnemonic + - rawTransaction + type: object + SignRawTransactionResponse: + additionalProperties: false + example: + signedTransaction: signedTransaction + success: true + properties: + success: + nullable: false + type: boolean + signedTransaction: + nullable: false + type: string + required: + - signedTransaction + - success + type: object + web3SigningCredential: + discriminator: + propertyName: type + example: + type: null + oneOf: + - $ref: '#/components/schemas/Web3SigningCredentialCactusKeychainRef' + - $ref: '#/components/schemas/Web3SigningCredentialMnemonicString' + - $ref: '#/components/schemas/Web3SigningCredentialNone' + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialCactusKeychainRef: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + keychainEntryKey: + description: The key to use when looking up the the keychain entry holding + the secret pointed to by the keychainEntryKey parameter. + maxLength: 1024 + minLength: 0 + type: string + keychainId: + description: The keychain ID to use when looking up the the keychain plugin + instance that will be used to retrieve the secret pointed to by the keychainEntryKey + parameter. + maxLength: 1024 + minLength: 0 + type: string + required: + - ethAccount + - keychainEntryKey + - keychainId + - type + type: object + Web3SigningCredentialMnemonicString: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + mnemonic: + description: The Polkadot account's seed phrase for signing transaction + nullable: false + type: string + required: + - mnemonic + - type + type: object + Web3SigningCredentialNone: + description: Using this denotes that there is no signing required because the + transaction is pre-signed. + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialType: + enum: + - CACTUS_KEYCHAIN_REF + - MNEMONIC_STRING + - NONE + type: string + PolkadotTransactionConfig: + additionalProperties: true + example: + transferSubmittable: null + to: null + value: null + properties: + transferSubmittable: + $ref: '#/components/schemas/PolkadotTransactionConfig_transferSubmittable' + to: + $ref: '#/components/schemas/PolkadotTransactionConfig_transferSubmittable' + value: + $ref: '#/components/schemas/PolkadotTransactionConfig_value' + type: object + RunTransactionRequest: + additionalProperties: false + example: + transactionConfig: + transferSubmittable: null + to: null + value: null + web3SigningCredential: + type: null + properties: + web3SigningCredential: + $ref: '#/components/schemas/web3SigningCredential' + transactionConfig: + $ref: '#/components/schemas/PolkadotTransactionConfig' + required: + - transactionConfig + - web3SigningCredential + type: object + RunTransactionResponse: + additionalProperties: false + example: + blockHash: blockHash + success: true + txHash: txHash + properties: + success: + nullable: false + type: boolean + txHash: + nullable: false + type: string + blockHash: + nullable: false + type: string + required: + - success + type: object + DeployContractInkRequest: + additionalProperties: false + example: + gasLimit: + refTime: 0 + proofSize: 0 + metadata: null + wasm: wasm + salt: null + balance: null + web3SigningCredential: + type: null + storageDepositLimit: null + params: + - "" + - "" + constructorMethod: null + properties: + web3SigningCredential: + $ref: '#/components/schemas/web3SigningCredential' + wasm: + description: raw wasm for the compiled contract in base64 format + format: byte + nullable: false + type: string + constructorMethod: + $ref: '#/components/schemas/PolkadotTransactionConfig_transferSubmittable' + metadata: + $ref: '#/components/schemas/PolkadotTransactionConfig_transferSubmittable' + gasLimit: + $ref: '#/components/schemas/DeployContractInkRequest_gasLimit' + storageDepositLimit: + $ref: '#/components/schemas/DeployContractInkRequest_storageDepositLimit' + params: + default: [] + description: The list of arguments to pass in to the contract method being + deployed + items: {} + type: array + balance: + $ref: '#/components/schemas/DeployContractInkRequest_balance' + salt: + $ref: '#/components/schemas/DeployContractInkRequest_salt' + required: + - gasLimit + - metadata + - wasm + - web3SigningCredential + type: object + DeployContractInkResponse: + additionalProperties: false + example: + success: true + contractAddress: contractAddress + properties: + success: + nullable: false + type: boolean + contractAddress: + nullable: false + type: string + required: + - success + type: object + PolkadotContractInvocationType: + enum: + - SEND + - QUERY + type: string + InvokeContractRequest: + additionalProperties: false + example: + invocationType: null + gasLimit: + refTime: 0 + proofSize: 0 + metadata: null + balance: null + accountAddress: accountAddress + web3SigningCredential: + type: null + contractAddress: contractAddress + methodName: methodName + storageDepositLimit: null + params: + - "" + - "" + properties: + invocationType: + $ref: '#/components/schemas/PolkadotContractInvocationType' + accountAddress: + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/web3SigningCredential' + metadata: + $ref: '#/components/schemas/PolkadotTransactionConfig_transferSubmittable' + contractAddress: + nullable: false + type: string + methodName: + description: The name of the contract method to invoke. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + gasLimit: + $ref: '#/components/schemas/DeployContractInkRequest_gasLimit' + storageDepositLimit: + $ref: '#/components/schemas/DeployContractInkRequest_storageDepositLimit' + balance: + $ref: '#/components/schemas/DeployContractInkRequest_balance' + params: + default: [] + description: The list of arguments to pass in to the contract method being + invoked + items: {} + type: array + required: + - accountAddress + - contractAddress + - gasLimit + - invocationType + - metadata + - methodName + - web3SigningCredential + type: object + InvokeContractResponse: + example: + blockHash: blockHash + callOutput: "" + success: true + txHash: txHash + properties: + callOutput: {} + success: + nullable: false + type: boolean + txHash: + nullable: false + type: string + blockHash: + nullable: false + type: string + required: + - success + type: object + ErrorExceptionResponse: + description: Error response from the connector. + properties: + message: + description: Short error description message. + nullable: false + type: string + error: + description: Detailed error information. + nullable: false + type: string + required: + - error + - message + type: object + TransactionInfoResponse_responseContainer: + additionalProperties: false + example: + response_data: + blockHash: "{}" + era: "{}" + nonce: "{}" + message: message + error: error + succeeded: true + properties: + response_data: + $ref: '#/components/schemas/TransactionInfoResponseData' + succeeded: + nullable: false + type: boolean + message: + nullable: false + type: string + error: + nullable: true + type: string + required: + - error + - message + - response_data + - succeeded + type: object + RawTransactionResponse_responseContainer: + additionalProperties: false + example: + response_data: + rawTransaction: rawTransaction + message: message + error: error + succeeded: true + properties: + response_data: + $ref: '#/components/schemas/RawTransactionResponseData' + succeeded: + nullable: false + type: boolean + message: + nullable: false + type: string + error: + nullable: true + type: string + required: + - error + - message + - response_data + - succeeded + type: object + PolkadotTransactionConfig_transferSubmittable: + oneOf: + - type: string + PolkadotTransactionConfig_value: + oneOf: + - type: number + DeployContractInkRequest_gasLimit: + example: + refTime: 0 + proofSize: 0 + properties: + refTime: + minimum: 0 + type: integer + proofSize: + minimum: 0 + type: integer + required: + - proofSize + - refTime + type: object + DeployContractInkRequest_storageDepositLimit: + nullable: true + oneOf: + - type: string + - minimum: 0 + type: integer + DeployContractInkRequest_balance: + oneOf: + - type: string + - minimum: 0 + type: integer + DeployContractInkRequest_salt: + nullable: true + oneOf: + - type: string diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..f1836044a1d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,820 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeployContractInkRequest struct { + ctx context.Context + ApiService *DefaultApiService + deployContractInkRequest *DeployContractInkRequest +} + +func (r ApiDeployContractInkRequest) DeployContractInkRequest(deployContractInkRequest DeployContractInkRequest) ApiDeployContractInkRequest { + r.deployContractInkRequest = &deployContractInkRequest + return r +} + +func (r ApiDeployContractInkRequest) Execute() (*DeployContractInkResponse, *http.Response, error) { + return r.ApiService.DeployContractInkExecute(r) +} + +/* +DeployContractInk Deploys the ink! contract + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractInkRequest +*/ +func (a *DefaultApiService) DeployContractInk(ctx context.Context) ApiDeployContractInkRequest { + return ApiDeployContractInkRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeployContractInkResponse +func (a *DefaultApiService) DeployContractInkExecute(r ApiDeployContractInkRequest) (*DeployContractInkResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeployContractInkResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContractInk") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/deploy-contract-ink" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractInkRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsRequest struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsRequest) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsExecute(r) +} + +/* +GetPrometheusMetrics Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsRequest +*/ +func (a *DefaultApiService) GetPrometheusMetrics(ctx context.Context) ApiGetPrometheusMetricsRequest { + return ApiGetPrometheusMetricsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsExecute(r ApiGetPrometheusMetricsRequest) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetrics") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetRawTransactionRequest struct { + ctx context.Context + ApiService *DefaultApiService + rawTransactionRequest *RawTransactionRequest +} + +func (r ApiGetRawTransactionRequest) RawTransactionRequest(rawTransactionRequest RawTransactionRequest) ApiGetRawTransactionRequest { + r.rawTransactionRequest = &rawTransactionRequest + return r +} + +func (r ApiGetRawTransactionRequest) Execute() (*RawTransactionResponse, *http.Response, error) { + return r.ApiService.GetRawTransactionExecute(r) +} + +/* +GetRawTransaction Get raw unsigned transaction + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetRawTransactionRequest +*/ +func (a *DefaultApiService) GetRawTransaction(ctx context.Context) ApiGetRawTransactionRequest { + return ApiGetRawTransactionRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RawTransactionResponse +func (a *DefaultApiService) GetRawTransactionExecute(r ApiGetRawTransactionRequest) (*RawTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RawTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetRawTransaction") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-raw-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.rawTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetTransactionInfoRequest struct { + ctx context.Context + ApiService *DefaultApiService + transactionInfoRequest *TransactionInfoRequest +} + +func (r ApiGetTransactionInfoRequest) TransactionInfoRequest(transactionInfoRequest TransactionInfoRequest) ApiGetTransactionInfoRequest { + r.transactionInfoRequest = &transactionInfoRequest + return r +} + +func (r ApiGetTransactionInfoRequest) Execute() (*TransactionInfoResponse, *http.Response, error) { + return r.ApiService.GetTransactionInfoExecute(r) +} + +/* +GetTransactionInfo Get the necessary Transaction Info for a account + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetTransactionInfoRequest +*/ +func (a *DefaultApiService) GetTransactionInfo(ctx context.Context) ApiGetTransactionInfoRequest { + return ApiGetTransactionInfoRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return TransactionInfoResponse +func (a *DefaultApiService) GetTransactionInfoExecute(r ApiGetTransactionInfoRequest) (*TransactionInfoResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TransactionInfoResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetTransactionInfo") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/get-transaction-info" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.transactionInfoRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeContractRequest struct { + ctx context.Context + ApiService *DefaultApiService + invokeContractRequest *InvokeContractRequest +} + +func (r ApiInvokeContractRequest) InvokeContractRequest(invokeContractRequest InvokeContractRequest) ApiInvokeContractRequest { + r.invokeContractRequest = &invokeContractRequest + return r +} + +func (r ApiInvokeContractRequest) Execute() (*InvokeContractResponse, *http.Response, error) { + return r.ApiService.InvokeContractExecute(r) +} + +/* +InvokeContract Invokes a contract on a polkadot ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeContractRequest +*/ +func (a *DefaultApiService) InvokeContract(ctx context.Context) ApiInvokeContractRequest { + return ApiInvokeContractRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractResponse +func (a *DefaultApiService) InvokeContractExecute(r ApiInvokeContractRequest) (*InvokeContractResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeContract") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/invoke-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeContractRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRunTransactionRequest struct { + ctx context.Context + ApiService *DefaultApiService + runTransactionRequest *RunTransactionRequest +} + +func (r ApiRunTransactionRequest) RunTransactionRequest(runTransactionRequest RunTransactionRequest) ApiRunTransactionRequest { + r.runTransactionRequest = &runTransactionRequest + return r +} + +func (r ApiRunTransactionRequest) Execute() (*RunTransactionResponse, *http.Response, error) { + return r.ApiService.RunTransactionExecute(r) +} + +/* +RunTransaction Executes a transaction on a Polkadot ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRunTransactionRequest +*/ +func (a *DefaultApiService) RunTransaction(ctx context.Context) ApiRunTransactionRequest { + return ApiRunTransactionRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionResponse +func (a *DefaultApiService) RunTransactionExecute(r ApiRunTransactionRequest) (*RunTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RunTransaction") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/run-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiSignRawTransactionRequest struct { + ctx context.Context + ApiService *DefaultApiService + signRawTransactionRequest *SignRawTransactionRequest +} + +func (r ApiSignRawTransactionRequest) SignRawTransactionRequest(signRawTransactionRequest SignRawTransactionRequest) ApiSignRawTransactionRequest { + r.signRawTransactionRequest = &signRawTransactionRequest + return r +} + +func (r ApiSignRawTransactionRequest) Execute() (*SignRawTransactionResponse, *http.Response, error) { + return r.ApiService.SignRawTransactionExecute(r) +} + +/* +SignRawTransaction sign the raw transaction + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiSignRawTransactionRequest +*/ +func (a *DefaultApiService) SignRawTransaction(ctx context.Context) ApiSignRawTransactionRequest { + return ApiSignRawTransactionRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return SignRawTransactionResponse +func (a *DefaultApiService) SignRawTransactionExecute(r ApiSignRawTransactionRequest) (*SignRawTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SignRawTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.SignRawTransaction") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-polkadot/sign-raw-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.signRawTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..99887047502 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Connector Polkadot API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..f9d3432f6f9 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..b221d145d6f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request.go new file mode 100644 index 00000000000..4e89dfe6273 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request.go @@ -0,0 +1,400 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the DeployContractInkRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractInkRequest{} + +// DeployContractInkRequest struct for DeployContractInkRequest +type DeployContractInkRequest struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // raw wasm for the compiled contract in base64 format + Wasm string `json:"wasm"` + ConstructorMethod *PolkadotTransactionConfigTransferSubmittable `json:"constructorMethod,omitempty"` + Metadata PolkadotTransactionConfigTransferSubmittable `json:"metadata"` + GasLimit DeployContractInkRequestGasLimit `json:"gasLimit"` + StorageDepositLimit NullableDeployContractInkRequestStorageDepositLimit `json:"storageDepositLimit,omitempty"` + // The list of arguments to pass in to the contract method being deployed + Params []interface{} `json:"params,omitempty"` + Balance *DeployContractInkRequestBalance `json:"balance,omitempty"` + Salt NullableDeployContractInkRequestSalt `json:"salt,omitempty"` +} + +// NewDeployContractInkRequest instantiates a new DeployContractInkRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractInkRequest(web3SigningCredential Web3SigningCredential, wasm string, metadata PolkadotTransactionConfigTransferSubmittable, gasLimit DeployContractInkRequestGasLimit) *DeployContractInkRequest { + this := DeployContractInkRequest{} + this.Web3SigningCredential = web3SigningCredential + this.Wasm = wasm + this.Metadata = metadata + this.GasLimit = gasLimit + return &this +} + +// NewDeployContractInkRequestWithDefaults instantiates a new DeployContractInkRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractInkRequestWithDefaults() *DeployContractInkRequest { + this := DeployContractInkRequest{} + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *DeployContractInkRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *DeployContractInkRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *DeployContractInkRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetWasm returns the Wasm field value +func (o *DeployContractInkRequest) GetWasm() string { + if o == nil { + var ret string + return ret + } + + return o.Wasm +} + +// GetWasmOk returns a tuple with the Wasm field value +// and a boolean to check if the value has been set. +func (o *DeployContractInkRequest) GetWasmOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Wasm, true +} + +// SetWasm sets field value +func (o *DeployContractInkRequest) SetWasm(v string) { + o.Wasm = v +} + +// GetConstructorMethod returns the ConstructorMethod field value if set, zero value otherwise. +func (o *DeployContractInkRequest) GetConstructorMethod() PolkadotTransactionConfigTransferSubmittable { + if o == nil || IsNil(o.ConstructorMethod) { + var ret PolkadotTransactionConfigTransferSubmittable + return ret + } + return *o.ConstructorMethod +} + +// GetConstructorMethodOk returns a tuple with the ConstructorMethod field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractInkRequest) GetConstructorMethodOk() (*PolkadotTransactionConfigTransferSubmittable, bool) { + if o == nil || IsNil(o.ConstructorMethod) { + return nil, false + } + return o.ConstructorMethod, true +} + +// HasConstructorMethod returns a boolean if a field has been set. +func (o *DeployContractInkRequest) HasConstructorMethod() bool { + if o != nil && !IsNil(o.ConstructorMethod) { + return true + } + + return false +} + +// SetConstructorMethod gets a reference to the given PolkadotTransactionConfigTransferSubmittable and assigns it to the ConstructorMethod field. +func (o *DeployContractInkRequest) SetConstructorMethod(v PolkadotTransactionConfigTransferSubmittable) { + o.ConstructorMethod = &v +} + +// GetMetadata returns the Metadata field value +func (o *DeployContractInkRequest) GetMetadata() PolkadotTransactionConfigTransferSubmittable { + if o == nil { + var ret PolkadotTransactionConfigTransferSubmittable + return ret + } + + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value +// and a boolean to check if the value has been set. +func (o *DeployContractInkRequest) GetMetadataOk() (*PolkadotTransactionConfigTransferSubmittable, bool) { + if o == nil { + return nil, false + } + return &o.Metadata, true +} + +// SetMetadata sets field value +func (o *DeployContractInkRequest) SetMetadata(v PolkadotTransactionConfigTransferSubmittable) { + o.Metadata = v +} + +// GetGasLimit returns the GasLimit field value +func (o *DeployContractInkRequest) GetGasLimit() DeployContractInkRequestGasLimit { + if o == nil { + var ret DeployContractInkRequestGasLimit + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *DeployContractInkRequest) GetGasLimitOk() (*DeployContractInkRequestGasLimit, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *DeployContractInkRequest) SetGasLimit(v DeployContractInkRequestGasLimit) { + o.GasLimit = v +} + +// GetStorageDepositLimit returns the StorageDepositLimit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeployContractInkRequest) GetStorageDepositLimit() DeployContractInkRequestStorageDepositLimit { + if o == nil || IsNil(o.StorageDepositLimit.Get()) { + var ret DeployContractInkRequestStorageDepositLimit + return ret + } + return *o.StorageDepositLimit.Get() +} + +// GetStorageDepositLimitOk returns a tuple with the StorageDepositLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeployContractInkRequest) GetStorageDepositLimitOk() (*DeployContractInkRequestStorageDepositLimit, bool) { + if o == nil { + return nil, false + } + return o.StorageDepositLimit.Get(), o.StorageDepositLimit.IsSet() +} + +// HasStorageDepositLimit returns a boolean if a field has been set. +func (o *DeployContractInkRequest) HasStorageDepositLimit() bool { + if o != nil && o.StorageDepositLimit.IsSet() { + return true + } + + return false +} + +// SetStorageDepositLimit gets a reference to the given NullableDeployContractInkRequestStorageDepositLimit and assigns it to the StorageDepositLimit field. +func (o *DeployContractInkRequest) SetStorageDepositLimit(v DeployContractInkRequestStorageDepositLimit) { + o.StorageDepositLimit.Set(&v) +} +// SetStorageDepositLimitNil sets the value for StorageDepositLimit to be an explicit nil +func (o *DeployContractInkRequest) SetStorageDepositLimitNil() { + o.StorageDepositLimit.Set(nil) +} + +// UnsetStorageDepositLimit ensures that no value is present for StorageDepositLimit, not even an explicit nil +func (o *DeployContractInkRequest) UnsetStorageDepositLimit() { + o.StorageDepositLimit.Unset() +} + +// GetParams returns the Params field value if set, zero value otherwise. +func (o *DeployContractInkRequest) GetParams() []interface{} { + if o == nil || IsNil(o.Params) { + var ret []interface{} + return ret + } + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractInkRequest) GetParamsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Params) { + return nil, false + } + return o.Params, true +} + +// HasParams returns a boolean if a field has been set. +func (o *DeployContractInkRequest) HasParams() bool { + if o != nil && !IsNil(o.Params) { + return true + } + + return false +} + +// SetParams gets a reference to the given []interface{} and assigns it to the Params field. +func (o *DeployContractInkRequest) SetParams(v []interface{}) { + o.Params = v +} + +// GetBalance returns the Balance field value if set, zero value otherwise. +func (o *DeployContractInkRequest) GetBalance() DeployContractInkRequestBalance { + if o == nil || IsNil(o.Balance) { + var ret DeployContractInkRequestBalance + return ret + } + return *o.Balance +} + +// GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractInkRequest) GetBalanceOk() (*DeployContractInkRequestBalance, bool) { + if o == nil || IsNil(o.Balance) { + return nil, false + } + return o.Balance, true +} + +// HasBalance returns a boolean if a field has been set. +func (o *DeployContractInkRequest) HasBalance() bool { + if o != nil && !IsNil(o.Balance) { + return true + } + + return false +} + +// SetBalance gets a reference to the given DeployContractInkRequestBalance and assigns it to the Balance field. +func (o *DeployContractInkRequest) SetBalance(v DeployContractInkRequestBalance) { + o.Balance = &v +} + +// GetSalt returns the Salt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeployContractInkRequest) GetSalt() DeployContractInkRequestSalt { + if o == nil || IsNil(o.Salt.Get()) { + var ret DeployContractInkRequestSalt + return ret + } + return *o.Salt.Get() +} + +// GetSaltOk returns a tuple with the Salt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeployContractInkRequest) GetSaltOk() (*DeployContractInkRequestSalt, bool) { + if o == nil { + return nil, false + } + return o.Salt.Get(), o.Salt.IsSet() +} + +// HasSalt returns a boolean if a field has been set. +func (o *DeployContractInkRequest) HasSalt() bool { + if o != nil && o.Salt.IsSet() { + return true + } + + return false +} + +// SetSalt gets a reference to the given NullableDeployContractInkRequestSalt and assigns it to the Salt field. +func (o *DeployContractInkRequest) SetSalt(v DeployContractInkRequestSalt) { + o.Salt.Set(&v) +} +// SetSaltNil sets the value for Salt to be an explicit nil +func (o *DeployContractInkRequest) SetSaltNil() { + o.Salt.Set(nil) +} + +// UnsetSalt ensures that no value is present for Salt, not even an explicit nil +func (o *DeployContractInkRequest) UnsetSalt() { + o.Salt.Unset() +} + +func (o DeployContractInkRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractInkRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["wasm"] = o.Wasm + if !IsNil(o.ConstructorMethod) { + toSerialize["constructorMethod"] = o.ConstructorMethod + } + toSerialize["metadata"] = o.Metadata + toSerialize["gasLimit"] = o.GasLimit + if o.StorageDepositLimit.IsSet() { + toSerialize["storageDepositLimit"] = o.StorageDepositLimit.Get() + } + if !IsNil(o.Params) { + toSerialize["params"] = o.Params + } + if !IsNil(o.Balance) { + toSerialize["balance"] = o.Balance + } + if o.Salt.IsSet() { + toSerialize["salt"] = o.Salt.Get() + } + return toSerialize, nil +} + +type NullableDeployContractInkRequest struct { + value *DeployContractInkRequest + isSet bool +} + +func (v NullableDeployContractInkRequest) Get() *DeployContractInkRequest { + return v.value +} + +func (v *NullableDeployContractInkRequest) Set(val *DeployContractInkRequest) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractInkRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractInkRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractInkRequest(val *DeployContractInkRequest) *NullableDeployContractInkRequest { + return &NullableDeployContractInkRequest{value: val, isSet: true} +} + +func (v NullableDeployContractInkRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractInkRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_balance.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_balance.go new file mode 100644 index 00000000000..44b5abc7f59 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_balance.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" + "fmt" +) + +// DeployContractInkRequestBalance - struct for DeployContractInkRequestBalance +type DeployContractInkRequestBalance struct { + Int32 *int32 + String *string +} + +// int32AsDeployContractInkRequestBalance is a convenience function that returns int32 wrapped in DeployContractInkRequestBalance +func Int32AsDeployContractInkRequestBalance(v *int32) DeployContractInkRequestBalance { + return DeployContractInkRequestBalance{ + Int32: v, + } +} + +// stringAsDeployContractInkRequestBalance is a convenience function that returns string wrapped in DeployContractInkRequestBalance +func StringAsDeployContractInkRequestBalance(v *string) DeployContractInkRequestBalance { + return DeployContractInkRequestBalance{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DeployContractInkRequestBalance) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Int32 + err = newStrictDecoder(data).Decode(&dst.Int32) + if err == nil { + jsonInt32, _ := json.Marshal(dst.Int32) + if string(jsonInt32) == "{}" { // empty struct + dst.Int32 = nil + } else { + match++ + } + } else { + dst.Int32 = nil + } + + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Int32 = nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(DeployContractInkRequestBalance)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(DeployContractInkRequestBalance)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeployContractInkRequestBalance) MarshalJSON() ([]byte, error) { + if src.Int32 != nil { + return json.Marshal(&src.Int32) + } + + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DeployContractInkRequestBalance) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Int32 != nil { + return obj.Int32 + } + + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableDeployContractInkRequestBalance struct { + value *DeployContractInkRequestBalance + isSet bool +} + +func (v NullableDeployContractInkRequestBalance) Get() *DeployContractInkRequestBalance { + return v.value +} + +func (v *NullableDeployContractInkRequestBalance) Set(val *DeployContractInkRequestBalance) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractInkRequestBalance) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractInkRequestBalance) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractInkRequestBalance(val *DeployContractInkRequestBalance) *NullableDeployContractInkRequestBalance { + return &NullableDeployContractInkRequestBalance{value: val, isSet: true} +} + +func (v NullableDeployContractInkRequestBalance) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractInkRequestBalance) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_gas_limit.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_gas_limit.go new file mode 100644 index 00000000000..1ddc4016a1f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_gas_limit.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the DeployContractInkRequestGasLimit type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractInkRequestGasLimit{} + +// DeployContractInkRequestGasLimit struct for DeployContractInkRequestGasLimit +type DeployContractInkRequestGasLimit struct { + RefTime int32 `json:"refTime"` + ProofSize int32 `json:"proofSize"` +} + +// NewDeployContractInkRequestGasLimit instantiates a new DeployContractInkRequestGasLimit object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractInkRequestGasLimit(refTime int32, proofSize int32) *DeployContractInkRequestGasLimit { + this := DeployContractInkRequestGasLimit{} + this.RefTime = refTime + this.ProofSize = proofSize + return &this +} + +// NewDeployContractInkRequestGasLimitWithDefaults instantiates a new DeployContractInkRequestGasLimit object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractInkRequestGasLimitWithDefaults() *DeployContractInkRequestGasLimit { + this := DeployContractInkRequestGasLimit{} + return &this +} + +// GetRefTime returns the RefTime field value +func (o *DeployContractInkRequestGasLimit) GetRefTime() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.RefTime +} + +// GetRefTimeOk returns a tuple with the RefTime field value +// and a boolean to check if the value has been set. +func (o *DeployContractInkRequestGasLimit) GetRefTimeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.RefTime, true +} + +// SetRefTime sets field value +func (o *DeployContractInkRequestGasLimit) SetRefTime(v int32) { + o.RefTime = v +} + +// GetProofSize returns the ProofSize field value +func (o *DeployContractInkRequestGasLimit) GetProofSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ProofSize +} + +// GetProofSizeOk returns a tuple with the ProofSize field value +// and a boolean to check if the value has been set. +func (o *DeployContractInkRequestGasLimit) GetProofSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ProofSize, true +} + +// SetProofSize sets field value +func (o *DeployContractInkRequestGasLimit) SetProofSize(v int32) { + o.ProofSize = v +} + +func (o DeployContractInkRequestGasLimit) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractInkRequestGasLimit) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["refTime"] = o.RefTime + toSerialize["proofSize"] = o.ProofSize + return toSerialize, nil +} + +type NullableDeployContractInkRequestGasLimit struct { + value *DeployContractInkRequestGasLimit + isSet bool +} + +func (v NullableDeployContractInkRequestGasLimit) Get() *DeployContractInkRequestGasLimit { + return v.value +} + +func (v *NullableDeployContractInkRequestGasLimit) Set(val *DeployContractInkRequestGasLimit) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractInkRequestGasLimit) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractInkRequestGasLimit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractInkRequestGasLimit(val *DeployContractInkRequestGasLimit) *NullableDeployContractInkRequestGasLimit { + return &NullableDeployContractInkRequestGasLimit{value: val, isSet: true} +} + +func (v NullableDeployContractInkRequestGasLimit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractInkRequestGasLimit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_salt.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_salt.go new file mode 100644 index 00000000000..fed32ecfaf1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_salt.go @@ -0,0 +1,123 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" + "fmt" +) + +// DeployContractInkRequestSalt - struct for DeployContractInkRequestSalt +type DeployContractInkRequestSalt struct { + String *string +} + +// stringAsDeployContractInkRequestSalt is a convenience function that returns string wrapped in DeployContractInkRequestSalt +func StringAsDeployContractInkRequestSalt(v *string) DeployContractInkRequestSalt { + return DeployContractInkRequestSalt{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DeployContractInkRequestSalt) UnmarshalJSON(data []byte) error { + var err error + // this object is nullable so check if the payload is null or empty string + if string(data) == "" || string(data) == "{}" { + return nil + } + + match := 0 + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(DeployContractInkRequestSalt)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(DeployContractInkRequestSalt)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeployContractInkRequestSalt) MarshalJSON() ([]byte, error) { + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DeployContractInkRequestSalt) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableDeployContractInkRequestSalt struct { + value *DeployContractInkRequestSalt + isSet bool +} + +func (v NullableDeployContractInkRequestSalt) Get() *DeployContractInkRequestSalt { + return v.value +} + +func (v *NullableDeployContractInkRequestSalt) Set(val *DeployContractInkRequestSalt) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractInkRequestSalt) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractInkRequestSalt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractInkRequestSalt(val *DeployContractInkRequestSalt) *NullableDeployContractInkRequestSalt { + return &NullableDeployContractInkRequestSalt{value: val, isSet: true} +} + +func (v NullableDeployContractInkRequestSalt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractInkRequestSalt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_storage_deposit_limit.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_storage_deposit_limit.go new file mode 100644 index 00000000000..532cb803098 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_request_storage_deposit_limit.go @@ -0,0 +1,153 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" + "fmt" +) + +// DeployContractInkRequestStorageDepositLimit - struct for DeployContractInkRequestStorageDepositLimit +type DeployContractInkRequestStorageDepositLimit struct { + Int32 *int32 + String *string +} + +// int32AsDeployContractInkRequestStorageDepositLimit is a convenience function that returns int32 wrapped in DeployContractInkRequestStorageDepositLimit +func Int32AsDeployContractInkRequestStorageDepositLimit(v *int32) DeployContractInkRequestStorageDepositLimit { + return DeployContractInkRequestStorageDepositLimit{ + Int32: v, + } +} + +// stringAsDeployContractInkRequestStorageDepositLimit is a convenience function that returns string wrapped in DeployContractInkRequestStorageDepositLimit +func StringAsDeployContractInkRequestStorageDepositLimit(v *string) DeployContractInkRequestStorageDepositLimit { + return DeployContractInkRequestStorageDepositLimit{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DeployContractInkRequestStorageDepositLimit) UnmarshalJSON(data []byte) error { + var err error + // this object is nullable so check if the payload is null or empty string + if string(data) == "" || string(data) == "{}" { + return nil + } + + match := 0 + // try to unmarshal data into Int32 + err = newStrictDecoder(data).Decode(&dst.Int32) + if err == nil { + jsonInt32, _ := json.Marshal(dst.Int32) + if string(jsonInt32) == "{}" { // empty struct + dst.Int32 = nil + } else { + match++ + } + } else { + dst.Int32 = nil + } + + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Int32 = nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(DeployContractInkRequestStorageDepositLimit)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(DeployContractInkRequestStorageDepositLimit)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeployContractInkRequestStorageDepositLimit) MarshalJSON() ([]byte, error) { + if src.Int32 != nil { + return json.Marshal(&src.Int32) + } + + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DeployContractInkRequestStorageDepositLimit) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Int32 != nil { + return obj.Int32 + } + + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableDeployContractInkRequestStorageDepositLimit struct { + value *DeployContractInkRequestStorageDepositLimit + isSet bool +} + +func (v NullableDeployContractInkRequestStorageDepositLimit) Get() *DeployContractInkRequestStorageDepositLimit { + return v.value +} + +func (v *NullableDeployContractInkRequestStorageDepositLimit) Set(val *DeployContractInkRequestStorageDepositLimit) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractInkRequestStorageDepositLimit) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractInkRequestStorageDepositLimit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractInkRequestStorageDepositLimit(val *DeployContractInkRequestStorageDepositLimit) *NullableDeployContractInkRequestStorageDepositLimit { + return &NullableDeployContractInkRequestStorageDepositLimit{value: val, isSet: true} +} + +func (v NullableDeployContractInkRequestStorageDepositLimit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractInkRequestStorageDepositLimit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_response.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_response.go new file mode 100644 index 00000000000..84281f60dad --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_deploy_contract_ink_response.go @@ -0,0 +1,153 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the DeployContractInkResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractInkResponse{} + +// DeployContractInkResponse struct for DeployContractInkResponse +type DeployContractInkResponse struct { + Success bool `json:"success"` + ContractAddress *string `json:"contractAddress,omitempty"` +} + +// NewDeployContractInkResponse instantiates a new DeployContractInkResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractInkResponse(success bool) *DeployContractInkResponse { + this := DeployContractInkResponse{} + this.Success = success + return &this +} + +// NewDeployContractInkResponseWithDefaults instantiates a new DeployContractInkResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractInkResponseWithDefaults() *DeployContractInkResponse { + this := DeployContractInkResponse{} + return &this +} + +// GetSuccess returns the Success field value +func (o *DeployContractInkResponse) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *DeployContractInkResponse) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *DeployContractInkResponse) SetSuccess(v bool) { + o.Success = v +} + +// GetContractAddress returns the ContractAddress field value if set, zero value otherwise. +func (o *DeployContractInkResponse) GetContractAddress() string { + if o == nil || IsNil(o.ContractAddress) { + var ret string + return ret + } + return *o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractInkResponse) GetContractAddressOk() (*string, bool) { + if o == nil || IsNil(o.ContractAddress) { + return nil, false + } + return o.ContractAddress, true +} + +// HasContractAddress returns a boolean if a field has been set. +func (o *DeployContractInkResponse) HasContractAddress() bool { + if o != nil && !IsNil(o.ContractAddress) { + return true + } + + return false +} + +// SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field. +func (o *DeployContractInkResponse) SetContractAddress(v string) { + o.ContractAddress = &v +} + +func (o DeployContractInkResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractInkResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + if !IsNil(o.ContractAddress) { + toSerialize["contractAddress"] = o.ContractAddress + } + return toSerialize, nil +} + +type NullableDeployContractInkResponse struct { + value *DeployContractInkResponse + isSet bool +} + +func (v NullableDeployContractInkResponse) Get() *DeployContractInkResponse { + return v.value +} + +func (v *NullableDeployContractInkResponse) Set(val *DeployContractInkResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractInkResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractInkResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractInkResponse(val *DeployContractInkResponse) *NullableDeployContractInkResponse { + return &NullableDeployContractInkResponse{value: val, isSet: true} +} + +func (v NullableDeployContractInkResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractInkResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_error_exception_response.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_error_exception_response.go new file mode 100644 index 00000000000..d741666a820 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_error_exception_response.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the ErrorExceptionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ErrorExceptionResponse{} + +// ErrorExceptionResponse Error response from the connector. +type ErrorExceptionResponse struct { + // Short error description message. + Message string `json:"message"` + // Detailed error information. + Error string `json:"error"` +} + +// NewErrorExceptionResponse instantiates a new ErrorExceptionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewErrorExceptionResponse(message string, error_ string) *ErrorExceptionResponse { + this := ErrorExceptionResponse{} + this.Message = message + this.Error = error_ + return &this +} + +// NewErrorExceptionResponseWithDefaults instantiates a new ErrorExceptionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewErrorExceptionResponseWithDefaults() *ErrorExceptionResponse { + this := ErrorExceptionResponse{} + return &this +} + +// GetMessage returns the Message field value +func (o *ErrorExceptionResponse) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponse) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *ErrorExceptionResponse) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +func (o *ErrorExceptionResponse) GetError() string { + if o == nil { + var ret string + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponse) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *ErrorExceptionResponse) SetError(v string) { + o.Error = v +} + +func (o ErrorExceptionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ErrorExceptionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error + return toSerialize, nil +} + +type NullableErrorExceptionResponse struct { + value *ErrorExceptionResponse + isSet bool +} + +func (v NullableErrorExceptionResponse) Get() *ErrorExceptionResponse { + return v.value +} + +func (v *NullableErrorExceptionResponse) Set(val *ErrorExceptionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableErrorExceptionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableErrorExceptionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableErrorExceptionResponse(val *ErrorExceptionResponse) *NullableErrorExceptionResponse { + return &NullableErrorExceptionResponse{value: val, isSet: true} +} + +func (v NullableErrorExceptionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableErrorExceptionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_invoke_contract_request.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_invoke_contract_request.go new file mode 100644 index 00000000000..10409261982 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_invoke_contract_request.go @@ -0,0 +1,399 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the InvokeContractRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractRequest{} + +// InvokeContractRequest struct for InvokeContractRequest +type InvokeContractRequest struct { + InvocationType PolkadotContractInvocationType `json:"invocationType"` + AccountAddress string `json:"accountAddress"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + Metadata PolkadotTransactionConfigTransferSubmittable `json:"metadata"` + ContractAddress string `json:"contractAddress"` + // The name of the contract method to invoke. + MethodName string `json:"methodName"` + GasLimit DeployContractInkRequestGasLimit `json:"gasLimit"` + StorageDepositLimit NullableDeployContractInkRequestStorageDepositLimit `json:"storageDepositLimit,omitempty"` + Balance *DeployContractInkRequestBalance `json:"balance,omitempty"` + // The list of arguments to pass in to the contract method being invoked + Params []interface{} `json:"params,omitempty"` +} + +// NewInvokeContractRequest instantiates a new InvokeContractRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractRequest(invocationType PolkadotContractInvocationType, accountAddress string, web3SigningCredential Web3SigningCredential, metadata PolkadotTransactionConfigTransferSubmittable, contractAddress string, methodName string, gasLimit DeployContractInkRequestGasLimit) *InvokeContractRequest { + this := InvokeContractRequest{} + this.InvocationType = invocationType + this.AccountAddress = accountAddress + this.Web3SigningCredential = web3SigningCredential + this.Metadata = metadata + this.ContractAddress = contractAddress + this.MethodName = methodName + this.GasLimit = gasLimit + return &this +} + +// NewInvokeContractRequestWithDefaults instantiates a new InvokeContractRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractRequestWithDefaults() *InvokeContractRequest { + this := InvokeContractRequest{} + return &this +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeContractRequest) GetInvocationType() PolkadotContractInvocationType { + if o == nil { + var ret PolkadotContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeContractRequest) GetInvocationTypeOk() (*PolkadotContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeContractRequest) SetInvocationType(v PolkadotContractInvocationType) { + o.InvocationType = v +} + +// GetAccountAddress returns the AccountAddress field value +func (o *InvokeContractRequest) GetAccountAddress() string { + if o == nil { + var ret string + return ret + } + + return o.AccountAddress +} + +// GetAccountAddressOk returns a tuple with the AccountAddress field value +// and a boolean to check if the value has been set. +func (o *InvokeContractRequest) GetAccountAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AccountAddress, true +} + +// SetAccountAddress sets field value +func (o *InvokeContractRequest) SetAccountAddress(v string) { + o.AccountAddress = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *InvokeContractRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *InvokeContractRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *InvokeContractRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetMetadata returns the Metadata field value +func (o *InvokeContractRequest) GetMetadata() PolkadotTransactionConfigTransferSubmittable { + if o == nil { + var ret PolkadotTransactionConfigTransferSubmittable + return ret + } + + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value +// and a boolean to check if the value has been set. +func (o *InvokeContractRequest) GetMetadataOk() (*PolkadotTransactionConfigTransferSubmittable, bool) { + if o == nil { + return nil, false + } + return &o.Metadata, true +} + +// SetMetadata sets field value +func (o *InvokeContractRequest) SetMetadata(v PolkadotTransactionConfigTransferSubmittable) { + o.Metadata = v +} + +// GetContractAddress returns the ContractAddress field value +func (o *InvokeContractRequest) GetContractAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value +// and a boolean to check if the value has been set. +func (o *InvokeContractRequest) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractAddress, true +} + +// SetContractAddress sets field value +func (o *InvokeContractRequest) SetContractAddress(v string) { + o.ContractAddress = v +} + +// GetMethodName returns the MethodName field value +func (o *InvokeContractRequest) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractRequest) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeContractRequest) SetMethodName(v string) { + o.MethodName = v +} + +// GetGasLimit returns the GasLimit field value +func (o *InvokeContractRequest) GetGasLimit() DeployContractInkRequestGasLimit { + if o == nil { + var ret DeployContractInkRequestGasLimit + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *InvokeContractRequest) GetGasLimitOk() (*DeployContractInkRequestGasLimit, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *InvokeContractRequest) SetGasLimit(v DeployContractInkRequestGasLimit) { + o.GasLimit = v +} + +// GetStorageDepositLimit returns the StorageDepositLimit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeContractRequest) GetStorageDepositLimit() DeployContractInkRequestStorageDepositLimit { + if o == nil || IsNil(o.StorageDepositLimit.Get()) { + var ret DeployContractInkRequestStorageDepositLimit + return ret + } + return *o.StorageDepositLimit.Get() +} + +// GetStorageDepositLimitOk returns a tuple with the StorageDepositLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeContractRequest) GetStorageDepositLimitOk() (*DeployContractInkRequestStorageDepositLimit, bool) { + if o == nil { + return nil, false + } + return o.StorageDepositLimit.Get(), o.StorageDepositLimit.IsSet() +} + +// HasStorageDepositLimit returns a boolean if a field has been set. +func (o *InvokeContractRequest) HasStorageDepositLimit() bool { + if o != nil && o.StorageDepositLimit.IsSet() { + return true + } + + return false +} + +// SetStorageDepositLimit gets a reference to the given NullableDeployContractInkRequestStorageDepositLimit and assigns it to the StorageDepositLimit field. +func (o *InvokeContractRequest) SetStorageDepositLimit(v DeployContractInkRequestStorageDepositLimit) { + o.StorageDepositLimit.Set(&v) +} +// SetStorageDepositLimitNil sets the value for StorageDepositLimit to be an explicit nil +func (o *InvokeContractRequest) SetStorageDepositLimitNil() { + o.StorageDepositLimit.Set(nil) +} + +// UnsetStorageDepositLimit ensures that no value is present for StorageDepositLimit, not even an explicit nil +func (o *InvokeContractRequest) UnsetStorageDepositLimit() { + o.StorageDepositLimit.Unset() +} + +// GetBalance returns the Balance field value if set, zero value otherwise. +func (o *InvokeContractRequest) GetBalance() DeployContractInkRequestBalance { + if o == nil || IsNil(o.Balance) { + var ret DeployContractInkRequestBalance + return ret + } + return *o.Balance +} + +// GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractRequest) GetBalanceOk() (*DeployContractInkRequestBalance, bool) { + if o == nil || IsNil(o.Balance) { + return nil, false + } + return o.Balance, true +} + +// HasBalance returns a boolean if a field has been set. +func (o *InvokeContractRequest) HasBalance() bool { + if o != nil && !IsNil(o.Balance) { + return true + } + + return false +} + +// SetBalance gets a reference to the given DeployContractInkRequestBalance and assigns it to the Balance field. +func (o *InvokeContractRequest) SetBalance(v DeployContractInkRequestBalance) { + o.Balance = &v +} + +// GetParams returns the Params field value if set, zero value otherwise. +func (o *InvokeContractRequest) GetParams() []interface{} { + if o == nil || IsNil(o.Params) { + var ret []interface{} + return ret + } + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractRequest) GetParamsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Params) { + return nil, false + } + return o.Params, true +} + +// HasParams returns a boolean if a field has been set. +func (o *InvokeContractRequest) HasParams() bool { + if o != nil && !IsNil(o.Params) { + return true + } + + return false +} + +// SetParams gets a reference to the given []interface{} and assigns it to the Params field. +func (o *InvokeContractRequest) SetParams(v []interface{}) { + o.Params = v +} + +func (o InvokeContractRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["invocationType"] = o.InvocationType + toSerialize["accountAddress"] = o.AccountAddress + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["metadata"] = o.Metadata + toSerialize["contractAddress"] = o.ContractAddress + toSerialize["methodName"] = o.MethodName + toSerialize["gasLimit"] = o.GasLimit + if o.StorageDepositLimit.IsSet() { + toSerialize["storageDepositLimit"] = o.StorageDepositLimit.Get() + } + if !IsNil(o.Balance) { + toSerialize["balance"] = o.Balance + } + if !IsNil(o.Params) { + toSerialize["params"] = o.Params + } + return toSerialize, nil +} + +type NullableInvokeContractRequest struct { + value *InvokeContractRequest + isSet bool +} + +func (v NullableInvokeContractRequest) Get() *InvokeContractRequest { + return v.value +} + +func (v *NullableInvokeContractRequest) Set(val *InvokeContractRequest) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractRequest(val *InvokeContractRequest) *NullableInvokeContractRequest { + return &NullableInvokeContractRequest{value: val, isSet: true} +} + +func (v NullableInvokeContractRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_invoke_contract_response.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_invoke_contract_response.go new file mode 100644 index 00000000000..d916e238f1f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_invoke_contract_response.go @@ -0,0 +1,226 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the InvokeContractResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractResponse{} + +// InvokeContractResponse struct for InvokeContractResponse +type InvokeContractResponse struct { + CallOutput interface{} `json:"callOutput,omitempty"` + Success bool `json:"success"` + TxHash *string `json:"txHash,omitempty"` + BlockHash *string `json:"blockHash,omitempty"` +} + +// NewInvokeContractResponse instantiates a new InvokeContractResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractResponse(success bool) *InvokeContractResponse { + this := InvokeContractResponse{} + this.Success = success + return &this +} + +// NewInvokeContractResponseWithDefaults instantiates a new InvokeContractResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractResponseWithDefaults() *InvokeContractResponse { + this := InvokeContractResponse{} + return &this +} + +// GetCallOutput returns the CallOutput field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeContractResponse) GetCallOutput() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CallOutput +} + +// GetCallOutputOk returns a tuple with the CallOutput field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeContractResponse) GetCallOutputOk() (*interface{}, bool) { + if o == nil || IsNil(o.CallOutput) { + return nil, false + } + return &o.CallOutput, true +} + +// HasCallOutput returns a boolean if a field has been set. +func (o *InvokeContractResponse) HasCallOutput() bool { + if o != nil && IsNil(o.CallOutput) { + return true + } + + return false +} + +// SetCallOutput gets a reference to the given interface{} and assigns it to the CallOutput field. +func (o *InvokeContractResponse) SetCallOutput(v interface{}) { + o.CallOutput = v +} + +// GetSuccess returns the Success field value +func (o *InvokeContractResponse) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *InvokeContractResponse) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *InvokeContractResponse) SetSuccess(v bool) { + o.Success = v +} + +// GetTxHash returns the TxHash field value if set, zero value otherwise. +func (o *InvokeContractResponse) GetTxHash() string { + if o == nil || IsNil(o.TxHash) { + var ret string + return ret + } + return *o.TxHash +} + +// GetTxHashOk returns a tuple with the TxHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractResponse) GetTxHashOk() (*string, bool) { + if o == nil || IsNil(o.TxHash) { + return nil, false + } + return o.TxHash, true +} + +// HasTxHash returns a boolean if a field has been set. +func (o *InvokeContractResponse) HasTxHash() bool { + if o != nil && !IsNil(o.TxHash) { + return true + } + + return false +} + +// SetTxHash gets a reference to the given string and assigns it to the TxHash field. +func (o *InvokeContractResponse) SetTxHash(v string) { + o.TxHash = &v +} + +// GetBlockHash returns the BlockHash field value if set, zero value otherwise. +func (o *InvokeContractResponse) GetBlockHash() string { + if o == nil || IsNil(o.BlockHash) { + var ret string + return ret + } + return *o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractResponse) GetBlockHashOk() (*string, bool) { + if o == nil || IsNil(o.BlockHash) { + return nil, false + } + return o.BlockHash, true +} + +// HasBlockHash returns a boolean if a field has been set. +func (o *InvokeContractResponse) HasBlockHash() bool { + if o != nil && !IsNil(o.BlockHash) { + return true + } + + return false +} + +// SetBlockHash gets a reference to the given string and assigns it to the BlockHash field. +func (o *InvokeContractResponse) SetBlockHash(v string) { + o.BlockHash = &v +} + +func (o InvokeContractResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.CallOutput != nil { + toSerialize["callOutput"] = o.CallOutput + } + toSerialize["success"] = o.Success + if !IsNil(o.TxHash) { + toSerialize["txHash"] = o.TxHash + } + if !IsNil(o.BlockHash) { + toSerialize["blockHash"] = o.BlockHash + } + return toSerialize, nil +} + +type NullableInvokeContractResponse struct { + value *InvokeContractResponse + isSet bool +} + +func (v NullableInvokeContractResponse) Get() *InvokeContractResponse { + return v.value +} + +func (v *NullableInvokeContractResponse) Set(val *InvokeContractResponse) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractResponse(val *InvokeContractResponse) *NullableInvokeContractResponse { + return &NullableInvokeContractResponse{value: val, isSet: true} +} + +func (v NullableInvokeContractResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_contract_invocation_type.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_contract_invocation_type.go new file mode 100644 index 00000000000..e7be0ba151d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_contract_invocation_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" + "fmt" +) + +// PolkadotContractInvocationType the model 'PolkadotContractInvocationType' +type PolkadotContractInvocationType string + +// List of PolkadotContractInvocationType +const ( + SEND PolkadotContractInvocationType = "SEND" + QUERY PolkadotContractInvocationType = "QUERY" +) + +// All allowed values of PolkadotContractInvocationType enum +var AllowedPolkadotContractInvocationTypeEnumValues = []PolkadotContractInvocationType{ + "SEND", + "QUERY", +} + +func (v *PolkadotContractInvocationType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PolkadotContractInvocationType(value) + for _, existing := range AllowedPolkadotContractInvocationTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PolkadotContractInvocationType", value) +} + +// NewPolkadotContractInvocationTypeFromValue returns a pointer to a valid PolkadotContractInvocationType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPolkadotContractInvocationTypeFromValue(v string) (*PolkadotContractInvocationType, error) { + ev := PolkadotContractInvocationType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PolkadotContractInvocationType: valid values are %v", v, AllowedPolkadotContractInvocationTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PolkadotContractInvocationType) IsValid() bool { + for _, existing := range AllowedPolkadotContractInvocationTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PolkadotContractInvocationType value +func (v PolkadotContractInvocationType) Ptr() *PolkadotContractInvocationType { + return &v +} + +type NullablePolkadotContractInvocationType struct { + value *PolkadotContractInvocationType + isSet bool +} + +func (v NullablePolkadotContractInvocationType) Get() *PolkadotContractInvocationType { + return v.value +} + +func (v *NullablePolkadotContractInvocationType) Set(val *PolkadotContractInvocationType) { + v.value = val + v.isSet = true +} + +func (v NullablePolkadotContractInvocationType) IsSet() bool { + return v.isSet +} + +func (v *NullablePolkadotContractInvocationType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePolkadotContractInvocationType(val *PolkadotContractInvocationType) *NullablePolkadotContractInvocationType { + return &NullablePolkadotContractInvocationType{value: val, isSet: true} +} + +func (v NullablePolkadotContractInvocationType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePolkadotContractInvocationType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_transaction_config.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_transaction_config.go new file mode 100644 index 00000000000..0785e6f02ca --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_transaction_config.go @@ -0,0 +1,225 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the PolkadotTransactionConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PolkadotTransactionConfig{} + +// PolkadotTransactionConfig struct for PolkadotTransactionConfig +type PolkadotTransactionConfig struct { + TransferSubmittable *PolkadotTransactionConfigTransferSubmittable `json:"transferSubmittable,omitempty"` + To *PolkadotTransactionConfigTransferSubmittable `json:"to,omitempty"` + Value *PolkadotTransactionConfigValue `json:"value,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PolkadotTransactionConfig PolkadotTransactionConfig + +// NewPolkadotTransactionConfig instantiates a new PolkadotTransactionConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPolkadotTransactionConfig() *PolkadotTransactionConfig { + this := PolkadotTransactionConfig{} + return &this +} + +// NewPolkadotTransactionConfigWithDefaults instantiates a new PolkadotTransactionConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPolkadotTransactionConfigWithDefaults() *PolkadotTransactionConfig { + this := PolkadotTransactionConfig{} + return &this +} + +// GetTransferSubmittable returns the TransferSubmittable field value if set, zero value otherwise. +func (o *PolkadotTransactionConfig) GetTransferSubmittable() PolkadotTransactionConfigTransferSubmittable { + if o == nil || IsNil(o.TransferSubmittable) { + var ret PolkadotTransactionConfigTransferSubmittable + return ret + } + return *o.TransferSubmittable +} + +// GetTransferSubmittableOk returns a tuple with the TransferSubmittable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PolkadotTransactionConfig) GetTransferSubmittableOk() (*PolkadotTransactionConfigTransferSubmittable, bool) { + if o == nil || IsNil(o.TransferSubmittable) { + return nil, false + } + return o.TransferSubmittable, true +} + +// HasTransferSubmittable returns a boolean if a field has been set. +func (o *PolkadotTransactionConfig) HasTransferSubmittable() bool { + if o != nil && !IsNil(o.TransferSubmittable) { + return true + } + + return false +} + +// SetTransferSubmittable gets a reference to the given PolkadotTransactionConfigTransferSubmittable and assigns it to the TransferSubmittable field. +func (o *PolkadotTransactionConfig) SetTransferSubmittable(v PolkadotTransactionConfigTransferSubmittable) { + o.TransferSubmittable = &v +} + +// GetTo returns the To field value if set, zero value otherwise. +func (o *PolkadotTransactionConfig) GetTo() PolkadotTransactionConfigTransferSubmittable { + if o == nil || IsNil(o.To) { + var ret PolkadotTransactionConfigTransferSubmittable + return ret + } + return *o.To +} + +// GetToOk returns a tuple with the To field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PolkadotTransactionConfig) GetToOk() (*PolkadotTransactionConfigTransferSubmittable, bool) { + if o == nil || IsNil(o.To) { + return nil, false + } + return o.To, true +} + +// HasTo returns a boolean if a field has been set. +func (o *PolkadotTransactionConfig) HasTo() bool { + if o != nil && !IsNil(o.To) { + return true + } + + return false +} + +// SetTo gets a reference to the given PolkadotTransactionConfigTransferSubmittable and assigns it to the To field. +func (o *PolkadotTransactionConfig) SetTo(v PolkadotTransactionConfigTransferSubmittable) { + o.To = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *PolkadotTransactionConfig) GetValue() PolkadotTransactionConfigValue { + if o == nil || IsNil(o.Value) { + var ret PolkadotTransactionConfigValue + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PolkadotTransactionConfig) GetValueOk() (*PolkadotTransactionConfigValue, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *PolkadotTransactionConfig) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PolkadotTransactionConfigValue and assigns it to the Value field. +func (o *PolkadotTransactionConfig) SetValue(v PolkadotTransactionConfigValue) { + o.Value = &v +} + +func (o PolkadotTransactionConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PolkadotTransactionConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.TransferSubmittable) { + toSerialize["transferSubmittable"] = o.TransferSubmittable + } + if !IsNil(o.To) { + toSerialize["to"] = o.To + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PolkadotTransactionConfig) UnmarshalJSON(bytes []byte) (err error) { + varPolkadotTransactionConfig := _PolkadotTransactionConfig{} + + if err = json.Unmarshal(bytes, &varPolkadotTransactionConfig); err == nil { + *o = PolkadotTransactionConfig(varPolkadotTransactionConfig) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "transferSubmittable") + delete(additionalProperties, "to") + delete(additionalProperties, "value") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePolkadotTransactionConfig struct { + value *PolkadotTransactionConfig + isSet bool +} + +func (v NullablePolkadotTransactionConfig) Get() *PolkadotTransactionConfig { + return v.value +} + +func (v *NullablePolkadotTransactionConfig) Set(val *PolkadotTransactionConfig) { + v.value = val + v.isSet = true +} + +func (v NullablePolkadotTransactionConfig) IsSet() bool { + return v.isSet +} + +func (v *NullablePolkadotTransactionConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePolkadotTransactionConfig(val *PolkadotTransactionConfig) *NullablePolkadotTransactionConfig { + return &NullablePolkadotTransactionConfig{value: val, isSet: true} +} + +func (v NullablePolkadotTransactionConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePolkadotTransactionConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_transaction_config_transfer_submittable.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_transaction_config_transfer_submittable.go new file mode 100644 index 00000000000..96130bc3d75 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_transaction_config_transfer_submittable.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" + "fmt" +) + +// PolkadotTransactionConfigTransferSubmittable - struct for PolkadotTransactionConfigTransferSubmittable +type PolkadotTransactionConfigTransferSubmittable struct { + String *string +} + +// stringAsPolkadotTransactionConfigTransferSubmittable is a convenience function that returns string wrapped in PolkadotTransactionConfigTransferSubmittable +func StringAsPolkadotTransactionConfigTransferSubmittable(v *string) PolkadotTransactionConfigTransferSubmittable { + return PolkadotTransactionConfigTransferSubmittable{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *PolkadotTransactionConfigTransferSubmittable) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(PolkadotTransactionConfigTransferSubmittable)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(PolkadotTransactionConfigTransferSubmittable)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PolkadotTransactionConfigTransferSubmittable) MarshalJSON() ([]byte, error) { + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *PolkadotTransactionConfigTransferSubmittable) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullablePolkadotTransactionConfigTransferSubmittable struct { + value *PolkadotTransactionConfigTransferSubmittable + isSet bool +} + +func (v NullablePolkadotTransactionConfigTransferSubmittable) Get() *PolkadotTransactionConfigTransferSubmittable { + return v.value +} + +func (v *NullablePolkadotTransactionConfigTransferSubmittable) Set(val *PolkadotTransactionConfigTransferSubmittable) { + v.value = val + v.isSet = true +} + +func (v NullablePolkadotTransactionConfigTransferSubmittable) IsSet() bool { + return v.isSet +} + +func (v *NullablePolkadotTransactionConfigTransferSubmittable) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePolkadotTransactionConfigTransferSubmittable(val *PolkadotTransactionConfigTransferSubmittable) *NullablePolkadotTransactionConfigTransferSubmittable { + return &NullablePolkadotTransactionConfigTransferSubmittable{value: val, isSet: true} +} + +func (v NullablePolkadotTransactionConfigTransferSubmittable) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePolkadotTransactionConfigTransferSubmittable) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_transaction_config_value.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_transaction_config_value.go new file mode 100644 index 00000000000..e4e83184dc9 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_polkadot_transaction_config_value.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" + "fmt" +) + +// PolkadotTransactionConfigValue - struct for PolkadotTransactionConfigValue +type PolkadotTransactionConfigValue struct { + Float32 *float32 +} + +// float32AsPolkadotTransactionConfigValue is a convenience function that returns float32 wrapped in PolkadotTransactionConfigValue +func Float32AsPolkadotTransactionConfigValue(v *float32) PolkadotTransactionConfigValue { + return PolkadotTransactionConfigValue{ + Float32: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *PolkadotTransactionConfigValue) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Float32 + err = newStrictDecoder(data).Decode(&dst.Float32) + if err == nil { + jsonFloat32, _ := json.Marshal(dst.Float32) + if string(jsonFloat32) == "{}" { // empty struct + dst.Float32 = nil + } else { + match++ + } + } else { + dst.Float32 = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Float32 = nil + + return fmt.Errorf("data matches more than one schema in oneOf(PolkadotTransactionConfigValue)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(PolkadotTransactionConfigValue)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PolkadotTransactionConfigValue) MarshalJSON() ([]byte, error) { + if src.Float32 != nil { + return json.Marshal(&src.Float32) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *PolkadotTransactionConfigValue) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Float32 != nil { + return obj.Float32 + } + + // all schemas are nil + return nil +} + +type NullablePolkadotTransactionConfigValue struct { + value *PolkadotTransactionConfigValue + isSet bool +} + +func (v NullablePolkadotTransactionConfigValue) Get() *PolkadotTransactionConfigValue { + return v.value +} + +func (v *NullablePolkadotTransactionConfigValue) Set(val *PolkadotTransactionConfigValue) { + v.value = val + v.isSet = true +} + +func (v NullablePolkadotTransactionConfigValue) IsSet() bool { + return v.isSet +} + +func (v *NullablePolkadotTransactionConfigValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePolkadotTransactionConfigValue(val *PolkadotTransactionConfigValue) *NullablePolkadotTransactionConfigValue { + return &NullablePolkadotTransactionConfigValue{value: val, isSet: true} +} + +func (v NullablePolkadotTransactionConfigValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePolkadotTransactionConfigValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_request.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_request.go new file mode 100644 index 00000000000..431f8d9a47e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_request.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the RawTransactionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RawTransactionRequest{} + +// RawTransactionRequest struct for RawTransactionRequest +type RawTransactionRequest struct { + To string `json:"to"` + Value float32 `json:"value"` +} + +// NewRawTransactionRequest instantiates a new RawTransactionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRawTransactionRequest(to string, value float32) *RawTransactionRequest { + this := RawTransactionRequest{} + this.To = to + this.Value = value + return &this +} + +// NewRawTransactionRequestWithDefaults instantiates a new RawTransactionRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRawTransactionRequestWithDefaults() *RawTransactionRequest { + this := RawTransactionRequest{} + return &this +} + +// GetTo returns the To field value +func (o *RawTransactionRequest) GetTo() string { + if o == nil { + var ret string + return ret + } + + return o.To +} + +// GetToOk returns a tuple with the To field value +// and a boolean to check if the value has been set. +func (o *RawTransactionRequest) GetToOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.To, true +} + +// SetTo sets field value +func (o *RawTransactionRequest) SetTo(v string) { + o.To = v +} + +// GetValue returns the Value field value +func (o *RawTransactionRequest) GetValue() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *RawTransactionRequest) GetValueOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *RawTransactionRequest) SetValue(v float32) { + o.Value = v +} + +func (o RawTransactionRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RawTransactionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["to"] = o.To + toSerialize["value"] = o.Value + return toSerialize, nil +} + +type NullableRawTransactionRequest struct { + value *RawTransactionRequest + isSet bool +} + +func (v NullableRawTransactionRequest) Get() *RawTransactionRequest { + return v.value +} + +func (v *NullableRawTransactionRequest) Set(val *RawTransactionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRawTransactionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRawTransactionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRawTransactionRequest(val *RawTransactionRequest) *NullableRawTransactionRequest { + return &NullableRawTransactionRequest{value: val, isSet: true} +} + +func (v NullableRawTransactionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRawTransactionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_response.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_response.go new file mode 100644 index 00000000000..d9ededdab4a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the RawTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RawTransactionResponse{} + +// RawTransactionResponse struct for RawTransactionResponse +type RawTransactionResponse struct { + ResponseContainer RawTransactionResponseResponseContainer `json:"responseContainer"` +} + +// NewRawTransactionResponse instantiates a new RawTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRawTransactionResponse(responseContainer RawTransactionResponseResponseContainer) *RawTransactionResponse { + this := RawTransactionResponse{} + this.ResponseContainer = responseContainer + return &this +} + +// NewRawTransactionResponseWithDefaults instantiates a new RawTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRawTransactionResponseWithDefaults() *RawTransactionResponse { + this := RawTransactionResponse{} + return &this +} + +// GetResponseContainer returns the ResponseContainer field value +func (o *RawTransactionResponse) GetResponseContainer() RawTransactionResponseResponseContainer { + if o == nil { + var ret RawTransactionResponseResponseContainer + return ret + } + + return o.ResponseContainer +} + +// GetResponseContainerOk returns a tuple with the ResponseContainer field value +// and a boolean to check if the value has been set. +func (o *RawTransactionResponse) GetResponseContainerOk() (*RawTransactionResponseResponseContainer, bool) { + if o == nil { + return nil, false + } + return &o.ResponseContainer, true +} + +// SetResponseContainer sets field value +func (o *RawTransactionResponse) SetResponseContainer(v RawTransactionResponseResponseContainer) { + o.ResponseContainer = v +} + +func (o RawTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RawTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["responseContainer"] = o.ResponseContainer + return toSerialize, nil +} + +type NullableRawTransactionResponse struct { + value *RawTransactionResponse + isSet bool +} + +func (v NullableRawTransactionResponse) Get() *RawTransactionResponse { + return v.value +} + +func (v *NullableRawTransactionResponse) Set(val *RawTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRawTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRawTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRawTransactionResponse(val *RawTransactionResponse) *NullableRawTransactionResponse { + return &NullableRawTransactionResponse{value: val, isSet: true} +} + +func (v NullableRawTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRawTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_response_data.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_response_data.go new file mode 100644 index 00000000000..0e7fccf6533 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_response_data.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the RawTransactionResponseData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RawTransactionResponseData{} + +// RawTransactionResponseData struct for RawTransactionResponseData +type RawTransactionResponseData struct { + RawTransaction string `json:"rawTransaction"` +} + +// NewRawTransactionResponseData instantiates a new RawTransactionResponseData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRawTransactionResponseData(rawTransaction string) *RawTransactionResponseData { + this := RawTransactionResponseData{} + this.RawTransaction = rawTransaction + return &this +} + +// NewRawTransactionResponseDataWithDefaults instantiates a new RawTransactionResponseData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRawTransactionResponseDataWithDefaults() *RawTransactionResponseData { + this := RawTransactionResponseData{} + return &this +} + +// GetRawTransaction returns the RawTransaction field value +func (o *RawTransactionResponseData) GetRawTransaction() string { + if o == nil { + var ret string + return ret + } + + return o.RawTransaction +} + +// GetRawTransactionOk returns a tuple with the RawTransaction field value +// and a boolean to check if the value has been set. +func (o *RawTransactionResponseData) GetRawTransactionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RawTransaction, true +} + +// SetRawTransaction sets field value +func (o *RawTransactionResponseData) SetRawTransaction(v string) { + o.RawTransaction = v +} + +func (o RawTransactionResponseData) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RawTransactionResponseData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["rawTransaction"] = o.RawTransaction + return toSerialize, nil +} + +type NullableRawTransactionResponseData struct { + value *RawTransactionResponseData + isSet bool +} + +func (v NullableRawTransactionResponseData) Get() *RawTransactionResponseData { + return v.value +} + +func (v *NullableRawTransactionResponseData) Set(val *RawTransactionResponseData) { + v.value = val + v.isSet = true +} + +func (v NullableRawTransactionResponseData) IsSet() bool { + return v.isSet +} + +func (v *NullableRawTransactionResponseData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRawTransactionResponseData(val *RawTransactionResponseData) *NullableRawTransactionResponseData { + return &NullableRawTransactionResponseData{value: val, isSet: true} +} + +func (v NullableRawTransactionResponseData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRawTransactionResponseData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_response_response_container.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_response_response_container.go new file mode 100644 index 00000000000..29088f07738 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_raw_transaction_response_response_container.go @@ -0,0 +1,200 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the RawTransactionResponseResponseContainer type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RawTransactionResponseResponseContainer{} + +// RawTransactionResponseResponseContainer struct for RawTransactionResponseResponseContainer +type RawTransactionResponseResponseContainer struct { + ResponseData RawTransactionResponseData `json:"response_data"` + Succeeded bool `json:"succeeded"` + Message string `json:"message"` + Error NullableString `json:"error"` +} + +// NewRawTransactionResponseResponseContainer instantiates a new RawTransactionResponseResponseContainer object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRawTransactionResponseResponseContainer(responseData RawTransactionResponseData, succeeded bool, message string, error_ NullableString) *RawTransactionResponseResponseContainer { + this := RawTransactionResponseResponseContainer{} + this.ResponseData = responseData + this.Succeeded = succeeded + this.Message = message + this.Error = error_ + return &this +} + +// NewRawTransactionResponseResponseContainerWithDefaults instantiates a new RawTransactionResponseResponseContainer object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRawTransactionResponseResponseContainerWithDefaults() *RawTransactionResponseResponseContainer { + this := RawTransactionResponseResponseContainer{} + return &this +} + +// GetResponseData returns the ResponseData field value +func (o *RawTransactionResponseResponseContainer) GetResponseData() RawTransactionResponseData { + if o == nil { + var ret RawTransactionResponseData + return ret + } + + return o.ResponseData +} + +// GetResponseDataOk returns a tuple with the ResponseData field value +// and a boolean to check if the value has been set. +func (o *RawTransactionResponseResponseContainer) GetResponseDataOk() (*RawTransactionResponseData, bool) { + if o == nil { + return nil, false + } + return &o.ResponseData, true +} + +// SetResponseData sets field value +func (o *RawTransactionResponseResponseContainer) SetResponseData(v RawTransactionResponseData) { + o.ResponseData = v +} + +// GetSucceeded returns the Succeeded field value +func (o *RawTransactionResponseResponseContainer) GetSucceeded() bool { + if o == nil { + var ret bool + return ret + } + + return o.Succeeded +} + +// GetSucceededOk returns a tuple with the Succeeded field value +// and a boolean to check if the value has been set. +func (o *RawTransactionResponseResponseContainer) GetSucceededOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Succeeded, true +} + +// SetSucceeded sets field value +func (o *RawTransactionResponseResponseContainer) SetSucceeded(v bool) { + o.Succeeded = v +} + +// GetMessage returns the Message field value +func (o *RawTransactionResponseResponseContainer) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *RawTransactionResponseResponseContainer) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *RawTransactionResponseResponseContainer) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +// If the value is explicit nil, the zero value for string will be returned +func (o *RawTransactionResponseResponseContainer) GetError() string { + if o == nil || o.Error.Get() == nil { + var ret string + return ret + } + + return *o.Error.Get() +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RawTransactionResponseResponseContainer) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Error.Get(), o.Error.IsSet() +} + +// SetError sets field value +func (o *RawTransactionResponseResponseContainer) SetError(v string) { + o.Error.Set(&v) +} + +func (o RawTransactionResponseResponseContainer) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RawTransactionResponseResponseContainer) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["response_data"] = o.ResponseData + toSerialize["succeeded"] = o.Succeeded + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error.Get() + return toSerialize, nil +} + +type NullableRawTransactionResponseResponseContainer struct { + value *RawTransactionResponseResponseContainer + isSet bool +} + +func (v NullableRawTransactionResponseResponseContainer) Get() *RawTransactionResponseResponseContainer { + return v.value +} + +func (v *NullableRawTransactionResponseResponseContainer) Set(val *RawTransactionResponseResponseContainer) { + v.value = val + v.isSet = true +} + +func (v NullableRawTransactionResponseResponseContainer) IsSet() bool { + return v.isSet +} + +func (v *NullableRawTransactionResponseResponseContainer) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRawTransactionResponseResponseContainer(val *RawTransactionResponseResponseContainer) *NullableRawTransactionResponseResponseContainer { + return &NullableRawTransactionResponseResponseContainer{value: val, isSet: true} +} + +func (v NullableRawTransactionResponseResponseContainer) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRawTransactionResponseResponseContainer) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_run_transaction_request.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_run_transaction_request.go new file mode 100644 index 00000000000..269045ab848 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_run_transaction_request.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the RunTransactionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionRequest{} + +// RunTransactionRequest struct for RunTransactionRequest +type RunTransactionRequest struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + TransactionConfig PolkadotTransactionConfig `json:"transactionConfig"` +} + +// NewRunTransactionRequest instantiates a new RunTransactionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionRequest(web3SigningCredential Web3SigningCredential, transactionConfig PolkadotTransactionConfig) *RunTransactionRequest { + this := RunTransactionRequest{} + this.Web3SigningCredential = web3SigningCredential + this.TransactionConfig = transactionConfig + return &this +} + +// NewRunTransactionRequestWithDefaults instantiates a new RunTransactionRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionRequestWithDefaults() *RunTransactionRequest { + this := RunTransactionRequest{} + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *RunTransactionRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *RunTransactionRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetTransactionConfig returns the TransactionConfig field value +func (o *RunTransactionRequest) GetTransactionConfig() PolkadotTransactionConfig { + if o == nil { + var ret PolkadotTransactionConfig + return ret + } + + return o.TransactionConfig +} + +// GetTransactionConfigOk returns a tuple with the TransactionConfig field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetTransactionConfigOk() (*PolkadotTransactionConfig, bool) { + if o == nil { + return nil, false + } + return &o.TransactionConfig, true +} + +// SetTransactionConfig sets field value +func (o *RunTransactionRequest) SetTransactionConfig(v PolkadotTransactionConfig) { + o.TransactionConfig = v +} + +func (o RunTransactionRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["transactionConfig"] = o.TransactionConfig + return toSerialize, nil +} + +type NullableRunTransactionRequest struct { + value *RunTransactionRequest + isSet bool +} + +func (v NullableRunTransactionRequest) Get() *RunTransactionRequest { + return v.value +} + +func (v *NullableRunTransactionRequest) Set(val *RunTransactionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionRequest(val *RunTransactionRequest) *NullableRunTransactionRequest { + return &NullableRunTransactionRequest{value: val, isSet: true} +} + +func (v NullableRunTransactionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_run_transaction_response.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_run_transaction_response.go new file mode 100644 index 00000000000..d7dc1111d0e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_run_transaction_response.go @@ -0,0 +1,189 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the RunTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionResponse{} + +// RunTransactionResponse struct for RunTransactionResponse +type RunTransactionResponse struct { + Success bool `json:"success"` + TxHash *string `json:"txHash,omitempty"` + BlockHash *string `json:"blockHash,omitempty"` +} + +// NewRunTransactionResponse instantiates a new RunTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionResponse(success bool) *RunTransactionResponse { + this := RunTransactionResponse{} + this.Success = success + return &this +} + +// NewRunTransactionResponseWithDefaults instantiates a new RunTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionResponseWithDefaults() *RunTransactionResponse { + this := RunTransactionResponse{} + return &this +} + +// GetSuccess returns the Success field value +func (o *RunTransactionResponse) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *RunTransactionResponse) SetSuccess(v bool) { + o.Success = v +} + +// GetTxHash returns the TxHash field value if set, zero value otherwise. +func (o *RunTransactionResponse) GetTxHash() string { + if o == nil || IsNil(o.TxHash) { + var ret string + return ret + } + return *o.TxHash +} + +// GetTxHashOk returns a tuple with the TxHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetTxHashOk() (*string, bool) { + if o == nil || IsNil(o.TxHash) { + return nil, false + } + return o.TxHash, true +} + +// HasTxHash returns a boolean if a field has been set. +func (o *RunTransactionResponse) HasTxHash() bool { + if o != nil && !IsNil(o.TxHash) { + return true + } + + return false +} + +// SetTxHash gets a reference to the given string and assigns it to the TxHash field. +func (o *RunTransactionResponse) SetTxHash(v string) { + o.TxHash = &v +} + +// GetBlockHash returns the BlockHash field value if set, zero value otherwise. +func (o *RunTransactionResponse) GetBlockHash() string { + if o == nil || IsNil(o.BlockHash) { + var ret string + return ret + } + return *o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetBlockHashOk() (*string, bool) { + if o == nil || IsNil(o.BlockHash) { + return nil, false + } + return o.BlockHash, true +} + +// HasBlockHash returns a boolean if a field has been set. +func (o *RunTransactionResponse) HasBlockHash() bool { + if o != nil && !IsNil(o.BlockHash) { + return true + } + + return false +} + +// SetBlockHash gets a reference to the given string and assigns it to the BlockHash field. +func (o *RunTransactionResponse) SetBlockHash(v string) { + o.BlockHash = &v +} + +func (o RunTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + if !IsNil(o.TxHash) { + toSerialize["txHash"] = o.TxHash + } + if !IsNil(o.BlockHash) { + toSerialize["blockHash"] = o.BlockHash + } + return toSerialize, nil +} + +type NullableRunTransactionResponse struct { + value *RunTransactionResponse + isSet bool +} + +func (v NullableRunTransactionResponse) Get() *RunTransactionResponse { + return v.value +} + +func (v *NullableRunTransactionResponse) Set(val *RunTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionResponse(val *RunTransactionResponse) *NullableRunTransactionResponse { + return &NullableRunTransactionResponse{value: val, isSet: true} +} + +func (v NullableRunTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_sign_raw_transaction_request.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_sign_raw_transaction_request.go new file mode 100644 index 00000000000..b84005b6e7f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_sign_raw_transaction_request.go @@ -0,0 +1,180 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the SignRawTransactionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SignRawTransactionRequest{} + +// SignRawTransactionRequest struct for SignRawTransactionRequest +type SignRawTransactionRequest struct { + RawTransaction string `json:"rawTransaction"` + Mnemonic string `json:"mnemonic"` + SigningOptions map[string]interface{} `json:"signingOptions,omitempty"` +} + +// NewSignRawTransactionRequest instantiates a new SignRawTransactionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSignRawTransactionRequest(rawTransaction string, mnemonic string) *SignRawTransactionRequest { + this := SignRawTransactionRequest{} + this.RawTransaction = rawTransaction + this.Mnemonic = mnemonic + return &this +} + +// NewSignRawTransactionRequestWithDefaults instantiates a new SignRawTransactionRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSignRawTransactionRequestWithDefaults() *SignRawTransactionRequest { + this := SignRawTransactionRequest{} + return &this +} + +// GetRawTransaction returns the RawTransaction field value +func (o *SignRawTransactionRequest) GetRawTransaction() string { + if o == nil { + var ret string + return ret + } + + return o.RawTransaction +} + +// GetRawTransactionOk returns a tuple with the RawTransaction field value +// and a boolean to check if the value has been set. +func (o *SignRawTransactionRequest) GetRawTransactionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RawTransaction, true +} + +// SetRawTransaction sets field value +func (o *SignRawTransactionRequest) SetRawTransaction(v string) { + o.RawTransaction = v +} + +// GetMnemonic returns the Mnemonic field value +func (o *SignRawTransactionRequest) GetMnemonic() string { + if o == nil { + var ret string + return ret + } + + return o.Mnemonic +} + +// GetMnemonicOk returns a tuple with the Mnemonic field value +// and a boolean to check if the value has been set. +func (o *SignRawTransactionRequest) GetMnemonicOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Mnemonic, true +} + +// SetMnemonic sets field value +func (o *SignRawTransactionRequest) SetMnemonic(v string) { + o.Mnemonic = v +} + +// GetSigningOptions returns the SigningOptions field value if set, zero value otherwise. +func (o *SignRawTransactionRequest) GetSigningOptions() map[string]interface{} { + if o == nil || IsNil(o.SigningOptions) { + var ret map[string]interface{} + return ret + } + return o.SigningOptions +} + +// GetSigningOptionsOk returns a tuple with the SigningOptions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SignRawTransactionRequest) GetSigningOptionsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.SigningOptions) { + return map[string]interface{}{}, false + } + return o.SigningOptions, true +} + +// HasSigningOptions returns a boolean if a field has been set. +func (o *SignRawTransactionRequest) HasSigningOptions() bool { + if o != nil && !IsNil(o.SigningOptions) { + return true + } + + return false +} + +// SetSigningOptions gets a reference to the given map[string]interface{} and assigns it to the SigningOptions field. +func (o *SignRawTransactionRequest) SetSigningOptions(v map[string]interface{}) { + o.SigningOptions = v +} + +func (o SignRawTransactionRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SignRawTransactionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["rawTransaction"] = o.RawTransaction + toSerialize["mnemonic"] = o.Mnemonic + if !IsNil(o.SigningOptions) { + toSerialize["signingOptions"] = o.SigningOptions + } + return toSerialize, nil +} + +type NullableSignRawTransactionRequest struct { + value *SignRawTransactionRequest + isSet bool +} + +func (v NullableSignRawTransactionRequest) Get() *SignRawTransactionRequest { + return v.value +} + +func (v *NullableSignRawTransactionRequest) Set(val *SignRawTransactionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableSignRawTransactionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableSignRawTransactionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSignRawTransactionRequest(val *SignRawTransactionRequest) *NullableSignRawTransactionRequest { + return &NullableSignRawTransactionRequest{value: val, isSet: true} +} + +func (v NullableSignRawTransactionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSignRawTransactionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_sign_raw_transaction_response.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_sign_raw_transaction_response.go new file mode 100644 index 00000000000..72f9f5b04e2 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_sign_raw_transaction_response.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the SignRawTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SignRawTransactionResponse{} + +// SignRawTransactionResponse struct for SignRawTransactionResponse +type SignRawTransactionResponse struct { + Success bool `json:"success"` + SignedTransaction string `json:"signedTransaction"` +} + +// NewSignRawTransactionResponse instantiates a new SignRawTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSignRawTransactionResponse(success bool, signedTransaction string) *SignRawTransactionResponse { + this := SignRawTransactionResponse{} + this.Success = success + this.SignedTransaction = signedTransaction + return &this +} + +// NewSignRawTransactionResponseWithDefaults instantiates a new SignRawTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSignRawTransactionResponseWithDefaults() *SignRawTransactionResponse { + this := SignRawTransactionResponse{} + return &this +} + +// GetSuccess returns the Success field value +func (o *SignRawTransactionResponse) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *SignRawTransactionResponse) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *SignRawTransactionResponse) SetSuccess(v bool) { + o.Success = v +} + +// GetSignedTransaction returns the SignedTransaction field value +func (o *SignRawTransactionResponse) GetSignedTransaction() string { + if o == nil { + var ret string + return ret + } + + return o.SignedTransaction +} + +// GetSignedTransactionOk returns a tuple with the SignedTransaction field value +// and a boolean to check if the value has been set. +func (o *SignRawTransactionResponse) GetSignedTransactionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SignedTransaction, true +} + +// SetSignedTransaction sets field value +func (o *SignRawTransactionResponse) SetSignedTransaction(v string) { + o.SignedTransaction = v +} + +func (o SignRawTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SignRawTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["success"] = o.Success + toSerialize["signedTransaction"] = o.SignedTransaction + return toSerialize, nil +} + +type NullableSignRawTransactionResponse struct { + value *SignRawTransactionResponse + isSet bool +} + +func (v NullableSignRawTransactionResponse) Get() *SignRawTransactionResponse { + return v.value +} + +func (v *NullableSignRawTransactionResponse) Set(val *SignRawTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableSignRawTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableSignRawTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSignRawTransactionResponse(val *SignRawTransactionResponse) *NullableSignRawTransactionResponse { + return &NullableSignRawTransactionResponse{value: val, isSet: true} +} + +func (v NullableSignRawTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSignRawTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_request.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_request.go new file mode 100644 index 00000000000..df66a18b523 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_request.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the TransactionInfoRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransactionInfoRequest{} + +// TransactionInfoRequest struct for TransactionInfoRequest +type TransactionInfoRequest struct { + AccountAddress string `json:"accountAddress"` + TransactionExpiration NullableFloat32 `json:"transactionExpiration"` +} + +// NewTransactionInfoRequest instantiates a new TransactionInfoRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransactionInfoRequest(accountAddress string, transactionExpiration NullableFloat32) *TransactionInfoRequest { + this := TransactionInfoRequest{} + this.AccountAddress = accountAddress + this.TransactionExpiration = transactionExpiration + return &this +} + +// NewTransactionInfoRequestWithDefaults instantiates a new TransactionInfoRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransactionInfoRequestWithDefaults() *TransactionInfoRequest { + this := TransactionInfoRequest{} + return &this +} + +// GetAccountAddress returns the AccountAddress field value +func (o *TransactionInfoRequest) GetAccountAddress() string { + if o == nil { + var ret string + return ret + } + + return o.AccountAddress +} + +// GetAccountAddressOk returns a tuple with the AccountAddress field value +// and a boolean to check if the value has been set. +func (o *TransactionInfoRequest) GetAccountAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AccountAddress, true +} + +// SetAccountAddress sets field value +func (o *TransactionInfoRequest) SetAccountAddress(v string) { + o.AccountAddress = v +} + +// GetTransactionExpiration returns the TransactionExpiration field value +// If the value is explicit nil, the zero value for float32 will be returned +func (o *TransactionInfoRequest) GetTransactionExpiration() float32 { + if o == nil || o.TransactionExpiration.Get() == nil { + var ret float32 + return ret + } + + return *o.TransactionExpiration.Get() +} + +// GetTransactionExpirationOk returns a tuple with the TransactionExpiration field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TransactionInfoRequest) GetTransactionExpirationOk() (*float32, bool) { + if o == nil { + return nil, false + } + return o.TransactionExpiration.Get(), o.TransactionExpiration.IsSet() +} + +// SetTransactionExpiration sets field value +func (o *TransactionInfoRequest) SetTransactionExpiration(v float32) { + o.TransactionExpiration.Set(&v) +} + +func (o TransactionInfoRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransactionInfoRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["accountAddress"] = o.AccountAddress + toSerialize["transactionExpiration"] = o.TransactionExpiration.Get() + return toSerialize, nil +} + +type NullableTransactionInfoRequest struct { + value *TransactionInfoRequest + isSet bool +} + +func (v NullableTransactionInfoRequest) Get() *TransactionInfoRequest { + return v.value +} + +func (v *NullableTransactionInfoRequest) Set(val *TransactionInfoRequest) { + v.value = val + v.isSet = true +} + +func (v NullableTransactionInfoRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactionInfoRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactionInfoRequest(val *TransactionInfoRequest) *NullableTransactionInfoRequest { + return &NullableTransactionInfoRequest{value: val, isSet: true} +} + +func (v NullableTransactionInfoRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactionInfoRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_response.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_response.go new file mode 100644 index 00000000000..c26114d74ba --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the TransactionInfoResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransactionInfoResponse{} + +// TransactionInfoResponse struct for TransactionInfoResponse +type TransactionInfoResponse struct { + ResponseContainer TransactionInfoResponseResponseContainer `json:"responseContainer"` +} + +// NewTransactionInfoResponse instantiates a new TransactionInfoResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransactionInfoResponse(responseContainer TransactionInfoResponseResponseContainer) *TransactionInfoResponse { + this := TransactionInfoResponse{} + this.ResponseContainer = responseContainer + return &this +} + +// NewTransactionInfoResponseWithDefaults instantiates a new TransactionInfoResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransactionInfoResponseWithDefaults() *TransactionInfoResponse { + this := TransactionInfoResponse{} + return &this +} + +// GetResponseContainer returns the ResponseContainer field value +func (o *TransactionInfoResponse) GetResponseContainer() TransactionInfoResponseResponseContainer { + if o == nil { + var ret TransactionInfoResponseResponseContainer + return ret + } + + return o.ResponseContainer +} + +// GetResponseContainerOk returns a tuple with the ResponseContainer field value +// and a boolean to check if the value has been set. +func (o *TransactionInfoResponse) GetResponseContainerOk() (*TransactionInfoResponseResponseContainer, bool) { + if o == nil { + return nil, false + } + return &o.ResponseContainer, true +} + +// SetResponseContainer sets field value +func (o *TransactionInfoResponse) SetResponseContainer(v TransactionInfoResponseResponseContainer) { + o.ResponseContainer = v +} + +func (o TransactionInfoResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransactionInfoResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["responseContainer"] = o.ResponseContainer + return toSerialize, nil +} + +type NullableTransactionInfoResponse struct { + value *TransactionInfoResponse + isSet bool +} + +func (v NullableTransactionInfoResponse) Get() *TransactionInfoResponse { + return v.value +} + +func (v *NullableTransactionInfoResponse) Set(val *TransactionInfoResponse) { + v.value = val + v.isSet = true +} + +func (v NullableTransactionInfoResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactionInfoResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactionInfoResponse(val *TransactionInfoResponse) *NullableTransactionInfoResponse { + return &NullableTransactionInfoResponse{value: val, isSet: true} +} + +func (v NullableTransactionInfoResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactionInfoResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_response_data.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_response_data.go new file mode 100644 index 00000000000..e1f91134c6a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_response_data.go @@ -0,0 +1,175 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the TransactionInfoResponseData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransactionInfoResponseData{} + +// TransactionInfoResponseData struct for TransactionInfoResponseData +type TransactionInfoResponseData struct { + Nonce map[string]interface{} `json:"nonce"` + BlockHash map[string]interface{} `json:"blockHash"` + Era map[string]interface{} `json:"era"` +} + +// NewTransactionInfoResponseData instantiates a new TransactionInfoResponseData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransactionInfoResponseData(nonce map[string]interface{}, blockHash map[string]interface{}, era map[string]interface{}) *TransactionInfoResponseData { + this := TransactionInfoResponseData{} + this.Nonce = nonce + this.BlockHash = blockHash + this.Era = era + return &this +} + +// NewTransactionInfoResponseDataWithDefaults instantiates a new TransactionInfoResponseData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransactionInfoResponseDataWithDefaults() *TransactionInfoResponseData { + this := TransactionInfoResponseData{} + return &this +} + +// GetNonce returns the Nonce field value +func (o *TransactionInfoResponseData) GetNonce() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *TransactionInfoResponseData) GetNonceOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false + } + return o.Nonce, true +} + +// SetNonce sets field value +func (o *TransactionInfoResponseData) SetNonce(v map[string]interface{}) { + o.Nonce = v +} + +// GetBlockHash returns the BlockHash field value +func (o *TransactionInfoResponseData) GetBlockHash() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +func (o *TransactionInfoResponseData) GetBlockHashOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false + } + return o.BlockHash, true +} + +// SetBlockHash sets field value +func (o *TransactionInfoResponseData) SetBlockHash(v map[string]interface{}) { + o.BlockHash = v +} + +// GetEra returns the Era field value +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *TransactionInfoResponseData) GetEra() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + + return o.Era +} + +// GetEraOk returns a tuple with the Era field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TransactionInfoResponseData) GetEraOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Era) { + return map[string]interface{}{}, false + } + return o.Era, true +} + +// SetEra sets field value +func (o *TransactionInfoResponseData) SetEra(v map[string]interface{}) { + o.Era = v +} + +func (o TransactionInfoResponseData) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransactionInfoResponseData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["nonce"] = o.Nonce + toSerialize["blockHash"] = o.BlockHash + if o.Era != nil { + toSerialize["era"] = o.Era + } + return toSerialize, nil +} + +type NullableTransactionInfoResponseData struct { + value *TransactionInfoResponseData + isSet bool +} + +func (v NullableTransactionInfoResponseData) Get() *TransactionInfoResponseData { + return v.value +} + +func (v *NullableTransactionInfoResponseData) Set(val *TransactionInfoResponseData) { + v.value = val + v.isSet = true +} + +func (v NullableTransactionInfoResponseData) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactionInfoResponseData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactionInfoResponseData(val *TransactionInfoResponseData) *NullableTransactionInfoResponseData { + return &NullableTransactionInfoResponseData{value: val, isSet: true} +} + +func (v NullableTransactionInfoResponseData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactionInfoResponseData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_response_response_container.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_response_response_container.go new file mode 100644 index 00000000000..ed5a733f3e1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_transaction_info_response_response_container.go @@ -0,0 +1,200 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the TransactionInfoResponseResponseContainer type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransactionInfoResponseResponseContainer{} + +// TransactionInfoResponseResponseContainer struct for TransactionInfoResponseResponseContainer +type TransactionInfoResponseResponseContainer struct { + ResponseData TransactionInfoResponseData `json:"response_data"` + Succeeded bool `json:"succeeded"` + Message string `json:"message"` + Error NullableString `json:"error"` +} + +// NewTransactionInfoResponseResponseContainer instantiates a new TransactionInfoResponseResponseContainer object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransactionInfoResponseResponseContainer(responseData TransactionInfoResponseData, succeeded bool, message string, error_ NullableString) *TransactionInfoResponseResponseContainer { + this := TransactionInfoResponseResponseContainer{} + this.ResponseData = responseData + this.Succeeded = succeeded + this.Message = message + this.Error = error_ + return &this +} + +// NewTransactionInfoResponseResponseContainerWithDefaults instantiates a new TransactionInfoResponseResponseContainer object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransactionInfoResponseResponseContainerWithDefaults() *TransactionInfoResponseResponseContainer { + this := TransactionInfoResponseResponseContainer{} + return &this +} + +// GetResponseData returns the ResponseData field value +func (o *TransactionInfoResponseResponseContainer) GetResponseData() TransactionInfoResponseData { + if o == nil { + var ret TransactionInfoResponseData + return ret + } + + return o.ResponseData +} + +// GetResponseDataOk returns a tuple with the ResponseData field value +// and a boolean to check if the value has been set. +func (o *TransactionInfoResponseResponseContainer) GetResponseDataOk() (*TransactionInfoResponseData, bool) { + if o == nil { + return nil, false + } + return &o.ResponseData, true +} + +// SetResponseData sets field value +func (o *TransactionInfoResponseResponseContainer) SetResponseData(v TransactionInfoResponseData) { + o.ResponseData = v +} + +// GetSucceeded returns the Succeeded field value +func (o *TransactionInfoResponseResponseContainer) GetSucceeded() bool { + if o == nil { + var ret bool + return ret + } + + return o.Succeeded +} + +// GetSucceededOk returns a tuple with the Succeeded field value +// and a boolean to check if the value has been set. +func (o *TransactionInfoResponseResponseContainer) GetSucceededOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Succeeded, true +} + +// SetSucceeded sets field value +func (o *TransactionInfoResponseResponseContainer) SetSucceeded(v bool) { + o.Succeeded = v +} + +// GetMessage returns the Message field value +func (o *TransactionInfoResponseResponseContainer) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *TransactionInfoResponseResponseContainer) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *TransactionInfoResponseResponseContainer) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +// If the value is explicit nil, the zero value for string will be returned +func (o *TransactionInfoResponseResponseContainer) GetError() string { + if o == nil || o.Error.Get() == nil { + var ret string + return ret + } + + return *o.Error.Get() +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TransactionInfoResponseResponseContainer) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Error.Get(), o.Error.IsSet() +} + +// SetError sets field value +func (o *TransactionInfoResponseResponseContainer) SetError(v string) { + o.Error.Set(&v) +} + +func (o TransactionInfoResponseResponseContainer) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransactionInfoResponseResponseContainer) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["response_data"] = o.ResponseData + toSerialize["succeeded"] = o.Succeeded + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error.Get() + return toSerialize, nil +} + +type NullableTransactionInfoResponseResponseContainer struct { + value *TransactionInfoResponseResponseContainer + isSet bool +} + +func (v NullableTransactionInfoResponseResponseContainer) Get() *TransactionInfoResponseResponseContainer { + return v.value +} + +func (v *NullableTransactionInfoResponseResponseContainer) Set(val *TransactionInfoResponseResponseContainer) { + v.value = val + v.isSet = true +} + +func (v NullableTransactionInfoResponseResponseContainer) IsSet() bool { + return v.isSet +} + +func (v *NullableTransactionInfoResponseResponseContainer) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransactionInfoResponseResponseContainer(val *TransactionInfoResponseResponseContainer) *NullableTransactionInfoResponseResponseContainer { + return &NullableTransactionInfoResponseResponseContainer{value: val, isSet: true} +} + +func (v NullableTransactionInfoResponseResponseContainer) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransactionInfoResponseResponseContainer) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go new file mode 100644 index 00000000000..fd7058dfd70 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go @@ -0,0 +1,178 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredential - struct for Web3SigningCredential +type Web3SigningCredential struct { + Web3SigningCredentialCactusKeychainRef *Web3SigningCredentialCactusKeychainRef + Web3SigningCredentialMnemonicString *Web3SigningCredentialMnemonicString + Web3SigningCredentialNone *Web3SigningCredentialNone +} + +// Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialCactusKeychainRef wrapped in Web3SigningCredential +func Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential(v *Web3SigningCredentialCactusKeychainRef) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialCactusKeychainRef: v, + } +} + +// Web3SigningCredentialMnemonicStringAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialMnemonicString wrapped in Web3SigningCredential +func Web3SigningCredentialMnemonicStringAsWeb3SigningCredential(v *Web3SigningCredentialMnemonicString) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialMnemonicString: v, + } +} + +// Web3SigningCredentialNoneAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialNone wrapped in Web3SigningCredential +func Web3SigningCredentialNoneAsWeb3SigningCredential(v *Web3SigningCredentialNone) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialNone: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Web3SigningCredential) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Web3SigningCredentialCactusKeychainRef + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialCactusKeychainRef) + if err == nil { + jsonWeb3SigningCredentialCactusKeychainRef, _ := json.Marshal(dst.Web3SigningCredentialCactusKeychainRef) + if string(jsonWeb3SigningCredentialCactusKeychainRef) == "{}" { // empty struct + dst.Web3SigningCredentialCactusKeychainRef = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialCactusKeychainRef = nil + } + + // try to unmarshal data into Web3SigningCredentialMnemonicString + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialMnemonicString) + if err == nil { + jsonWeb3SigningCredentialMnemonicString, _ := json.Marshal(dst.Web3SigningCredentialMnemonicString) + if string(jsonWeb3SigningCredentialMnemonicString) == "{}" { // empty struct + dst.Web3SigningCredentialMnemonicString = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialMnemonicString = nil + } + + // try to unmarshal data into Web3SigningCredentialNone + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialNone) + if err == nil { + jsonWeb3SigningCredentialNone, _ := json.Marshal(dst.Web3SigningCredentialNone) + if string(jsonWeb3SigningCredentialNone) == "{}" { // empty struct + dst.Web3SigningCredentialNone = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialNone = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Web3SigningCredentialCactusKeychainRef = nil + dst.Web3SigningCredentialMnemonicString = nil + dst.Web3SigningCredentialNone = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Web3SigningCredential)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Web3SigningCredential)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Web3SigningCredential) MarshalJSON() ([]byte, error) { + if src.Web3SigningCredentialCactusKeychainRef != nil { + return json.Marshal(&src.Web3SigningCredentialCactusKeychainRef) + } + + if src.Web3SigningCredentialMnemonicString != nil { + return json.Marshal(&src.Web3SigningCredentialMnemonicString) + } + + if src.Web3SigningCredentialNone != nil { + return json.Marshal(&src.Web3SigningCredentialNone) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Web3SigningCredential) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Web3SigningCredentialCactusKeychainRef != nil { + return obj.Web3SigningCredentialCactusKeychainRef + } + + if obj.Web3SigningCredentialMnemonicString != nil { + return obj.Web3SigningCredentialMnemonicString + } + + if obj.Web3SigningCredentialNone != nil { + return obj.Web3SigningCredentialNone + } + + // all schemas are nil + return nil +} + +type NullableWeb3SigningCredential struct { + value *Web3SigningCredential + isSet bool +} + +func (v NullableWeb3SigningCredential) Get() *Web3SigningCredential { + return v.value +} + +func (v *NullableWeb3SigningCredential) Set(val *Web3SigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredential(val *Web3SigningCredential) *NullableWeb3SigningCredential { + return &NullableWeb3SigningCredential{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go new file mode 100644 index 00000000000..763c513175b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialCactusKeychainRef type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialCactusKeychainRef{} + +// Web3SigningCredentialCactusKeychainRef struct for Web3SigningCredentialCactusKeychainRef +type Web3SigningCredentialCactusKeychainRef struct { + Type Web3SigningCredentialType `json:"type"` + // The key to use when looking up the the keychain entry holding the secret pointed to by the keychainEntryKey parameter. + KeychainEntryKey string `json:"keychainEntryKey"` + // The keychain ID to use when looking up the the keychain plugin instance that will be used to retrieve the secret pointed to by the keychainEntryKey parameter. + KeychainId string `json:"keychainId"` +} + +// NewWeb3SigningCredentialCactusKeychainRef instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialCactusKeychainRef(type_ Web3SigningCredentialType, keychainEntryKey string, keychainId string) *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + this.Type = type_ + this.KeychainEntryKey = keychainEntryKey + this.KeychainId = keychainId + return &this +} + +// NewWeb3SigningCredentialCactusKeychainRefWithDefaults instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialCactusKeychainRefWithDefaults() *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialCactusKeychainRef) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetKeychainEntryKey returns the KeychainEntryKey field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKey() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainEntryKey +} + +// GetKeychainEntryKeyOk returns a tuple with the KeychainEntryKey field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainEntryKey, true +} + +// SetKeychainEntryKey sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainEntryKey(v string) { + o.KeychainEntryKey = v +} + +// GetKeychainId returns the KeychainId field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o Web3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialCactusKeychainRef) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["keychainEntryKey"] = o.KeychainEntryKey + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableWeb3SigningCredentialCactusKeychainRef struct { + value *Web3SigningCredentialCactusKeychainRef + isSet bool +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) Get() *Web3SigningCredentialCactusKeychainRef { + return v.value +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Set(val *Web3SigningCredentialCactusKeychainRef) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialCactusKeychainRef(val *Web3SigningCredentialCactusKeychainRef) *NullableWeb3SigningCredentialCactusKeychainRef { + return &NullableWeb3SigningCredentialCactusKeychainRef{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_mnemonic_string.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_mnemonic_string.go new file mode 100644 index 00000000000..fd38dc3f130 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_mnemonic_string.go @@ -0,0 +1,145 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialMnemonicString type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialMnemonicString{} + +// Web3SigningCredentialMnemonicString struct for Web3SigningCredentialMnemonicString +type Web3SigningCredentialMnemonicString struct { + Type Web3SigningCredentialType `json:"type"` + // The Polkadot account's seed phrase for signing transaction + Mnemonic string `json:"mnemonic"` +} + +// NewWeb3SigningCredentialMnemonicString instantiates a new Web3SigningCredentialMnemonicString object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialMnemonicString(type_ Web3SigningCredentialType, mnemonic string) *Web3SigningCredentialMnemonicString { + this := Web3SigningCredentialMnemonicString{} + this.Type = type_ + this.Mnemonic = mnemonic + return &this +} + +// NewWeb3SigningCredentialMnemonicStringWithDefaults instantiates a new Web3SigningCredentialMnemonicString object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialMnemonicStringWithDefaults() *Web3SigningCredentialMnemonicString { + this := Web3SigningCredentialMnemonicString{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialMnemonicString) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialMnemonicString) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialMnemonicString) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetMnemonic returns the Mnemonic field value +func (o *Web3SigningCredentialMnemonicString) GetMnemonic() string { + if o == nil { + var ret string + return ret + } + + return o.Mnemonic +} + +// GetMnemonicOk returns a tuple with the Mnemonic field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialMnemonicString) GetMnemonicOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Mnemonic, true +} + +// SetMnemonic sets field value +func (o *Web3SigningCredentialMnemonicString) SetMnemonic(v string) { + o.Mnemonic = v +} + +func (o Web3SigningCredentialMnemonicString) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialMnemonicString) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["mnemonic"] = o.Mnemonic + return toSerialize, nil +} + +type NullableWeb3SigningCredentialMnemonicString struct { + value *Web3SigningCredentialMnemonicString + isSet bool +} + +func (v NullableWeb3SigningCredentialMnemonicString) Get() *Web3SigningCredentialMnemonicString { + return v.value +} + +func (v *NullableWeb3SigningCredentialMnemonicString) Set(val *Web3SigningCredentialMnemonicString) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialMnemonicString) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialMnemonicString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialMnemonicString(val *Web3SigningCredentialMnemonicString) *NullableWeb3SigningCredentialMnemonicString { + return &NullableWeb3SigningCredentialMnemonicString{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialMnemonicString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialMnemonicString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go new file mode 100644 index 00000000000..83567b05bfb --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialNone type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialNone{} + +// Web3SigningCredentialNone Using this denotes that there is no signing required because the transaction is pre-signed. +type Web3SigningCredentialNone struct { + Type Web3SigningCredentialType `json:"type"` +} + +// NewWeb3SigningCredentialNone instantiates a new Web3SigningCredentialNone object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialNone(type_ Web3SigningCredentialType) *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + this.Type = type_ + return &this +} + +// NewWeb3SigningCredentialNoneWithDefaults instantiates a new Web3SigningCredentialNone object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialNoneWithDefaults() *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialNone) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialNone) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialNone) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +func (o Web3SigningCredentialNone) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialNone) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + return toSerialize, nil +} + +type NullableWeb3SigningCredentialNone struct { + value *Web3SigningCredentialNone + isSet bool +} + +func (v NullableWeb3SigningCredentialNone) Get() *Web3SigningCredentialNone { + return v.value +} + +func (v *NullableWeb3SigningCredentialNone) Set(val *Web3SigningCredentialNone) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialNone) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialNone) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialNone(val *Web3SigningCredentialNone) *NullableWeb3SigningCredentialNone { + return &NullableWeb3SigningCredentialNone{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialNone) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialNone) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go new file mode 100644 index 00000000000..d0d6b6a6bd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go @@ -0,0 +1,113 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredentialType the model 'Web3SigningCredentialType' +type Web3SigningCredentialType string + +// List of Web3SigningCredentialType +const ( + CACTUS_KEYCHAIN_REF Web3SigningCredentialType = "CACTUS_KEYCHAIN_REF" + MNEMONIC_STRING Web3SigningCredentialType = "MNEMONIC_STRING" + NONE Web3SigningCredentialType = "NONE" +) + +// All allowed values of Web3SigningCredentialType enum +var AllowedWeb3SigningCredentialTypeEnumValues = []Web3SigningCredentialType{ + "CACTUS_KEYCHAIN_REF", + "MNEMONIC_STRING", + "NONE", +} + +func (v *Web3SigningCredentialType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Web3SigningCredentialType(value) + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Web3SigningCredentialType", value) +} + +// NewWeb3SigningCredentialTypeFromValue returns a pointer to a valid Web3SigningCredentialType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWeb3SigningCredentialTypeFromValue(v string) (*Web3SigningCredentialType, error) { + ev := Web3SigningCredentialType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Web3SigningCredentialType: valid values are %v", v, AllowedWeb3SigningCredentialTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Web3SigningCredentialType) IsValid() bool { + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Web3SigningCredentialType value +func (v Web3SigningCredentialType) Ptr() *Web3SigningCredentialType { + return &v +} + +type NullableWeb3SigningCredentialType struct { + value *Web3SigningCredentialType + isSet bool +} + +func (v NullableWeb3SigningCredentialType) Get() *Web3SigningCredentialType { + return v.value +} + +func (v *NullableWeb3SigningCredentialType) Set(val *Web3SigningCredentialType) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialType) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialType(val *Web3SigningCredentialType) *NullableWeb3SigningCredentialType { + return &NullableWeb3SigningCredentialType{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..2bc19bd14d0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..bce94760038 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,109 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-polkadot + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-polkadot_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeployContractInk", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContractInk(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetrics", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetrics(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetRawTransaction", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetRawTransaction(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetTransactionInfo", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetTransactionInfo(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeContract", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeContract(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RunTransaction", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RunTransaction(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService SignRawTransaction", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.SignRawTransaction(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..91ac6c05c3e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-polkadot/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Connector Polkadot + +Can perform basic tasks on a Polkadot parachain + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-polkadot + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-quorum/package.json b/packages/cactus-plugin-ledger-connector-quorum/package.json index e04e1cec50a..22ad7b78260 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/package.json +++ b/packages/cactus-plugin-ledger-connector-quorum/package.json @@ -50,6 +50,7 @@ "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..8ba584608eb --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,47 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_contract_json.go +model_deploy_contract_solidity_bytecode_json_object_v1_request.go +model_deploy_contract_solidity_bytecode_v1_request.go +model_deploy_contract_solidity_bytecode_v1_response.go +model_eth_contract_invocation_type.go +model_eth_contract_invocation_web3_method.go +model_invoke_contract_json_object_v1_request.go +model_invoke_contract_v1_request.go +model_invoke_contract_v1_response.go +model_invoke_raw_web3_eth_contract_v1_request.go +model_invoke_raw_web3_eth_contract_v1_response.go +model_invoke_raw_web3_eth_method_v1_request.go +model_invoke_raw_web3_eth_method_v1_response.go +model_quorum_private_transaction_config.go +model_quorum_transaction_config.go +model_quorum_transaction_config_from.go +model_quorum_transaction_config_to.go +model_run_transaction_request.go +model_run_transaction_response.go +model_solidity_contract_json_artifact.go +model_solidity_contract_json_artifact_compiler.go +model_solidity_contract_json_artifact_gas_estimates.go +model_solidity_contract_json_artifact_gas_estimates_creation.go +model_watch_blocks_v1.go +model_watch_blocks_v1_block_data.go +model_watch_blocks_v1_options.go +model_watch_blocks_v1_progress.go +model_web3_block_header.go +model_web3_signing_credential.go +model_web3_signing_credential_cactus_keychain_ref.go +model_web3_signing_credential_geth_keychain_password.go +model_web3_signing_credential_none.go +model_web3_signing_credential_private_key_hex.go +model_web3_signing_credential_type.go +model_web3_transaction.go +model_web3_transaction_receipt.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..33bfffb80ac --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,154 @@ +# Go API client for cactus-plugin-ledger-connector-quorum + +Can perform basic tasks on a Quorum ledger + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-quorum "github.com/hyperledger/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-quorum.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-quorum.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-quorum.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-quorum.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeployContractSolBytecodeJsonObjectV1**](docs/DefaultApi.md#deploycontractsolbytecodejsonobjectv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode-json-object | Deploys the bytecode of a Solidity contract. +*DefaultApi* | [**DeployContractSolBytecodeV1**](docs/DefaultApi.md#deploycontractsolbytecodev1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode | Deploys the bytecode of a Solidity contract. +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**InvokeContractV1**](docs/DefaultApi.md#invokecontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract | Invokes a contract on a besu ledger +*DefaultApi* | [**InvokeContractV1NoKeychain**](docs/DefaultApi.md#invokecontractv1nokeychain) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract-json-object | Invokes a contract on a besu ledger +*DefaultApi* | [**InvokeRawWeb3EthContractV1**](docs/DefaultApi.md#invokerawweb3ethcontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-contract | Low-level endpoint to invoke a method on deployed contract. +*DefaultApi* | [**InvokeWeb3EthMethodV1**](docs/DefaultApi.md#invokeweb3ethmethodv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-method | Invoke any method from web3.eth (low-level) +*DefaultApi* | [**RunTransactionV1**](docs/DefaultApi.md#runtransactionv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/run-transaction | Executes a transaction on a quorum ledger + + +## Documentation For Models + + - [ContractJSON](docs/ContractJSON.md) + - [DeployContractSolidityBytecodeJsonObjectV1Request](docs/DeployContractSolidityBytecodeJsonObjectV1Request.md) + - [DeployContractSolidityBytecodeV1Request](docs/DeployContractSolidityBytecodeV1Request.md) + - [DeployContractSolidityBytecodeV1Response](docs/DeployContractSolidityBytecodeV1Response.md) + - [EthContractInvocationType](docs/EthContractInvocationType.md) + - [EthContractInvocationWeb3Method](docs/EthContractInvocationWeb3Method.md) + - [InvokeContractJsonObjectV1Request](docs/InvokeContractJsonObjectV1Request.md) + - [InvokeContractV1Request](docs/InvokeContractV1Request.md) + - [InvokeContractV1Response](docs/InvokeContractV1Response.md) + - [InvokeRawWeb3EthContractV1Request](docs/InvokeRawWeb3EthContractV1Request.md) + - [InvokeRawWeb3EthContractV1Response](docs/InvokeRawWeb3EthContractV1Response.md) + - [InvokeRawWeb3EthMethodV1Request](docs/InvokeRawWeb3EthMethodV1Request.md) + - [InvokeRawWeb3EthMethodV1Response](docs/InvokeRawWeb3EthMethodV1Response.md) + - [QuorumPrivateTransactionConfig](docs/QuorumPrivateTransactionConfig.md) + - [QuorumTransactionConfig](docs/QuorumTransactionConfig.md) + - [QuorumTransactionConfigFrom](docs/QuorumTransactionConfigFrom.md) + - [QuorumTransactionConfigTo](docs/QuorumTransactionConfigTo.md) + - [RunTransactionRequest](docs/RunTransactionRequest.md) + - [RunTransactionResponse](docs/RunTransactionResponse.md) + - [SolidityContractJsonArtifact](docs/SolidityContractJsonArtifact.md) + - [SolidityContractJsonArtifactCompiler](docs/SolidityContractJsonArtifactCompiler.md) + - [SolidityContractJsonArtifactGasEstimates](docs/SolidityContractJsonArtifactGasEstimates.md) + - [SolidityContractJsonArtifactGasEstimatesCreation](docs/SolidityContractJsonArtifactGasEstimatesCreation.md) + - [WatchBlocksV1](docs/WatchBlocksV1.md) + - [WatchBlocksV1BlockData](docs/WatchBlocksV1BlockData.md) + - [WatchBlocksV1Options](docs/WatchBlocksV1Options.md) + - [WatchBlocksV1Progress](docs/WatchBlocksV1Progress.md) + - [Web3BlockHeader](docs/Web3BlockHeader.md) + - [Web3SigningCredential](docs/Web3SigningCredential.md) + - [Web3SigningCredentialCactusKeychainRef](docs/Web3SigningCredentialCactusKeychainRef.md) + - [Web3SigningCredentialGethKeychainPassword](docs/Web3SigningCredentialGethKeychainPassword.md) + - [Web3SigningCredentialNone](docs/Web3SigningCredentialNone.md) + - [Web3SigningCredentialPrivateKeyHex](docs/Web3SigningCredentialPrivateKeyHex.md) + - [Web3SigningCredentialType](docs/Web3SigningCredentialType.md) + - [Web3Transaction](docs/Web3Transaction.md) + - [Web3TransactionReceipt](docs/Web3TransactionReceipt.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..bc80f287e6b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,1288 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on a Quorum ledger + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Connector Quorum + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode: + post: + operationId: deployContractSolBytecodeV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractSolidityBytecodeV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractSolidityBytecodeV1Response' + description: OK + summary: Deploys the bytecode of a Solidity contract. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode-json-object: + post: + operationId: deployContractSolBytecodeJsonObjectV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractSolidityBytecodeJsonObjectV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractSolidityBytecodeV1Response' + description: OK + summary: Deploys the bytecode of a Solidity contract. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode-json-object + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/run-transaction: + post: + operationId: runTransactionV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionRequest' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionResponse' + description: OK + summary: Executes a transaction on a quorum ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/run-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract: + post: + operationId: invokeContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + summary: Invokes a contract on a besu ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract-json-object: + post: + operationId: invokeContractV1NoKeychain + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractJsonObjectV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + summary: Invokes a contract on a besu ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract-json-object + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/get-prometheus-exporter-metrics + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-method: + post: + operationId: invokeWeb3EthMethodV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeRawWeb3EthMethodV1Request' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/InvokeRawWeb3EthMethodV1Response' + description: OK + summary: Invoke any method from web3.eth (low-level) + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-method + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-contract: + post: + operationId: invokeRawWeb3EthContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeRawWeb3EthContractV1Request' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/InvokeRawWeb3EthContractV1Response' + description: OK + summary: Low-level endpoint to invoke a method on deployed contract. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-contract +components: + schemas: + Web3SigningCredential: + discriminator: + propertyName: type + example: + type: null + oneOf: + - $ref: '#/components/schemas/Web3SigningCredentialGethKeychainPassword' + - $ref: '#/components/schemas/Web3SigningCredentialCactusKeychainRef' + - $ref: '#/components/schemas/Web3SigningCredentialPrivateKeyHex' + - $ref: '#/components/schemas/Web3SigningCredentialNone' + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialGethKeychainPassword: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 66 + minLength: 66 + nullable: false + type: string + secret: + description: A geth keychain unlock password. + maxLength: 65535 + minLength: 0 + type: string + required: + - ethAccount + - secret + - type + type: object + Web3SigningCredentialCactusKeychainRef: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 66 + minLength: 66 + nullable: false + type: string + keychainEntryKey: + description: The key to use when looking up the the keychain entry holding + the secret pointed to by the keychainEntryKey parameter. + maxLength: 1024 + minLength: 0 + type: string + keychainId: + description: The keychain ID to use when looking up the the keychain plugin + instance that will be used to retrieve the secret pointed to by the keychainEntryKey + parameter. + maxLength: 1024 + minLength: 0 + type: string + required: + - ethAccount + - keychainEntryKey + - type + type: object + Web3SigningCredentialPrivateKeyHex: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 66 + minLength: 66 + nullable: false + type: string + secret: + description: The HEX encoded private key of an eth account. + maxLength: 65535 + minLength: 0 + type: string + required: + - ethAccount + - secret + - type + type: object + Web3SigningCredentialNone: + description: Using this denotes that there is no signing required because the + transaction is pre-signed. + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialType: + enum: + - CACTUS_KEYCHAIN_REF + - GETH_KEYCHAIN_PASSWORD + - PRIVATE_KEY_HEX + - NONE + type: string + EthContractInvocationType: + enum: + - SEND + - CALL + type: string + EthContractInvocationWeb3Method: + enum: + - send + - call + - encodeABI + - estimateGas + type: string + SolidityContractJsonArtifact: + properties: + contractName: + nullable: false + type: string + metadata: + nullable: false + type: string + bytecode: + nullable: false + type: string + deployedBytecode: + nullable: false + type: string + sourceMap: + nullable: false + type: string + deployedSourceMap: + nullable: false + type: string + sourcePath: + type: string + compiler: + $ref: '#/components/schemas/SolidityContractJsonArtifact_compiler' + functionHashes: + additionalProperties: true + type: object + gasEstimates: + $ref: '#/components/schemas/SolidityContractJsonArtifact_gasEstimates' + required: + - contractName + type: object + QuorumTransactionConfig: + additionalProperties: true + example: + rawTransaction: rawTransaction + data: null + gas: null + from: null + to: null + value: null + nonce: 0.8008281904610115 + gasPrice: null + properties: + rawTransaction: + nullable: false + type: string + from: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + to: + $ref: '#/components/schemas/QuorumTransactionConfig_to' + value: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + gas: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + gasPrice: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + nonce: + type: number + data: + $ref: '#/components/schemas/QuorumTransactionConfig_to' + type: object + QuorumPrivateTransactionConfig: + example: + gasLimit: 7.061401241503109 + privateKey: privateKey + privateFrom: privateFrom + privacyGroupId: privacyGroupId + privateFor: + - "" + - "" + isPrivate: false + gasPrice: 2.3021358869347655 + properties: + privateFrom: + nullable: false + type: string + privateFor: + default: [] + items: {} + nullable: false + type: array + isPrivate: + default: false + nullable: false + type: boolean + gasPrice: + nullable: false + type: number + gasLimit: + nullable: false + type: number + privateKey: + nullable: false + type: string + privacyGroupId: + nullable: false + type: string + required: + - privateFor + type: object + Web3TransactionReceipt: + additionalProperties: true + example: + blockHash: blockHash + logsBloom: logsBloom + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + commitmentHash: commitmentHash + transactionHash: transactionHash + output: output + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + cumulativeGasUSed: 5.962133916683182 + from: from + to: to + revertReason: revertReason + logs: + - "" + - "" + status: true + properties: + status: + nullable: false + type: boolean + transactionHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + transactionIndex: + nullable: false + type: number + blockHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + blockNumber: + nullable: false + type: number + gasUsed: + nullable: false + type: number + contractAddress: + nullable: true + type: string + from: + nullable: false + type: string + to: + nullable: false + type: string + logs: + default: [] + items: {} + nullable: false + type: array + logsBloom: + nullable: false + type: string + revertReason: + nullable: false + type: string + output: + nullable: false + type: string + commitmentHash: + nullable: false + type: string + cumulativeGasUSed: + nullable: false + type: number + required: + - blockHash + - blockNumber + - from + - gasUsed + - status + - to + - transactionHash + - transactionIndex + type: object + ContractJSON: + additionalProperties: true + example: + bytecode: bytecode + metadata: metadata + ast: "{}" + deployedBytecode: deployedBytecode + sourceMap: sourceMap + deployedSourceMap: deployedSourceMap + abi: + - "" + - "" + networks: "{}" + functionHashes: "{}" + gasEstimates: "{}" + contractName: contractName + compiler: "{}" + sourcePath: sourcePath + properties: + contractName: + nullable: false + type: string + bytecode: + description: See https://ethereum.stackexchange.com/a/47556 regarding the + maximum length of the bytecode + maxLength: 24576 + minLength: 1 + nullable: false + type: string + abi: + description: "The application binary interface of the solidity contract,\ + \ optional parameter" + items: {} + nullable: false + type: array + metadata: + type: string + deployedBytecode: + type: string + sourceMap: + type: string + deployedSourceMap: + type: string + sourcePath: + type: string + compiler: + type: object + networks: + type: object + ast: + type: object + functionHashes: + type: object + gasEstimates: + type: object + required: + - bytecode + - contractName + type: object + RunTransactionRequest: + additionalProperties: false + example: + privateTransactionConfig: + gasLimit: 7.061401241503109 + privateKey: privateKey + privateFrom: privateFrom + privacyGroupId: privacyGroupId + privateFor: + - "" + - "" + isPrivate: false + gasPrice: 2.3021358869347655 + timeoutMs: 0.6027456183070403 + transactionConfig: + rawTransaction: rawTransaction + data: null + gas: null + from: null + to: null + value: null + nonce: 0.8008281904610115 + gasPrice: null + web3SigningCredential: + type: null + properties: + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + transactionConfig: + $ref: '#/components/schemas/QuorumTransactionConfig' + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + with thehash of the transaction(which indicates successful execution) + beforegiving up and crashing. + minimum: 0 + nullable: false + type: number + privateTransactionConfig: + $ref: '#/components/schemas/QuorumPrivateTransactionConfig' + required: + - transactionConfig + - web3SigningCredential + type: object + RunTransactionResponse: + example: + transactionReceipt: + blockHash: blockHash + logsBloom: logsBloom + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + commitmentHash: commitmentHash + transactionHash: transactionHash + output: output + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + cumulativeGasUSed: 5.962133916683182 + from: from + to: to + revertReason: revertReason + logs: + - "" + - "" + status: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + required: + - transactionReceipt + type: object + DeployContractSolidityBytecodeV1Request: + additionalProperties: false + example: + bytecode: bytecode + privateTransactionConfig: + gasLimit: 7.061401241503109 + privateKey: privateKey + privateFrom: privateFrom + privacyGroupId: privacyGroupId + privateFor: + - "" + - "" + isPrivate: false + gasPrice: 2.3021358869347655 + constructorArgs: + - "" + - "" + nonce: 1.4658129805029452 + keychainId: keychainId + timeoutMs: 0.5637376656633328 + contractAbi: + - "" + - "" + gas: 0.8008281904610115 + web3SigningCredential: + type: null + contractName: contractName + value: 5.962133916683182 + gasPrice: 6.027456183070403 + contractJSON: "{}" + properties: + contractName: + description: The contract name for retrieve the contracts json on the keychain. + maxLength: 100 + minLength: 1 + nullable: false + type: string + contractAbi: + description: The application binary interface of the solidity contract + items: {} + nullable: false + type: array + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + bytecode: + description: See https://ethereum.stackexchange.com/a/47556 regarding the + maximum length of the bytecode + maxLength: 24576 + minLength: 1 + nullable: false + type: string + keychainId: + description: The keychainId for retrieve the contracts json. + maxLength: 100 + minLength: 1 + nullable: false + type: string + gas: + nullable: false + type: number + gasPrice: + nullable: false + type: number + nonce: + nullable: false + type: number + value: + nullable: false + type: number + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + with theaddress of the contract(which indicates successful deployment) + beforegiving up and crashing. + minimum: 0 + nullable: false + type: number + contractJSON: + description: "For use when not using keychain, pass the contract in as this\ + \ variable" + nullable: false + type: object + constructorArgs: + default: [] + description: The list of arguments to pass in to the constructor of the + contract being deployed. + items: {} + type: array + privateTransactionConfig: + $ref: '#/components/schemas/QuorumPrivateTransactionConfig' + required: + - contractName + - keychainId + - web3SigningCredential + type: object + DeployContractSolidityBytecodeV1Response: + example: + transactionReceipt: + blockHash: blockHash + logsBloom: logsBloom + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + commitmentHash: commitmentHash + transactionHash: transactionHash + output: output + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + cumulativeGasUSed: 5.962133916683182 + from: from + to: to + revertReason: revertReason + logs: + - "" + - "" + status: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + required: + - transactionReceipt + type: object + DeployContractSolidityBytecodeJsonObjectV1Request: + additionalProperties: false + example: + timeoutMs: 0.6027456183070403 + constructorArgs: + - "" + - "" + gas: 0.8008281904610115 + web3SigningCredential: + type: null + gasPrice: gasPrice + contractJSON: + bytecode: bytecode + metadata: metadata + ast: "{}" + deployedBytecode: deployedBytecode + sourceMap: sourceMap + deployedSourceMap: deployedSourceMap + abi: + - "" + - "" + networks: "{}" + functionHashes: "{}" + gasEstimates: "{}" + contractName: contractName + compiler: "{}" + sourcePath: sourcePath + properties: + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + gas: + nullable: false + type: number + gasPrice: + nullable: false + type: string + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + with theaddress of the contract(which indicates successful deployment) + beforegiving up and crashing. + minimum: 0 + nullable: false + type: number + contractJSON: + $ref: '#/components/schemas/ContractJSON' + constructorArgs: + default: [] + description: The list of arguments to pass in to the constructor of the + contract being deployed. + items: {} + type: array + required: + - contractJSON + - web3SigningCredential + type: object + InvokeContractV1Request: + additionalProperties: false + example: + invocationType: null + keychainId: keychainId + timeoutMs: 0.6027456183070403 + gas: null + web3SigningCredential: + type: null + methodName: methodName + contractName: contractName + params: + - "" + - "" + value: null + nonce: 0.8008281904610115 + gasPrice: null + properties: + contractName: + description: The contract name to find it in the keychain plugin + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + invocationType: + $ref: '#/components/schemas/EthContractInvocationType' + methodName: + description: The name of the contract method to invoke. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + params: + default: [] + description: The list of arguments to pass in to the contract method being + invoked. + items: {} + type: array + value: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + gas: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + gasPrice: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + nonce: + type: number + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + beforegiving up and crashing. Only has any effect if the invocation type + is SEND + minimum: 0 + nullable: false + type: number + keychainId: + description: The keychainId for retrieve the contracts json. + maxLength: 100 + minLength: 1 + type: string + required: + - contractName + - invocationType + - keychainId + - methodName + - params + - web3SigningCredential + type: object + InvokeContractJsonObjectV1Request: + additionalProperties: false + example: + invocationType: null + privateTransactionConfig: + gasLimit: 7.061401241503109 + privateKey: privateKey + privateFrom: privateFrom + privacyGroupId: privacyGroupId + privateFor: + - "" + - "" + isPrivate: false + gasPrice: 2.3021358869347655 + timeoutMs: 0.6027456183070403 + gas: null + web3SigningCredential: + type: null + methodName: methodName + contractAddress: contractAddress + params: + - "" + - "" + value: null + nonce: 0.8008281904610115 + gasPrice: null + contractJSON: + bytecode: bytecode + metadata: metadata + ast: "{}" + deployedBytecode: deployedBytecode + sourceMap: sourceMap + deployedSourceMap: deployedSourceMap + abi: + - "" + - "" + networks: "{}" + functionHashes: "{}" + gasEstimates: "{}" + contractName: contractName + compiler: "{}" + sourcePath: sourcePath + properties: + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + invocationType: + $ref: '#/components/schemas/EthContractInvocationType' + methodName: + description: The name of the contract method to invoke. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + params: + default: [] + description: The list of arguments to pass in to the contract method being + invoked. + items: {} + type: array + contractAddress: + description: Address of the solidity contract + nullable: false + type: string + value: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + gas: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + gasPrice: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + nonce: + type: number + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + beforegiving up and crashing. Only has any effect if the invocation type + is SEND + minimum: 0 + nullable: false + type: number + contractJSON: + $ref: '#/components/schemas/ContractJSON' + privateTransactionConfig: + $ref: '#/components/schemas/QuorumPrivateTransactionConfig' + required: + - contractAddress + - contractJSON + - invocationType + - methodName + - params + - web3SigningCredential + type: object + InvokeContractV1Response: + example: + transactionReceipt: + blockHash: blockHash + logsBloom: logsBloom + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + commitmentHash: commitmentHash + transactionHash: transactionHash + output: output + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + cumulativeGasUSed: 5.962133916683182 + from: from + to: to + revertReason: revertReason + logs: + - "" + - "" + status: true + callOutput: "" + success: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + callOutput: {} + success: + nullable: false + type: boolean + required: + - success + type: object + InvokeRawWeb3EthMethodV1Request: + additionalProperties: false + example: + methodName: methodName + params: + - "" + - "" + properties: + methodName: + description: The name of the web3.eth method to invoke + maxLength: 2048 + minLength: 1 + nullable: false + type: string + params: + default: [] + description: The list of arguments to pass to web3.eth method specified + in methodName + items: {} + type: array + required: + - methodName + type: object + InvokeRawWeb3EthMethodV1Response: + additionalProperties: false + properties: + status: + description: Status code of the operation + nullable: false + type: number + data: + description: Output of requested web3.eth method + errorDetail: + description: Error details + nullable: false + type: string + required: + - status + type: object + InvokeRawWeb3EthContractV1Request: + additionalProperties: false + example: + invocationType: null + address: address + abi: + - "" + - "" + contractMethodArgs: + - "" + - "" + contractMethod: contractMethod + invocationParams: "{}" + properties: + abi: + description: The application binary interface of the solidity contract + items: {} + type: array + address: + description: Deployed solidity contract address + type: string + invocationType: + $ref: '#/components/schemas/EthContractInvocationWeb3Method' + invocationParams: + default: {} + description: "The list of arguments for contract invocation method (send,\ + \ call, etc...)" + type: object + contractMethod: + description: Method of deployed solidity contract to execute + type: string + contractMethodArgs: + default: [] + description: The list of arguments for deployed solidity contract method + items: {} + type: array + required: + - abi + - address + - contractMethod + - invocationType + type: object + InvokeRawWeb3EthContractV1Response: + additionalProperties: false + properties: + status: + description: Status code of the operation + type: number + data: + description: Output of contract invocation method + errorDetail: + description: Error details + type: string + required: + - status + type: object + PrometheusExporterMetricsResponse: + nullable: false + type: string + WatchBlocksV1: + enum: + - org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Subscribe + - org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Next + - org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Unsubscribe + - org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Error + - org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Complete + type: string + x-enum-varnames: + - Subscribe + - Next + - Unsubscribe + - Error + - Complete + WatchBlocksV1Options: + properties: + getBlockData: + type: boolean + type: object + Web3BlockHeader: + properties: + number: + type: number + hash: + type: string + parentHash: + type: string + nonce: + type: string + sha3Uncles: + type: string + logsBloom: + type: string + transactionsRoot: + type: string + stateRoot: + type: string + receiptsRoot: + type: string + difficulty: + type: string + mixHash: + type: string + miner: + type: string + extraData: + type: string + gasLimit: + type: integer + gasUsed: + type: integer + timestamp: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + required: + - extraData + - gasLimit + - gasUsed + - hash + - logsBloom + - miner + - nonce + - number + - parentHash + - receiptRoot + - sha3Uncles + - stateRoot + - timestamp + - transactionRoot + type: object + Web3Transaction: + properties: + hash: + type: string + nonce: + type: number + blockHash: + nullable: true + type: string + blockNumber: + nullable: true + type: number + transactionIndex: + nullable: true + type: number + from: + type: string + to: + nullable: true + type: string + value: + type: string + gasPrice: + type: string + gas: + type: number + input: + type: string + v: + type: string + r: + type: string + s: + type: string + required: + - blockHash + - blockNumber + - from + - gas + - gasPrice + - hash + - input + - nonce + - to + - transactionIndex + - value + type: object + WatchBlocksV1BlockData: + properties: + number: + type: number + hash: + type: string + parentHash: + type: string + nonce: + type: string + sha3Uncles: + type: string + logsBloom: + type: string + transactionsRoot: + type: string + stateRoot: + type: string + receiptsRoot: + type: string + difficulty: + type: string + mixHash: + type: string + miner: + type: string + extraData: + type: string + gasLimit: + type: integer + gasUsed: + type: integer + timestamp: + $ref: '#/components/schemas/QuorumTransactionConfig_from' + size: + type: number + totalDifficulty: + type: string + uncles: + items: + type: string + type: array + transactions: + items: + $ref: '#/components/schemas/Web3Transaction' + type: array + required: + - extraData + - gasLimit + - gasUsed + - hash + - logsBloom + - miner + - nonce + - number + - parentHash + - receiptRoot + - sha3Uncles + - size + - stateRoot + - timestamp + - totalDifficulty + - transactionRoot + - transactions + - uncles + type: object + WatchBlocksV1Progress: + properties: + blockHeader: + $ref: '#/components/schemas/Web3BlockHeader' + blockData: + $ref: '#/components/schemas/WatchBlocksV1BlockData' + type: object + SolidityContractJsonArtifact_compiler: + additionalProperties: true + properties: + name: + type: string + version: + type: string + type: object + SolidityContractJsonArtifact_gasEstimates_creation: + properties: + codeDepositCost: + type: string + executionCost: + type: string + totalCost: + type: string + type: object + SolidityContractJsonArtifact_gasEstimates: + properties: + creation: + $ref: '#/components/schemas/SolidityContractJsonArtifact_gasEstimates_creation' + external: + additionalProperties: true + type: object + QuorumTransactionConfig_from: + oneOf: + - type: string + - type: number + QuorumTransactionConfig_to: + oneOf: + - type: string diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..5a83ce23c4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,855 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeployContractSolBytecodeJsonObjectV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deployContractSolidityBytecodeJsonObjectV1Request *DeployContractSolidityBytecodeJsonObjectV1Request +} + +func (r ApiDeployContractSolBytecodeJsonObjectV1Request) DeployContractSolidityBytecodeJsonObjectV1Request(deployContractSolidityBytecodeJsonObjectV1Request DeployContractSolidityBytecodeJsonObjectV1Request) ApiDeployContractSolBytecodeJsonObjectV1Request { + r.deployContractSolidityBytecodeJsonObjectV1Request = &deployContractSolidityBytecodeJsonObjectV1Request + return r +} + +func (r ApiDeployContractSolBytecodeJsonObjectV1Request) Execute() (*DeployContractSolidityBytecodeV1Response, *http.Response, error) { + return r.ApiService.DeployContractSolBytecodeJsonObjectV1Execute(r) +} + +/* +DeployContractSolBytecodeJsonObjectV1 Deploys the bytecode of a Solidity contract. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractSolBytecodeJsonObjectV1Request +*/ +func (a *DefaultApiService) DeployContractSolBytecodeJsonObjectV1(ctx context.Context) ApiDeployContractSolBytecodeJsonObjectV1Request { + return ApiDeployContractSolBytecodeJsonObjectV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeployContractSolidityBytecodeV1Response +func (a *DefaultApiService) DeployContractSolBytecodeJsonObjectV1Execute(r ApiDeployContractSolBytecodeJsonObjectV1Request) (*DeployContractSolidityBytecodeV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeployContractSolidityBytecodeV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContractSolBytecodeJsonObjectV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode-json-object" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractSolidityBytecodeJsonObjectV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiDeployContractSolBytecodeV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deployContractSolidityBytecodeV1Request *DeployContractSolidityBytecodeV1Request +} + +func (r ApiDeployContractSolBytecodeV1Request) DeployContractSolidityBytecodeV1Request(deployContractSolidityBytecodeV1Request DeployContractSolidityBytecodeV1Request) ApiDeployContractSolBytecodeV1Request { + r.deployContractSolidityBytecodeV1Request = &deployContractSolidityBytecodeV1Request + return r +} + +func (r ApiDeployContractSolBytecodeV1Request) Execute() (*DeployContractSolidityBytecodeV1Response, *http.Response, error) { + return r.ApiService.DeployContractSolBytecodeV1Execute(r) +} + +/* +DeployContractSolBytecodeV1 Deploys the bytecode of a Solidity contract. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractSolBytecodeV1Request +*/ +func (a *DefaultApiService) DeployContractSolBytecodeV1(ctx context.Context) ApiDeployContractSolBytecodeV1Request { + return ApiDeployContractSolBytecodeV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeployContractSolidityBytecodeV1Response +func (a *DefaultApiService) DeployContractSolBytecodeV1Execute(r ApiDeployContractSolBytecodeV1Request) (*DeployContractSolidityBytecodeV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeployContractSolidityBytecodeV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContractSolBytecodeV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/deploy-contract-solidity-bytecode" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractSolidityBytecodeV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + invokeContractV1Request *InvokeContractV1Request +} + +func (r ApiInvokeContractV1Request) InvokeContractV1Request(invokeContractV1Request InvokeContractV1Request) ApiInvokeContractV1Request { + r.invokeContractV1Request = &invokeContractV1Request + return r +} + +func (r ApiInvokeContractV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.InvokeContractV1Execute(r) +} + +/* +InvokeContractV1 Invokes a contract on a besu ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeContractV1Request +*/ +func (a *DefaultApiService) InvokeContractV1(ctx context.Context) ApiInvokeContractV1Request { + return ApiInvokeContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) InvokeContractV1Execute(r ApiInvokeContractV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeContractV1NoKeychainRequest struct { + ctx context.Context + ApiService *DefaultApiService + invokeContractJsonObjectV1Request *InvokeContractJsonObjectV1Request +} + +func (r ApiInvokeContractV1NoKeychainRequest) InvokeContractJsonObjectV1Request(invokeContractJsonObjectV1Request InvokeContractJsonObjectV1Request) ApiInvokeContractV1NoKeychainRequest { + r.invokeContractJsonObjectV1Request = &invokeContractJsonObjectV1Request + return r +} + +func (r ApiInvokeContractV1NoKeychainRequest) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.InvokeContractV1NoKeychainExecute(r) +} + +/* +InvokeContractV1NoKeychain Invokes a contract on a besu ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeContractV1NoKeychainRequest +*/ +func (a *DefaultApiService) InvokeContractV1NoKeychain(ctx context.Context) ApiInvokeContractV1NoKeychainRequest { + return ApiInvokeContractV1NoKeychainRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) InvokeContractV1NoKeychainExecute(r ApiInvokeContractV1NoKeychainRequest) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeContractV1NoKeychain") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-contract-json-object" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeContractJsonObjectV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeRawWeb3EthContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + invokeRawWeb3EthContractV1Request *InvokeRawWeb3EthContractV1Request +} + +func (r ApiInvokeRawWeb3EthContractV1Request) InvokeRawWeb3EthContractV1Request(invokeRawWeb3EthContractV1Request InvokeRawWeb3EthContractV1Request) ApiInvokeRawWeb3EthContractV1Request { + r.invokeRawWeb3EthContractV1Request = &invokeRawWeb3EthContractV1Request + return r +} + +func (r ApiInvokeRawWeb3EthContractV1Request) Execute() (*InvokeRawWeb3EthContractV1Response, *http.Response, error) { + return r.ApiService.InvokeRawWeb3EthContractV1Execute(r) +} + +/* +InvokeRawWeb3EthContractV1 Low-level endpoint to invoke a method on deployed contract. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeRawWeb3EthContractV1Request +*/ +func (a *DefaultApiService) InvokeRawWeb3EthContractV1(ctx context.Context) ApiInvokeRawWeb3EthContractV1Request { + return ApiInvokeRawWeb3EthContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeRawWeb3EthContractV1Response +func (a *DefaultApiService) InvokeRawWeb3EthContractV1Execute(r ApiInvokeRawWeb3EthContractV1Request) (*InvokeRawWeb3EthContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeRawWeb3EthContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeRawWeb3EthContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeRawWeb3EthContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeWeb3EthMethodV1Request struct { + ctx context.Context + ApiService *DefaultApiService + invokeRawWeb3EthMethodV1Request *InvokeRawWeb3EthMethodV1Request +} + +func (r ApiInvokeWeb3EthMethodV1Request) InvokeRawWeb3EthMethodV1Request(invokeRawWeb3EthMethodV1Request InvokeRawWeb3EthMethodV1Request) ApiInvokeWeb3EthMethodV1Request { + r.invokeRawWeb3EthMethodV1Request = &invokeRawWeb3EthMethodV1Request + return r +} + +func (r ApiInvokeWeb3EthMethodV1Request) Execute() (*InvokeRawWeb3EthMethodV1Response, *http.Response, error) { + return r.ApiService.InvokeWeb3EthMethodV1Execute(r) +} + +/* +InvokeWeb3EthMethodV1 Invoke any method from web3.eth (low-level) + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeWeb3EthMethodV1Request +*/ +func (a *DefaultApiService) InvokeWeb3EthMethodV1(ctx context.Context) ApiInvokeWeb3EthMethodV1Request { + return ApiInvokeWeb3EthMethodV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeRawWeb3EthMethodV1Response +func (a *DefaultApiService) InvokeWeb3EthMethodV1Execute(r ApiInvokeWeb3EthMethodV1Request) (*InvokeRawWeb3EthMethodV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeRawWeb3EthMethodV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeWeb3EthMethodV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/invoke-raw-web3eth-method" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeRawWeb3EthMethodV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRunTransactionV1Request struct { + ctx context.Context + ApiService *DefaultApiService + runTransactionRequest *RunTransactionRequest +} + +func (r ApiRunTransactionV1Request) RunTransactionRequest(runTransactionRequest RunTransactionRequest) ApiRunTransactionV1Request { + r.runTransactionRequest = &runTransactionRequest + return r +} + +func (r ApiRunTransactionV1Request) Execute() (*RunTransactionResponse, *http.Response, error) { + return r.ApiService.RunTransactionV1Execute(r) +} + +/* +RunTransactionV1 Executes a transaction on a quorum ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRunTransactionV1Request +*/ +func (a *DefaultApiService) RunTransactionV1(ctx context.Context) ApiRunTransactionV1Request { + return ApiRunTransactionV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionResponse +func (a *DefaultApiService) RunTransactionV1Execute(r ApiRunTransactionV1Request) (*RunTransactionResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RunTransactionV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-quorum/run-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runTransactionRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..1a7130bda09 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Connector Quorum API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..d34a234cafa --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..3ef9e31df21 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_contract_json.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_contract_json.go new file mode 100644 index 00000000000..6518e2fcc8e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_contract_json.go @@ -0,0 +1,579 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the ContractJSON type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ContractJSON{} + +// ContractJSON struct for ContractJSON +type ContractJSON struct { + ContractName string `json:"contractName"` + // See https://ethereum.stackexchange.com/a/47556 regarding the maximum length of the bytecode + Bytecode string `json:"bytecode"` + // The application binary interface of the solidity contract, optional parameter + Abi []interface{} `json:"abi,omitempty"` + Metadata *string `json:"metadata,omitempty"` + DeployedBytecode *string `json:"deployedBytecode,omitempty"` + SourceMap *string `json:"sourceMap,omitempty"` + DeployedSourceMap *string `json:"deployedSourceMap,omitempty"` + SourcePath *string `json:"sourcePath,omitempty"` + Compiler map[string]interface{} `json:"compiler,omitempty"` + Networks map[string]interface{} `json:"networks,omitempty"` + Ast map[string]interface{} `json:"ast,omitempty"` + FunctionHashes map[string]interface{} `json:"functionHashes,omitempty"` + GasEstimates map[string]interface{} `json:"gasEstimates,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ContractJSON ContractJSON + +// NewContractJSON instantiates a new ContractJSON object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewContractJSON(contractName string, bytecode string) *ContractJSON { + this := ContractJSON{} + this.ContractName = contractName + this.Bytecode = bytecode + return &this +} + +// NewContractJSONWithDefaults instantiates a new ContractJSON object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewContractJSONWithDefaults() *ContractJSON { + this := ContractJSON{} + return &this +} + +// GetContractName returns the ContractName field value +func (o *ContractJSON) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *ContractJSON) SetContractName(v string) { + o.ContractName = v +} + +// GetBytecode returns the Bytecode field value +func (o *ContractJSON) GetBytecode() string { + if o == nil { + var ret string + return ret + } + + return o.Bytecode +} + +// GetBytecodeOk returns a tuple with the Bytecode field value +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetBytecodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Bytecode, true +} + +// SetBytecode sets field value +func (o *ContractJSON) SetBytecode(v string) { + o.Bytecode = v +} + +// GetAbi returns the Abi field value if set, zero value otherwise. +func (o *ContractJSON) GetAbi() []interface{} { + if o == nil || IsNil(o.Abi) { + var ret []interface{} + return ret + } + return o.Abi +} + +// GetAbiOk returns a tuple with the Abi field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetAbiOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Abi) { + return nil, false + } + return o.Abi, true +} + +// HasAbi returns a boolean if a field has been set. +func (o *ContractJSON) HasAbi() bool { + if o != nil && !IsNil(o.Abi) { + return true + } + + return false +} + +// SetAbi gets a reference to the given []interface{} and assigns it to the Abi field. +func (o *ContractJSON) SetAbi(v []interface{}) { + o.Abi = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise. +func (o *ContractJSON) GetMetadata() string { + if o == nil || IsNil(o.Metadata) { + var ret string + return ret + } + return *o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetMetadataOk() (*string, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *ContractJSON) HasMetadata() bool { + if o != nil && !IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given string and assigns it to the Metadata field. +func (o *ContractJSON) SetMetadata(v string) { + o.Metadata = &v +} + +// GetDeployedBytecode returns the DeployedBytecode field value if set, zero value otherwise. +func (o *ContractJSON) GetDeployedBytecode() string { + if o == nil || IsNil(o.DeployedBytecode) { + var ret string + return ret + } + return *o.DeployedBytecode +} + +// GetDeployedBytecodeOk returns a tuple with the DeployedBytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetDeployedBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.DeployedBytecode) { + return nil, false + } + return o.DeployedBytecode, true +} + +// HasDeployedBytecode returns a boolean if a field has been set. +func (o *ContractJSON) HasDeployedBytecode() bool { + if o != nil && !IsNil(o.DeployedBytecode) { + return true + } + + return false +} + +// SetDeployedBytecode gets a reference to the given string and assigns it to the DeployedBytecode field. +func (o *ContractJSON) SetDeployedBytecode(v string) { + o.DeployedBytecode = &v +} + +// GetSourceMap returns the SourceMap field value if set, zero value otherwise. +func (o *ContractJSON) GetSourceMap() string { + if o == nil || IsNil(o.SourceMap) { + var ret string + return ret + } + return *o.SourceMap +} + +// GetSourceMapOk returns a tuple with the SourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.SourceMap) { + return nil, false + } + return o.SourceMap, true +} + +// HasSourceMap returns a boolean if a field has been set. +func (o *ContractJSON) HasSourceMap() bool { + if o != nil && !IsNil(o.SourceMap) { + return true + } + + return false +} + +// SetSourceMap gets a reference to the given string and assigns it to the SourceMap field. +func (o *ContractJSON) SetSourceMap(v string) { + o.SourceMap = &v +} + +// GetDeployedSourceMap returns the DeployedSourceMap field value if set, zero value otherwise. +func (o *ContractJSON) GetDeployedSourceMap() string { + if o == nil || IsNil(o.DeployedSourceMap) { + var ret string + return ret + } + return *o.DeployedSourceMap +} + +// GetDeployedSourceMapOk returns a tuple with the DeployedSourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetDeployedSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.DeployedSourceMap) { + return nil, false + } + return o.DeployedSourceMap, true +} + +// HasDeployedSourceMap returns a boolean if a field has been set. +func (o *ContractJSON) HasDeployedSourceMap() bool { + if o != nil && !IsNil(o.DeployedSourceMap) { + return true + } + + return false +} + +// SetDeployedSourceMap gets a reference to the given string and assigns it to the DeployedSourceMap field. +func (o *ContractJSON) SetDeployedSourceMap(v string) { + o.DeployedSourceMap = &v +} + +// GetSourcePath returns the SourcePath field value if set, zero value otherwise. +func (o *ContractJSON) GetSourcePath() string { + if o == nil || IsNil(o.SourcePath) { + var ret string + return ret + } + return *o.SourcePath +} + +// GetSourcePathOk returns a tuple with the SourcePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetSourcePathOk() (*string, bool) { + if o == nil || IsNil(o.SourcePath) { + return nil, false + } + return o.SourcePath, true +} + +// HasSourcePath returns a boolean if a field has been set. +func (o *ContractJSON) HasSourcePath() bool { + if o != nil && !IsNil(o.SourcePath) { + return true + } + + return false +} + +// SetSourcePath gets a reference to the given string and assigns it to the SourcePath field. +func (o *ContractJSON) SetSourcePath(v string) { + o.SourcePath = &v +} + +// GetCompiler returns the Compiler field value if set, zero value otherwise. +func (o *ContractJSON) GetCompiler() map[string]interface{} { + if o == nil || IsNil(o.Compiler) { + var ret map[string]interface{} + return ret + } + return o.Compiler +} + +// GetCompilerOk returns a tuple with the Compiler field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetCompilerOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Compiler) { + return map[string]interface{}{}, false + } + return o.Compiler, true +} + +// HasCompiler returns a boolean if a field has been set. +func (o *ContractJSON) HasCompiler() bool { + if o != nil && !IsNil(o.Compiler) { + return true + } + + return false +} + +// SetCompiler gets a reference to the given map[string]interface{} and assigns it to the Compiler field. +func (o *ContractJSON) SetCompiler(v map[string]interface{}) { + o.Compiler = v +} + +// GetNetworks returns the Networks field value if set, zero value otherwise. +func (o *ContractJSON) GetNetworks() map[string]interface{} { + if o == nil || IsNil(o.Networks) { + var ret map[string]interface{} + return ret + } + return o.Networks +} + +// GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetNetworksOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Networks) { + return map[string]interface{}{}, false + } + return o.Networks, true +} + +// HasNetworks returns a boolean if a field has been set. +func (o *ContractJSON) HasNetworks() bool { + if o != nil && !IsNil(o.Networks) { + return true + } + + return false +} + +// SetNetworks gets a reference to the given map[string]interface{} and assigns it to the Networks field. +func (o *ContractJSON) SetNetworks(v map[string]interface{}) { + o.Networks = v +} + +// GetAst returns the Ast field value if set, zero value otherwise. +func (o *ContractJSON) GetAst() map[string]interface{} { + if o == nil || IsNil(o.Ast) { + var ret map[string]interface{} + return ret + } + return o.Ast +} + +// GetAstOk returns a tuple with the Ast field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetAstOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Ast) { + return map[string]interface{}{}, false + } + return o.Ast, true +} + +// HasAst returns a boolean if a field has been set. +func (o *ContractJSON) HasAst() bool { + if o != nil && !IsNil(o.Ast) { + return true + } + + return false +} + +// SetAst gets a reference to the given map[string]interface{} and assigns it to the Ast field. +func (o *ContractJSON) SetAst(v map[string]interface{}) { + o.Ast = v +} + +// GetFunctionHashes returns the FunctionHashes field value if set, zero value otherwise. +func (o *ContractJSON) GetFunctionHashes() map[string]interface{} { + if o == nil || IsNil(o.FunctionHashes) { + var ret map[string]interface{} + return ret + } + return o.FunctionHashes +} + +// GetFunctionHashesOk returns a tuple with the FunctionHashes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetFunctionHashesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.FunctionHashes) { + return map[string]interface{}{}, false + } + return o.FunctionHashes, true +} + +// HasFunctionHashes returns a boolean if a field has been set. +func (o *ContractJSON) HasFunctionHashes() bool { + if o != nil && !IsNil(o.FunctionHashes) { + return true + } + + return false +} + +// SetFunctionHashes gets a reference to the given map[string]interface{} and assigns it to the FunctionHashes field. +func (o *ContractJSON) SetFunctionHashes(v map[string]interface{}) { + o.FunctionHashes = v +} + +// GetGasEstimates returns the GasEstimates field value if set, zero value otherwise. +func (o *ContractJSON) GetGasEstimates() map[string]interface{} { + if o == nil || IsNil(o.GasEstimates) { + var ret map[string]interface{} + return ret + } + return o.GasEstimates +} + +// GetGasEstimatesOk returns a tuple with the GasEstimates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetGasEstimatesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.GasEstimates) { + return map[string]interface{}{}, false + } + return o.GasEstimates, true +} + +// HasGasEstimates returns a boolean if a field has been set. +func (o *ContractJSON) HasGasEstimates() bool { + if o != nil && !IsNil(o.GasEstimates) { + return true + } + + return false +} + +// SetGasEstimates gets a reference to the given map[string]interface{} and assigns it to the GasEstimates field. +func (o *ContractJSON) SetGasEstimates(v map[string]interface{}) { + o.GasEstimates = v +} + +func (o ContractJSON) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ContractJSON) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + toSerialize["bytecode"] = o.Bytecode + if !IsNil(o.Abi) { + toSerialize["abi"] = o.Abi + } + if !IsNil(o.Metadata) { + toSerialize["metadata"] = o.Metadata + } + if !IsNil(o.DeployedBytecode) { + toSerialize["deployedBytecode"] = o.DeployedBytecode + } + if !IsNil(o.SourceMap) { + toSerialize["sourceMap"] = o.SourceMap + } + if !IsNil(o.DeployedSourceMap) { + toSerialize["deployedSourceMap"] = o.DeployedSourceMap + } + if !IsNil(o.SourcePath) { + toSerialize["sourcePath"] = o.SourcePath + } + if !IsNil(o.Compiler) { + toSerialize["compiler"] = o.Compiler + } + if !IsNil(o.Networks) { + toSerialize["networks"] = o.Networks + } + if !IsNil(o.Ast) { + toSerialize["ast"] = o.Ast + } + if !IsNil(o.FunctionHashes) { + toSerialize["functionHashes"] = o.FunctionHashes + } + if !IsNil(o.GasEstimates) { + toSerialize["gasEstimates"] = o.GasEstimates + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ContractJSON) UnmarshalJSON(bytes []byte) (err error) { + varContractJSON := _ContractJSON{} + + if err = json.Unmarshal(bytes, &varContractJSON); err == nil { + *o = ContractJSON(varContractJSON) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "contractName") + delete(additionalProperties, "bytecode") + delete(additionalProperties, "abi") + delete(additionalProperties, "metadata") + delete(additionalProperties, "deployedBytecode") + delete(additionalProperties, "sourceMap") + delete(additionalProperties, "deployedSourceMap") + delete(additionalProperties, "sourcePath") + delete(additionalProperties, "compiler") + delete(additionalProperties, "networks") + delete(additionalProperties, "ast") + delete(additionalProperties, "functionHashes") + delete(additionalProperties, "gasEstimates") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableContractJSON struct { + value *ContractJSON + isSet bool +} + +func (v NullableContractJSON) Get() *ContractJSON { + return v.value +} + +func (v *NullableContractJSON) Set(val *ContractJSON) { + v.value = val + v.isSet = true +} + +func (v NullableContractJSON) IsSet() bool { + return v.isSet +} + +func (v *NullableContractJSON) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableContractJSON(val *ContractJSON) *NullableContractJSON { + return &NullableContractJSON{value: val, isSet: true} +} + +func (v NullableContractJSON) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableContractJSON) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_json_object_v1_request.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_json_object_v1_request.go new file mode 100644 index 00000000000..283fa9981af --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_json_object_v1_request.go @@ -0,0 +1,294 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the DeployContractSolidityBytecodeJsonObjectV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractSolidityBytecodeJsonObjectV1Request{} + +// DeployContractSolidityBytecodeJsonObjectV1Request struct for DeployContractSolidityBytecodeJsonObjectV1Request +type DeployContractSolidityBytecodeJsonObjectV1Request struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + Gas *float32 `json:"gas,omitempty"` + GasPrice *string `json:"gasPrice,omitempty"` + // The amount of milliseconds to wait for a transaction receipt with theaddress of the contract(which indicates successful deployment) beforegiving up and crashing. + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + ContractJSON ContractJSON `json:"contractJSON"` + // The list of arguments to pass in to the constructor of the contract being deployed. + ConstructorArgs []interface{} `json:"constructorArgs,omitempty"` +} + +// NewDeployContractSolidityBytecodeJsonObjectV1Request instantiates a new DeployContractSolidityBytecodeJsonObjectV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractSolidityBytecodeJsonObjectV1Request(web3SigningCredential Web3SigningCredential, contractJSON ContractJSON) *DeployContractSolidityBytecodeJsonObjectV1Request { + this := DeployContractSolidityBytecodeJsonObjectV1Request{} + this.Web3SigningCredential = web3SigningCredential + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + this.ContractJSON = contractJSON + return &this +} + +// NewDeployContractSolidityBytecodeJsonObjectV1RequestWithDefaults instantiates a new DeployContractSolidityBytecodeJsonObjectV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractSolidityBytecodeJsonObjectV1RequestWithDefaults() *DeployContractSolidityBytecodeJsonObjectV1Request { + this := DeployContractSolidityBytecodeJsonObjectV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) SetGas(v float32) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetGasPrice() string { + if o == nil || IsNil(o.GasPrice) { + var ret string + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetGasPriceOk() (*string, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given string and assigns it to the GasPrice field. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) SetGasPrice(v string) { + o.GasPrice = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetContractJSON returns the ContractJSON field value +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetContractJSON() ContractJSON { + if o == nil { + var ret ContractJSON + return ret + } + + return o.ContractJSON +} + +// GetContractJSONOk returns a tuple with the ContractJSON field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetContractJSONOk() (*ContractJSON, bool) { + if o == nil { + return nil, false + } + return &o.ContractJSON, true +} + +// SetContractJSON sets field value +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) SetContractJSON(v ContractJSON) { + o.ContractJSON = v +} + +// GetConstructorArgs returns the ConstructorArgs field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetConstructorArgs() []interface{} { + if o == nil || IsNil(o.ConstructorArgs) { + var ret []interface{} + return ret + } + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ConstructorArgs) { + return nil, false + } + return o.ConstructorArgs, true +} + +// HasConstructorArgs returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) HasConstructorArgs() bool { + if o != nil && !IsNil(o.ConstructorArgs) { + return true + } + + return false +} + +// SetConstructorArgs gets a reference to the given []interface{} and assigns it to the ConstructorArgs field. +func (o *DeployContractSolidityBytecodeJsonObjectV1Request) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +func (o DeployContractSolidityBytecodeJsonObjectV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractSolidityBytecodeJsonObjectV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + toSerialize["contractJSON"] = o.ContractJSON + if !IsNil(o.ConstructorArgs) { + toSerialize["constructorArgs"] = o.ConstructorArgs + } + return toSerialize, nil +} + +type NullableDeployContractSolidityBytecodeJsonObjectV1Request struct { + value *DeployContractSolidityBytecodeJsonObjectV1Request + isSet bool +} + +func (v NullableDeployContractSolidityBytecodeJsonObjectV1Request) Get() *DeployContractSolidityBytecodeJsonObjectV1Request { + return v.value +} + +func (v *NullableDeployContractSolidityBytecodeJsonObjectV1Request) Set(val *DeployContractSolidityBytecodeJsonObjectV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractSolidityBytecodeJsonObjectV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractSolidityBytecodeJsonObjectV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractSolidityBytecodeJsonObjectV1Request(val *DeployContractSolidityBytecodeJsonObjectV1Request) *NullableDeployContractSolidityBytecodeJsonObjectV1Request { + return &NullableDeployContractSolidityBytecodeJsonObjectV1Request{value: val, isSet: true} +} + +func (v NullableDeployContractSolidityBytecodeJsonObjectV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractSolidityBytecodeJsonObjectV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_request.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_request.go new file mode 100644 index 00000000000..a0c5b1865c5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_request.go @@ -0,0 +1,542 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the DeployContractSolidityBytecodeV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractSolidityBytecodeV1Request{} + +// DeployContractSolidityBytecodeV1Request struct for DeployContractSolidityBytecodeV1Request +type DeployContractSolidityBytecodeV1Request struct { + // The contract name for retrieve the contracts json on the keychain. + ContractName string `json:"contractName"` + // The application binary interface of the solidity contract + ContractAbi []interface{} `json:"contractAbi,omitempty"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // See https://ethereum.stackexchange.com/a/47556 regarding the maximum length of the bytecode + Bytecode *string `json:"bytecode,omitempty"` + // The keychainId for retrieve the contracts json. + KeychainId string `json:"keychainId"` + Gas *float32 `json:"gas,omitempty"` + GasPrice *float32 `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + Value *float32 `json:"value,omitempty"` + // The amount of milliseconds to wait for a transaction receipt with theaddress of the contract(which indicates successful deployment) beforegiving up and crashing. + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + // For use when not using keychain, pass the contract in as this variable + ContractJSON map[string]interface{} `json:"contractJSON,omitempty"` + // The list of arguments to pass in to the constructor of the contract being deployed. + ConstructorArgs []interface{} `json:"constructorArgs,omitempty"` + PrivateTransactionConfig *QuorumPrivateTransactionConfig `json:"privateTransactionConfig,omitempty"` +} + +// NewDeployContractSolidityBytecodeV1Request instantiates a new DeployContractSolidityBytecodeV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractSolidityBytecodeV1Request(contractName string, web3SigningCredential Web3SigningCredential, keychainId string) *DeployContractSolidityBytecodeV1Request { + this := DeployContractSolidityBytecodeV1Request{} + this.ContractName = contractName + this.Web3SigningCredential = web3SigningCredential + this.KeychainId = keychainId + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// NewDeployContractSolidityBytecodeV1RequestWithDefaults instantiates a new DeployContractSolidityBytecodeV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractSolidityBytecodeV1RequestWithDefaults() *DeployContractSolidityBytecodeV1Request { + this := DeployContractSolidityBytecodeV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetContractName returns the ContractName field value +func (o *DeployContractSolidityBytecodeV1Request) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *DeployContractSolidityBytecodeV1Request) SetContractName(v string) { + o.ContractName = v +} + +// GetContractAbi returns the ContractAbi field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetContractAbi() []interface{} { + if o == nil || IsNil(o.ContractAbi) { + var ret []interface{} + return ret + } + return o.ContractAbi +} + +// GetContractAbiOk returns a tuple with the ContractAbi field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetContractAbiOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ContractAbi) { + return nil, false + } + return o.ContractAbi, true +} + +// HasContractAbi returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasContractAbi() bool { + if o != nil && !IsNil(o.ContractAbi) { + return true + } + + return false +} + +// SetContractAbi gets a reference to the given []interface{} and assigns it to the ContractAbi field. +func (o *DeployContractSolidityBytecodeV1Request) SetContractAbi(v []interface{}) { + o.ContractAbi = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *DeployContractSolidityBytecodeV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *DeployContractSolidityBytecodeV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetBytecode returns the Bytecode field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetBytecode() string { + if o == nil || IsNil(o.Bytecode) { + var ret string + return ret + } + return *o.Bytecode +} + +// GetBytecodeOk returns a tuple with the Bytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.Bytecode) { + return nil, false + } + return o.Bytecode, true +} + +// HasBytecode returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasBytecode() bool { + if o != nil && !IsNil(o.Bytecode) { + return true + } + + return false +} + +// SetBytecode gets a reference to the given string and assigns it to the Bytecode field. +func (o *DeployContractSolidityBytecodeV1Request) SetBytecode(v string) { + o.Bytecode = &v +} + +// GetKeychainId returns the KeychainId field value +func (o *DeployContractSolidityBytecodeV1Request) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *DeployContractSolidityBytecodeV1Request) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *DeployContractSolidityBytecodeV1Request) SetGas(v float32) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetGasPrice() float32 { + if o == nil || IsNil(o.GasPrice) { + var ret float32 + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetGasPriceOk() (*float32, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given float32 and assigns it to the GasPrice field. +func (o *DeployContractSolidityBytecodeV1Request) SetGasPrice(v float32) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *DeployContractSolidityBytecodeV1Request) SetNonce(v float32) { + o.Nonce = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetValue() float32 { + if o == nil || IsNil(o.Value) { + var ret float32 + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetValueOk() (*float32, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given float32 and assigns it to the Value field. +func (o *DeployContractSolidityBytecodeV1Request) SetValue(v float32) { + o.Value = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *DeployContractSolidityBytecodeV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetContractJSON returns the ContractJSON field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetContractJSON() map[string]interface{} { + if o == nil || IsNil(o.ContractJSON) { + var ret map[string]interface{} + return ret + } + return o.ContractJSON +} + +// GetContractJSONOk returns a tuple with the ContractJSON field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetContractJSONOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.ContractJSON) { + return map[string]interface{}{}, false + } + return o.ContractJSON, true +} + +// HasContractJSON returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasContractJSON() bool { + if o != nil && !IsNil(o.ContractJSON) { + return true + } + + return false +} + +// SetContractJSON gets a reference to the given map[string]interface{} and assigns it to the ContractJSON field. +func (o *DeployContractSolidityBytecodeV1Request) SetContractJSON(v map[string]interface{}) { + o.ContractJSON = v +} + +// GetConstructorArgs returns the ConstructorArgs field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetConstructorArgs() []interface{} { + if o == nil || IsNil(o.ConstructorArgs) { + var ret []interface{} + return ret + } + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ConstructorArgs) { + return nil, false + } + return o.ConstructorArgs, true +} + +// HasConstructorArgs returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasConstructorArgs() bool { + if o != nil && !IsNil(o.ConstructorArgs) { + return true + } + + return false +} + +// SetConstructorArgs gets a reference to the given []interface{} and assigns it to the ConstructorArgs field. +func (o *DeployContractSolidityBytecodeV1Request) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +// GetPrivateTransactionConfig returns the PrivateTransactionConfig field value if set, zero value otherwise. +func (o *DeployContractSolidityBytecodeV1Request) GetPrivateTransactionConfig() QuorumPrivateTransactionConfig { + if o == nil || IsNil(o.PrivateTransactionConfig) { + var ret QuorumPrivateTransactionConfig + return ret + } + return *o.PrivateTransactionConfig +} + +// GetPrivateTransactionConfigOk returns a tuple with the PrivateTransactionConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Request) GetPrivateTransactionConfigOk() (*QuorumPrivateTransactionConfig, bool) { + if o == nil || IsNil(o.PrivateTransactionConfig) { + return nil, false + } + return o.PrivateTransactionConfig, true +} + +// HasPrivateTransactionConfig returns a boolean if a field has been set. +func (o *DeployContractSolidityBytecodeV1Request) HasPrivateTransactionConfig() bool { + if o != nil && !IsNil(o.PrivateTransactionConfig) { + return true + } + + return false +} + +// SetPrivateTransactionConfig gets a reference to the given QuorumPrivateTransactionConfig and assigns it to the PrivateTransactionConfig field. +func (o *DeployContractSolidityBytecodeV1Request) SetPrivateTransactionConfig(v QuorumPrivateTransactionConfig) { + o.PrivateTransactionConfig = &v +} + +func (o DeployContractSolidityBytecodeV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractSolidityBytecodeV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + if !IsNil(o.ContractAbi) { + toSerialize["contractAbi"] = o.ContractAbi + } + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + if !IsNil(o.Bytecode) { + toSerialize["bytecode"] = o.Bytecode + } + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + if !IsNil(o.ContractJSON) { + toSerialize["contractJSON"] = o.ContractJSON + } + if !IsNil(o.ConstructorArgs) { + toSerialize["constructorArgs"] = o.ConstructorArgs + } + if !IsNil(o.PrivateTransactionConfig) { + toSerialize["privateTransactionConfig"] = o.PrivateTransactionConfig + } + return toSerialize, nil +} + +type NullableDeployContractSolidityBytecodeV1Request struct { + value *DeployContractSolidityBytecodeV1Request + isSet bool +} + +func (v NullableDeployContractSolidityBytecodeV1Request) Get() *DeployContractSolidityBytecodeV1Request { + return v.value +} + +func (v *NullableDeployContractSolidityBytecodeV1Request) Set(val *DeployContractSolidityBytecodeV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractSolidityBytecodeV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractSolidityBytecodeV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractSolidityBytecodeV1Request(val *DeployContractSolidityBytecodeV1Request) *NullableDeployContractSolidityBytecodeV1Request { + return &NullableDeployContractSolidityBytecodeV1Request{value: val, isSet: true} +} + +func (v NullableDeployContractSolidityBytecodeV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractSolidityBytecodeV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_response.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_response.go new file mode 100644 index 00000000000..ca5a15d9a5f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_deploy_contract_solidity_bytecode_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the DeployContractSolidityBytecodeV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractSolidityBytecodeV1Response{} + +// DeployContractSolidityBytecodeV1Response struct for DeployContractSolidityBytecodeV1Response +type DeployContractSolidityBytecodeV1Response struct { + TransactionReceipt Web3TransactionReceipt `json:"transactionReceipt"` +} + +// NewDeployContractSolidityBytecodeV1Response instantiates a new DeployContractSolidityBytecodeV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractSolidityBytecodeV1Response(transactionReceipt Web3TransactionReceipt) *DeployContractSolidityBytecodeV1Response { + this := DeployContractSolidityBytecodeV1Response{} + this.TransactionReceipt = transactionReceipt + return &this +} + +// NewDeployContractSolidityBytecodeV1ResponseWithDefaults instantiates a new DeployContractSolidityBytecodeV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractSolidityBytecodeV1ResponseWithDefaults() *DeployContractSolidityBytecodeV1Response { + this := DeployContractSolidityBytecodeV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value +func (o *DeployContractSolidityBytecodeV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil { + var ret Web3TransactionReceipt + return ret + } + + return o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value +// and a boolean to check if the value has been set. +func (o *DeployContractSolidityBytecodeV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil { + return nil, false + } + return &o.TransactionReceipt, true +} + +// SetTransactionReceipt sets field value +func (o *DeployContractSolidityBytecodeV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = v +} + +func (o DeployContractSolidityBytecodeV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractSolidityBytecodeV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionReceipt"] = o.TransactionReceipt + return toSerialize, nil +} + +type NullableDeployContractSolidityBytecodeV1Response struct { + value *DeployContractSolidityBytecodeV1Response + isSet bool +} + +func (v NullableDeployContractSolidityBytecodeV1Response) Get() *DeployContractSolidityBytecodeV1Response { + return v.value +} + +func (v *NullableDeployContractSolidityBytecodeV1Response) Set(val *DeployContractSolidityBytecodeV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractSolidityBytecodeV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractSolidityBytecodeV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractSolidityBytecodeV1Response(val *DeployContractSolidityBytecodeV1Response) *NullableDeployContractSolidityBytecodeV1Response { + return &NullableDeployContractSolidityBytecodeV1Response{value: val, isSet: true} +} + +func (v NullableDeployContractSolidityBytecodeV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractSolidityBytecodeV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go new file mode 100644 index 00000000000..d32f2f3630f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" + "fmt" +) + +// EthContractInvocationType the model 'EthContractInvocationType' +type EthContractInvocationType string + +// List of EthContractInvocationType +const ( + SEND EthContractInvocationType = "SEND" + CALL EthContractInvocationType = "CALL" +) + +// All allowed values of EthContractInvocationType enum +var AllowedEthContractInvocationTypeEnumValues = []EthContractInvocationType{ + "SEND", + "CALL", +} + +func (v *EthContractInvocationType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := EthContractInvocationType(value) + for _, existing := range AllowedEthContractInvocationTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid EthContractInvocationType", value) +} + +// NewEthContractInvocationTypeFromValue returns a pointer to a valid EthContractInvocationType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEthContractInvocationTypeFromValue(v string) (*EthContractInvocationType, error) { + ev := EthContractInvocationType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for EthContractInvocationType: valid values are %v", v, AllowedEthContractInvocationTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v EthContractInvocationType) IsValid() bool { + for _, existing := range AllowedEthContractInvocationTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to EthContractInvocationType value +func (v EthContractInvocationType) Ptr() *EthContractInvocationType { + return &v +} + +type NullableEthContractInvocationType struct { + value *EthContractInvocationType + isSet bool +} + +func (v NullableEthContractInvocationType) Get() *EthContractInvocationType { + return v.value +} + +func (v *NullableEthContractInvocationType) Set(val *EthContractInvocationType) { + v.value = val + v.isSet = true +} + +func (v NullableEthContractInvocationType) IsSet() bool { + return v.isSet +} + +func (v *NullableEthContractInvocationType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEthContractInvocationType(val *EthContractInvocationType) *NullableEthContractInvocationType { + return &NullableEthContractInvocationType{value: val, isSet: true} +} + +func (v NullableEthContractInvocationType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEthContractInvocationType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_web3_method.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_web3_method.go new file mode 100644 index 00000000000..a981452e94a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_web3_method.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" + "fmt" +) + +// EthContractInvocationWeb3Method the model 'EthContractInvocationWeb3Method' +type EthContractInvocationWeb3Method string + +// List of EthContractInvocationWeb3Method +const ( + SEND EthContractInvocationWeb3Method = "send" + CALL EthContractInvocationWeb3Method = "call" + ENCODE_ABI EthContractInvocationWeb3Method = "encodeABI" + ESTIMATE_GAS EthContractInvocationWeb3Method = "estimateGas" +) + +// All allowed values of EthContractInvocationWeb3Method enum +var AllowedEthContractInvocationWeb3MethodEnumValues = []EthContractInvocationWeb3Method{ + "send", + "call", + "encodeABI", + "estimateGas", +} + +func (v *EthContractInvocationWeb3Method) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := EthContractInvocationWeb3Method(value) + for _, existing := range AllowedEthContractInvocationWeb3MethodEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid EthContractInvocationWeb3Method", value) +} + +// NewEthContractInvocationWeb3MethodFromValue returns a pointer to a valid EthContractInvocationWeb3Method +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEthContractInvocationWeb3MethodFromValue(v string) (*EthContractInvocationWeb3Method, error) { + ev := EthContractInvocationWeb3Method(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for EthContractInvocationWeb3Method: valid values are %v", v, AllowedEthContractInvocationWeb3MethodEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v EthContractInvocationWeb3Method) IsValid() bool { + for _, existing := range AllowedEthContractInvocationWeb3MethodEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to EthContractInvocationWeb3Method value +func (v EthContractInvocationWeb3Method) Ptr() *EthContractInvocationWeb3Method { + return &v +} + +type NullableEthContractInvocationWeb3Method struct { + value *EthContractInvocationWeb3Method + isSet bool +} + +func (v NullableEthContractInvocationWeb3Method) Get() *EthContractInvocationWeb3Method { + return v.value +} + +func (v *NullableEthContractInvocationWeb3Method) Set(val *EthContractInvocationWeb3Method) { + v.value = val + v.isSet = true +} + +func (v NullableEthContractInvocationWeb3Method) IsSet() bool { + return v.isSet +} + +func (v *NullableEthContractInvocationWeb3Method) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEthContractInvocationWeb3Method(val *EthContractInvocationWeb3Method) *NullableEthContractInvocationWeb3Method { + return &NullableEthContractInvocationWeb3Method{value: val, isSet: true} +} + +func (v NullableEthContractInvocationWeb3Method) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEthContractInvocationWeb3Method) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_contract_json_object_v1_request.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_contract_json_object_v1_request.go new file mode 100644 index 00000000000..dafe15c7a90 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_contract_json_object_v1_request.go @@ -0,0 +1,476 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the InvokeContractJsonObjectV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractJsonObjectV1Request{} + +// InvokeContractJsonObjectV1Request struct for InvokeContractJsonObjectV1Request +type InvokeContractJsonObjectV1Request struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + InvocationType EthContractInvocationType `json:"invocationType"` + // The name of the contract method to invoke. + MethodName string `json:"methodName"` + // The list of arguments to pass in to the contract method being invoked. + Params []interface{} `json:"params"` + // Address of the solidity contract + ContractAddress string `json:"contractAddress"` + Value *QuorumTransactionConfigFrom `json:"value,omitempty"` + Gas *QuorumTransactionConfigFrom `json:"gas,omitempty"` + GasPrice *QuorumTransactionConfigFrom `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + // The amount of milliseconds to wait for a transaction receipt beforegiving up and crashing. Only has any effect if the invocation type is SEND + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + ContractJSON ContractJSON `json:"contractJSON"` + PrivateTransactionConfig *QuorumPrivateTransactionConfig `json:"privateTransactionConfig,omitempty"` +} + +// NewInvokeContractJsonObjectV1Request instantiates a new InvokeContractJsonObjectV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractJsonObjectV1Request(web3SigningCredential Web3SigningCredential, invocationType EthContractInvocationType, methodName string, params []interface{}, contractAddress string, contractJSON ContractJSON) *InvokeContractJsonObjectV1Request { + this := InvokeContractJsonObjectV1Request{} + this.Web3SigningCredential = web3SigningCredential + this.InvocationType = invocationType + this.MethodName = methodName + this.Params = params + this.ContractAddress = contractAddress + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + this.ContractJSON = contractJSON + return &this +} + +// NewInvokeContractJsonObjectV1RequestWithDefaults instantiates a new InvokeContractJsonObjectV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractJsonObjectV1RequestWithDefaults() *InvokeContractJsonObjectV1Request { + this := InvokeContractJsonObjectV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *InvokeContractJsonObjectV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *InvokeContractJsonObjectV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeContractJsonObjectV1Request) GetInvocationType() EthContractInvocationType { + if o == nil { + var ret EthContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetInvocationTypeOk() (*EthContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeContractJsonObjectV1Request) SetInvocationType(v EthContractInvocationType) { + o.InvocationType = v +} + +// GetMethodName returns the MethodName field value +func (o *InvokeContractJsonObjectV1Request) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeContractJsonObjectV1Request) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value +func (o *InvokeContractJsonObjectV1Request) GetParams() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetParamsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *InvokeContractJsonObjectV1Request) SetParams(v []interface{}) { + o.Params = v +} + +// GetContractAddress returns the ContractAddress field value +func (o *InvokeContractJsonObjectV1Request) GetContractAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractAddress, true +} + +// SetContractAddress sets field value +func (o *InvokeContractJsonObjectV1Request) SetContractAddress(v string) { + o.ContractAddress = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetValue() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.Value) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetValueOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given QuorumTransactionConfigFrom and assigns it to the Value field. +func (o *InvokeContractJsonObjectV1Request) SetValue(v QuorumTransactionConfigFrom) { + o.Value = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetGas() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.Gas) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetGasOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given QuorumTransactionConfigFrom and assigns it to the Gas field. +func (o *InvokeContractJsonObjectV1Request) SetGas(v QuorumTransactionConfigFrom) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetGasPrice() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.GasPrice) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetGasPriceOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given QuorumTransactionConfigFrom and assigns it to the GasPrice field. +func (o *InvokeContractJsonObjectV1Request) SetGasPrice(v QuorumTransactionConfigFrom) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *InvokeContractJsonObjectV1Request) SetNonce(v float32) { + o.Nonce = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *InvokeContractJsonObjectV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetContractJSON returns the ContractJSON field value +func (o *InvokeContractJsonObjectV1Request) GetContractJSON() ContractJSON { + if o == nil { + var ret ContractJSON + return ret + } + + return o.ContractJSON +} + +// GetContractJSONOk returns a tuple with the ContractJSON field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetContractJSONOk() (*ContractJSON, bool) { + if o == nil { + return nil, false + } + return &o.ContractJSON, true +} + +// SetContractJSON sets field value +func (o *InvokeContractJsonObjectV1Request) SetContractJSON(v ContractJSON) { + o.ContractJSON = v +} + +// GetPrivateTransactionConfig returns the PrivateTransactionConfig field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetPrivateTransactionConfig() QuorumPrivateTransactionConfig { + if o == nil || IsNil(o.PrivateTransactionConfig) { + var ret QuorumPrivateTransactionConfig + return ret + } + return *o.PrivateTransactionConfig +} + +// GetPrivateTransactionConfigOk returns a tuple with the PrivateTransactionConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetPrivateTransactionConfigOk() (*QuorumPrivateTransactionConfig, bool) { + if o == nil || IsNil(o.PrivateTransactionConfig) { + return nil, false + } + return o.PrivateTransactionConfig, true +} + +// HasPrivateTransactionConfig returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasPrivateTransactionConfig() bool { + if o != nil && !IsNil(o.PrivateTransactionConfig) { + return true + } + + return false +} + +// SetPrivateTransactionConfig gets a reference to the given QuorumPrivateTransactionConfig and assigns it to the PrivateTransactionConfig field. +func (o *InvokeContractJsonObjectV1Request) SetPrivateTransactionConfig(v QuorumPrivateTransactionConfig) { + o.PrivateTransactionConfig = &v +} + +func (o InvokeContractJsonObjectV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractJsonObjectV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["invocationType"] = o.InvocationType + toSerialize["methodName"] = o.MethodName + toSerialize["params"] = o.Params + toSerialize["contractAddress"] = o.ContractAddress + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + toSerialize["contractJSON"] = o.ContractJSON + if !IsNil(o.PrivateTransactionConfig) { + toSerialize["privateTransactionConfig"] = o.PrivateTransactionConfig + } + return toSerialize, nil +} + +type NullableInvokeContractJsonObjectV1Request struct { + value *InvokeContractJsonObjectV1Request + isSet bool +} + +func (v NullableInvokeContractJsonObjectV1Request) Get() *InvokeContractJsonObjectV1Request { + return v.value +} + +func (v *NullableInvokeContractJsonObjectV1Request) Set(val *InvokeContractJsonObjectV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractJsonObjectV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractJsonObjectV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractJsonObjectV1Request(val *InvokeContractJsonObjectV1Request) *NullableInvokeContractJsonObjectV1Request { + return &NullableInvokeContractJsonObjectV1Request{value: val, isSet: true} +} + +func (v NullableInvokeContractJsonObjectV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractJsonObjectV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go new file mode 100644 index 00000000000..c9fcfb6aea1 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go @@ -0,0 +1,441 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Request{} + +// InvokeContractV1Request struct for InvokeContractV1Request +type InvokeContractV1Request struct { + // The contract name to find it in the keychain plugin + ContractName string `json:"contractName"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + InvocationType EthContractInvocationType `json:"invocationType"` + // The name of the contract method to invoke. + MethodName string `json:"methodName"` + // The list of arguments to pass in to the contract method being invoked. + Params []interface{} `json:"params"` + Value *QuorumTransactionConfigFrom `json:"value,omitempty"` + Gas *QuorumTransactionConfigFrom `json:"gas,omitempty"` + GasPrice *QuorumTransactionConfigFrom `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + // The amount of milliseconds to wait for a transaction receipt beforegiving up and crashing. Only has any effect if the invocation type is SEND + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + // The keychainId for retrieve the contracts json. + KeychainId string `json:"keychainId"` +} + +// NewInvokeContractV1Request instantiates a new InvokeContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Request(contractName string, web3SigningCredential Web3SigningCredential, invocationType EthContractInvocationType, methodName string, params []interface{}, keychainId string) *InvokeContractV1Request { + this := InvokeContractV1Request{} + this.ContractName = contractName + this.Web3SigningCredential = web3SigningCredential + this.InvocationType = invocationType + this.MethodName = methodName + this.Params = params + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + this.KeychainId = keychainId + return &this +} + +// NewInvokeContractV1RequestWithDefaults instantiates a new InvokeContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1RequestWithDefaults() *InvokeContractV1Request { + this := InvokeContractV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetContractName returns the ContractName field value +func (o *InvokeContractV1Request) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *InvokeContractV1Request) SetContractName(v string) { + o.ContractName = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *InvokeContractV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *InvokeContractV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeContractV1Request) GetInvocationType() EthContractInvocationType { + if o == nil { + var ret EthContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetInvocationTypeOk() (*EthContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeContractV1Request) SetInvocationType(v EthContractInvocationType) { + o.InvocationType = v +} + +// GetMethodName returns the MethodName field value +func (o *InvokeContractV1Request) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeContractV1Request) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value +func (o *InvokeContractV1Request) GetParams() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetParamsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *InvokeContractV1Request) SetParams(v []interface{}) { + o.Params = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetValue() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.Value) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetValueOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given QuorumTransactionConfigFrom and assigns it to the Value field. +func (o *InvokeContractV1Request) SetValue(v QuorumTransactionConfigFrom) { + o.Value = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetGas() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.Gas) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetGasOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given QuorumTransactionConfigFrom and assigns it to the Gas field. +func (o *InvokeContractV1Request) SetGas(v QuorumTransactionConfigFrom) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetGasPrice() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.GasPrice) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetGasPriceOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given QuorumTransactionConfigFrom and assigns it to the GasPrice field. +func (o *InvokeContractV1Request) SetGasPrice(v QuorumTransactionConfigFrom) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *InvokeContractV1Request) SetNonce(v float32) { + o.Nonce = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *InvokeContractV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetKeychainId returns the KeychainId field value +func (o *InvokeContractV1Request) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *InvokeContractV1Request) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o InvokeContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["invocationType"] = o.InvocationType + toSerialize["methodName"] = o.MethodName + toSerialize["params"] = o.Params + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableInvokeContractV1Request struct { + value *InvokeContractV1Request + isSet bool +} + +func (v NullableInvokeContractV1Request) Get() *InvokeContractV1Request { + return v.value +} + +func (v *NullableInvokeContractV1Request) Set(val *InvokeContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Request(val *InvokeContractV1Request) *NullableInvokeContractV1Request { + return &NullableInvokeContractV1Request{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go new file mode 100644 index 00000000000..1306faa0b8c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go @@ -0,0 +1,190 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Response{} + +// InvokeContractV1Response struct for InvokeContractV1Response +type InvokeContractV1Response struct { + TransactionReceipt *Web3TransactionReceipt `json:"transactionReceipt,omitempty"` + CallOutput interface{} `json:"callOutput,omitempty"` + Success bool `json:"success"` +} + +// NewInvokeContractV1Response instantiates a new InvokeContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Response(success bool) *InvokeContractV1Response { + this := InvokeContractV1Response{} + this.Success = success + return &this +} + +// NewInvokeContractV1ResponseWithDefaults instantiates a new InvokeContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1ResponseWithDefaults() *InvokeContractV1Response { + this := InvokeContractV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value if set, zero value otherwise. +func (o *InvokeContractV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil || IsNil(o.TransactionReceipt) { + var ret Web3TransactionReceipt + return ret + } + return *o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil || IsNil(o.TransactionReceipt) { + return nil, false + } + return o.TransactionReceipt, true +} + +// HasTransactionReceipt returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasTransactionReceipt() bool { + if o != nil && !IsNil(o.TransactionReceipt) { + return true + } + + return false +} + +// SetTransactionReceipt gets a reference to the given Web3TransactionReceipt and assigns it to the TransactionReceipt field. +func (o *InvokeContractV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = &v +} + +// GetCallOutput returns the CallOutput field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeContractV1Response) GetCallOutput() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CallOutput +} + +// GetCallOutputOk returns a tuple with the CallOutput field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeContractV1Response) GetCallOutputOk() (*interface{}, bool) { + if o == nil || IsNil(o.CallOutput) { + return nil, false + } + return &o.CallOutput, true +} + +// HasCallOutput returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasCallOutput() bool { + if o != nil && IsNil(o.CallOutput) { + return true + } + + return false +} + +// SetCallOutput gets a reference to the given interface{} and assigns it to the CallOutput field. +func (o *InvokeContractV1Response) SetCallOutput(v interface{}) { + o.CallOutput = v +} + +// GetSuccess returns the Success field value +func (o *InvokeContractV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *InvokeContractV1Response) SetSuccess(v bool) { + o.Success = v +} + +func (o InvokeContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.TransactionReceipt) { + toSerialize["transactionReceipt"] = o.TransactionReceipt + } + if o.CallOutput != nil { + toSerialize["callOutput"] = o.CallOutput + } + toSerialize["success"] = o.Success + return toSerialize, nil +} + +type NullableInvokeContractV1Response struct { + value *InvokeContractV1Response + isSet bool +} + +func (v NullableInvokeContractV1Response) Get() *InvokeContractV1Response { + return v.value +} + +func (v *NullableInvokeContractV1Response) Set(val *InvokeContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Response(val *InvokeContractV1Response) *NullableInvokeContractV1Response { + return &NullableInvokeContractV1Response{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_request.go new file mode 100644 index 00000000000..9593bfda04a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_request.go @@ -0,0 +1,275 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the InvokeRawWeb3EthContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeRawWeb3EthContractV1Request{} + +// InvokeRawWeb3EthContractV1Request struct for InvokeRawWeb3EthContractV1Request +type InvokeRawWeb3EthContractV1Request struct { + // The application binary interface of the solidity contract + Abi []interface{} `json:"abi"` + // Deployed solidity contract address + Address string `json:"address"` + InvocationType EthContractInvocationWeb3Method `json:"invocationType"` + // The list of arguments for contract invocation method (send, call, etc...) + InvocationParams map[string]interface{} `json:"invocationParams,omitempty"` + // Method of deployed solidity contract to execute + ContractMethod string `json:"contractMethod"` + // The list of arguments for deployed solidity contract method + ContractMethodArgs []interface{} `json:"contractMethodArgs,omitempty"` +} + +// NewInvokeRawWeb3EthContractV1Request instantiates a new InvokeRawWeb3EthContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeRawWeb3EthContractV1Request(abi []interface{}, address string, invocationType EthContractInvocationWeb3Method, contractMethod string) *InvokeRawWeb3EthContractV1Request { + this := InvokeRawWeb3EthContractV1Request{} + this.Abi = abi + this.Address = address + this.InvocationType = invocationType + this.ContractMethod = contractMethod + return &this +} + +// NewInvokeRawWeb3EthContractV1RequestWithDefaults instantiates a new InvokeRawWeb3EthContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeRawWeb3EthContractV1RequestWithDefaults() *InvokeRawWeb3EthContractV1Request { + this := InvokeRawWeb3EthContractV1Request{} + return &this +} + +// GetAbi returns the Abi field value +func (o *InvokeRawWeb3EthContractV1Request) GetAbi() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Abi +} + +// GetAbiOk returns a tuple with the Abi field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetAbiOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Abi, true +} + +// SetAbi sets field value +func (o *InvokeRawWeb3EthContractV1Request) SetAbi(v []interface{}) { + o.Abi = v +} + +// GetAddress returns the Address field value +func (o *InvokeRawWeb3EthContractV1Request) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *InvokeRawWeb3EthContractV1Request) SetAddress(v string) { + o.Address = v +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeRawWeb3EthContractV1Request) GetInvocationType() EthContractInvocationWeb3Method { + if o == nil { + var ret EthContractInvocationWeb3Method + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetInvocationTypeOk() (*EthContractInvocationWeb3Method, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeRawWeb3EthContractV1Request) SetInvocationType(v EthContractInvocationWeb3Method) { + o.InvocationType = v +} + +// GetInvocationParams returns the InvocationParams field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthContractV1Request) GetInvocationParams() map[string]interface{} { + if o == nil || IsNil(o.InvocationParams) { + var ret map[string]interface{} + return ret + } + return o.InvocationParams +} + +// GetInvocationParamsOk returns a tuple with the InvocationParams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetInvocationParamsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.InvocationParams) { + return map[string]interface{}{}, false + } + return o.InvocationParams, true +} + +// HasInvocationParams returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthContractV1Request) HasInvocationParams() bool { + if o != nil && !IsNil(o.InvocationParams) { + return true + } + + return false +} + +// SetInvocationParams gets a reference to the given map[string]interface{} and assigns it to the InvocationParams field. +func (o *InvokeRawWeb3EthContractV1Request) SetInvocationParams(v map[string]interface{}) { + o.InvocationParams = v +} + +// GetContractMethod returns the ContractMethod field value +func (o *InvokeRawWeb3EthContractV1Request) GetContractMethod() string { + if o == nil { + var ret string + return ret + } + + return o.ContractMethod +} + +// GetContractMethodOk returns a tuple with the ContractMethod field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetContractMethodOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractMethod, true +} + +// SetContractMethod sets field value +func (o *InvokeRawWeb3EthContractV1Request) SetContractMethod(v string) { + o.ContractMethod = v +} + +// GetContractMethodArgs returns the ContractMethodArgs field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthContractV1Request) GetContractMethodArgs() []interface{} { + if o == nil || IsNil(o.ContractMethodArgs) { + var ret []interface{} + return ret + } + return o.ContractMethodArgs +} + +// GetContractMethodArgsOk returns a tuple with the ContractMethodArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Request) GetContractMethodArgsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ContractMethodArgs) { + return nil, false + } + return o.ContractMethodArgs, true +} + +// HasContractMethodArgs returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthContractV1Request) HasContractMethodArgs() bool { + if o != nil && !IsNil(o.ContractMethodArgs) { + return true + } + + return false +} + +// SetContractMethodArgs gets a reference to the given []interface{} and assigns it to the ContractMethodArgs field. +func (o *InvokeRawWeb3EthContractV1Request) SetContractMethodArgs(v []interface{}) { + o.ContractMethodArgs = v +} + +func (o InvokeRawWeb3EthContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeRawWeb3EthContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["abi"] = o.Abi + toSerialize["address"] = o.Address + toSerialize["invocationType"] = o.InvocationType + if !IsNil(o.InvocationParams) { + toSerialize["invocationParams"] = o.InvocationParams + } + toSerialize["contractMethod"] = o.ContractMethod + if !IsNil(o.ContractMethodArgs) { + toSerialize["contractMethodArgs"] = o.ContractMethodArgs + } + return toSerialize, nil +} + +type NullableInvokeRawWeb3EthContractV1Request struct { + value *InvokeRawWeb3EthContractV1Request + isSet bool +} + +func (v NullableInvokeRawWeb3EthContractV1Request) Get() *InvokeRawWeb3EthContractV1Request { + return v.value +} + +func (v *NullableInvokeRawWeb3EthContractV1Request) Set(val *InvokeRawWeb3EthContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeRawWeb3EthContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeRawWeb3EthContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeRawWeb3EthContractV1Request(val *InvokeRawWeb3EthContractV1Request) *NullableInvokeRawWeb3EthContractV1Request { + return &NullableInvokeRawWeb3EthContractV1Request{value: val, isSet: true} +} + +func (v NullableInvokeRawWeb3EthContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeRawWeb3EthContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_response.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_response.go new file mode 100644 index 00000000000..e2d1dfc54df --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_contract_v1_response.go @@ -0,0 +1,193 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the InvokeRawWeb3EthContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeRawWeb3EthContractV1Response{} + +// InvokeRawWeb3EthContractV1Response struct for InvokeRawWeb3EthContractV1Response +type InvokeRawWeb3EthContractV1Response struct { + // Status code of the operation + Status float32 `json:"status"` + // Output of contract invocation method + Data interface{} `json:"data,omitempty"` + // Error details + ErrorDetail *string `json:"errorDetail,omitempty"` +} + +// NewInvokeRawWeb3EthContractV1Response instantiates a new InvokeRawWeb3EthContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeRawWeb3EthContractV1Response(status float32) *InvokeRawWeb3EthContractV1Response { + this := InvokeRawWeb3EthContractV1Response{} + this.Status = status + return &this +} + +// NewInvokeRawWeb3EthContractV1ResponseWithDefaults instantiates a new InvokeRawWeb3EthContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeRawWeb3EthContractV1ResponseWithDefaults() *InvokeRawWeb3EthContractV1Response { + this := InvokeRawWeb3EthContractV1Response{} + return &this +} + +// GetStatus returns the Status field value +func (o *InvokeRawWeb3EthContractV1Response) GetStatus() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Response) GetStatusOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *InvokeRawWeb3EthContractV1Response) SetStatus(v float32) { + o.Status = v +} + +// GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeRawWeb3EthContractV1Response) GetData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeRawWeb3EthContractV1Response) GetDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return &o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthContractV1Response) HasData() bool { + if o != nil && IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given interface{} and assigns it to the Data field. +func (o *InvokeRawWeb3EthContractV1Response) SetData(v interface{}) { + o.Data = v +} + +// GetErrorDetail returns the ErrorDetail field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthContractV1Response) GetErrorDetail() string { + if o == nil || IsNil(o.ErrorDetail) { + var ret string + return ret + } + return *o.ErrorDetail +} + +// GetErrorDetailOk returns a tuple with the ErrorDetail field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthContractV1Response) GetErrorDetailOk() (*string, bool) { + if o == nil || IsNil(o.ErrorDetail) { + return nil, false + } + return o.ErrorDetail, true +} + +// HasErrorDetail returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthContractV1Response) HasErrorDetail() bool { + if o != nil && !IsNil(o.ErrorDetail) { + return true + } + + return false +} + +// SetErrorDetail gets a reference to the given string and assigns it to the ErrorDetail field. +func (o *InvokeRawWeb3EthContractV1Response) SetErrorDetail(v string) { + o.ErrorDetail = &v +} + +func (o InvokeRawWeb3EthContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeRawWeb3EthContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + if o.Data != nil { + toSerialize["data"] = o.Data + } + if !IsNil(o.ErrorDetail) { + toSerialize["errorDetail"] = o.ErrorDetail + } + return toSerialize, nil +} + +type NullableInvokeRawWeb3EthContractV1Response struct { + value *InvokeRawWeb3EthContractV1Response + isSet bool +} + +func (v NullableInvokeRawWeb3EthContractV1Response) Get() *InvokeRawWeb3EthContractV1Response { + return v.value +} + +func (v *NullableInvokeRawWeb3EthContractV1Response) Set(val *InvokeRawWeb3EthContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeRawWeb3EthContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeRawWeb3EthContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeRawWeb3EthContractV1Response(val *InvokeRawWeb3EthContractV1Response) *NullableInvokeRawWeb3EthContractV1Response { + return &NullableInvokeRawWeb3EthContractV1Response{value: val, isSet: true} +} + +func (v NullableInvokeRawWeb3EthContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeRawWeb3EthContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_request.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_request.go new file mode 100644 index 00000000000..9d9aaebfcba --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_request.go @@ -0,0 +1,155 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the InvokeRawWeb3EthMethodV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeRawWeb3EthMethodV1Request{} + +// InvokeRawWeb3EthMethodV1Request struct for InvokeRawWeb3EthMethodV1Request +type InvokeRawWeb3EthMethodV1Request struct { + // The name of the web3.eth method to invoke + MethodName string `json:"methodName"` + // The list of arguments to pass to web3.eth method specified in methodName + Params []interface{} `json:"params,omitempty"` +} + +// NewInvokeRawWeb3EthMethodV1Request instantiates a new InvokeRawWeb3EthMethodV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeRawWeb3EthMethodV1Request(methodName string) *InvokeRawWeb3EthMethodV1Request { + this := InvokeRawWeb3EthMethodV1Request{} + this.MethodName = methodName + return &this +} + +// NewInvokeRawWeb3EthMethodV1RequestWithDefaults instantiates a new InvokeRawWeb3EthMethodV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeRawWeb3EthMethodV1RequestWithDefaults() *InvokeRawWeb3EthMethodV1Request { + this := InvokeRawWeb3EthMethodV1Request{} + return &this +} + +// GetMethodName returns the MethodName field value +func (o *InvokeRawWeb3EthMethodV1Request) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthMethodV1Request) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeRawWeb3EthMethodV1Request) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthMethodV1Request) GetParams() []interface{} { + if o == nil || IsNil(o.Params) { + var ret []interface{} + return ret + } + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthMethodV1Request) GetParamsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Params) { + return nil, false + } + return o.Params, true +} + +// HasParams returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthMethodV1Request) HasParams() bool { + if o != nil && !IsNil(o.Params) { + return true + } + + return false +} + +// SetParams gets a reference to the given []interface{} and assigns it to the Params field. +func (o *InvokeRawWeb3EthMethodV1Request) SetParams(v []interface{}) { + o.Params = v +} + +func (o InvokeRawWeb3EthMethodV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeRawWeb3EthMethodV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["methodName"] = o.MethodName + if !IsNil(o.Params) { + toSerialize["params"] = o.Params + } + return toSerialize, nil +} + +type NullableInvokeRawWeb3EthMethodV1Request struct { + value *InvokeRawWeb3EthMethodV1Request + isSet bool +} + +func (v NullableInvokeRawWeb3EthMethodV1Request) Get() *InvokeRawWeb3EthMethodV1Request { + return v.value +} + +func (v *NullableInvokeRawWeb3EthMethodV1Request) Set(val *InvokeRawWeb3EthMethodV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeRawWeb3EthMethodV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeRawWeb3EthMethodV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeRawWeb3EthMethodV1Request(val *InvokeRawWeb3EthMethodV1Request) *NullableInvokeRawWeb3EthMethodV1Request { + return &NullableInvokeRawWeb3EthMethodV1Request{value: val, isSet: true} +} + +func (v NullableInvokeRawWeb3EthMethodV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeRawWeb3EthMethodV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_response.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_response.go new file mode 100644 index 00000000000..2376afaef43 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_invoke_raw_web3_eth_method_v1_response.go @@ -0,0 +1,193 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the InvokeRawWeb3EthMethodV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeRawWeb3EthMethodV1Response{} + +// InvokeRawWeb3EthMethodV1Response struct for InvokeRawWeb3EthMethodV1Response +type InvokeRawWeb3EthMethodV1Response struct { + // Status code of the operation + Status float32 `json:"status"` + // Output of requested web3.eth method + Data interface{} `json:"data,omitempty"` + // Error details + ErrorDetail *string `json:"errorDetail,omitempty"` +} + +// NewInvokeRawWeb3EthMethodV1Response instantiates a new InvokeRawWeb3EthMethodV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeRawWeb3EthMethodV1Response(status float32) *InvokeRawWeb3EthMethodV1Response { + this := InvokeRawWeb3EthMethodV1Response{} + this.Status = status + return &this +} + +// NewInvokeRawWeb3EthMethodV1ResponseWithDefaults instantiates a new InvokeRawWeb3EthMethodV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeRawWeb3EthMethodV1ResponseWithDefaults() *InvokeRawWeb3EthMethodV1Response { + this := InvokeRawWeb3EthMethodV1Response{} + return &this +} + +// GetStatus returns the Status field value +func (o *InvokeRawWeb3EthMethodV1Response) GetStatus() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthMethodV1Response) GetStatusOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *InvokeRawWeb3EthMethodV1Response) SetStatus(v float32) { + o.Status = v +} + +// GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeRawWeb3EthMethodV1Response) GetData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeRawWeb3EthMethodV1Response) GetDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return &o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthMethodV1Response) HasData() bool { + if o != nil && IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given interface{} and assigns it to the Data field. +func (o *InvokeRawWeb3EthMethodV1Response) SetData(v interface{}) { + o.Data = v +} + +// GetErrorDetail returns the ErrorDetail field value if set, zero value otherwise. +func (o *InvokeRawWeb3EthMethodV1Response) GetErrorDetail() string { + if o == nil || IsNil(o.ErrorDetail) { + var ret string + return ret + } + return *o.ErrorDetail +} + +// GetErrorDetailOk returns a tuple with the ErrorDetail field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRawWeb3EthMethodV1Response) GetErrorDetailOk() (*string, bool) { + if o == nil || IsNil(o.ErrorDetail) { + return nil, false + } + return o.ErrorDetail, true +} + +// HasErrorDetail returns a boolean if a field has been set. +func (o *InvokeRawWeb3EthMethodV1Response) HasErrorDetail() bool { + if o != nil && !IsNil(o.ErrorDetail) { + return true + } + + return false +} + +// SetErrorDetail gets a reference to the given string and assigns it to the ErrorDetail field. +func (o *InvokeRawWeb3EthMethodV1Response) SetErrorDetail(v string) { + o.ErrorDetail = &v +} + +func (o InvokeRawWeb3EthMethodV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeRawWeb3EthMethodV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + if o.Data != nil { + toSerialize["data"] = o.Data + } + if !IsNil(o.ErrorDetail) { + toSerialize["errorDetail"] = o.ErrorDetail + } + return toSerialize, nil +} + +type NullableInvokeRawWeb3EthMethodV1Response struct { + value *InvokeRawWeb3EthMethodV1Response + isSet bool +} + +func (v NullableInvokeRawWeb3EthMethodV1Response) Get() *InvokeRawWeb3EthMethodV1Response { + return v.value +} + +func (v *NullableInvokeRawWeb3EthMethodV1Response) Set(val *InvokeRawWeb3EthMethodV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeRawWeb3EthMethodV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeRawWeb3EthMethodV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeRawWeb3EthMethodV1Response(val *InvokeRawWeb3EthMethodV1Response) *NullableInvokeRawWeb3EthMethodV1Response { + return &NullableInvokeRawWeb3EthMethodV1Response{value: val, isSet: true} +} + +func (v NullableInvokeRawWeb3EthMethodV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeRawWeb3EthMethodV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_private_transaction_config.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_private_transaction_config.go new file mode 100644 index 00000000000..193542cc2ba --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_private_transaction_config.go @@ -0,0 +1,337 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the QuorumPrivateTransactionConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &QuorumPrivateTransactionConfig{} + +// QuorumPrivateTransactionConfig struct for QuorumPrivateTransactionConfig +type QuorumPrivateTransactionConfig struct { + PrivateFrom *string `json:"privateFrom,omitempty"` + PrivateFor []interface{} `json:"privateFor"` + IsPrivate *bool `json:"isPrivate,omitempty"` + GasPrice *float32 `json:"gasPrice,omitempty"` + GasLimit *float32 `json:"gasLimit,omitempty"` + PrivateKey *string `json:"privateKey,omitempty"` + PrivacyGroupId *string `json:"privacyGroupId,omitempty"` +} + +// NewQuorumPrivateTransactionConfig instantiates a new QuorumPrivateTransactionConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQuorumPrivateTransactionConfig(privateFor []interface{}) *QuorumPrivateTransactionConfig { + this := QuorumPrivateTransactionConfig{} + this.PrivateFor = privateFor + var isPrivate bool = false + this.IsPrivate = &isPrivate + return &this +} + +// NewQuorumPrivateTransactionConfigWithDefaults instantiates a new QuorumPrivateTransactionConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQuorumPrivateTransactionConfigWithDefaults() *QuorumPrivateTransactionConfig { + this := QuorumPrivateTransactionConfig{} + var isPrivate bool = false + this.IsPrivate = &isPrivate + return &this +} + +// GetPrivateFrom returns the PrivateFrom field value if set, zero value otherwise. +func (o *QuorumPrivateTransactionConfig) GetPrivateFrom() string { + if o == nil || IsNil(o.PrivateFrom) { + var ret string + return ret + } + return *o.PrivateFrom +} + +// GetPrivateFromOk returns a tuple with the PrivateFrom field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumPrivateTransactionConfig) GetPrivateFromOk() (*string, bool) { + if o == nil || IsNil(o.PrivateFrom) { + return nil, false + } + return o.PrivateFrom, true +} + +// HasPrivateFrom returns a boolean if a field has been set. +func (o *QuorumPrivateTransactionConfig) HasPrivateFrom() bool { + if o != nil && !IsNil(o.PrivateFrom) { + return true + } + + return false +} + +// SetPrivateFrom gets a reference to the given string and assigns it to the PrivateFrom field. +func (o *QuorumPrivateTransactionConfig) SetPrivateFrom(v string) { + o.PrivateFrom = &v +} + +// GetPrivateFor returns the PrivateFor field value +func (o *QuorumPrivateTransactionConfig) GetPrivateFor() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.PrivateFor +} + +// GetPrivateForOk returns a tuple with the PrivateFor field value +// and a boolean to check if the value has been set. +func (o *QuorumPrivateTransactionConfig) GetPrivateForOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.PrivateFor, true +} + +// SetPrivateFor sets field value +func (o *QuorumPrivateTransactionConfig) SetPrivateFor(v []interface{}) { + o.PrivateFor = v +} + +// GetIsPrivate returns the IsPrivate field value if set, zero value otherwise. +func (o *QuorumPrivateTransactionConfig) GetIsPrivate() bool { + if o == nil || IsNil(o.IsPrivate) { + var ret bool + return ret + } + return *o.IsPrivate +} + +// GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumPrivateTransactionConfig) GetIsPrivateOk() (*bool, bool) { + if o == nil || IsNil(o.IsPrivate) { + return nil, false + } + return o.IsPrivate, true +} + +// HasIsPrivate returns a boolean if a field has been set. +func (o *QuorumPrivateTransactionConfig) HasIsPrivate() bool { + if o != nil && !IsNil(o.IsPrivate) { + return true + } + + return false +} + +// SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field. +func (o *QuorumPrivateTransactionConfig) SetIsPrivate(v bool) { + o.IsPrivate = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *QuorumPrivateTransactionConfig) GetGasPrice() float32 { + if o == nil || IsNil(o.GasPrice) { + var ret float32 + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumPrivateTransactionConfig) GetGasPriceOk() (*float32, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *QuorumPrivateTransactionConfig) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given float32 and assigns it to the GasPrice field. +func (o *QuorumPrivateTransactionConfig) SetGasPrice(v float32) { + o.GasPrice = &v +} + +// GetGasLimit returns the GasLimit field value if set, zero value otherwise. +func (o *QuorumPrivateTransactionConfig) GetGasLimit() float32 { + if o == nil || IsNil(o.GasLimit) { + var ret float32 + return ret + } + return *o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumPrivateTransactionConfig) GetGasLimitOk() (*float32, bool) { + if o == nil || IsNil(o.GasLimit) { + return nil, false + } + return o.GasLimit, true +} + +// HasGasLimit returns a boolean if a field has been set. +func (o *QuorumPrivateTransactionConfig) HasGasLimit() bool { + if o != nil && !IsNil(o.GasLimit) { + return true + } + + return false +} + +// SetGasLimit gets a reference to the given float32 and assigns it to the GasLimit field. +func (o *QuorumPrivateTransactionConfig) SetGasLimit(v float32) { + o.GasLimit = &v +} + +// GetPrivateKey returns the PrivateKey field value if set, zero value otherwise. +func (o *QuorumPrivateTransactionConfig) GetPrivateKey() string { + if o == nil || IsNil(o.PrivateKey) { + var ret string + return ret + } + return *o.PrivateKey +} + +// GetPrivateKeyOk returns a tuple with the PrivateKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumPrivateTransactionConfig) GetPrivateKeyOk() (*string, bool) { + if o == nil || IsNil(o.PrivateKey) { + return nil, false + } + return o.PrivateKey, true +} + +// HasPrivateKey returns a boolean if a field has been set. +func (o *QuorumPrivateTransactionConfig) HasPrivateKey() bool { + if o != nil && !IsNil(o.PrivateKey) { + return true + } + + return false +} + +// SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field. +func (o *QuorumPrivateTransactionConfig) SetPrivateKey(v string) { + o.PrivateKey = &v +} + +// GetPrivacyGroupId returns the PrivacyGroupId field value if set, zero value otherwise. +func (o *QuorumPrivateTransactionConfig) GetPrivacyGroupId() string { + if o == nil || IsNil(o.PrivacyGroupId) { + var ret string + return ret + } + return *o.PrivacyGroupId +} + +// GetPrivacyGroupIdOk returns a tuple with the PrivacyGroupId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumPrivateTransactionConfig) GetPrivacyGroupIdOk() (*string, bool) { + if o == nil || IsNil(o.PrivacyGroupId) { + return nil, false + } + return o.PrivacyGroupId, true +} + +// HasPrivacyGroupId returns a boolean if a field has been set. +func (o *QuorumPrivateTransactionConfig) HasPrivacyGroupId() bool { + if o != nil && !IsNil(o.PrivacyGroupId) { + return true + } + + return false +} + +// SetPrivacyGroupId gets a reference to the given string and assigns it to the PrivacyGroupId field. +func (o *QuorumPrivateTransactionConfig) SetPrivacyGroupId(v string) { + o.PrivacyGroupId = &v +} + +func (o QuorumPrivateTransactionConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o QuorumPrivateTransactionConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.PrivateFrom) { + toSerialize["privateFrom"] = o.PrivateFrom + } + toSerialize["privateFor"] = o.PrivateFor + if !IsNil(o.IsPrivate) { + toSerialize["isPrivate"] = o.IsPrivate + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.GasLimit) { + toSerialize["gasLimit"] = o.GasLimit + } + if !IsNil(o.PrivateKey) { + toSerialize["privateKey"] = o.PrivateKey + } + if !IsNil(o.PrivacyGroupId) { + toSerialize["privacyGroupId"] = o.PrivacyGroupId + } + return toSerialize, nil +} + +type NullableQuorumPrivateTransactionConfig struct { + value *QuorumPrivateTransactionConfig + isSet bool +} + +func (v NullableQuorumPrivateTransactionConfig) Get() *QuorumPrivateTransactionConfig { + return v.value +} + +func (v *NullableQuorumPrivateTransactionConfig) Set(val *QuorumPrivateTransactionConfig) { + v.value = val + v.isSet = true +} + +func (v NullableQuorumPrivateTransactionConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableQuorumPrivateTransactionConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQuorumPrivateTransactionConfig(val *QuorumPrivateTransactionConfig) *NullableQuorumPrivateTransactionConfig { + return &NullableQuorumPrivateTransactionConfig{value: val, isSet: true} +} + +func (v NullableQuorumPrivateTransactionConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQuorumPrivateTransactionConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_transaction_config.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_transaction_config.go new file mode 100644 index 00000000000..e9da61904e8 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_transaction_config.go @@ -0,0 +1,410 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the QuorumTransactionConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &QuorumTransactionConfig{} + +// QuorumTransactionConfig struct for QuorumTransactionConfig +type QuorumTransactionConfig struct { + RawTransaction *string `json:"rawTransaction,omitempty"` + From *QuorumTransactionConfigFrom `json:"from,omitempty"` + To *QuorumTransactionConfigTo `json:"to,omitempty"` + Value *QuorumTransactionConfigFrom `json:"value,omitempty"` + Gas *QuorumTransactionConfigFrom `json:"gas,omitempty"` + GasPrice *QuorumTransactionConfigFrom `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + Data *QuorumTransactionConfigTo `json:"data,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _QuorumTransactionConfig QuorumTransactionConfig + +// NewQuorumTransactionConfig instantiates a new QuorumTransactionConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQuorumTransactionConfig() *QuorumTransactionConfig { + this := QuorumTransactionConfig{} + return &this +} + +// NewQuorumTransactionConfigWithDefaults instantiates a new QuorumTransactionConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQuorumTransactionConfigWithDefaults() *QuorumTransactionConfig { + this := QuorumTransactionConfig{} + return &this +} + +// GetRawTransaction returns the RawTransaction field value if set, zero value otherwise. +func (o *QuorumTransactionConfig) GetRawTransaction() string { + if o == nil || IsNil(o.RawTransaction) { + var ret string + return ret + } + return *o.RawTransaction +} + +// GetRawTransactionOk returns a tuple with the RawTransaction field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumTransactionConfig) GetRawTransactionOk() (*string, bool) { + if o == nil || IsNil(o.RawTransaction) { + return nil, false + } + return o.RawTransaction, true +} + +// HasRawTransaction returns a boolean if a field has been set. +func (o *QuorumTransactionConfig) HasRawTransaction() bool { + if o != nil && !IsNil(o.RawTransaction) { + return true + } + + return false +} + +// SetRawTransaction gets a reference to the given string and assigns it to the RawTransaction field. +func (o *QuorumTransactionConfig) SetRawTransaction(v string) { + o.RawTransaction = &v +} + +// GetFrom returns the From field value if set, zero value otherwise. +func (o *QuorumTransactionConfig) GetFrom() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.From) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.From +} + +// GetFromOk returns a tuple with the From field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumTransactionConfig) GetFromOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.From) { + return nil, false + } + return o.From, true +} + +// HasFrom returns a boolean if a field has been set. +func (o *QuorumTransactionConfig) HasFrom() bool { + if o != nil && !IsNil(o.From) { + return true + } + + return false +} + +// SetFrom gets a reference to the given QuorumTransactionConfigFrom and assigns it to the From field. +func (o *QuorumTransactionConfig) SetFrom(v QuorumTransactionConfigFrom) { + o.From = &v +} + +// GetTo returns the To field value if set, zero value otherwise. +func (o *QuorumTransactionConfig) GetTo() QuorumTransactionConfigTo { + if o == nil || IsNil(o.To) { + var ret QuorumTransactionConfigTo + return ret + } + return *o.To +} + +// GetToOk returns a tuple with the To field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumTransactionConfig) GetToOk() (*QuorumTransactionConfigTo, bool) { + if o == nil || IsNil(o.To) { + return nil, false + } + return o.To, true +} + +// HasTo returns a boolean if a field has been set. +func (o *QuorumTransactionConfig) HasTo() bool { + if o != nil && !IsNil(o.To) { + return true + } + + return false +} + +// SetTo gets a reference to the given QuorumTransactionConfigTo and assigns it to the To field. +func (o *QuorumTransactionConfig) SetTo(v QuorumTransactionConfigTo) { + o.To = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *QuorumTransactionConfig) GetValue() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.Value) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumTransactionConfig) GetValueOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *QuorumTransactionConfig) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given QuorumTransactionConfigFrom and assigns it to the Value field. +func (o *QuorumTransactionConfig) SetValue(v QuorumTransactionConfigFrom) { + o.Value = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *QuorumTransactionConfig) GetGas() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.Gas) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumTransactionConfig) GetGasOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *QuorumTransactionConfig) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given QuorumTransactionConfigFrom and assigns it to the Gas field. +func (o *QuorumTransactionConfig) SetGas(v QuorumTransactionConfigFrom) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *QuorumTransactionConfig) GetGasPrice() QuorumTransactionConfigFrom { + if o == nil || IsNil(o.GasPrice) { + var ret QuorumTransactionConfigFrom + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumTransactionConfig) GetGasPriceOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *QuorumTransactionConfig) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given QuorumTransactionConfigFrom and assigns it to the GasPrice field. +func (o *QuorumTransactionConfig) SetGasPrice(v QuorumTransactionConfigFrom) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *QuorumTransactionConfig) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumTransactionConfig) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *QuorumTransactionConfig) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *QuorumTransactionConfig) SetNonce(v float32) { + o.Nonce = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *QuorumTransactionConfig) GetData() QuorumTransactionConfigTo { + if o == nil || IsNil(o.Data) { + var ret QuorumTransactionConfigTo + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QuorumTransactionConfig) GetDataOk() (*QuorumTransactionConfigTo, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *QuorumTransactionConfig) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given QuorumTransactionConfigTo and assigns it to the Data field. +func (o *QuorumTransactionConfig) SetData(v QuorumTransactionConfigTo) { + o.Data = &v +} + +func (o QuorumTransactionConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o QuorumTransactionConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.RawTransaction) { + toSerialize["rawTransaction"] = o.RawTransaction + } + if !IsNil(o.From) { + toSerialize["from"] = o.From + } + if !IsNil(o.To) { + toSerialize["to"] = o.To + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *QuorumTransactionConfig) UnmarshalJSON(bytes []byte) (err error) { + varQuorumTransactionConfig := _QuorumTransactionConfig{} + + if err = json.Unmarshal(bytes, &varQuorumTransactionConfig); err == nil { + *o = QuorumTransactionConfig(varQuorumTransactionConfig) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "rawTransaction") + delete(additionalProperties, "from") + delete(additionalProperties, "to") + delete(additionalProperties, "value") + delete(additionalProperties, "gas") + delete(additionalProperties, "gasPrice") + delete(additionalProperties, "nonce") + delete(additionalProperties, "data") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableQuorumTransactionConfig struct { + value *QuorumTransactionConfig + isSet bool +} + +func (v NullableQuorumTransactionConfig) Get() *QuorumTransactionConfig { + return v.value +} + +func (v *NullableQuorumTransactionConfig) Set(val *QuorumTransactionConfig) { + v.value = val + v.isSet = true +} + +func (v NullableQuorumTransactionConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableQuorumTransactionConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQuorumTransactionConfig(val *QuorumTransactionConfig) *NullableQuorumTransactionConfig { + return &NullableQuorumTransactionConfig{value: val, isSet: true} +} + +func (v NullableQuorumTransactionConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQuorumTransactionConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_transaction_config_from.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_transaction_config_from.go new file mode 100644 index 00000000000..06864869462 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_transaction_config_from.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" + "fmt" +) + +// QuorumTransactionConfigFrom - struct for QuorumTransactionConfigFrom +type QuorumTransactionConfigFrom struct { + Float32 *float32 + String *string +} + +// float32AsQuorumTransactionConfigFrom is a convenience function that returns float32 wrapped in QuorumTransactionConfigFrom +func Float32AsQuorumTransactionConfigFrom(v *float32) QuorumTransactionConfigFrom { + return QuorumTransactionConfigFrom{ + Float32: v, + } +} + +// stringAsQuorumTransactionConfigFrom is a convenience function that returns string wrapped in QuorumTransactionConfigFrom +func StringAsQuorumTransactionConfigFrom(v *string) QuorumTransactionConfigFrom { + return QuorumTransactionConfigFrom{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *QuorumTransactionConfigFrom) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Float32 + err = newStrictDecoder(data).Decode(&dst.Float32) + if err == nil { + jsonFloat32, _ := json.Marshal(dst.Float32) + if string(jsonFloat32) == "{}" { // empty struct + dst.Float32 = nil + } else { + match++ + } + } else { + dst.Float32 = nil + } + + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Float32 = nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(QuorumTransactionConfigFrom)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(QuorumTransactionConfigFrom)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src QuorumTransactionConfigFrom) MarshalJSON() ([]byte, error) { + if src.Float32 != nil { + return json.Marshal(&src.Float32) + } + + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *QuorumTransactionConfigFrom) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Float32 != nil { + return obj.Float32 + } + + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableQuorumTransactionConfigFrom struct { + value *QuorumTransactionConfigFrom + isSet bool +} + +func (v NullableQuorumTransactionConfigFrom) Get() *QuorumTransactionConfigFrom { + return v.value +} + +func (v *NullableQuorumTransactionConfigFrom) Set(val *QuorumTransactionConfigFrom) { + v.value = val + v.isSet = true +} + +func (v NullableQuorumTransactionConfigFrom) IsSet() bool { + return v.isSet +} + +func (v *NullableQuorumTransactionConfigFrom) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQuorumTransactionConfigFrom(val *QuorumTransactionConfigFrom) *NullableQuorumTransactionConfigFrom { + return &NullableQuorumTransactionConfigFrom{value: val, isSet: true} +} + +func (v NullableQuorumTransactionConfigFrom) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQuorumTransactionConfigFrom) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_transaction_config_to.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_transaction_config_to.go new file mode 100644 index 00000000000..aae309d712e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_quorum_transaction_config_to.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" + "fmt" +) + +// QuorumTransactionConfigTo - struct for QuorumTransactionConfigTo +type QuorumTransactionConfigTo struct { + String *string +} + +// stringAsQuorumTransactionConfigTo is a convenience function that returns string wrapped in QuorumTransactionConfigTo +func StringAsQuorumTransactionConfigTo(v *string) QuorumTransactionConfigTo { + return QuorumTransactionConfigTo{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *QuorumTransactionConfigTo) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(QuorumTransactionConfigTo)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(QuorumTransactionConfigTo)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src QuorumTransactionConfigTo) MarshalJSON() ([]byte, error) { + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *QuorumTransactionConfigTo) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableQuorumTransactionConfigTo struct { + value *QuorumTransactionConfigTo + isSet bool +} + +func (v NullableQuorumTransactionConfigTo) Get() *QuorumTransactionConfigTo { + return v.value +} + +func (v *NullableQuorumTransactionConfigTo) Set(val *QuorumTransactionConfigTo) { + v.value = val + v.isSet = true +} + +func (v NullableQuorumTransactionConfigTo) IsSet() bool { + return v.isSet +} + +func (v *NullableQuorumTransactionConfigTo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQuorumTransactionConfigTo(val *QuorumTransactionConfigTo) *NullableQuorumTransactionConfigTo { + return &NullableQuorumTransactionConfigTo{value: val, isSet: true} +} + +func (v NullableQuorumTransactionConfigTo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQuorumTransactionConfigTo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_run_transaction_request.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_run_transaction_request.go new file mode 100644 index 00000000000..b5e22355dba --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_run_transaction_request.go @@ -0,0 +1,221 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the RunTransactionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionRequest{} + +// RunTransactionRequest struct for RunTransactionRequest +type RunTransactionRequest struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + TransactionConfig QuorumTransactionConfig `json:"transactionConfig"` + // The amount of milliseconds to wait for a transaction receipt with thehash of the transaction(which indicates successful execution) beforegiving up and crashing. + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + PrivateTransactionConfig *QuorumPrivateTransactionConfig `json:"privateTransactionConfig,omitempty"` +} + +// NewRunTransactionRequest instantiates a new RunTransactionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionRequest(web3SigningCredential Web3SigningCredential, transactionConfig QuorumTransactionConfig) *RunTransactionRequest { + this := RunTransactionRequest{} + this.Web3SigningCredential = web3SigningCredential + this.TransactionConfig = transactionConfig + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// NewRunTransactionRequestWithDefaults instantiates a new RunTransactionRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionRequestWithDefaults() *RunTransactionRequest { + this := RunTransactionRequest{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *RunTransactionRequest) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *RunTransactionRequest) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetTransactionConfig returns the TransactionConfig field value +func (o *RunTransactionRequest) GetTransactionConfig() QuorumTransactionConfig { + if o == nil { + var ret QuorumTransactionConfig + return ret + } + + return o.TransactionConfig +} + +// GetTransactionConfigOk returns a tuple with the TransactionConfig field value +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetTransactionConfigOk() (*QuorumTransactionConfig, bool) { + if o == nil { + return nil, false + } + return &o.TransactionConfig, true +} + +// SetTransactionConfig sets field value +func (o *RunTransactionRequest) SetTransactionConfig(v QuorumTransactionConfig) { + o.TransactionConfig = v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *RunTransactionRequest) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *RunTransactionRequest) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *RunTransactionRequest) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetPrivateTransactionConfig returns the PrivateTransactionConfig field value if set, zero value otherwise. +func (o *RunTransactionRequest) GetPrivateTransactionConfig() QuorumPrivateTransactionConfig { + if o == nil || IsNil(o.PrivateTransactionConfig) { + var ret QuorumPrivateTransactionConfig + return ret + } + return *o.PrivateTransactionConfig +} + +// GetPrivateTransactionConfigOk returns a tuple with the PrivateTransactionConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RunTransactionRequest) GetPrivateTransactionConfigOk() (*QuorumPrivateTransactionConfig, bool) { + if o == nil || IsNil(o.PrivateTransactionConfig) { + return nil, false + } + return o.PrivateTransactionConfig, true +} + +// HasPrivateTransactionConfig returns a boolean if a field has been set. +func (o *RunTransactionRequest) HasPrivateTransactionConfig() bool { + if o != nil && !IsNil(o.PrivateTransactionConfig) { + return true + } + + return false +} + +// SetPrivateTransactionConfig gets a reference to the given QuorumPrivateTransactionConfig and assigns it to the PrivateTransactionConfig field. +func (o *RunTransactionRequest) SetPrivateTransactionConfig(v QuorumPrivateTransactionConfig) { + o.PrivateTransactionConfig = &v +} + +func (o RunTransactionRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["transactionConfig"] = o.TransactionConfig + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + if !IsNil(o.PrivateTransactionConfig) { + toSerialize["privateTransactionConfig"] = o.PrivateTransactionConfig + } + return toSerialize, nil +} + +type NullableRunTransactionRequest struct { + value *RunTransactionRequest + isSet bool +} + +func (v NullableRunTransactionRequest) Get() *RunTransactionRequest { + return v.value +} + +func (v *NullableRunTransactionRequest) Set(val *RunTransactionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionRequest(val *RunTransactionRequest) *NullableRunTransactionRequest { + return &NullableRunTransactionRequest{value: val, isSet: true} +} + +func (v NullableRunTransactionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_run_transaction_response.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_run_transaction_response.go new file mode 100644 index 00000000000..7739575a262 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_run_transaction_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the RunTransactionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionResponse{} + +// RunTransactionResponse struct for RunTransactionResponse +type RunTransactionResponse struct { + TransactionReceipt Web3TransactionReceipt `json:"transactionReceipt"` +} + +// NewRunTransactionResponse instantiates a new RunTransactionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionResponse(transactionReceipt Web3TransactionReceipt) *RunTransactionResponse { + this := RunTransactionResponse{} + this.TransactionReceipt = transactionReceipt + return &this +} + +// NewRunTransactionResponseWithDefaults instantiates a new RunTransactionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionResponseWithDefaults() *RunTransactionResponse { + this := RunTransactionResponse{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value +func (o *RunTransactionResponse) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil { + var ret Web3TransactionReceipt + return ret + } + + return o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value +// and a boolean to check if the value has been set. +func (o *RunTransactionResponse) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil { + return nil, false + } + return &o.TransactionReceipt, true +} + +// SetTransactionReceipt sets field value +func (o *RunTransactionResponse) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = v +} + +func (o RunTransactionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionReceipt"] = o.TransactionReceipt + return toSerialize, nil +} + +type NullableRunTransactionResponse struct { + value *RunTransactionResponse + isSet bool +} + +func (v NullableRunTransactionResponse) Get() *RunTransactionResponse { + return v.value +} + +func (v *NullableRunTransactionResponse) Set(val *RunTransactionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionResponse(val *RunTransactionResponse) *NullableRunTransactionResponse { + return &NullableRunTransactionResponse{value: val, isSet: true} +} + +func (v NullableRunTransactionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact.go new file mode 100644 index 00000000000..4a5490d8198 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact.go @@ -0,0 +1,441 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifact type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifact{} + +// SolidityContractJsonArtifact struct for SolidityContractJsonArtifact +type SolidityContractJsonArtifact struct { + ContractName string `json:"contractName"` + Metadata *string `json:"metadata,omitempty"` + Bytecode *string `json:"bytecode,omitempty"` + DeployedBytecode *string `json:"deployedBytecode,omitempty"` + SourceMap *string `json:"sourceMap,omitempty"` + DeployedSourceMap *string `json:"deployedSourceMap,omitempty"` + SourcePath *string `json:"sourcePath,omitempty"` + Compiler *SolidityContractJsonArtifactCompiler `json:"compiler,omitempty"` + FunctionHashes map[string]interface{} `json:"functionHashes,omitempty"` + GasEstimates *SolidityContractJsonArtifactGasEstimates `json:"gasEstimates,omitempty"` +} + +// NewSolidityContractJsonArtifact instantiates a new SolidityContractJsonArtifact object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifact(contractName string) *SolidityContractJsonArtifact { + this := SolidityContractJsonArtifact{} + this.ContractName = contractName + return &this +} + +// NewSolidityContractJsonArtifactWithDefaults instantiates a new SolidityContractJsonArtifact object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactWithDefaults() *SolidityContractJsonArtifact { + this := SolidityContractJsonArtifact{} + return &this +} + +// GetContractName returns the ContractName field value +func (o *SolidityContractJsonArtifact) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *SolidityContractJsonArtifact) SetContractName(v string) { + o.ContractName = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetMetadata() string { + if o == nil || IsNil(o.Metadata) { + var ret string + return ret + } + return *o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetMetadataOk() (*string, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasMetadata() bool { + if o != nil && !IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given string and assigns it to the Metadata field. +func (o *SolidityContractJsonArtifact) SetMetadata(v string) { + o.Metadata = &v +} + +// GetBytecode returns the Bytecode field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetBytecode() string { + if o == nil || IsNil(o.Bytecode) { + var ret string + return ret + } + return *o.Bytecode +} + +// GetBytecodeOk returns a tuple with the Bytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.Bytecode) { + return nil, false + } + return o.Bytecode, true +} + +// HasBytecode returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasBytecode() bool { + if o != nil && !IsNil(o.Bytecode) { + return true + } + + return false +} + +// SetBytecode gets a reference to the given string and assigns it to the Bytecode field. +func (o *SolidityContractJsonArtifact) SetBytecode(v string) { + o.Bytecode = &v +} + +// GetDeployedBytecode returns the DeployedBytecode field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetDeployedBytecode() string { + if o == nil || IsNil(o.DeployedBytecode) { + var ret string + return ret + } + return *o.DeployedBytecode +} + +// GetDeployedBytecodeOk returns a tuple with the DeployedBytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetDeployedBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.DeployedBytecode) { + return nil, false + } + return o.DeployedBytecode, true +} + +// HasDeployedBytecode returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasDeployedBytecode() bool { + if o != nil && !IsNil(o.DeployedBytecode) { + return true + } + + return false +} + +// SetDeployedBytecode gets a reference to the given string and assigns it to the DeployedBytecode field. +func (o *SolidityContractJsonArtifact) SetDeployedBytecode(v string) { + o.DeployedBytecode = &v +} + +// GetSourceMap returns the SourceMap field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetSourceMap() string { + if o == nil || IsNil(o.SourceMap) { + var ret string + return ret + } + return *o.SourceMap +} + +// GetSourceMapOk returns a tuple with the SourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.SourceMap) { + return nil, false + } + return o.SourceMap, true +} + +// HasSourceMap returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasSourceMap() bool { + if o != nil && !IsNil(o.SourceMap) { + return true + } + + return false +} + +// SetSourceMap gets a reference to the given string and assigns it to the SourceMap field. +func (o *SolidityContractJsonArtifact) SetSourceMap(v string) { + o.SourceMap = &v +} + +// GetDeployedSourceMap returns the DeployedSourceMap field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetDeployedSourceMap() string { + if o == nil || IsNil(o.DeployedSourceMap) { + var ret string + return ret + } + return *o.DeployedSourceMap +} + +// GetDeployedSourceMapOk returns a tuple with the DeployedSourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetDeployedSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.DeployedSourceMap) { + return nil, false + } + return o.DeployedSourceMap, true +} + +// HasDeployedSourceMap returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasDeployedSourceMap() bool { + if o != nil && !IsNil(o.DeployedSourceMap) { + return true + } + + return false +} + +// SetDeployedSourceMap gets a reference to the given string and assigns it to the DeployedSourceMap field. +func (o *SolidityContractJsonArtifact) SetDeployedSourceMap(v string) { + o.DeployedSourceMap = &v +} + +// GetSourcePath returns the SourcePath field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetSourcePath() string { + if o == nil || IsNil(o.SourcePath) { + var ret string + return ret + } + return *o.SourcePath +} + +// GetSourcePathOk returns a tuple with the SourcePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetSourcePathOk() (*string, bool) { + if o == nil || IsNil(o.SourcePath) { + return nil, false + } + return o.SourcePath, true +} + +// HasSourcePath returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasSourcePath() bool { + if o != nil && !IsNil(o.SourcePath) { + return true + } + + return false +} + +// SetSourcePath gets a reference to the given string and assigns it to the SourcePath field. +func (o *SolidityContractJsonArtifact) SetSourcePath(v string) { + o.SourcePath = &v +} + +// GetCompiler returns the Compiler field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetCompiler() SolidityContractJsonArtifactCompiler { + if o == nil || IsNil(o.Compiler) { + var ret SolidityContractJsonArtifactCompiler + return ret + } + return *o.Compiler +} + +// GetCompilerOk returns a tuple with the Compiler field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetCompilerOk() (*SolidityContractJsonArtifactCompiler, bool) { + if o == nil || IsNil(o.Compiler) { + return nil, false + } + return o.Compiler, true +} + +// HasCompiler returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasCompiler() bool { + if o != nil && !IsNil(o.Compiler) { + return true + } + + return false +} + +// SetCompiler gets a reference to the given SolidityContractJsonArtifactCompiler and assigns it to the Compiler field. +func (o *SolidityContractJsonArtifact) SetCompiler(v SolidityContractJsonArtifactCompiler) { + o.Compiler = &v +} + +// GetFunctionHashes returns the FunctionHashes field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetFunctionHashes() map[string]interface{} { + if o == nil || IsNil(o.FunctionHashes) { + var ret map[string]interface{} + return ret + } + return o.FunctionHashes +} + +// GetFunctionHashesOk returns a tuple with the FunctionHashes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetFunctionHashesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.FunctionHashes) { + return map[string]interface{}{}, false + } + return o.FunctionHashes, true +} + +// HasFunctionHashes returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasFunctionHashes() bool { + if o != nil && !IsNil(o.FunctionHashes) { + return true + } + + return false +} + +// SetFunctionHashes gets a reference to the given map[string]interface{} and assigns it to the FunctionHashes field. +func (o *SolidityContractJsonArtifact) SetFunctionHashes(v map[string]interface{}) { + o.FunctionHashes = v +} + +// GetGasEstimates returns the GasEstimates field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetGasEstimates() SolidityContractJsonArtifactGasEstimates { + if o == nil || IsNil(o.GasEstimates) { + var ret SolidityContractJsonArtifactGasEstimates + return ret + } + return *o.GasEstimates +} + +// GetGasEstimatesOk returns a tuple with the GasEstimates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetGasEstimatesOk() (*SolidityContractJsonArtifactGasEstimates, bool) { + if o == nil || IsNil(o.GasEstimates) { + return nil, false + } + return o.GasEstimates, true +} + +// HasGasEstimates returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasGasEstimates() bool { + if o != nil && !IsNil(o.GasEstimates) { + return true + } + + return false +} + +// SetGasEstimates gets a reference to the given SolidityContractJsonArtifactGasEstimates and assigns it to the GasEstimates field. +func (o *SolidityContractJsonArtifact) SetGasEstimates(v SolidityContractJsonArtifactGasEstimates) { + o.GasEstimates = &v +} + +func (o SolidityContractJsonArtifact) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifact) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + if !IsNil(o.Metadata) { + toSerialize["metadata"] = o.Metadata + } + if !IsNil(o.Bytecode) { + toSerialize["bytecode"] = o.Bytecode + } + if !IsNil(o.DeployedBytecode) { + toSerialize["deployedBytecode"] = o.DeployedBytecode + } + if !IsNil(o.SourceMap) { + toSerialize["sourceMap"] = o.SourceMap + } + if !IsNil(o.DeployedSourceMap) { + toSerialize["deployedSourceMap"] = o.DeployedSourceMap + } + if !IsNil(o.SourcePath) { + toSerialize["sourcePath"] = o.SourcePath + } + if !IsNil(o.Compiler) { + toSerialize["compiler"] = o.Compiler + } + if !IsNil(o.FunctionHashes) { + toSerialize["functionHashes"] = o.FunctionHashes + } + if !IsNil(o.GasEstimates) { + toSerialize["gasEstimates"] = o.GasEstimates + } + return toSerialize, nil +} + +type NullableSolidityContractJsonArtifact struct { + value *SolidityContractJsonArtifact + isSet bool +} + +func (v NullableSolidityContractJsonArtifact) Get() *SolidityContractJsonArtifact { + return v.value +} + +func (v *NullableSolidityContractJsonArtifact) Set(val *SolidityContractJsonArtifact) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifact) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifact) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifact(val *SolidityContractJsonArtifact) *NullableSolidityContractJsonArtifact { + return &NullableSolidityContractJsonArtifact{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifact) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifact) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_compiler.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_compiler.go new file mode 100644 index 00000000000..9797c8b82ef --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_compiler.go @@ -0,0 +1,188 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifactCompiler type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifactCompiler{} + +// SolidityContractJsonArtifactCompiler struct for SolidityContractJsonArtifactCompiler +type SolidityContractJsonArtifactCompiler struct { + Name *string `json:"name,omitempty"` + Version *string `json:"version,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SolidityContractJsonArtifactCompiler SolidityContractJsonArtifactCompiler + +// NewSolidityContractJsonArtifactCompiler instantiates a new SolidityContractJsonArtifactCompiler object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifactCompiler() *SolidityContractJsonArtifactCompiler { + this := SolidityContractJsonArtifactCompiler{} + return &this +} + +// NewSolidityContractJsonArtifactCompilerWithDefaults instantiates a new SolidityContractJsonArtifactCompiler object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactCompilerWithDefaults() *SolidityContractJsonArtifactCompiler { + this := SolidityContractJsonArtifactCompiler{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactCompiler) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactCompiler) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactCompiler) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *SolidityContractJsonArtifactCompiler) SetName(v string) { + o.Name = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactCompiler) GetVersion() string { + if o == nil || IsNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactCompiler) GetVersionOk() (*string, bool) { + if o == nil || IsNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactCompiler) HasVersion() bool { + if o != nil && !IsNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *SolidityContractJsonArtifactCompiler) SetVersion(v string) { + o.Version = &v +} + +func (o SolidityContractJsonArtifactCompiler) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifactCompiler) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Version) { + toSerialize["version"] = o.Version + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SolidityContractJsonArtifactCompiler) UnmarshalJSON(bytes []byte) (err error) { + varSolidityContractJsonArtifactCompiler := _SolidityContractJsonArtifactCompiler{} + + if err = json.Unmarshal(bytes, &varSolidityContractJsonArtifactCompiler); err == nil { + *o = SolidityContractJsonArtifactCompiler(varSolidityContractJsonArtifactCompiler) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "version") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSolidityContractJsonArtifactCompiler struct { + value *SolidityContractJsonArtifactCompiler + isSet bool +} + +func (v NullableSolidityContractJsonArtifactCompiler) Get() *SolidityContractJsonArtifactCompiler { + return v.value +} + +func (v *NullableSolidityContractJsonArtifactCompiler) Set(val *SolidityContractJsonArtifactCompiler) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifactCompiler) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifactCompiler) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifactCompiler(val *SolidityContractJsonArtifactCompiler) *NullableSolidityContractJsonArtifactCompiler { + return &NullableSolidityContractJsonArtifactCompiler{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifactCompiler) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifactCompiler) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates.go new file mode 100644 index 00000000000..d5329301482 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifactGasEstimates type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifactGasEstimates{} + +// SolidityContractJsonArtifactGasEstimates struct for SolidityContractJsonArtifactGasEstimates +type SolidityContractJsonArtifactGasEstimates struct { + Creation *SolidityContractJsonArtifactGasEstimatesCreation `json:"creation,omitempty"` + External map[string]interface{} `json:"external,omitempty"` +} + +// NewSolidityContractJsonArtifactGasEstimates instantiates a new SolidityContractJsonArtifactGasEstimates object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifactGasEstimates() *SolidityContractJsonArtifactGasEstimates { + this := SolidityContractJsonArtifactGasEstimates{} + return &this +} + +// NewSolidityContractJsonArtifactGasEstimatesWithDefaults instantiates a new SolidityContractJsonArtifactGasEstimates object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactGasEstimatesWithDefaults() *SolidityContractJsonArtifactGasEstimates { + this := SolidityContractJsonArtifactGasEstimates{} + return &this +} + +// GetCreation returns the Creation field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimates) GetCreation() SolidityContractJsonArtifactGasEstimatesCreation { + if o == nil || IsNil(o.Creation) { + var ret SolidityContractJsonArtifactGasEstimatesCreation + return ret + } + return *o.Creation +} + +// GetCreationOk returns a tuple with the Creation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimates) GetCreationOk() (*SolidityContractJsonArtifactGasEstimatesCreation, bool) { + if o == nil || IsNil(o.Creation) { + return nil, false + } + return o.Creation, true +} + +// HasCreation returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimates) HasCreation() bool { + if o != nil && !IsNil(o.Creation) { + return true + } + + return false +} + +// SetCreation gets a reference to the given SolidityContractJsonArtifactGasEstimatesCreation and assigns it to the Creation field. +func (o *SolidityContractJsonArtifactGasEstimates) SetCreation(v SolidityContractJsonArtifactGasEstimatesCreation) { + o.Creation = &v +} + +// GetExternal returns the External field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimates) GetExternal() map[string]interface{} { + if o == nil || IsNil(o.External) { + var ret map[string]interface{} + return ret + } + return o.External +} + +// GetExternalOk returns a tuple with the External field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimates) GetExternalOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.External) { + return map[string]interface{}{}, false + } + return o.External, true +} + +// HasExternal returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimates) HasExternal() bool { + if o != nil && !IsNil(o.External) { + return true + } + + return false +} + +// SetExternal gets a reference to the given map[string]interface{} and assigns it to the External field. +func (o *SolidityContractJsonArtifactGasEstimates) SetExternal(v map[string]interface{}) { + o.External = v +} + +func (o SolidityContractJsonArtifactGasEstimates) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifactGasEstimates) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Creation) { + toSerialize["creation"] = o.Creation + } + if !IsNil(o.External) { + toSerialize["external"] = o.External + } + return toSerialize, nil +} + +type NullableSolidityContractJsonArtifactGasEstimates struct { + value *SolidityContractJsonArtifactGasEstimates + isSet bool +} + +func (v NullableSolidityContractJsonArtifactGasEstimates) Get() *SolidityContractJsonArtifactGasEstimates { + return v.value +} + +func (v *NullableSolidityContractJsonArtifactGasEstimates) Set(val *SolidityContractJsonArtifactGasEstimates) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifactGasEstimates) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifactGasEstimates) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifactGasEstimates(val *SolidityContractJsonArtifactGasEstimates) *NullableSolidityContractJsonArtifactGasEstimates { + return &NullableSolidityContractJsonArtifactGasEstimates{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifactGasEstimates) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifactGasEstimates) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates_creation.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates_creation.go new file mode 100644 index 00000000000..548c46bfaa6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates_creation.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifactGasEstimatesCreation type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifactGasEstimatesCreation{} + +// SolidityContractJsonArtifactGasEstimatesCreation struct for SolidityContractJsonArtifactGasEstimatesCreation +type SolidityContractJsonArtifactGasEstimatesCreation struct { + CodeDepositCost *string `json:"codeDepositCost,omitempty"` + ExecutionCost *string `json:"executionCost,omitempty"` + TotalCost *string `json:"totalCost,omitempty"` +} + +// NewSolidityContractJsonArtifactGasEstimatesCreation instantiates a new SolidityContractJsonArtifactGasEstimatesCreation object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifactGasEstimatesCreation() *SolidityContractJsonArtifactGasEstimatesCreation { + this := SolidityContractJsonArtifactGasEstimatesCreation{} + return &this +} + +// NewSolidityContractJsonArtifactGasEstimatesCreationWithDefaults instantiates a new SolidityContractJsonArtifactGasEstimatesCreation object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactGasEstimatesCreationWithDefaults() *SolidityContractJsonArtifactGasEstimatesCreation { + this := SolidityContractJsonArtifactGasEstimatesCreation{} + return &this +} + +// GetCodeDepositCost returns the CodeDepositCost field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetCodeDepositCost() string { + if o == nil || IsNil(o.CodeDepositCost) { + var ret string + return ret + } + return *o.CodeDepositCost +} + +// GetCodeDepositCostOk returns a tuple with the CodeDepositCost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetCodeDepositCostOk() (*string, bool) { + if o == nil || IsNil(o.CodeDepositCost) { + return nil, false + } + return o.CodeDepositCost, true +} + +// HasCodeDepositCost returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) HasCodeDepositCost() bool { + if o != nil && !IsNil(o.CodeDepositCost) { + return true + } + + return false +} + +// SetCodeDepositCost gets a reference to the given string and assigns it to the CodeDepositCost field. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) SetCodeDepositCost(v string) { + o.CodeDepositCost = &v +} + +// GetExecutionCost returns the ExecutionCost field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetExecutionCost() string { + if o == nil || IsNil(o.ExecutionCost) { + var ret string + return ret + } + return *o.ExecutionCost +} + +// GetExecutionCostOk returns a tuple with the ExecutionCost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetExecutionCostOk() (*string, bool) { + if o == nil || IsNil(o.ExecutionCost) { + return nil, false + } + return o.ExecutionCost, true +} + +// HasExecutionCost returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) HasExecutionCost() bool { + if o != nil && !IsNil(o.ExecutionCost) { + return true + } + + return false +} + +// SetExecutionCost gets a reference to the given string and assigns it to the ExecutionCost field. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) SetExecutionCost(v string) { + o.ExecutionCost = &v +} + +// GetTotalCost returns the TotalCost field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetTotalCost() string { + if o == nil || IsNil(o.TotalCost) { + var ret string + return ret + } + return *o.TotalCost +} + +// GetTotalCostOk returns a tuple with the TotalCost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetTotalCostOk() (*string, bool) { + if o == nil || IsNil(o.TotalCost) { + return nil, false + } + return o.TotalCost, true +} + +// HasTotalCost returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) HasTotalCost() bool { + if o != nil && !IsNil(o.TotalCost) { + return true + } + + return false +} + +// SetTotalCost gets a reference to the given string and assigns it to the TotalCost field. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) SetTotalCost(v string) { + o.TotalCost = &v +} + +func (o SolidityContractJsonArtifactGasEstimatesCreation) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifactGasEstimatesCreation) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.CodeDepositCost) { + toSerialize["codeDepositCost"] = o.CodeDepositCost + } + if !IsNil(o.ExecutionCost) { + toSerialize["executionCost"] = o.ExecutionCost + } + if !IsNil(o.TotalCost) { + toSerialize["totalCost"] = o.TotalCost + } + return toSerialize, nil +} + +type NullableSolidityContractJsonArtifactGasEstimatesCreation struct { + value *SolidityContractJsonArtifactGasEstimatesCreation + isSet bool +} + +func (v NullableSolidityContractJsonArtifactGasEstimatesCreation) Get() *SolidityContractJsonArtifactGasEstimatesCreation { + return v.value +} + +func (v *NullableSolidityContractJsonArtifactGasEstimatesCreation) Set(val *SolidityContractJsonArtifactGasEstimatesCreation) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifactGasEstimatesCreation) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifactGasEstimatesCreation) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifactGasEstimatesCreation(val *SolidityContractJsonArtifactGasEstimatesCreation) *NullableSolidityContractJsonArtifactGasEstimatesCreation { + return &NullableSolidityContractJsonArtifactGasEstimatesCreation{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifactGasEstimatesCreation) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifactGasEstimatesCreation) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go new file mode 100644 index 00000000000..77d8b220f69 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksV1 the model 'WatchBlocksV1' +type WatchBlocksV1 string + +// List of WatchBlocksV1 +const ( + Subscribe WatchBlocksV1 = "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Subscribe" + Next WatchBlocksV1 = "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Next" + Unsubscribe WatchBlocksV1 = "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Unsubscribe" + Error WatchBlocksV1 = "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Error" + Complete WatchBlocksV1 = "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Complete" +) + +// All allowed values of WatchBlocksV1 enum +var AllowedWatchBlocksV1EnumValues = []WatchBlocksV1{ + "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Subscribe", + "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Next", + "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Unsubscribe", + "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Error", + "org.hyperledger.cactus.api.async.quorum.WatchBlocksV1.Complete", +} + +func (v *WatchBlocksV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchBlocksV1(value) + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchBlocksV1", value) +} + +// NewWatchBlocksV1FromValue returns a pointer to a valid WatchBlocksV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchBlocksV1FromValue(v string) (*WatchBlocksV1, error) { + ev := WatchBlocksV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchBlocksV1: valid values are %v", v, AllowedWatchBlocksV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchBlocksV1) IsValid() bool { + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchBlocksV1 value +func (v WatchBlocksV1) Ptr() *WatchBlocksV1 { + return &v +} + +type NullableWatchBlocksV1 struct { + value *WatchBlocksV1 + isSet bool +} + +func (v NullableWatchBlocksV1) Get() *WatchBlocksV1 { + return v.value +} + +func (v *NullableWatchBlocksV1) Set(val *WatchBlocksV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1(val *WatchBlocksV1) *NullableWatchBlocksV1 { + return &NullableWatchBlocksV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_block_data.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_block_data.go new file mode 100644 index 00000000000..cb55086dc00 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_block_data.go @@ -0,0 +1,666 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1BlockData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1BlockData{} + +// WatchBlocksV1BlockData struct for WatchBlocksV1BlockData +type WatchBlocksV1BlockData struct { + Number float32 `json:"number"` + Hash string `json:"hash"` + ParentHash string `json:"parentHash"` + Nonce string `json:"nonce"` + Sha3Uncles string `json:"sha3Uncles"` + LogsBloom string `json:"logsBloom"` + TransactionsRoot *string `json:"transactionsRoot,omitempty"` + StateRoot string `json:"stateRoot"` + ReceiptsRoot *string `json:"receiptsRoot,omitempty"` + Difficulty *string `json:"difficulty,omitempty"` + MixHash *string `json:"mixHash,omitempty"` + Miner string `json:"miner"` + ExtraData string `json:"extraData"` + GasLimit int32 `json:"gasLimit"` + GasUsed int32 `json:"gasUsed"` + Timestamp QuorumTransactionConfigFrom `json:"timestamp"` + Size float32 `json:"size"` + TotalDifficulty string `json:"totalDifficulty"` + Uncles []string `json:"uncles"` + Transactions []Web3Transaction `json:"transactions"` +} + +// NewWatchBlocksV1BlockData instantiates a new WatchBlocksV1BlockData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1BlockData(number float32, hash string, parentHash string, nonce string, sha3Uncles string, logsBloom string, stateRoot string, miner string, extraData string, gasLimit int32, gasUsed int32, timestamp QuorumTransactionConfigFrom, size float32, totalDifficulty string, uncles []string, transactions []Web3Transaction) *WatchBlocksV1BlockData { + this := WatchBlocksV1BlockData{} + this.Number = number + this.Hash = hash + this.ParentHash = parentHash + this.Nonce = nonce + this.Sha3Uncles = sha3Uncles + this.LogsBloom = logsBloom + this.StateRoot = stateRoot + this.Miner = miner + this.ExtraData = extraData + this.GasLimit = gasLimit + this.GasUsed = gasUsed + this.Timestamp = timestamp + this.Size = size + this.TotalDifficulty = totalDifficulty + this.Uncles = uncles + this.Transactions = transactions + return &this +} + +// NewWatchBlocksV1BlockDataWithDefaults instantiates a new WatchBlocksV1BlockData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1BlockDataWithDefaults() *WatchBlocksV1BlockData { + this := WatchBlocksV1BlockData{} + return &this +} + +// GetNumber returns the Number field value +func (o *WatchBlocksV1BlockData) GetNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Number +} + +// GetNumberOk returns a tuple with the Number field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Number, true +} + +// SetNumber sets field value +func (o *WatchBlocksV1BlockData) SetNumber(v float32) { + o.Number = v +} + +// GetHash returns the Hash field value +func (o *WatchBlocksV1BlockData) GetHash() string { + if o == nil { + var ret string + return ret + } + + return o.Hash +} + +// GetHashOk returns a tuple with the Hash field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Hash, true +} + +// SetHash sets field value +func (o *WatchBlocksV1BlockData) SetHash(v string) { + o.Hash = v +} + +// GetParentHash returns the ParentHash field value +func (o *WatchBlocksV1BlockData) GetParentHash() string { + if o == nil { + var ret string + return ret + } + + return o.ParentHash +} + +// GetParentHashOk returns a tuple with the ParentHash field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetParentHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ParentHash, true +} + +// SetParentHash sets field value +func (o *WatchBlocksV1BlockData) SetParentHash(v string) { + o.ParentHash = v +} + +// GetNonce returns the Nonce field value +func (o *WatchBlocksV1BlockData) GetNonce() string { + if o == nil { + var ret string + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetNonceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *WatchBlocksV1BlockData) SetNonce(v string) { + o.Nonce = v +} + +// GetSha3Uncles returns the Sha3Uncles field value +func (o *WatchBlocksV1BlockData) GetSha3Uncles() string { + if o == nil { + var ret string + return ret + } + + return o.Sha3Uncles +} + +// GetSha3UnclesOk returns a tuple with the Sha3Uncles field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetSha3UnclesOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sha3Uncles, true +} + +// SetSha3Uncles sets field value +func (o *WatchBlocksV1BlockData) SetSha3Uncles(v string) { + o.Sha3Uncles = v +} + +// GetLogsBloom returns the LogsBloom field value +func (o *WatchBlocksV1BlockData) GetLogsBloom() string { + if o == nil { + var ret string + return ret + } + + return o.LogsBloom +} + +// GetLogsBloomOk returns a tuple with the LogsBloom field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetLogsBloomOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.LogsBloom, true +} + +// SetLogsBloom sets field value +func (o *WatchBlocksV1BlockData) SetLogsBloom(v string) { + o.LogsBloom = v +} + +// GetTransactionsRoot returns the TransactionsRoot field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetTransactionsRoot() string { + if o == nil || IsNil(o.TransactionsRoot) { + var ret string + return ret + } + return *o.TransactionsRoot +} + +// GetTransactionsRootOk returns a tuple with the TransactionsRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetTransactionsRootOk() (*string, bool) { + if o == nil || IsNil(o.TransactionsRoot) { + return nil, false + } + return o.TransactionsRoot, true +} + +// HasTransactionsRoot returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasTransactionsRoot() bool { + if o != nil && !IsNil(o.TransactionsRoot) { + return true + } + + return false +} + +// SetTransactionsRoot gets a reference to the given string and assigns it to the TransactionsRoot field. +func (o *WatchBlocksV1BlockData) SetTransactionsRoot(v string) { + o.TransactionsRoot = &v +} + +// GetStateRoot returns the StateRoot field value +func (o *WatchBlocksV1BlockData) GetStateRoot() string { + if o == nil { + var ret string + return ret + } + + return o.StateRoot +} + +// GetStateRootOk returns a tuple with the StateRoot field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetStateRootOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StateRoot, true +} + +// SetStateRoot sets field value +func (o *WatchBlocksV1BlockData) SetStateRoot(v string) { + o.StateRoot = v +} + +// GetReceiptsRoot returns the ReceiptsRoot field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetReceiptsRoot() string { + if o == nil || IsNil(o.ReceiptsRoot) { + var ret string + return ret + } + return *o.ReceiptsRoot +} + +// GetReceiptsRootOk returns a tuple with the ReceiptsRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetReceiptsRootOk() (*string, bool) { + if o == nil || IsNil(o.ReceiptsRoot) { + return nil, false + } + return o.ReceiptsRoot, true +} + +// HasReceiptsRoot returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasReceiptsRoot() bool { + if o != nil && !IsNil(o.ReceiptsRoot) { + return true + } + + return false +} + +// SetReceiptsRoot gets a reference to the given string and assigns it to the ReceiptsRoot field. +func (o *WatchBlocksV1BlockData) SetReceiptsRoot(v string) { + o.ReceiptsRoot = &v +} + +// GetDifficulty returns the Difficulty field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetDifficulty() string { + if o == nil || IsNil(o.Difficulty) { + var ret string + return ret + } + return *o.Difficulty +} + +// GetDifficultyOk returns a tuple with the Difficulty field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetDifficultyOk() (*string, bool) { + if o == nil || IsNil(o.Difficulty) { + return nil, false + } + return o.Difficulty, true +} + +// HasDifficulty returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasDifficulty() bool { + if o != nil && !IsNil(o.Difficulty) { + return true + } + + return false +} + +// SetDifficulty gets a reference to the given string and assigns it to the Difficulty field. +func (o *WatchBlocksV1BlockData) SetDifficulty(v string) { + o.Difficulty = &v +} + +// GetMixHash returns the MixHash field value if set, zero value otherwise. +func (o *WatchBlocksV1BlockData) GetMixHash() string { + if o == nil || IsNil(o.MixHash) { + var ret string + return ret + } + return *o.MixHash +} + +// GetMixHashOk returns a tuple with the MixHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetMixHashOk() (*string, bool) { + if o == nil || IsNil(o.MixHash) { + return nil, false + } + return o.MixHash, true +} + +// HasMixHash returns a boolean if a field has been set. +func (o *WatchBlocksV1BlockData) HasMixHash() bool { + if o != nil && !IsNil(o.MixHash) { + return true + } + + return false +} + +// SetMixHash gets a reference to the given string and assigns it to the MixHash field. +func (o *WatchBlocksV1BlockData) SetMixHash(v string) { + o.MixHash = &v +} + +// GetMiner returns the Miner field value +func (o *WatchBlocksV1BlockData) GetMiner() string { + if o == nil { + var ret string + return ret + } + + return o.Miner +} + +// GetMinerOk returns a tuple with the Miner field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetMinerOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Miner, true +} + +// SetMiner sets field value +func (o *WatchBlocksV1BlockData) SetMiner(v string) { + o.Miner = v +} + +// GetExtraData returns the ExtraData field value +func (o *WatchBlocksV1BlockData) GetExtraData() string { + if o == nil { + var ret string + return ret + } + + return o.ExtraData +} + +// GetExtraDataOk returns a tuple with the ExtraData field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetExtraDataOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ExtraData, true +} + +// SetExtraData sets field value +func (o *WatchBlocksV1BlockData) SetExtraData(v string) { + o.ExtraData = v +} + +// GetGasLimit returns the GasLimit field value +func (o *WatchBlocksV1BlockData) GetGasLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetGasLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *WatchBlocksV1BlockData) SetGasLimit(v int32) { + o.GasLimit = v +} + +// GetGasUsed returns the GasUsed field value +func (o *WatchBlocksV1BlockData) GetGasUsed() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetGasUsedOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *WatchBlocksV1BlockData) SetGasUsed(v int32) { + o.GasUsed = v +} + +// GetTimestamp returns the Timestamp field value +func (o *WatchBlocksV1BlockData) GetTimestamp() QuorumTransactionConfigFrom { + if o == nil { + var ret QuorumTransactionConfigFrom + return ret + } + + return o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetTimestampOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil { + return nil, false + } + return &o.Timestamp, true +} + +// SetTimestamp sets field value +func (o *WatchBlocksV1BlockData) SetTimestamp(v QuorumTransactionConfigFrom) { + o.Timestamp = v +} + +// GetSize returns the Size field value +func (o *WatchBlocksV1BlockData) GetSize() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetSizeOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *WatchBlocksV1BlockData) SetSize(v float32) { + o.Size = v +} + +// GetTotalDifficulty returns the TotalDifficulty field value +func (o *WatchBlocksV1BlockData) GetTotalDifficulty() string { + if o == nil { + var ret string + return ret + } + + return o.TotalDifficulty +} + +// GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetTotalDifficultyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TotalDifficulty, true +} + +// SetTotalDifficulty sets field value +func (o *WatchBlocksV1BlockData) SetTotalDifficulty(v string) { + o.TotalDifficulty = v +} + +// GetUncles returns the Uncles field value +func (o *WatchBlocksV1BlockData) GetUncles() []string { + if o == nil { + var ret []string + return ret + } + + return o.Uncles +} + +// GetUnclesOk returns a tuple with the Uncles field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetUnclesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Uncles, true +} + +// SetUncles sets field value +func (o *WatchBlocksV1BlockData) SetUncles(v []string) { + o.Uncles = v +} + +// GetTransactions returns the Transactions field value +func (o *WatchBlocksV1BlockData) GetTransactions() []Web3Transaction { + if o == nil { + var ret []Web3Transaction + return ret + } + + return o.Transactions +} + +// GetTransactionsOk returns a tuple with the Transactions field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1BlockData) GetTransactionsOk() ([]Web3Transaction, bool) { + if o == nil { + return nil, false + } + return o.Transactions, true +} + +// SetTransactions sets field value +func (o *WatchBlocksV1BlockData) SetTransactions(v []Web3Transaction) { + o.Transactions = v +} + +func (o WatchBlocksV1BlockData) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1BlockData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["number"] = o.Number + toSerialize["hash"] = o.Hash + toSerialize["parentHash"] = o.ParentHash + toSerialize["nonce"] = o.Nonce + toSerialize["sha3Uncles"] = o.Sha3Uncles + toSerialize["logsBloom"] = o.LogsBloom + if !IsNil(o.TransactionsRoot) { + toSerialize["transactionsRoot"] = o.TransactionsRoot + } + toSerialize["stateRoot"] = o.StateRoot + if !IsNil(o.ReceiptsRoot) { + toSerialize["receiptsRoot"] = o.ReceiptsRoot + } + if !IsNil(o.Difficulty) { + toSerialize["difficulty"] = o.Difficulty + } + if !IsNil(o.MixHash) { + toSerialize["mixHash"] = o.MixHash + } + toSerialize["miner"] = o.Miner + toSerialize["extraData"] = o.ExtraData + toSerialize["gasLimit"] = o.GasLimit + toSerialize["gasUsed"] = o.GasUsed + toSerialize["timestamp"] = o.Timestamp + toSerialize["size"] = o.Size + toSerialize["totalDifficulty"] = o.TotalDifficulty + toSerialize["uncles"] = o.Uncles + toSerialize["transactions"] = o.Transactions + return toSerialize, nil +} + +type NullableWatchBlocksV1BlockData struct { + value *WatchBlocksV1BlockData + isSet bool +} + +func (v NullableWatchBlocksV1BlockData) Get() *WatchBlocksV1BlockData { + return v.value +} + +func (v *NullableWatchBlocksV1BlockData) Set(val *WatchBlocksV1BlockData) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1BlockData) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1BlockData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1BlockData(val *WatchBlocksV1BlockData) *NullableWatchBlocksV1BlockData { + return &NullableWatchBlocksV1BlockData{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1BlockData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1BlockData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_options.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_options.go new file mode 100644 index 00000000000..97ea6a597fa --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_options.go @@ -0,0 +1,126 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1Options type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1Options{} + +// WatchBlocksV1Options struct for WatchBlocksV1Options +type WatchBlocksV1Options struct { + GetBlockData *bool `json:"getBlockData,omitempty"` +} + +// NewWatchBlocksV1Options instantiates a new WatchBlocksV1Options object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1Options() *WatchBlocksV1Options { + this := WatchBlocksV1Options{} + return &this +} + +// NewWatchBlocksV1OptionsWithDefaults instantiates a new WatchBlocksV1Options object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1OptionsWithDefaults() *WatchBlocksV1Options { + this := WatchBlocksV1Options{} + return &this +} + +// GetGetBlockData returns the GetBlockData field value if set, zero value otherwise. +func (o *WatchBlocksV1Options) GetGetBlockData() bool { + if o == nil || IsNil(o.GetBlockData) { + var ret bool + return ret + } + return *o.GetBlockData +} + +// GetGetBlockDataOk returns a tuple with the GetBlockData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Options) GetGetBlockDataOk() (*bool, bool) { + if o == nil || IsNil(o.GetBlockData) { + return nil, false + } + return o.GetBlockData, true +} + +// HasGetBlockData returns a boolean if a field has been set. +func (o *WatchBlocksV1Options) HasGetBlockData() bool { + if o != nil && !IsNil(o.GetBlockData) { + return true + } + + return false +} + +// SetGetBlockData gets a reference to the given bool and assigns it to the GetBlockData field. +func (o *WatchBlocksV1Options) SetGetBlockData(v bool) { + o.GetBlockData = &v +} + +func (o WatchBlocksV1Options) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1Options) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.GetBlockData) { + toSerialize["getBlockData"] = o.GetBlockData + } + return toSerialize, nil +} + +type NullableWatchBlocksV1Options struct { + value *WatchBlocksV1Options + isSet bool +} + +func (v NullableWatchBlocksV1Options) Get() *WatchBlocksV1Options { + return v.value +} + +func (v *NullableWatchBlocksV1Options) Set(val *WatchBlocksV1Options) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1Options) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1Options) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1Options(val *WatchBlocksV1Options) *NullableWatchBlocksV1Options { + return &NullableWatchBlocksV1Options{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1Options) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1Options) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go new file mode 100644 index 00000000000..ed90467fbc6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1Progress type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1Progress{} + +// WatchBlocksV1Progress struct for WatchBlocksV1Progress +type WatchBlocksV1Progress struct { + BlockHeader *Web3BlockHeader `json:"blockHeader,omitempty"` + BlockData *WatchBlocksV1BlockData `json:"blockData,omitempty"` +} + +// NewWatchBlocksV1Progress instantiates a new WatchBlocksV1Progress object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1Progress() *WatchBlocksV1Progress { + this := WatchBlocksV1Progress{} + return &this +} + +// NewWatchBlocksV1ProgressWithDefaults instantiates a new WatchBlocksV1Progress object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1ProgressWithDefaults() *WatchBlocksV1Progress { + this := WatchBlocksV1Progress{} + return &this +} + +// GetBlockHeader returns the BlockHeader field value if set, zero value otherwise. +func (o *WatchBlocksV1Progress) GetBlockHeader() Web3BlockHeader { + if o == nil || IsNil(o.BlockHeader) { + var ret Web3BlockHeader + return ret + } + return *o.BlockHeader +} + +// GetBlockHeaderOk returns a tuple with the BlockHeader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Progress) GetBlockHeaderOk() (*Web3BlockHeader, bool) { + if o == nil || IsNil(o.BlockHeader) { + return nil, false + } + return o.BlockHeader, true +} + +// HasBlockHeader returns a boolean if a field has been set. +func (o *WatchBlocksV1Progress) HasBlockHeader() bool { + if o != nil && !IsNil(o.BlockHeader) { + return true + } + + return false +} + +// SetBlockHeader gets a reference to the given Web3BlockHeader and assigns it to the BlockHeader field. +func (o *WatchBlocksV1Progress) SetBlockHeader(v Web3BlockHeader) { + o.BlockHeader = &v +} + +// GetBlockData returns the BlockData field value if set, zero value otherwise. +func (o *WatchBlocksV1Progress) GetBlockData() WatchBlocksV1BlockData { + if o == nil || IsNil(o.BlockData) { + var ret WatchBlocksV1BlockData + return ret + } + return *o.BlockData +} + +// GetBlockDataOk returns a tuple with the BlockData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Progress) GetBlockDataOk() (*WatchBlocksV1BlockData, bool) { + if o == nil || IsNil(o.BlockData) { + return nil, false + } + return o.BlockData, true +} + +// HasBlockData returns a boolean if a field has been set. +func (o *WatchBlocksV1Progress) HasBlockData() bool { + if o != nil && !IsNil(o.BlockData) { + return true + } + + return false +} + +// SetBlockData gets a reference to the given WatchBlocksV1BlockData and assigns it to the BlockData field. +func (o *WatchBlocksV1Progress) SetBlockData(v WatchBlocksV1BlockData) { + o.BlockData = &v +} + +func (o WatchBlocksV1Progress) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1Progress) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.BlockHeader) { + toSerialize["blockHeader"] = o.BlockHeader + } + if !IsNil(o.BlockData) { + toSerialize["blockData"] = o.BlockData + } + return toSerialize, nil +} + +type NullableWatchBlocksV1Progress struct { + value *WatchBlocksV1Progress + isSet bool +} + +func (v NullableWatchBlocksV1Progress) Get() *WatchBlocksV1Progress { + return v.value +} + +func (v *NullableWatchBlocksV1Progress) Set(val *WatchBlocksV1Progress) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1Progress) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1Progress) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1Progress(val *WatchBlocksV1Progress) *NullableWatchBlocksV1Progress { + return &NullableWatchBlocksV1Progress{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1Progress) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1Progress) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_block_header.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_block_header.go new file mode 100644 index 00000000000..afd2ad82809 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_block_header.go @@ -0,0 +1,558 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the Web3BlockHeader type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3BlockHeader{} + +// Web3BlockHeader struct for Web3BlockHeader +type Web3BlockHeader struct { + Number float32 `json:"number"` + Hash string `json:"hash"` + ParentHash string `json:"parentHash"` + Nonce string `json:"nonce"` + Sha3Uncles string `json:"sha3Uncles"` + LogsBloom string `json:"logsBloom"` + TransactionsRoot *string `json:"transactionsRoot,omitempty"` + StateRoot string `json:"stateRoot"` + ReceiptsRoot *string `json:"receiptsRoot,omitempty"` + Difficulty *string `json:"difficulty,omitempty"` + MixHash *string `json:"mixHash,omitempty"` + Miner string `json:"miner"` + ExtraData string `json:"extraData"` + GasLimit int32 `json:"gasLimit"` + GasUsed int32 `json:"gasUsed"` + Timestamp QuorumTransactionConfigFrom `json:"timestamp"` +} + +// NewWeb3BlockHeader instantiates a new Web3BlockHeader object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3BlockHeader(number float32, hash string, parentHash string, nonce string, sha3Uncles string, logsBloom string, stateRoot string, miner string, extraData string, gasLimit int32, gasUsed int32, timestamp QuorumTransactionConfigFrom) *Web3BlockHeader { + this := Web3BlockHeader{} + this.Number = number + this.Hash = hash + this.ParentHash = parentHash + this.Nonce = nonce + this.Sha3Uncles = sha3Uncles + this.LogsBloom = logsBloom + this.StateRoot = stateRoot + this.Miner = miner + this.ExtraData = extraData + this.GasLimit = gasLimit + this.GasUsed = gasUsed + this.Timestamp = timestamp + return &this +} + +// NewWeb3BlockHeaderWithDefaults instantiates a new Web3BlockHeader object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3BlockHeaderWithDefaults() *Web3BlockHeader { + this := Web3BlockHeader{} + return &this +} + +// GetNumber returns the Number field value +func (o *Web3BlockHeader) GetNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Number +} + +// GetNumberOk returns a tuple with the Number field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Number, true +} + +// SetNumber sets field value +func (o *Web3BlockHeader) SetNumber(v float32) { + o.Number = v +} + +// GetHash returns the Hash field value +func (o *Web3BlockHeader) GetHash() string { + if o == nil { + var ret string + return ret + } + + return o.Hash +} + +// GetHashOk returns a tuple with the Hash field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Hash, true +} + +// SetHash sets field value +func (o *Web3BlockHeader) SetHash(v string) { + o.Hash = v +} + +// GetParentHash returns the ParentHash field value +func (o *Web3BlockHeader) GetParentHash() string { + if o == nil { + var ret string + return ret + } + + return o.ParentHash +} + +// GetParentHashOk returns a tuple with the ParentHash field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetParentHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ParentHash, true +} + +// SetParentHash sets field value +func (o *Web3BlockHeader) SetParentHash(v string) { + o.ParentHash = v +} + +// GetNonce returns the Nonce field value +func (o *Web3BlockHeader) GetNonce() string { + if o == nil { + var ret string + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetNonceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *Web3BlockHeader) SetNonce(v string) { + o.Nonce = v +} + +// GetSha3Uncles returns the Sha3Uncles field value +func (o *Web3BlockHeader) GetSha3Uncles() string { + if o == nil { + var ret string + return ret + } + + return o.Sha3Uncles +} + +// GetSha3UnclesOk returns a tuple with the Sha3Uncles field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetSha3UnclesOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sha3Uncles, true +} + +// SetSha3Uncles sets field value +func (o *Web3BlockHeader) SetSha3Uncles(v string) { + o.Sha3Uncles = v +} + +// GetLogsBloom returns the LogsBloom field value +func (o *Web3BlockHeader) GetLogsBloom() string { + if o == nil { + var ret string + return ret + } + + return o.LogsBloom +} + +// GetLogsBloomOk returns a tuple with the LogsBloom field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetLogsBloomOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.LogsBloom, true +} + +// SetLogsBloom sets field value +func (o *Web3BlockHeader) SetLogsBloom(v string) { + o.LogsBloom = v +} + +// GetTransactionsRoot returns the TransactionsRoot field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetTransactionsRoot() string { + if o == nil || IsNil(o.TransactionsRoot) { + var ret string + return ret + } + return *o.TransactionsRoot +} + +// GetTransactionsRootOk returns a tuple with the TransactionsRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetTransactionsRootOk() (*string, bool) { + if o == nil || IsNil(o.TransactionsRoot) { + return nil, false + } + return o.TransactionsRoot, true +} + +// HasTransactionsRoot returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasTransactionsRoot() bool { + if o != nil && !IsNil(o.TransactionsRoot) { + return true + } + + return false +} + +// SetTransactionsRoot gets a reference to the given string and assigns it to the TransactionsRoot field. +func (o *Web3BlockHeader) SetTransactionsRoot(v string) { + o.TransactionsRoot = &v +} + +// GetStateRoot returns the StateRoot field value +func (o *Web3BlockHeader) GetStateRoot() string { + if o == nil { + var ret string + return ret + } + + return o.StateRoot +} + +// GetStateRootOk returns a tuple with the StateRoot field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetStateRootOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StateRoot, true +} + +// SetStateRoot sets field value +func (o *Web3BlockHeader) SetStateRoot(v string) { + o.StateRoot = v +} + +// GetReceiptsRoot returns the ReceiptsRoot field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetReceiptsRoot() string { + if o == nil || IsNil(o.ReceiptsRoot) { + var ret string + return ret + } + return *o.ReceiptsRoot +} + +// GetReceiptsRootOk returns a tuple with the ReceiptsRoot field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetReceiptsRootOk() (*string, bool) { + if o == nil || IsNil(o.ReceiptsRoot) { + return nil, false + } + return o.ReceiptsRoot, true +} + +// HasReceiptsRoot returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasReceiptsRoot() bool { + if o != nil && !IsNil(o.ReceiptsRoot) { + return true + } + + return false +} + +// SetReceiptsRoot gets a reference to the given string and assigns it to the ReceiptsRoot field. +func (o *Web3BlockHeader) SetReceiptsRoot(v string) { + o.ReceiptsRoot = &v +} + +// GetDifficulty returns the Difficulty field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetDifficulty() string { + if o == nil || IsNil(o.Difficulty) { + var ret string + return ret + } + return *o.Difficulty +} + +// GetDifficultyOk returns a tuple with the Difficulty field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetDifficultyOk() (*string, bool) { + if o == nil || IsNil(o.Difficulty) { + return nil, false + } + return o.Difficulty, true +} + +// HasDifficulty returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasDifficulty() bool { + if o != nil && !IsNil(o.Difficulty) { + return true + } + + return false +} + +// SetDifficulty gets a reference to the given string and assigns it to the Difficulty field. +func (o *Web3BlockHeader) SetDifficulty(v string) { + o.Difficulty = &v +} + +// GetMixHash returns the MixHash field value if set, zero value otherwise. +func (o *Web3BlockHeader) GetMixHash() string { + if o == nil || IsNil(o.MixHash) { + var ret string + return ret + } + return *o.MixHash +} + +// GetMixHashOk returns a tuple with the MixHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetMixHashOk() (*string, bool) { + if o == nil || IsNil(o.MixHash) { + return nil, false + } + return o.MixHash, true +} + +// HasMixHash returns a boolean if a field has been set. +func (o *Web3BlockHeader) HasMixHash() bool { + if o != nil && !IsNil(o.MixHash) { + return true + } + + return false +} + +// SetMixHash gets a reference to the given string and assigns it to the MixHash field. +func (o *Web3BlockHeader) SetMixHash(v string) { + o.MixHash = &v +} + +// GetMiner returns the Miner field value +func (o *Web3BlockHeader) GetMiner() string { + if o == nil { + var ret string + return ret + } + + return o.Miner +} + +// GetMinerOk returns a tuple with the Miner field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetMinerOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Miner, true +} + +// SetMiner sets field value +func (o *Web3BlockHeader) SetMiner(v string) { + o.Miner = v +} + +// GetExtraData returns the ExtraData field value +func (o *Web3BlockHeader) GetExtraData() string { + if o == nil { + var ret string + return ret + } + + return o.ExtraData +} + +// GetExtraDataOk returns a tuple with the ExtraData field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetExtraDataOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ExtraData, true +} + +// SetExtraData sets field value +func (o *Web3BlockHeader) SetExtraData(v string) { + o.ExtraData = v +} + +// GetGasLimit returns the GasLimit field value +func (o *Web3BlockHeader) GetGasLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetGasLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *Web3BlockHeader) SetGasLimit(v int32) { + o.GasLimit = v +} + +// GetGasUsed returns the GasUsed field value +func (o *Web3BlockHeader) GetGasUsed() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetGasUsedOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *Web3BlockHeader) SetGasUsed(v int32) { + o.GasUsed = v +} + +// GetTimestamp returns the Timestamp field value +func (o *Web3BlockHeader) GetTimestamp() QuorumTransactionConfigFrom { + if o == nil { + var ret QuorumTransactionConfigFrom + return ret + } + + return o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value +// and a boolean to check if the value has been set. +func (o *Web3BlockHeader) GetTimestampOk() (*QuorumTransactionConfigFrom, bool) { + if o == nil { + return nil, false + } + return &o.Timestamp, true +} + +// SetTimestamp sets field value +func (o *Web3BlockHeader) SetTimestamp(v QuorumTransactionConfigFrom) { + o.Timestamp = v +} + +func (o Web3BlockHeader) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3BlockHeader) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["number"] = o.Number + toSerialize["hash"] = o.Hash + toSerialize["parentHash"] = o.ParentHash + toSerialize["nonce"] = o.Nonce + toSerialize["sha3Uncles"] = o.Sha3Uncles + toSerialize["logsBloom"] = o.LogsBloom + if !IsNil(o.TransactionsRoot) { + toSerialize["transactionsRoot"] = o.TransactionsRoot + } + toSerialize["stateRoot"] = o.StateRoot + if !IsNil(o.ReceiptsRoot) { + toSerialize["receiptsRoot"] = o.ReceiptsRoot + } + if !IsNil(o.Difficulty) { + toSerialize["difficulty"] = o.Difficulty + } + if !IsNil(o.MixHash) { + toSerialize["mixHash"] = o.MixHash + } + toSerialize["miner"] = o.Miner + toSerialize["extraData"] = o.ExtraData + toSerialize["gasLimit"] = o.GasLimit + toSerialize["gasUsed"] = o.GasUsed + toSerialize["timestamp"] = o.Timestamp + return toSerialize, nil +} + +type NullableWeb3BlockHeader struct { + value *Web3BlockHeader + isSet bool +} + +func (v NullableWeb3BlockHeader) Get() *Web3BlockHeader { + return v.value +} + +func (v *NullableWeb3BlockHeader) Set(val *Web3BlockHeader) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3BlockHeader) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3BlockHeader) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3BlockHeader(val *Web3BlockHeader) *NullableWeb3BlockHeader { + return &NullableWeb3BlockHeader{value: val, isSet: true} +} + +func (v NullableWeb3BlockHeader) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3BlockHeader) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go new file mode 100644 index 00000000000..79b838d0373 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go @@ -0,0 +1,208 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredential - struct for Web3SigningCredential +type Web3SigningCredential struct { + Web3SigningCredentialCactusKeychainRef *Web3SigningCredentialCactusKeychainRef + Web3SigningCredentialGethKeychainPassword *Web3SigningCredentialGethKeychainPassword + Web3SigningCredentialNone *Web3SigningCredentialNone + Web3SigningCredentialPrivateKeyHex *Web3SigningCredentialPrivateKeyHex +} + +// Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialCactusKeychainRef wrapped in Web3SigningCredential +func Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential(v *Web3SigningCredentialCactusKeychainRef) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialCactusKeychainRef: v, + } +} + +// Web3SigningCredentialGethKeychainPasswordAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialGethKeychainPassword wrapped in Web3SigningCredential +func Web3SigningCredentialGethKeychainPasswordAsWeb3SigningCredential(v *Web3SigningCredentialGethKeychainPassword) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialGethKeychainPassword: v, + } +} + +// Web3SigningCredentialNoneAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialNone wrapped in Web3SigningCredential +func Web3SigningCredentialNoneAsWeb3SigningCredential(v *Web3SigningCredentialNone) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialNone: v, + } +} + +// Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialPrivateKeyHex wrapped in Web3SigningCredential +func Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential(v *Web3SigningCredentialPrivateKeyHex) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialPrivateKeyHex: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Web3SigningCredential) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Web3SigningCredentialCactusKeychainRef + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialCactusKeychainRef) + if err == nil { + jsonWeb3SigningCredentialCactusKeychainRef, _ := json.Marshal(dst.Web3SigningCredentialCactusKeychainRef) + if string(jsonWeb3SigningCredentialCactusKeychainRef) == "{}" { // empty struct + dst.Web3SigningCredentialCactusKeychainRef = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialCactusKeychainRef = nil + } + + // try to unmarshal data into Web3SigningCredentialGethKeychainPassword + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialGethKeychainPassword) + if err == nil { + jsonWeb3SigningCredentialGethKeychainPassword, _ := json.Marshal(dst.Web3SigningCredentialGethKeychainPassword) + if string(jsonWeb3SigningCredentialGethKeychainPassword) == "{}" { // empty struct + dst.Web3SigningCredentialGethKeychainPassword = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialGethKeychainPassword = nil + } + + // try to unmarshal data into Web3SigningCredentialNone + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialNone) + if err == nil { + jsonWeb3SigningCredentialNone, _ := json.Marshal(dst.Web3SigningCredentialNone) + if string(jsonWeb3SigningCredentialNone) == "{}" { // empty struct + dst.Web3SigningCredentialNone = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialNone = nil + } + + // try to unmarshal data into Web3SigningCredentialPrivateKeyHex + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialPrivateKeyHex) + if err == nil { + jsonWeb3SigningCredentialPrivateKeyHex, _ := json.Marshal(dst.Web3SigningCredentialPrivateKeyHex) + if string(jsonWeb3SigningCredentialPrivateKeyHex) == "{}" { // empty struct + dst.Web3SigningCredentialPrivateKeyHex = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialPrivateKeyHex = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Web3SigningCredentialCactusKeychainRef = nil + dst.Web3SigningCredentialGethKeychainPassword = nil + dst.Web3SigningCredentialNone = nil + dst.Web3SigningCredentialPrivateKeyHex = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Web3SigningCredential)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Web3SigningCredential)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Web3SigningCredential) MarshalJSON() ([]byte, error) { + if src.Web3SigningCredentialCactusKeychainRef != nil { + return json.Marshal(&src.Web3SigningCredentialCactusKeychainRef) + } + + if src.Web3SigningCredentialGethKeychainPassword != nil { + return json.Marshal(&src.Web3SigningCredentialGethKeychainPassword) + } + + if src.Web3SigningCredentialNone != nil { + return json.Marshal(&src.Web3SigningCredentialNone) + } + + if src.Web3SigningCredentialPrivateKeyHex != nil { + return json.Marshal(&src.Web3SigningCredentialPrivateKeyHex) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Web3SigningCredential) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Web3SigningCredentialCactusKeychainRef != nil { + return obj.Web3SigningCredentialCactusKeychainRef + } + + if obj.Web3SigningCredentialGethKeychainPassword != nil { + return obj.Web3SigningCredentialGethKeychainPassword + } + + if obj.Web3SigningCredentialNone != nil { + return obj.Web3SigningCredentialNone + } + + if obj.Web3SigningCredentialPrivateKeyHex != nil { + return obj.Web3SigningCredentialPrivateKeyHex + } + + // all schemas are nil + return nil +} + +type NullableWeb3SigningCredential struct { + value *Web3SigningCredential + isSet bool +} + +func (v NullableWeb3SigningCredential) Get() *Web3SigningCredential { + return v.value +} + +func (v *NullableWeb3SigningCredential) Set(val *Web3SigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredential(val *Web3SigningCredential) *NullableWeb3SigningCredential { + return &NullableWeb3SigningCredential{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go new file mode 100644 index 00000000000..32a3b4bd194 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go @@ -0,0 +1,210 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialCactusKeychainRef type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialCactusKeychainRef{} + +// Web3SigningCredentialCactusKeychainRef struct for Web3SigningCredentialCactusKeychainRef +type Web3SigningCredentialCactusKeychainRef struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The key to use when looking up the the keychain entry holding the secret pointed to by the keychainEntryKey parameter. + KeychainEntryKey string `json:"keychainEntryKey"` + // The keychain ID to use when looking up the the keychain plugin instance that will be used to retrieve the secret pointed to by the keychainEntryKey parameter. + KeychainId *string `json:"keychainId,omitempty"` +} + +// NewWeb3SigningCredentialCactusKeychainRef instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialCactusKeychainRef(type_ Web3SigningCredentialType, ethAccount string, keychainEntryKey string) *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + this.Type = type_ + this.EthAccount = ethAccount + this.KeychainEntryKey = keychainEntryKey + return &this +} + +// NewWeb3SigningCredentialCactusKeychainRefWithDefaults instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialCactusKeychainRefWithDefaults() *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialCactusKeychainRef) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetKeychainEntryKey returns the KeychainEntryKey field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKey() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainEntryKey +} + +// GetKeychainEntryKeyOk returns a tuple with the KeychainEntryKey field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainEntryKey, true +} + +// SetKeychainEntryKey sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainEntryKey(v string) { + o.KeychainEntryKey = v +} + +// GetKeychainId returns the KeychainId field value if set, zero value otherwise. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainId() string { + if o == nil || IsNil(o.KeychainId) { + var ret string + return ret + } + return *o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainIdOk() (*string, bool) { + if o == nil || IsNil(o.KeychainId) { + return nil, false + } + return o.KeychainId, true +} + +// HasKeychainId returns a boolean if a field has been set. +func (o *Web3SigningCredentialCactusKeychainRef) HasKeychainId() bool { + if o != nil && !IsNil(o.KeychainId) { + return true + } + + return false +} + +// SetKeychainId gets a reference to the given string and assigns it to the KeychainId field. +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainId(v string) { + o.KeychainId = &v +} + +func (o Web3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialCactusKeychainRef) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["keychainEntryKey"] = o.KeychainEntryKey + if !IsNil(o.KeychainId) { + toSerialize["keychainId"] = o.KeychainId + } + return toSerialize, nil +} + +type NullableWeb3SigningCredentialCactusKeychainRef struct { + value *Web3SigningCredentialCactusKeychainRef + isSet bool +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) Get() *Web3SigningCredentialCactusKeychainRef { + return v.value +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Set(val *Web3SigningCredentialCactusKeychainRef) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialCactusKeychainRef(val *Web3SigningCredentialCactusKeychainRef) *NullableWeb3SigningCredentialCactusKeychainRef { + return &NullableWeb3SigningCredentialCactusKeychainRef{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_geth_keychain_password.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_geth_keychain_password.go new file mode 100644 index 00000000000..2f05b637a26 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_geth_keychain_password.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialGethKeychainPassword type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialGethKeychainPassword{} + +// Web3SigningCredentialGethKeychainPassword struct for Web3SigningCredentialGethKeychainPassword +type Web3SigningCredentialGethKeychainPassword struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // A geth keychain unlock password. + Secret string `json:"secret"` +} + +// NewWeb3SigningCredentialGethKeychainPassword instantiates a new Web3SigningCredentialGethKeychainPassword object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialGethKeychainPassword(type_ Web3SigningCredentialType, ethAccount string, secret string) *Web3SigningCredentialGethKeychainPassword { + this := Web3SigningCredentialGethKeychainPassword{} + this.Type = type_ + this.EthAccount = ethAccount + this.Secret = secret + return &this +} + +// NewWeb3SigningCredentialGethKeychainPasswordWithDefaults instantiates a new Web3SigningCredentialGethKeychainPassword object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialGethKeychainPasswordWithDefaults() *Web3SigningCredentialGethKeychainPassword { + this := Web3SigningCredentialGethKeychainPassword{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialGethKeychainPassword) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialGethKeychainPassword) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialGethKeychainPassword) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialGethKeychainPassword) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialGethKeychainPassword) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialGethKeychainPassword) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetSecret returns the Secret field value +func (o *Web3SigningCredentialGethKeychainPassword) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialGethKeychainPassword) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *Web3SigningCredentialGethKeychainPassword) SetSecret(v string) { + o.Secret = v +} + +func (o Web3SigningCredentialGethKeychainPassword) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialGethKeychainPassword) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["secret"] = o.Secret + return toSerialize, nil +} + +type NullableWeb3SigningCredentialGethKeychainPassword struct { + value *Web3SigningCredentialGethKeychainPassword + isSet bool +} + +func (v NullableWeb3SigningCredentialGethKeychainPassword) Get() *Web3SigningCredentialGethKeychainPassword { + return v.value +} + +func (v *NullableWeb3SigningCredentialGethKeychainPassword) Set(val *Web3SigningCredentialGethKeychainPassword) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialGethKeychainPassword) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialGethKeychainPassword) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialGethKeychainPassword(val *Web3SigningCredentialGethKeychainPassword) *NullableWeb3SigningCredentialGethKeychainPassword { + return &NullableWeb3SigningCredentialGethKeychainPassword{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialGethKeychainPassword) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialGethKeychainPassword) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go new file mode 100644 index 00000000000..d2ac4508351 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialNone type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialNone{} + +// Web3SigningCredentialNone Using this denotes that there is no signing required because the transaction is pre-signed. +type Web3SigningCredentialNone struct { + Type Web3SigningCredentialType `json:"type"` +} + +// NewWeb3SigningCredentialNone instantiates a new Web3SigningCredentialNone object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialNone(type_ Web3SigningCredentialType) *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + this.Type = type_ + return &this +} + +// NewWeb3SigningCredentialNoneWithDefaults instantiates a new Web3SigningCredentialNone object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialNoneWithDefaults() *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialNone) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialNone) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialNone) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +func (o Web3SigningCredentialNone) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialNone) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + return toSerialize, nil +} + +type NullableWeb3SigningCredentialNone struct { + value *Web3SigningCredentialNone + isSet bool +} + +func (v NullableWeb3SigningCredentialNone) Get() *Web3SigningCredentialNone { + return v.value +} + +func (v *NullableWeb3SigningCredentialNone) Set(val *Web3SigningCredentialNone) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialNone) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialNone) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialNone(val *Web3SigningCredentialNone) *NullableWeb3SigningCredentialNone { + return &NullableWeb3SigningCredentialNone{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialNone) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialNone) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go new file mode 100644 index 00000000000..e5aa433dcd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialPrivateKeyHex type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialPrivateKeyHex{} + +// Web3SigningCredentialPrivateKeyHex struct for Web3SigningCredentialPrivateKeyHex +type Web3SigningCredentialPrivateKeyHex struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The HEX encoded private key of an eth account. + Secret string `json:"secret"` +} + +// NewWeb3SigningCredentialPrivateKeyHex instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialPrivateKeyHex(type_ Web3SigningCredentialType, ethAccount string, secret string) *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + this.Type = type_ + this.EthAccount = ethAccount + this.Secret = secret + return &this +} + +// NewWeb3SigningCredentialPrivateKeyHexWithDefaults instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialPrivateKeyHexWithDefaults() *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialPrivateKeyHex) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetSecret returns the Secret field value +func (o *Web3SigningCredentialPrivateKeyHex) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetSecret(v string) { + o.Secret = v +} + +func (o Web3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialPrivateKeyHex) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["secret"] = o.Secret + return toSerialize, nil +} + +type NullableWeb3SigningCredentialPrivateKeyHex struct { + value *Web3SigningCredentialPrivateKeyHex + isSet bool +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) Get() *Web3SigningCredentialPrivateKeyHex { + return v.value +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Set(val *Web3SigningCredentialPrivateKeyHex) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialPrivateKeyHex(val *Web3SigningCredentialPrivateKeyHex) *NullableWeb3SigningCredentialPrivateKeyHex { + return &NullableWeb3SigningCredentialPrivateKeyHex{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go new file mode 100644 index 00000000000..26814bc9c5b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredentialType the model 'Web3SigningCredentialType' +type Web3SigningCredentialType string + +// List of Web3SigningCredentialType +const ( + CACTUS_KEYCHAIN_REF Web3SigningCredentialType = "CACTUS_KEYCHAIN_REF" + GETH_KEYCHAIN_PASSWORD Web3SigningCredentialType = "GETH_KEYCHAIN_PASSWORD" + PRIVATE_KEY_HEX Web3SigningCredentialType = "PRIVATE_KEY_HEX" + NONE Web3SigningCredentialType = "NONE" +) + +// All allowed values of Web3SigningCredentialType enum +var AllowedWeb3SigningCredentialTypeEnumValues = []Web3SigningCredentialType{ + "CACTUS_KEYCHAIN_REF", + "GETH_KEYCHAIN_PASSWORD", + "PRIVATE_KEY_HEX", + "NONE", +} + +func (v *Web3SigningCredentialType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Web3SigningCredentialType(value) + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Web3SigningCredentialType", value) +} + +// NewWeb3SigningCredentialTypeFromValue returns a pointer to a valid Web3SigningCredentialType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWeb3SigningCredentialTypeFromValue(v string) (*Web3SigningCredentialType, error) { + ev := Web3SigningCredentialType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Web3SigningCredentialType: valid values are %v", v, AllowedWeb3SigningCredentialTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Web3SigningCredentialType) IsValid() bool { + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Web3SigningCredentialType value +func (v Web3SigningCredentialType) Ptr() *Web3SigningCredentialType { + return &v +} + +type NullableWeb3SigningCredentialType struct { + value *Web3SigningCredentialType + isSet bool +} + +func (v NullableWeb3SigningCredentialType) Get() *Web3SigningCredentialType { + return v.value +} + +func (v *NullableWeb3SigningCredentialType) Set(val *Web3SigningCredentialType) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialType) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialType(val *Web3SigningCredentialType) *NullableWeb3SigningCredentialType { + return &NullableWeb3SigningCredentialType{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_transaction.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_transaction.go new file mode 100644 index 00000000000..5366ab06224 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_transaction.go @@ -0,0 +1,503 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the Web3Transaction type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3Transaction{} + +// Web3Transaction struct for Web3Transaction +type Web3Transaction struct { + Hash string `json:"hash"` + Nonce float32 `json:"nonce"` + BlockHash NullableString `json:"blockHash"` + BlockNumber NullableFloat32 `json:"blockNumber"` + TransactionIndex NullableFloat32 `json:"transactionIndex"` + From string `json:"from"` + To NullableString `json:"to"` + Value string `json:"value"` + GasPrice string `json:"gasPrice"` + Gas float32 `json:"gas"` + Input string `json:"input"` + V *string `json:"v,omitempty"` + R *string `json:"r,omitempty"` + S *string `json:"s,omitempty"` +} + +// NewWeb3Transaction instantiates a new Web3Transaction object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3Transaction(hash string, nonce float32, blockHash NullableString, blockNumber NullableFloat32, transactionIndex NullableFloat32, from string, to NullableString, value string, gasPrice string, gas float32, input string) *Web3Transaction { + this := Web3Transaction{} + this.Hash = hash + this.Nonce = nonce + this.BlockHash = blockHash + this.BlockNumber = blockNumber + this.TransactionIndex = transactionIndex + this.From = from + this.To = to + this.Value = value + this.GasPrice = gasPrice + this.Gas = gas + this.Input = input + return &this +} + +// NewWeb3TransactionWithDefaults instantiates a new Web3Transaction object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3TransactionWithDefaults() *Web3Transaction { + this := Web3Transaction{} + return &this +} + +// GetHash returns the Hash field value +func (o *Web3Transaction) GetHash() string { + if o == nil { + var ret string + return ret + } + + return o.Hash +} + +// GetHashOk returns a tuple with the Hash field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Hash, true +} + +// SetHash sets field value +func (o *Web3Transaction) SetHash(v string) { + o.Hash = v +} + +// GetNonce returns the Nonce field value +func (o *Web3Transaction) GetNonce() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetNonceOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *Web3Transaction) SetNonce(v float32) { + o.Nonce = v +} + +// GetBlockHash returns the BlockHash field value +// If the value is explicit nil, the zero value for string will be returned +func (o *Web3Transaction) GetBlockHash() string { + if o == nil || o.BlockHash.Get() == nil { + var ret string + return ret + } + + return *o.BlockHash.Get() +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3Transaction) GetBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.BlockHash.Get(), o.BlockHash.IsSet() +} + +// SetBlockHash sets field value +func (o *Web3Transaction) SetBlockHash(v string) { + o.BlockHash.Set(&v) +} + +// GetBlockNumber returns the BlockNumber field value +// If the value is explicit nil, the zero value for float32 will be returned +func (o *Web3Transaction) GetBlockNumber() float32 { + if o == nil || o.BlockNumber.Get() == nil { + var ret float32 + return ret + } + + return *o.BlockNumber.Get() +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3Transaction) GetBlockNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return o.BlockNumber.Get(), o.BlockNumber.IsSet() +} + +// SetBlockNumber sets field value +func (o *Web3Transaction) SetBlockNumber(v float32) { + o.BlockNumber.Set(&v) +} + +// GetTransactionIndex returns the TransactionIndex field value +// If the value is explicit nil, the zero value for float32 will be returned +func (o *Web3Transaction) GetTransactionIndex() float32 { + if o == nil || o.TransactionIndex.Get() == nil { + var ret float32 + return ret + } + + return *o.TransactionIndex.Get() +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3Transaction) GetTransactionIndexOk() (*float32, bool) { + if o == nil { + return nil, false + } + return o.TransactionIndex.Get(), o.TransactionIndex.IsSet() +} + +// SetTransactionIndex sets field value +func (o *Web3Transaction) SetTransactionIndex(v float32) { + o.TransactionIndex.Set(&v) +} + +// GetFrom returns the From field value +func (o *Web3Transaction) GetFrom() string { + if o == nil { + var ret string + return ret + } + + return o.From +} + +// GetFromOk returns a tuple with the From field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.From, true +} + +// SetFrom sets field value +func (o *Web3Transaction) SetFrom(v string) { + o.From = v +} + +// GetTo returns the To field value +// If the value is explicit nil, the zero value for string will be returned +func (o *Web3Transaction) GetTo() string { + if o == nil || o.To.Get() == nil { + var ret string + return ret + } + + return *o.To.Get() +} + +// GetToOk returns a tuple with the To field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3Transaction) GetToOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.To.Get(), o.To.IsSet() +} + +// SetTo sets field value +func (o *Web3Transaction) SetTo(v string) { + o.To.Set(&v) +} + +// GetValue returns the Value field value +func (o *Web3Transaction) GetValue() string { + if o == nil { + var ret string + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *Web3Transaction) SetValue(v string) { + o.Value = v +} + +// GetGasPrice returns the GasPrice field value +func (o *Web3Transaction) GetGasPrice() string { + if o == nil { + var ret string + return ret + } + + return o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetGasPriceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasPrice, true +} + +// SetGasPrice sets field value +func (o *Web3Transaction) SetGasPrice(v string) { + o.GasPrice = v +} + +// GetGas returns the Gas field value +func (o *Web3Transaction) GetGas() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.Gas +} + +// GetGasOk returns a tuple with the Gas field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetGasOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.Gas, true +} + +// SetGas sets field value +func (o *Web3Transaction) SetGas(v float32) { + o.Gas = v +} + +// GetInput returns the Input field value +func (o *Web3Transaction) GetInput() string { + if o == nil { + var ret string + return ret + } + + return o.Input +} + +// GetInputOk returns a tuple with the Input field value +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetInputOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Input, true +} + +// SetInput sets field value +func (o *Web3Transaction) SetInput(v string) { + o.Input = v +} + +// GetV returns the V field value if set, zero value otherwise. +func (o *Web3Transaction) GetV() string { + if o == nil || IsNil(o.V) { + var ret string + return ret + } + return *o.V +} + +// GetVOk returns a tuple with the V field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetVOk() (*string, bool) { + if o == nil || IsNil(o.V) { + return nil, false + } + return o.V, true +} + +// HasV returns a boolean if a field has been set. +func (o *Web3Transaction) HasV() bool { + if o != nil && !IsNil(o.V) { + return true + } + + return false +} + +// SetV gets a reference to the given string and assigns it to the V field. +func (o *Web3Transaction) SetV(v string) { + o.V = &v +} + +// GetR returns the R field value if set, zero value otherwise. +func (o *Web3Transaction) GetR() string { + if o == nil || IsNil(o.R) { + var ret string + return ret + } + return *o.R +} + +// GetROk returns a tuple with the R field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetROk() (*string, bool) { + if o == nil || IsNil(o.R) { + return nil, false + } + return o.R, true +} + +// HasR returns a boolean if a field has been set. +func (o *Web3Transaction) HasR() bool { + if o != nil && !IsNil(o.R) { + return true + } + + return false +} + +// SetR gets a reference to the given string and assigns it to the R field. +func (o *Web3Transaction) SetR(v string) { + o.R = &v +} + +// GetS returns the S field value if set, zero value otherwise. +func (o *Web3Transaction) GetS() string { + if o == nil || IsNil(o.S) { + var ret string + return ret + } + return *o.S +} + +// GetSOk returns a tuple with the S field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3Transaction) GetSOk() (*string, bool) { + if o == nil || IsNil(o.S) { + return nil, false + } + return o.S, true +} + +// HasS returns a boolean if a field has been set. +func (o *Web3Transaction) HasS() bool { + if o != nil && !IsNil(o.S) { + return true + } + + return false +} + +// SetS gets a reference to the given string and assigns it to the S field. +func (o *Web3Transaction) SetS(v string) { + o.S = &v +} + +func (o Web3Transaction) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3Transaction) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["hash"] = o.Hash + toSerialize["nonce"] = o.Nonce + toSerialize["blockHash"] = o.BlockHash.Get() + toSerialize["blockNumber"] = o.BlockNumber.Get() + toSerialize["transactionIndex"] = o.TransactionIndex.Get() + toSerialize["from"] = o.From + toSerialize["to"] = o.To.Get() + toSerialize["value"] = o.Value + toSerialize["gasPrice"] = o.GasPrice + toSerialize["gas"] = o.Gas + toSerialize["input"] = o.Input + if !IsNil(o.V) { + toSerialize["v"] = o.V + } + if !IsNil(o.R) { + toSerialize["r"] = o.R + } + if !IsNil(o.S) { + toSerialize["s"] = o.S + } + return toSerialize, nil +} + +type NullableWeb3Transaction struct { + value *Web3Transaction + isSet bool +} + +func (v NullableWeb3Transaction) Get() *Web3Transaction { + return v.value +} + +func (v *NullableWeb3Transaction) Set(val *Web3Transaction) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3Transaction) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3Transaction) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3Transaction(val *Web3Transaction) *NullableWeb3Transaction { + return &NullableWeb3Transaction{value: val, isSet: true} +} + +func (v NullableWeb3Transaction) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3Transaction) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go new file mode 100644 index 00000000000..5a18ae675ec --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go @@ -0,0 +1,607 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" +) + +// checks if the Web3TransactionReceipt type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3TransactionReceipt{} + +// Web3TransactionReceipt struct for Web3TransactionReceipt +type Web3TransactionReceipt struct { + Status bool `json:"status"` + TransactionHash string `json:"transactionHash"` + TransactionIndex float32 `json:"transactionIndex"` + BlockHash string `json:"blockHash"` + BlockNumber float32 `json:"blockNumber"` + GasUsed float32 `json:"gasUsed"` + ContractAddress NullableString `json:"contractAddress,omitempty"` + From string `json:"from"` + To string `json:"to"` + Logs []interface{} `json:"logs,omitempty"` + LogsBloom *string `json:"logsBloom,omitempty"` + RevertReason *string `json:"revertReason,omitempty"` + Output *string `json:"output,omitempty"` + CommitmentHash *string `json:"commitmentHash,omitempty"` + CumulativeGasUSed *float32 `json:"cumulativeGasUSed,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _Web3TransactionReceipt Web3TransactionReceipt + +// NewWeb3TransactionReceipt instantiates a new Web3TransactionReceipt object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3TransactionReceipt(status bool, transactionHash string, transactionIndex float32, blockHash string, blockNumber float32, gasUsed float32, from string, to string) *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + this.Status = status + this.TransactionHash = transactionHash + this.TransactionIndex = transactionIndex + this.BlockHash = blockHash + this.BlockNumber = blockNumber + this.GasUsed = gasUsed + this.From = from + this.To = to + return &this +} + +// NewWeb3TransactionReceiptWithDefaults instantiates a new Web3TransactionReceipt object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3TransactionReceiptWithDefaults() *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + return &this +} + +// GetStatus returns the Status field value +func (o *Web3TransactionReceipt) GetStatus() bool { + if o == nil { + var ret bool + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetStatusOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *Web3TransactionReceipt) SetStatus(v bool) { + o.Status = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *Web3TransactionReceipt) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *Web3TransactionReceipt) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTransactionIndex returns the TransactionIndex field value +func (o *Web3TransactionReceipt) GetTransactionIndex() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.TransactionIndex +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionIndexOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.TransactionIndex, true +} + +// SetTransactionIndex sets field value +func (o *Web3TransactionReceipt) SetTransactionIndex(v float32) { + o.TransactionIndex = v +} + +// GetBlockHash returns the BlockHash field value +func (o *Web3TransactionReceipt) GetBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockHash, true +} + +// SetBlockHash sets field value +func (o *Web3TransactionReceipt) SetBlockHash(v string) { + o.BlockHash = v +} + +// GetBlockNumber returns the BlockNumber field value +func (o *Web3TransactionReceipt) GetBlockNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.BlockNumber, true +} + +// SetBlockNumber sets field value +func (o *Web3TransactionReceipt) SetBlockNumber(v float32) { + o.BlockNumber = v +} + +// GetGasUsed returns the GasUsed field value +func (o *Web3TransactionReceipt) GetGasUsed() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetGasUsedOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *Web3TransactionReceipt) SetGasUsed(v float32) { + o.GasUsed = v +} + +// GetContractAddress returns the ContractAddress field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Web3TransactionReceipt) GetContractAddress() string { + if o == nil || IsNil(o.ContractAddress.Get()) { + var ret string + return ret + } + return *o.ContractAddress.Get() +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3TransactionReceipt) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ContractAddress.Get(), o.ContractAddress.IsSet() +} + +// HasContractAddress returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasContractAddress() bool { + if o != nil && o.ContractAddress.IsSet() { + return true + } + + return false +} + +// SetContractAddress gets a reference to the given NullableString and assigns it to the ContractAddress field. +func (o *Web3TransactionReceipt) SetContractAddress(v string) { + o.ContractAddress.Set(&v) +} +// SetContractAddressNil sets the value for ContractAddress to be an explicit nil +func (o *Web3TransactionReceipt) SetContractAddressNil() { + o.ContractAddress.Set(nil) +} + +// UnsetContractAddress ensures that no value is present for ContractAddress, not even an explicit nil +func (o *Web3TransactionReceipt) UnsetContractAddress() { + o.ContractAddress.Unset() +} + +// GetFrom returns the From field value +func (o *Web3TransactionReceipt) GetFrom() string { + if o == nil { + var ret string + return ret + } + + return o.From +} + +// GetFromOk returns a tuple with the From field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.From, true +} + +// SetFrom sets field value +func (o *Web3TransactionReceipt) SetFrom(v string) { + o.From = v +} + +// GetTo returns the To field value +func (o *Web3TransactionReceipt) GetTo() string { + if o == nil { + var ret string + return ret + } + + return o.To +} + +// GetToOk returns a tuple with the To field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetToOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.To, true +} + +// SetTo sets field value +func (o *Web3TransactionReceipt) SetTo(v string) { + o.To = v +} + +// GetLogs returns the Logs field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetLogs() []interface{} { + if o == nil || IsNil(o.Logs) { + var ret []interface{} + return ret + } + return o.Logs +} + +// GetLogsOk returns a tuple with the Logs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetLogsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Logs) { + return nil, false + } + return o.Logs, true +} + +// HasLogs returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasLogs() bool { + if o != nil && !IsNil(o.Logs) { + return true + } + + return false +} + +// SetLogs gets a reference to the given []interface{} and assigns it to the Logs field. +func (o *Web3TransactionReceipt) SetLogs(v []interface{}) { + o.Logs = v +} + +// GetLogsBloom returns the LogsBloom field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetLogsBloom() string { + if o == nil || IsNil(o.LogsBloom) { + var ret string + return ret + } + return *o.LogsBloom +} + +// GetLogsBloomOk returns a tuple with the LogsBloom field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetLogsBloomOk() (*string, bool) { + if o == nil || IsNil(o.LogsBloom) { + return nil, false + } + return o.LogsBloom, true +} + +// HasLogsBloom returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasLogsBloom() bool { + if o != nil && !IsNil(o.LogsBloom) { + return true + } + + return false +} + +// SetLogsBloom gets a reference to the given string and assigns it to the LogsBloom field. +func (o *Web3TransactionReceipt) SetLogsBloom(v string) { + o.LogsBloom = &v +} + +// GetRevertReason returns the RevertReason field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetRevertReason() string { + if o == nil || IsNil(o.RevertReason) { + var ret string + return ret + } + return *o.RevertReason +} + +// GetRevertReasonOk returns a tuple with the RevertReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetRevertReasonOk() (*string, bool) { + if o == nil || IsNil(o.RevertReason) { + return nil, false + } + return o.RevertReason, true +} + +// HasRevertReason returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasRevertReason() bool { + if o != nil && !IsNil(o.RevertReason) { + return true + } + + return false +} + +// SetRevertReason gets a reference to the given string and assigns it to the RevertReason field. +func (o *Web3TransactionReceipt) SetRevertReason(v string) { + o.RevertReason = &v +} + +// GetOutput returns the Output field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetOutput() string { + if o == nil || IsNil(o.Output) { + var ret string + return ret + } + return *o.Output +} + +// GetOutputOk returns a tuple with the Output field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetOutputOk() (*string, bool) { + if o == nil || IsNil(o.Output) { + return nil, false + } + return o.Output, true +} + +// HasOutput returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasOutput() bool { + if o != nil && !IsNil(o.Output) { + return true + } + + return false +} + +// SetOutput gets a reference to the given string and assigns it to the Output field. +func (o *Web3TransactionReceipt) SetOutput(v string) { + o.Output = &v +} + +// GetCommitmentHash returns the CommitmentHash field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetCommitmentHash() string { + if o == nil || IsNil(o.CommitmentHash) { + var ret string + return ret + } + return *o.CommitmentHash +} + +// GetCommitmentHashOk returns a tuple with the CommitmentHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetCommitmentHashOk() (*string, bool) { + if o == nil || IsNil(o.CommitmentHash) { + return nil, false + } + return o.CommitmentHash, true +} + +// HasCommitmentHash returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasCommitmentHash() bool { + if o != nil && !IsNil(o.CommitmentHash) { + return true + } + + return false +} + +// SetCommitmentHash gets a reference to the given string and assigns it to the CommitmentHash field. +func (o *Web3TransactionReceipt) SetCommitmentHash(v string) { + o.CommitmentHash = &v +} + +// GetCumulativeGasUSed returns the CumulativeGasUSed field value if set, zero value otherwise. +func (o *Web3TransactionReceipt) GetCumulativeGasUSed() float32 { + if o == nil || IsNil(o.CumulativeGasUSed) { + var ret float32 + return ret + } + return *o.CumulativeGasUSed +} + +// GetCumulativeGasUSedOk returns a tuple with the CumulativeGasUSed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetCumulativeGasUSedOk() (*float32, bool) { + if o == nil || IsNil(o.CumulativeGasUSed) { + return nil, false + } + return o.CumulativeGasUSed, true +} + +// HasCumulativeGasUSed returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasCumulativeGasUSed() bool { + if o != nil && !IsNil(o.CumulativeGasUSed) { + return true + } + + return false +} + +// SetCumulativeGasUSed gets a reference to the given float32 and assigns it to the CumulativeGasUSed field. +func (o *Web3TransactionReceipt) SetCumulativeGasUSed(v float32) { + o.CumulativeGasUSed = &v +} + +func (o Web3TransactionReceipt) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3TransactionReceipt) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + toSerialize["transactionHash"] = o.TransactionHash + toSerialize["transactionIndex"] = o.TransactionIndex + toSerialize["blockHash"] = o.BlockHash + toSerialize["blockNumber"] = o.BlockNumber + toSerialize["gasUsed"] = o.GasUsed + if o.ContractAddress.IsSet() { + toSerialize["contractAddress"] = o.ContractAddress.Get() + } + toSerialize["from"] = o.From + toSerialize["to"] = o.To + if !IsNil(o.Logs) { + toSerialize["logs"] = o.Logs + } + if !IsNil(o.LogsBloom) { + toSerialize["logsBloom"] = o.LogsBloom + } + if !IsNil(o.RevertReason) { + toSerialize["revertReason"] = o.RevertReason + } + if !IsNil(o.Output) { + toSerialize["output"] = o.Output + } + if !IsNil(o.CommitmentHash) { + toSerialize["commitmentHash"] = o.CommitmentHash + } + if !IsNil(o.CumulativeGasUSed) { + toSerialize["cumulativeGasUSed"] = o.CumulativeGasUSed + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Web3TransactionReceipt) UnmarshalJSON(bytes []byte) (err error) { + varWeb3TransactionReceipt := _Web3TransactionReceipt{} + + if err = json.Unmarshal(bytes, &varWeb3TransactionReceipt); err == nil { + *o = Web3TransactionReceipt(varWeb3TransactionReceipt) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "status") + delete(additionalProperties, "transactionHash") + delete(additionalProperties, "transactionIndex") + delete(additionalProperties, "blockHash") + delete(additionalProperties, "blockNumber") + delete(additionalProperties, "gasUsed") + delete(additionalProperties, "contractAddress") + delete(additionalProperties, "from") + delete(additionalProperties, "to") + delete(additionalProperties, "logs") + delete(additionalProperties, "logsBloom") + delete(additionalProperties, "revertReason") + delete(additionalProperties, "output") + delete(additionalProperties, "commitmentHash") + delete(additionalProperties, "cumulativeGasUSed") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWeb3TransactionReceipt struct { + value *Web3TransactionReceipt + isSet bool +} + +func (v NullableWeb3TransactionReceipt) Get() *Web3TransactionReceipt { + return v.value +} + +func (v *NullableWeb3TransactionReceipt) Set(val *Web3TransactionReceipt) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3TransactionReceipt) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3TransactionReceipt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3TransactionReceipt(val *Web3TransactionReceipt) *NullableWeb3TransactionReceipt { + return &NullableWeb3TransactionReceipt{value: val, isSet: true} +} + +func (v NullableWeb3TransactionReceipt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3TransactionReceipt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..e96a29d7965 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..9d17e9739f5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,121 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-quorum + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-quorum_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeployContractSolBytecodeJsonObjectV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContractSolBytecodeJsonObjectV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService DeployContractSolBytecodeV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContractSolBytecodeV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeContractV1NoKeychain", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeContractV1NoKeychain(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeRawWeb3EthContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeRawWeb3EthContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeWeb3EthMethodV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeWeb3EthMethodV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RunTransactionV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RunTransactionV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..277f3183f6e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Connector Quorum + +Can perform basic tasks on a Quorum ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-quorum + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/package.json b/packages/cactus-plugin-ledger-connector-sawtooth/package.json index f3121d12753..64bb7615f2c 100644 --- a/packages/cactus-plugin-ledger-connector-sawtooth/package.json +++ b/packages/cactus-plugin-ledger-connector-sawtooth/package.json @@ -49,6 +49,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:sawtooth-axios": "openapi-generator-cli generate -i ./src/main/json/sawtooth-openapi.json -g typescript-axios -o ./src/main/typescript/sawtooth-api/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..b484f87dedf --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,28 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_cacti_transaction_v1.go +model_cacti_transaction_v1_all_of.go +model_error_exception_response_v1.go +model_sawtooth_batch_header_v1.go +model_sawtooth_batch_v1.go +model_sawtooth_block_header_v1.go +model_sawtooth_block_v1.go +model_sawtooth_transaction_header_v1.go +model_sawtooth_transaction_v1.go +model_status_response_v1.go +model_watch_blocks_v1.go +model_watch_blocks_v1_cacti_transactions_response.go +model_watch_blocks_v1_full_response.go +model_watch_blocks_v1_listener_type.go +model_watch_blocks_v1_options.go +model_watch_blocks_v1_progress.go +model_watch_blocks_v1_transaction_filter.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..337161219a6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,128 @@ +# Go API client for cactus-plugin-ledger-connector-sawtooth + +Can perform basic tasks on a Sawtooth ledger + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-sawtooth "github.com/hyperledger/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-sawtooth.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-sawtooth.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-sawtooth.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-sawtooth.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**GetStatusV1**](docs/DefaultApi.md#getstatusv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-sawtooth/status | Get the status of the connector and the sawtooth validator + + +## Documentation For Models + + - [CactiTransactionV1](docs/CactiTransactionV1.md) + - [CactiTransactionV1AllOf](docs/CactiTransactionV1AllOf.md) + - [ErrorExceptionResponseV1](docs/ErrorExceptionResponseV1.md) + - [SawtoothBatchHeaderV1](docs/SawtoothBatchHeaderV1.md) + - [SawtoothBatchV1](docs/SawtoothBatchV1.md) + - [SawtoothBlockHeaderV1](docs/SawtoothBlockHeaderV1.md) + - [SawtoothBlockV1](docs/SawtoothBlockV1.md) + - [SawtoothTransactionHeaderV1](docs/SawtoothTransactionHeaderV1.md) + - [SawtoothTransactionV1](docs/SawtoothTransactionV1.md) + - [StatusResponseV1](docs/StatusResponseV1.md) + - [WatchBlocksV1](docs/WatchBlocksV1.md) + - [WatchBlocksV1CactiTransactionsResponse](docs/WatchBlocksV1CactiTransactionsResponse.md) + - [WatchBlocksV1FullResponse](docs/WatchBlocksV1FullResponse.md) + - [WatchBlocksV1ListenerType](docs/WatchBlocksV1ListenerType.md) + - [WatchBlocksV1Options](docs/WatchBlocksV1Options.md) + - [WatchBlocksV1Progress](docs/WatchBlocksV1Progress.md) + - [WatchBlocksV1TransactionFilter](docs/WatchBlocksV1TransactionFilter.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..d625ff1acc4 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,279 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on a Sawtooth ledger + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cacti Plugin - Connector Sawtooth + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-sawtooth/status: + get: + operationId: getStatusV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/StatusResponseV1' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Get the status of the connector and the sawtooth validator + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-sawtooth/status +components: + schemas: + SawtoothTransactionHeaderV1: + properties: + batcher_public_key: + example: 02d260a46457a064733153e09840c322bee1dff34445d7d49e19e60abd18fd0758 + type: string + dependencies: + items: + example: 1baee350bdb60bcee60e3d325d43283cf830b4c23b2cb17d3bb43935bd7af3761c2bee79847c72a9e396a9ae58f48add4e43f94eb83f84442c6085c1dd5d4dbe + type: string + type: array + family_name: + example: intkey + type: string + family_version: + example: "1.0" + type: string + inputs: + items: + example: 1cf12650d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c + type: string + type: array + nonce: + example: QAApS4L + type: string + outputs: + items: + example: 1cf12650d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c + type: string + type: array + payload_sha512: + example: fb6135ef73f4fe77367f9384b3bbbb158f4b8603c9d612157108e5c271868fce2242ee4abd7a29397ba63780c3ccab13783dfd4d9f0167beda03cdb0e37b87f4 + type: string + signer_public_key: + example: 038bba5708acc262464c9fe30d3de9e905a9a5fa30cedd151dd9cd09ea26d46d00 + type: string + required: + - batcher_public_key + - dependencies + - family_name + - family_version + - inputs + - nonce + - outputs + - payload_sha512 + - signer_public_key + SawtoothTransactionV1: + properties: + header: + $ref: '#/components/schemas/SawtoothTransactionHeaderV1' + header_signature: + example: 540a6803971d1880ec73a96cb97815a95d374cbad5d865925e5aa0432fcf1931539afe10310c122c5eaae15df61236079abbf4f258889359c4d175516934484a + type: string + payload: + type: string + required: + - header + - header_signature + - payload + SawtoothBatchHeaderV1: + properties: + signer_public_key: + example: 038bba5708acc262464c9fe30d3de9e905a9a5fa30cedd151dd9cd09ea26d46d00 + type: string + transaction_ids: + items: + example: 540a6803971d1880ec73a96cb97815a95d374cbad5d865925e5aa0432fcf1931539afe10310c122c5eaae15df61236079abbf4f258889359c4d175516934484a + type: string + type: array + required: + - signer_public_key + - transaction_ids + SawtoothBatchV1: + properties: + header: + $ref: '#/components/schemas/SawtoothBatchHeaderV1' + header_signature: + example: 89807bfc9089e37e00d87d97357de14cfbc455cd608438d426a625a30a0da9a31c406983803c4aa27e1f32a3ff61709e8ec4b56abbc553d7d330635b5d27029c + type: string + transactions: + items: + $ref: '#/components/schemas/SawtoothTransactionV1' + type: array + required: + - header + - header_signature + - transactions + SawtoothBlockHeaderV1: + properties: + block_num: + example: 12345 + type: integer + previous_block_id: + example: 65cd3a3ce088b265b626f704b7f3db97b6f12e848dccb35d7806f3d0324c71b709ed360d602b8b658b94695374717e3bdb4b76f77886953777d5d008558247dd + type: string + signer_public_key: + example: 02d260a46457a064733153e09840c322bee1dff34445d7d49e19e60abd18fd0758 + type: string + batch_ids: + items: + example: 89807bfc9089e37e00d87d97357de14cfbc455cd608438d426a625a30a0da9a31c406983803c4aa27e1f32a3ff61709e8ec4b56abbc553d7d330635b5d27029c + type: string + type: array + consensus: + type: string + state_root_hash: + example: 708ca7fbb701799bb387f2e50deaca402e8502abe229f705693d2d4f350e1ad6 + type: string + required: + - batch_ids + - block_num + - consensus + - previous_block_id + - signer_public_key + - state_root_hash + SawtoothBlockV1: + properties: + header: + $ref: '#/components/schemas/SawtoothBlockHeaderV1' + header_signature: + example: 65cd3a3ce088b265b626f704b7f3db97b6f12e848dccb35d7806f3d0324c71b709ed360d602b8b658b94695374717e3bdb4b76f77886953777d5d008558247dd + type: string + batches: + items: + $ref: '#/components/schemas/SawtoothBatchV1' + type: array + required: + - batches + - header + - header_signature + CactiTransactionV1: + allOf: + - $ref: '#/components/schemas/SawtoothTransactionV1' + - $ref: '#/components/schemas/CactiTransactionV1_allOf' + description: Sawtooth transaction with additional fields filled by Cacti connector. + type: object + WatchBlocksV1: + enum: + - org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Subscribe + - org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Next + - org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Unsubscribe + - org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Error + - org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Complete + type: string + x-enum-varnames: + - Subscribe + - Next + - Unsubscribe + - Error + - Complete + WatchBlocksV1ListenerType: + description: "Response type from WatchBlocks. 'Cacti*' are custom views, others\ + \ correspond to plain sawtooth data." + enum: + - full + - cacti:transactions + type: string + x-enum-varnames: + - Full + - CactiTransactions + WatchBlocksV1TransactionFilter: + properties: + family_name: + type: string + type: object + WatchBlocksV1Options: + properties: + type: + $ref: '#/components/schemas/WatchBlocksV1ListenerType' + txFilterBy: + $ref: '#/components/schemas/WatchBlocksV1TransactionFilter' + type: object + WatchBlocksV1CactiTransactionsResponse: + description: Custom response containing block transactions summary. + properties: + cactiTransactionsEvents: + description: List of sawtooth transactions matching specifid (optional) + filter + items: + $ref: '#/components/schemas/CactiTransactionV1' + type: array + required: + - cactiTransactionsEvents + type: object + WatchBlocksV1FullResponse: + description: Response that returns entire sawtooth block. + properties: + fullBlock: + $ref: '#/components/schemas/SawtoothBlockV1' + required: + - fullBlock + type: object + WatchBlocksV1Progress: + description: Response block from WatchBlocks endpoint. Depends on 'type' passed + in subscription options. + oneOf: + - $ref: '#/components/schemas/WatchBlocksV1CactiTransactionsResponse' + - $ref: '#/components/schemas/WatchBlocksV1FullResponse' + StatusResponseV1: + description: Response with plugin and validator status report. + example: + openApiSpecVersion: openApiSpecVersion + sawtoothStatus: "" + instanceId: instanceId + initialized: true + properties: + instanceId: + description: Plugin instance id. + nullable: false + type: string + openApiSpecVersion: + description: Version of connectors Open API Spec. + nullable: false + type: string + initialized: + description: "True if endpoints were created, false otherwise" + nullable: false + type: boolean + sawtoothStatus: + description: Response from sawtooth Rest API status endpoint + nullable: false + required: + - instanceId + type: object + ErrorExceptionResponseV1: + properties: + message: + nullable: false + type: string + error: + nullable: false + type: string + required: + - error + - message + type: object + CactiTransactionV1_allOf: + properties: + payload_decoded: + description: Decoded payload of sawtooth transaction. + example: "[{'Verb':'inc','Name':'monitorTest3','Value':11}]}]" + required: + - payload_decoded + type: object + example: null diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..5d21c57b28b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,130 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiGetStatusV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetStatusV1Request) Execute() (*StatusResponseV1, *http.Response, error) { + return r.ApiService.GetStatusV1Execute(r) +} + +/* +GetStatusV1 Get the status of the connector and the sawtooth validator + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetStatusV1Request +*/ +func (a *DefaultApiService) GetStatusV1(ctx context.Context) ApiGetStatusV1Request { + return ApiGetStatusV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return StatusResponseV1 +func (a *DefaultApiService) GetStatusV1Execute(r ApiGetStatusV1Request) (*StatusResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *StatusResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetStatusV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-sawtooth/status" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..0dfcb5ab9a6 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cacti Plugin - Connector Sawtooth API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..428e8d81189 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..205d553563d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_cacti_transaction_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_cacti_transaction_v1.go new file mode 100644 index 00000000000..604e80061f9 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_cacti_transaction_v1.go @@ -0,0 +1,203 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the CactiTransactionV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CactiTransactionV1{} + +// CactiTransactionV1 Sawtooth transaction with additional fields filled by Cacti connector. +type CactiTransactionV1 struct { + Header SawtoothTransactionHeaderV1 `json:"header"` + HeaderSignature string `json:"header_signature"` + Payload string `json:"payload"` + // Decoded payload of sawtooth transaction. + PayloadDecoded interface{} `json:"payload_decoded"` +} + +// NewCactiTransactionV1 instantiates a new CactiTransactionV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCactiTransactionV1(header SawtoothTransactionHeaderV1, headerSignature string, payload string, payloadDecoded interface{}) *CactiTransactionV1 { + this := CactiTransactionV1{} + this.Header = header + this.HeaderSignature = headerSignature + this.Payload = payload + this.PayloadDecoded = payloadDecoded + return &this +} + +// NewCactiTransactionV1WithDefaults instantiates a new CactiTransactionV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCactiTransactionV1WithDefaults() *CactiTransactionV1 { + this := CactiTransactionV1{} + return &this +} + +// GetHeader returns the Header field value +func (o *CactiTransactionV1) GetHeader() SawtoothTransactionHeaderV1 { + if o == nil { + var ret SawtoothTransactionHeaderV1 + return ret + } + + return o.Header +} + +// GetHeaderOk returns a tuple with the Header field value +// and a boolean to check if the value has been set. +func (o *CactiTransactionV1) GetHeaderOk() (*SawtoothTransactionHeaderV1, bool) { + if o == nil { + return nil, false + } + return &o.Header, true +} + +// SetHeader sets field value +func (o *CactiTransactionV1) SetHeader(v SawtoothTransactionHeaderV1) { + o.Header = v +} + +// GetHeaderSignature returns the HeaderSignature field value +func (o *CactiTransactionV1) GetHeaderSignature() string { + if o == nil { + var ret string + return ret + } + + return o.HeaderSignature +} + +// GetHeaderSignatureOk returns a tuple with the HeaderSignature field value +// and a boolean to check if the value has been set. +func (o *CactiTransactionV1) GetHeaderSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HeaderSignature, true +} + +// SetHeaderSignature sets field value +func (o *CactiTransactionV1) SetHeaderSignature(v string) { + o.HeaderSignature = v +} + +// GetPayload returns the Payload field value +func (o *CactiTransactionV1) GetPayload() string { + if o == nil { + var ret string + return ret + } + + return o.Payload +} + +// GetPayloadOk returns a tuple with the Payload field value +// and a boolean to check if the value has been set. +func (o *CactiTransactionV1) GetPayloadOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Payload, true +} + +// SetPayload sets field value +func (o *CactiTransactionV1) SetPayload(v string) { + o.Payload = v +} + +// GetPayloadDecoded returns the PayloadDecoded field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *CactiTransactionV1) GetPayloadDecoded() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.PayloadDecoded +} + +// GetPayloadDecodedOk returns a tuple with the PayloadDecoded field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CactiTransactionV1) GetPayloadDecodedOk() (*interface{}, bool) { + if o == nil || IsNil(o.PayloadDecoded) { + return nil, false + } + return &o.PayloadDecoded, true +} + +// SetPayloadDecoded sets field value +func (o *CactiTransactionV1) SetPayloadDecoded(v interface{}) { + o.PayloadDecoded = v +} + +func (o CactiTransactionV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CactiTransactionV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["header"] = o.Header + toSerialize["header_signature"] = o.HeaderSignature + toSerialize["payload"] = o.Payload + if o.PayloadDecoded != nil { + toSerialize["payload_decoded"] = o.PayloadDecoded + } + return toSerialize, nil +} + +type NullableCactiTransactionV1 struct { + value *CactiTransactionV1 + isSet bool +} + +func (v NullableCactiTransactionV1) Get() *CactiTransactionV1 { + return v.value +} + +func (v *NullableCactiTransactionV1) Set(val *CactiTransactionV1) { + v.value = val + v.isSet = true +} + +func (v NullableCactiTransactionV1) IsSet() bool { + return v.isSet +} + +func (v *NullableCactiTransactionV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCactiTransactionV1(val *CactiTransactionV1) *NullableCactiTransactionV1 { + return &NullableCactiTransactionV1{value: val, isSet: true} +} + +func (v NullableCactiTransactionV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCactiTransactionV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_cacti_transaction_v1_all_of.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_cacti_transaction_v1_all_of.go new file mode 100644 index 00000000000..b768e2dddda --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_cacti_transaction_v1_all_of.go @@ -0,0 +1,122 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the CactiTransactionV1AllOf type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CactiTransactionV1AllOf{} + +// CactiTransactionV1AllOf struct for CactiTransactionV1AllOf +type CactiTransactionV1AllOf struct { + // Decoded payload of sawtooth transaction. + PayloadDecoded interface{} `json:"payload_decoded"` +} + +// NewCactiTransactionV1AllOf instantiates a new CactiTransactionV1AllOf object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCactiTransactionV1AllOf(payloadDecoded interface{}) *CactiTransactionV1AllOf { + this := CactiTransactionV1AllOf{} + this.PayloadDecoded = payloadDecoded + return &this +} + +// NewCactiTransactionV1AllOfWithDefaults instantiates a new CactiTransactionV1AllOf object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCactiTransactionV1AllOfWithDefaults() *CactiTransactionV1AllOf { + this := CactiTransactionV1AllOf{} + return &this +} + +// GetPayloadDecoded returns the PayloadDecoded field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *CactiTransactionV1AllOf) GetPayloadDecoded() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.PayloadDecoded +} + +// GetPayloadDecodedOk returns a tuple with the PayloadDecoded field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CactiTransactionV1AllOf) GetPayloadDecodedOk() (*interface{}, bool) { + if o == nil || IsNil(o.PayloadDecoded) { + return nil, false + } + return &o.PayloadDecoded, true +} + +// SetPayloadDecoded sets field value +func (o *CactiTransactionV1AllOf) SetPayloadDecoded(v interface{}) { + o.PayloadDecoded = v +} + +func (o CactiTransactionV1AllOf) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CactiTransactionV1AllOf) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.PayloadDecoded != nil { + toSerialize["payload_decoded"] = o.PayloadDecoded + } + return toSerialize, nil +} + +type NullableCactiTransactionV1AllOf struct { + value *CactiTransactionV1AllOf + isSet bool +} + +func (v NullableCactiTransactionV1AllOf) Get() *CactiTransactionV1AllOf { + return v.value +} + +func (v *NullableCactiTransactionV1AllOf) Set(val *CactiTransactionV1AllOf) { + v.value = val + v.isSet = true +} + +func (v NullableCactiTransactionV1AllOf) IsSet() bool { + return v.isSet +} + +func (v *NullableCactiTransactionV1AllOf) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCactiTransactionV1AllOf(val *CactiTransactionV1AllOf) *NullableCactiTransactionV1AllOf { + return &NullableCactiTransactionV1AllOf{value: val, isSet: true} +} + +func (v NullableCactiTransactionV1AllOf) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCactiTransactionV1AllOf) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go new file mode 100644 index 00000000000..f59439e62cb --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the ErrorExceptionResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ErrorExceptionResponseV1{} + +// ErrorExceptionResponseV1 struct for ErrorExceptionResponseV1 +type ErrorExceptionResponseV1 struct { + Message string `json:"message"` + Error string `json:"error"` +} + +// NewErrorExceptionResponseV1 instantiates a new ErrorExceptionResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewErrorExceptionResponseV1(message string, error_ string) *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + this.Message = message + this.Error = error_ + return &this +} + +// NewErrorExceptionResponseV1WithDefaults instantiates a new ErrorExceptionResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewErrorExceptionResponseV1WithDefaults() *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + return &this +} + +// GetMessage returns the Message field value +func (o *ErrorExceptionResponseV1) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *ErrorExceptionResponseV1) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +func (o *ErrorExceptionResponseV1) GetError() string { + if o == nil { + var ret string + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *ErrorExceptionResponseV1) SetError(v string) { + o.Error = v +} + +func (o ErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ErrorExceptionResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error + return toSerialize, nil +} + +type NullableErrorExceptionResponseV1 struct { + value *ErrorExceptionResponseV1 + isSet bool +} + +func (v NullableErrorExceptionResponseV1) Get() *ErrorExceptionResponseV1 { + return v.value +} + +func (v *NullableErrorExceptionResponseV1) Set(val *ErrorExceptionResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableErrorExceptionResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableErrorExceptionResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableErrorExceptionResponseV1(val *ErrorExceptionResponseV1) *NullableErrorExceptionResponseV1 { + return &NullableErrorExceptionResponseV1{value: val, isSet: true} +} + +func (v NullableErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableErrorExceptionResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_batch_header_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_batch_header_v1.go new file mode 100644 index 00000000000..bae089a5542 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_batch_header_v1.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the SawtoothBatchHeaderV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SawtoothBatchHeaderV1{} + +// SawtoothBatchHeaderV1 struct for SawtoothBatchHeaderV1 +type SawtoothBatchHeaderV1 struct { + SignerPublicKey string `json:"signer_public_key"` + TransactionIds []string `json:"transaction_ids"` +} + +// NewSawtoothBatchHeaderV1 instantiates a new SawtoothBatchHeaderV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSawtoothBatchHeaderV1(signerPublicKey string, transactionIds []string) *SawtoothBatchHeaderV1 { + this := SawtoothBatchHeaderV1{} + this.SignerPublicKey = signerPublicKey + this.TransactionIds = transactionIds + return &this +} + +// NewSawtoothBatchHeaderV1WithDefaults instantiates a new SawtoothBatchHeaderV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSawtoothBatchHeaderV1WithDefaults() *SawtoothBatchHeaderV1 { + this := SawtoothBatchHeaderV1{} + return &this +} + +// GetSignerPublicKey returns the SignerPublicKey field value +func (o *SawtoothBatchHeaderV1) GetSignerPublicKey() string { + if o == nil { + var ret string + return ret + } + + return o.SignerPublicKey +} + +// GetSignerPublicKeyOk returns a tuple with the SignerPublicKey field value +// and a boolean to check if the value has been set. +func (o *SawtoothBatchHeaderV1) GetSignerPublicKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SignerPublicKey, true +} + +// SetSignerPublicKey sets field value +func (o *SawtoothBatchHeaderV1) SetSignerPublicKey(v string) { + o.SignerPublicKey = v +} + +// GetTransactionIds returns the TransactionIds field value +func (o *SawtoothBatchHeaderV1) GetTransactionIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.TransactionIds +} + +// GetTransactionIdsOk returns a tuple with the TransactionIds field value +// and a boolean to check if the value has been set. +func (o *SawtoothBatchHeaderV1) GetTransactionIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.TransactionIds, true +} + +// SetTransactionIds sets field value +func (o *SawtoothBatchHeaderV1) SetTransactionIds(v []string) { + o.TransactionIds = v +} + +func (o SawtoothBatchHeaderV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SawtoothBatchHeaderV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["signer_public_key"] = o.SignerPublicKey + toSerialize["transaction_ids"] = o.TransactionIds + return toSerialize, nil +} + +type NullableSawtoothBatchHeaderV1 struct { + value *SawtoothBatchHeaderV1 + isSet bool +} + +func (v NullableSawtoothBatchHeaderV1) Get() *SawtoothBatchHeaderV1 { + return v.value +} + +func (v *NullableSawtoothBatchHeaderV1) Set(val *SawtoothBatchHeaderV1) { + v.value = val + v.isSet = true +} + +func (v NullableSawtoothBatchHeaderV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSawtoothBatchHeaderV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSawtoothBatchHeaderV1(val *SawtoothBatchHeaderV1) *NullableSawtoothBatchHeaderV1 { + return &NullableSawtoothBatchHeaderV1{value: val, isSet: true} +} + +func (v NullableSawtoothBatchHeaderV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSawtoothBatchHeaderV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_batch_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_batch_v1.go new file mode 100644 index 00000000000..05c6764e6db --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_batch_v1.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the SawtoothBatchV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SawtoothBatchV1{} + +// SawtoothBatchV1 struct for SawtoothBatchV1 +type SawtoothBatchV1 struct { + Header SawtoothBatchHeaderV1 `json:"header"` + HeaderSignature string `json:"header_signature"` + Transactions []SawtoothTransactionV1 `json:"transactions"` +} + +// NewSawtoothBatchV1 instantiates a new SawtoothBatchV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSawtoothBatchV1(header SawtoothBatchHeaderV1, headerSignature string, transactions []SawtoothTransactionV1) *SawtoothBatchV1 { + this := SawtoothBatchV1{} + this.Header = header + this.HeaderSignature = headerSignature + this.Transactions = transactions + return &this +} + +// NewSawtoothBatchV1WithDefaults instantiates a new SawtoothBatchV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSawtoothBatchV1WithDefaults() *SawtoothBatchV1 { + this := SawtoothBatchV1{} + return &this +} + +// GetHeader returns the Header field value +func (o *SawtoothBatchV1) GetHeader() SawtoothBatchHeaderV1 { + if o == nil { + var ret SawtoothBatchHeaderV1 + return ret + } + + return o.Header +} + +// GetHeaderOk returns a tuple with the Header field value +// and a boolean to check if the value has been set. +func (o *SawtoothBatchV1) GetHeaderOk() (*SawtoothBatchHeaderV1, bool) { + if o == nil { + return nil, false + } + return &o.Header, true +} + +// SetHeader sets field value +func (o *SawtoothBatchV1) SetHeader(v SawtoothBatchHeaderV1) { + o.Header = v +} + +// GetHeaderSignature returns the HeaderSignature field value +func (o *SawtoothBatchV1) GetHeaderSignature() string { + if o == nil { + var ret string + return ret + } + + return o.HeaderSignature +} + +// GetHeaderSignatureOk returns a tuple with the HeaderSignature field value +// and a boolean to check if the value has been set. +func (o *SawtoothBatchV1) GetHeaderSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HeaderSignature, true +} + +// SetHeaderSignature sets field value +func (o *SawtoothBatchV1) SetHeaderSignature(v string) { + o.HeaderSignature = v +} + +// GetTransactions returns the Transactions field value +func (o *SawtoothBatchV1) GetTransactions() []SawtoothTransactionV1 { + if o == nil { + var ret []SawtoothTransactionV1 + return ret + } + + return o.Transactions +} + +// GetTransactionsOk returns a tuple with the Transactions field value +// and a boolean to check if the value has been set. +func (o *SawtoothBatchV1) GetTransactionsOk() ([]SawtoothTransactionV1, bool) { + if o == nil { + return nil, false + } + return o.Transactions, true +} + +// SetTransactions sets field value +func (o *SawtoothBatchV1) SetTransactions(v []SawtoothTransactionV1) { + o.Transactions = v +} + +func (o SawtoothBatchV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SawtoothBatchV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["header"] = o.Header + toSerialize["header_signature"] = o.HeaderSignature + toSerialize["transactions"] = o.Transactions + return toSerialize, nil +} + +type NullableSawtoothBatchV1 struct { + value *SawtoothBatchV1 + isSet bool +} + +func (v NullableSawtoothBatchV1) Get() *SawtoothBatchV1 { + return v.value +} + +func (v *NullableSawtoothBatchV1) Set(val *SawtoothBatchV1) { + v.value = val + v.isSet = true +} + +func (v NullableSawtoothBatchV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSawtoothBatchV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSawtoothBatchV1(val *SawtoothBatchV1) *NullableSawtoothBatchV1 { + return &NullableSawtoothBatchV1{value: val, isSet: true} +} + +func (v NullableSawtoothBatchV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSawtoothBatchV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_block_header_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_block_header_v1.go new file mode 100644 index 00000000000..6a9aa2af83a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_block_header_v1.go @@ -0,0 +1,252 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the SawtoothBlockHeaderV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SawtoothBlockHeaderV1{} + +// SawtoothBlockHeaderV1 struct for SawtoothBlockHeaderV1 +type SawtoothBlockHeaderV1 struct { + BlockNum int32 `json:"block_num"` + PreviousBlockId string `json:"previous_block_id"` + SignerPublicKey string `json:"signer_public_key"` + BatchIds []string `json:"batch_ids"` + Consensus string `json:"consensus"` + StateRootHash string `json:"state_root_hash"` +} + +// NewSawtoothBlockHeaderV1 instantiates a new SawtoothBlockHeaderV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSawtoothBlockHeaderV1(blockNum int32, previousBlockId string, signerPublicKey string, batchIds []string, consensus string, stateRootHash string) *SawtoothBlockHeaderV1 { + this := SawtoothBlockHeaderV1{} + this.BlockNum = blockNum + this.PreviousBlockId = previousBlockId + this.SignerPublicKey = signerPublicKey + this.BatchIds = batchIds + this.Consensus = consensus + this.StateRootHash = stateRootHash + return &this +} + +// NewSawtoothBlockHeaderV1WithDefaults instantiates a new SawtoothBlockHeaderV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSawtoothBlockHeaderV1WithDefaults() *SawtoothBlockHeaderV1 { + this := SawtoothBlockHeaderV1{} + return &this +} + +// GetBlockNum returns the BlockNum field value +func (o *SawtoothBlockHeaderV1) GetBlockNum() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.BlockNum +} + +// GetBlockNumOk returns a tuple with the BlockNum field value +// and a boolean to check if the value has been set. +func (o *SawtoothBlockHeaderV1) GetBlockNumOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.BlockNum, true +} + +// SetBlockNum sets field value +func (o *SawtoothBlockHeaderV1) SetBlockNum(v int32) { + o.BlockNum = v +} + +// GetPreviousBlockId returns the PreviousBlockId field value +func (o *SawtoothBlockHeaderV1) GetPreviousBlockId() string { + if o == nil { + var ret string + return ret + } + + return o.PreviousBlockId +} + +// GetPreviousBlockIdOk returns a tuple with the PreviousBlockId field value +// and a boolean to check if the value has been set. +func (o *SawtoothBlockHeaderV1) GetPreviousBlockIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PreviousBlockId, true +} + +// SetPreviousBlockId sets field value +func (o *SawtoothBlockHeaderV1) SetPreviousBlockId(v string) { + o.PreviousBlockId = v +} + +// GetSignerPublicKey returns the SignerPublicKey field value +func (o *SawtoothBlockHeaderV1) GetSignerPublicKey() string { + if o == nil { + var ret string + return ret + } + + return o.SignerPublicKey +} + +// GetSignerPublicKeyOk returns a tuple with the SignerPublicKey field value +// and a boolean to check if the value has been set. +func (o *SawtoothBlockHeaderV1) GetSignerPublicKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SignerPublicKey, true +} + +// SetSignerPublicKey sets field value +func (o *SawtoothBlockHeaderV1) SetSignerPublicKey(v string) { + o.SignerPublicKey = v +} + +// GetBatchIds returns the BatchIds field value +func (o *SawtoothBlockHeaderV1) GetBatchIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.BatchIds +} + +// GetBatchIdsOk returns a tuple with the BatchIds field value +// and a boolean to check if the value has been set. +func (o *SawtoothBlockHeaderV1) GetBatchIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.BatchIds, true +} + +// SetBatchIds sets field value +func (o *SawtoothBlockHeaderV1) SetBatchIds(v []string) { + o.BatchIds = v +} + +// GetConsensus returns the Consensus field value +func (o *SawtoothBlockHeaderV1) GetConsensus() string { + if o == nil { + var ret string + return ret + } + + return o.Consensus +} + +// GetConsensusOk returns a tuple with the Consensus field value +// and a boolean to check if the value has been set. +func (o *SawtoothBlockHeaderV1) GetConsensusOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Consensus, true +} + +// SetConsensus sets field value +func (o *SawtoothBlockHeaderV1) SetConsensus(v string) { + o.Consensus = v +} + +// GetStateRootHash returns the StateRootHash field value +func (o *SawtoothBlockHeaderV1) GetStateRootHash() string { + if o == nil { + var ret string + return ret + } + + return o.StateRootHash +} + +// GetStateRootHashOk returns a tuple with the StateRootHash field value +// and a boolean to check if the value has been set. +func (o *SawtoothBlockHeaderV1) GetStateRootHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StateRootHash, true +} + +// SetStateRootHash sets field value +func (o *SawtoothBlockHeaderV1) SetStateRootHash(v string) { + o.StateRootHash = v +} + +func (o SawtoothBlockHeaderV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SawtoothBlockHeaderV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["block_num"] = o.BlockNum + toSerialize["previous_block_id"] = o.PreviousBlockId + toSerialize["signer_public_key"] = o.SignerPublicKey + toSerialize["batch_ids"] = o.BatchIds + toSerialize["consensus"] = o.Consensus + toSerialize["state_root_hash"] = o.StateRootHash + return toSerialize, nil +} + +type NullableSawtoothBlockHeaderV1 struct { + value *SawtoothBlockHeaderV1 + isSet bool +} + +func (v NullableSawtoothBlockHeaderV1) Get() *SawtoothBlockHeaderV1 { + return v.value +} + +func (v *NullableSawtoothBlockHeaderV1) Set(val *SawtoothBlockHeaderV1) { + v.value = val + v.isSet = true +} + +func (v NullableSawtoothBlockHeaderV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSawtoothBlockHeaderV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSawtoothBlockHeaderV1(val *SawtoothBlockHeaderV1) *NullableSawtoothBlockHeaderV1 { + return &NullableSawtoothBlockHeaderV1{value: val, isSet: true} +} + +func (v NullableSawtoothBlockHeaderV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSawtoothBlockHeaderV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_block_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_block_v1.go new file mode 100644 index 00000000000..882dce6ea79 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_block_v1.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the SawtoothBlockV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SawtoothBlockV1{} + +// SawtoothBlockV1 struct for SawtoothBlockV1 +type SawtoothBlockV1 struct { + Header SawtoothBlockHeaderV1 `json:"header"` + HeaderSignature string `json:"header_signature"` + Batches []SawtoothBatchV1 `json:"batches"` +} + +// NewSawtoothBlockV1 instantiates a new SawtoothBlockV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSawtoothBlockV1(header SawtoothBlockHeaderV1, headerSignature string, batches []SawtoothBatchV1) *SawtoothBlockV1 { + this := SawtoothBlockV1{} + this.Header = header + this.HeaderSignature = headerSignature + this.Batches = batches + return &this +} + +// NewSawtoothBlockV1WithDefaults instantiates a new SawtoothBlockV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSawtoothBlockV1WithDefaults() *SawtoothBlockV1 { + this := SawtoothBlockV1{} + return &this +} + +// GetHeader returns the Header field value +func (o *SawtoothBlockV1) GetHeader() SawtoothBlockHeaderV1 { + if o == nil { + var ret SawtoothBlockHeaderV1 + return ret + } + + return o.Header +} + +// GetHeaderOk returns a tuple with the Header field value +// and a boolean to check if the value has been set. +func (o *SawtoothBlockV1) GetHeaderOk() (*SawtoothBlockHeaderV1, bool) { + if o == nil { + return nil, false + } + return &o.Header, true +} + +// SetHeader sets field value +func (o *SawtoothBlockV1) SetHeader(v SawtoothBlockHeaderV1) { + o.Header = v +} + +// GetHeaderSignature returns the HeaderSignature field value +func (o *SawtoothBlockV1) GetHeaderSignature() string { + if o == nil { + var ret string + return ret + } + + return o.HeaderSignature +} + +// GetHeaderSignatureOk returns a tuple with the HeaderSignature field value +// and a boolean to check if the value has been set. +func (o *SawtoothBlockV1) GetHeaderSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HeaderSignature, true +} + +// SetHeaderSignature sets field value +func (o *SawtoothBlockV1) SetHeaderSignature(v string) { + o.HeaderSignature = v +} + +// GetBatches returns the Batches field value +func (o *SawtoothBlockV1) GetBatches() []SawtoothBatchV1 { + if o == nil { + var ret []SawtoothBatchV1 + return ret + } + + return o.Batches +} + +// GetBatchesOk returns a tuple with the Batches field value +// and a boolean to check if the value has been set. +func (o *SawtoothBlockV1) GetBatchesOk() ([]SawtoothBatchV1, bool) { + if o == nil { + return nil, false + } + return o.Batches, true +} + +// SetBatches sets field value +func (o *SawtoothBlockV1) SetBatches(v []SawtoothBatchV1) { + o.Batches = v +} + +func (o SawtoothBlockV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SawtoothBlockV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["header"] = o.Header + toSerialize["header_signature"] = o.HeaderSignature + toSerialize["batches"] = o.Batches + return toSerialize, nil +} + +type NullableSawtoothBlockV1 struct { + value *SawtoothBlockV1 + isSet bool +} + +func (v NullableSawtoothBlockV1) Get() *SawtoothBlockV1 { + return v.value +} + +func (v *NullableSawtoothBlockV1) Set(val *SawtoothBlockV1) { + v.value = val + v.isSet = true +} + +func (v NullableSawtoothBlockV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSawtoothBlockV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSawtoothBlockV1(val *SawtoothBlockV1) *NullableSawtoothBlockV1 { + return &NullableSawtoothBlockV1{value: val, isSet: true} +} + +func (v NullableSawtoothBlockV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSawtoothBlockV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_transaction_header_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_transaction_header_v1.go new file mode 100644 index 00000000000..7c6fe9a7386 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_transaction_header_v1.go @@ -0,0 +1,333 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the SawtoothTransactionHeaderV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SawtoothTransactionHeaderV1{} + +// SawtoothTransactionHeaderV1 struct for SawtoothTransactionHeaderV1 +type SawtoothTransactionHeaderV1 struct { + BatcherPublicKey string `json:"batcher_public_key"` + Dependencies []string `json:"dependencies"` + FamilyName string `json:"family_name"` + FamilyVersion string `json:"family_version"` + Inputs []string `json:"inputs"` + Nonce string `json:"nonce"` + Outputs []string `json:"outputs"` + PayloadSha512 string `json:"payload_sha512"` + SignerPublicKey string `json:"signer_public_key"` +} + +// NewSawtoothTransactionHeaderV1 instantiates a new SawtoothTransactionHeaderV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSawtoothTransactionHeaderV1(batcherPublicKey string, dependencies []string, familyName string, familyVersion string, inputs []string, nonce string, outputs []string, payloadSha512 string, signerPublicKey string) *SawtoothTransactionHeaderV1 { + this := SawtoothTransactionHeaderV1{} + this.BatcherPublicKey = batcherPublicKey + this.Dependencies = dependencies + this.FamilyName = familyName + this.FamilyVersion = familyVersion + this.Inputs = inputs + this.Nonce = nonce + this.Outputs = outputs + this.PayloadSha512 = payloadSha512 + this.SignerPublicKey = signerPublicKey + return &this +} + +// NewSawtoothTransactionHeaderV1WithDefaults instantiates a new SawtoothTransactionHeaderV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSawtoothTransactionHeaderV1WithDefaults() *SawtoothTransactionHeaderV1 { + this := SawtoothTransactionHeaderV1{} + return &this +} + +// GetBatcherPublicKey returns the BatcherPublicKey field value +func (o *SawtoothTransactionHeaderV1) GetBatcherPublicKey() string { + if o == nil { + var ret string + return ret + } + + return o.BatcherPublicKey +} + +// GetBatcherPublicKeyOk returns a tuple with the BatcherPublicKey field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionHeaderV1) GetBatcherPublicKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BatcherPublicKey, true +} + +// SetBatcherPublicKey sets field value +func (o *SawtoothTransactionHeaderV1) SetBatcherPublicKey(v string) { + o.BatcherPublicKey = v +} + +// GetDependencies returns the Dependencies field value +func (o *SawtoothTransactionHeaderV1) GetDependencies() []string { + if o == nil { + var ret []string + return ret + } + + return o.Dependencies +} + +// GetDependenciesOk returns a tuple with the Dependencies field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionHeaderV1) GetDependenciesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Dependencies, true +} + +// SetDependencies sets field value +func (o *SawtoothTransactionHeaderV1) SetDependencies(v []string) { + o.Dependencies = v +} + +// GetFamilyName returns the FamilyName field value +func (o *SawtoothTransactionHeaderV1) GetFamilyName() string { + if o == nil { + var ret string + return ret + } + + return o.FamilyName +} + +// GetFamilyNameOk returns a tuple with the FamilyName field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionHeaderV1) GetFamilyNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FamilyName, true +} + +// SetFamilyName sets field value +func (o *SawtoothTransactionHeaderV1) SetFamilyName(v string) { + o.FamilyName = v +} + +// GetFamilyVersion returns the FamilyVersion field value +func (o *SawtoothTransactionHeaderV1) GetFamilyVersion() string { + if o == nil { + var ret string + return ret + } + + return o.FamilyVersion +} + +// GetFamilyVersionOk returns a tuple with the FamilyVersion field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionHeaderV1) GetFamilyVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FamilyVersion, true +} + +// SetFamilyVersion sets field value +func (o *SawtoothTransactionHeaderV1) SetFamilyVersion(v string) { + o.FamilyVersion = v +} + +// GetInputs returns the Inputs field value +func (o *SawtoothTransactionHeaderV1) GetInputs() []string { + if o == nil { + var ret []string + return ret + } + + return o.Inputs +} + +// GetInputsOk returns a tuple with the Inputs field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionHeaderV1) GetInputsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Inputs, true +} + +// SetInputs sets field value +func (o *SawtoothTransactionHeaderV1) SetInputs(v []string) { + o.Inputs = v +} + +// GetNonce returns the Nonce field value +func (o *SawtoothTransactionHeaderV1) GetNonce() string { + if o == nil { + var ret string + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionHeaderV1) GetNonceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *SawtoothTransactionHeaderV1) SetNonce(v string) { + o.Nonce = v +} + +// GetOutputs returns the Outputs field value +func (o *SawtoothTransactionHeaderV1) GetOutputs() []string { + if o == nil { + var ret []string + return ret + } + + return o.Outputs +} + +// GetOutputsOk returns a tuple with the Outputs field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionHeaderV1) GetOutputsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Outputs, true +} + +// SetOutputs sets field value +func (o *SawtoothTransactionHeaderV1) SetOutputs(v []string) { + o.Outputs = v +} + +// GetPayloadSha512 returns the PayloadSha512 field value +func (o *SawtoothTransactionHeaderV1) GetPayloadSha512() string { + if o == nil { + var ret string + return ret + } + + return o.PayloadSha512 +} + +// GetPayloadSha512Ok returns a tuple with the PayloadSha512 field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionHeaderV1) GetPayloadSha512Ok() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PayloadSha512, true +} + +// SetPayloadSha512 sets field value +func (o *SawtoothTransactionHeaderV1) SetPayloadSha512(v string) { + o.PayloadSha512 = v +} + +// GetSignerPublicKey returns the SignerPublicKey field value +func (o *SawtoothTransactionHeaderV1) GetSignerPublicKey() string { + if o == nil { + var ret string + return ret + } + + return o.SignerPublicKey +} + +// GetSignerPublicKeyOk returns a tuple with the SignerPublicKey field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionHeaderV1) GetSignerPublicKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SignerPublicKey, true +} + +// SetSignerPublicKey sets field value +func (o *SawtoothTransactionHeaderV1) SetSignerPublicKey(v string) { + o.SignerPublicKey = v +} + +func (o SawtoothTransactionHeaderV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SawtoothTransactionHeaderV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["batcher_public_key"] = o.BatcherPublicKey + toSerialize["dependencies"] = o.Dependencies + toSerialize["family_name"] = o.FamilyName + toSerialize["family_version"] = o.FamilyVersion + toSerialize["inputs"] = o.Inputs + toSerialize["nonce"] = o.Nonce + toSerialize["outputs"] = o.Outputs + toSerialize["payload_sha512"] = o.PayloadSha512 + toSerialize["signer_public_key"] = o.SignerPublicKey + return toSerialize, nil +} + +type NullableSawtoothTransactionHeaderV1 struct { + value *SawtoothTransactionHeaderV1 + isSet bool +} + +func (v NullableSawtoothTransactionHeaderV1) Get() *SawtoothTransactionHeaderV1 { + return v.value +} + +func (v *NullableSawtoothTransactionHeaderV1) Set(val *SawtoothTransactionHeaderV1) { + v.value = val + v.isSet = true +} + +func (v NullableSawtoothTransactionHeaderV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSawtoothTransactionHeaderV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSawtoothTransactionHeaderV1(val *SawtoothTransactionHeaderV1) *NullableSawtoothTransactionHeaderV1 { + return &NullableSawtoothTransactionHeaderV1{value: val, isSet: true} +} + +func (v NullableSawtoothTransactionHeaderV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSawtoothTransactionHeaderV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_transaction_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_transaction_v1.go new file mode 100644 index 00000000000..0ea81332b37 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_sawtooth_transaction_v1.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the SawtoothTransactionV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SawtoothTransactionV1{} + +// SawtoothTransactionV1 struct for SawtoothTransactionV1 +type SawtoothTransactionV1 struct { + Header SawtoothTransactionHeaderV1 `json:"header"` + HeaderSignature string `json:"header_signature"` + Payload string `json:"payload"` +} + +// NewSawtoothTransactionV1 instantiates a new SawtoothTransactionV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSawtoothTransactionV1(header SawtoothTransactionHeaderV1, headerSignature string, payload string) *SawtoothTransactionV1 { + this := SawtoothTransactionV1{} + this.Header = header + this.HeaderSignature = headerSignature + this.Payload = payload + return &this +} + +// NewSawtoothTransactionV1WithDefaults instantiates a new SawtoothTransactionV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSawtoothTransactionV1WithDefaults() *SawtoothTransactionV1 { + this := SawtoothTransactionV1{} + return &this +} + +// GetHeader returns the Header field value +func (o *SawtoothTransactionV1) GetHeader() SawtoothTransactionHeaderV1 { + if o == nil { + var ret SawtoothTransactionHeaderV1 + return ret + } + + return o.Header +} + +// GetHeaderOk returns a tuple with the Header field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionV1) GetHeaderOk() (*SawtoothTransactionHeaderV1, bool) { + if o == nil { + return nil, false + } + return &o.Header, true +} + +// SetHeader sets field value +func (o *SawtoothTransactionV1) SetHeader(v SawtoothTransactionHeaderV1) { + o.Header = v +} + +// GetHeaderSignature returns the HeaderSignature field value +func (o *SawtoothTransactionV1) GetHeaderSignature() string { + if o == nil { + var ret string + return ret + } + + return o.HeaderSignature +} + +// GetHeaderSignatureOk returns a tuple with the HeaderSignature field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionV1) GetHeaderSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HeaderSignature, true +} + +// SetHeaderSignature sets field value +func (o *SawtoothTransactionV1) SetHeaderSignature(v string) { + o.HeaderSignature = v +} + +// GetPayload returns the Payload field value +func (o *SawtoothTransactionV1) GetPayload() string { + if o == nil { + var ret string + return ret + } + + return o.Payload +} + +// GetPayloadOk returns a tuple with the Payload field value +// and a boolean to check if the value has been set. +func (o *SawtoothTransactionV1) GetPayloadOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Payload, true +} + +// SetPayload sets field value +func (o *SawtoothTransactionV1) SetPayload(v string) { + o.Payload = v +} + +func (o SawtoothTransactionV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SawtoothTransactionV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["header"] = o.Header + toSerialize["header_signature"] = o.HeaderSignature + toSerialize["payload"] = o.Payload + return toSerialize, nil +} + +type NullableSawtoothTransactionV1 struct { + value *SawtoothTransactionV1 + isSet bool +} + +func (v NullableSawtoothTransactionV1) Get() *SawtoothTransactionV1 { + return v.value +} + +func (v *NullableSawtoothTransactionV1) Set(val *SawtoothTransactionV1) { + v.value = val + v.isSet = true +} + +func (v NullableSawtoothTransactionV1) IsSet() bool { + return v.isSet +} + +func (v *NullableSawtoothTransactionV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSawtoothTransactionV1(val *SawtoothTransactionV1) *NullableSawtoothTransactionV1 { + return &NullableSawtoothTransactionV1{value: val, isSet: true} +} + +func (v NullableSawtoothTransactionV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSawtoothTransactionV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_status_response_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_status_response_v1.go new file mode 100644 index 00000000000..ee14a8acf62 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_status_response_v1.go @@ -0,0 +1,230 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the StatusResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StatusResponseV1{} + +// StatusResponseV1 Response with plugin and validator status report. +type StatusResponseV1 struct { + // Plugin instance id. + InstanceId string `json:"instanceId"` + // Version of connectors Open API Spec. + OpenApiSpecVersion *string `json:"openApiSpecVersion,omitempty"` + // True if endpoints were created, false otherwise + Initialized *bool `json:"initialized,omitempty"` + // Response from sawtooth Rest API status endpoint + SawtoothStatus interface{} `json:"sawtoothStatus,omitempty"` +} + +// NewStatusResponseV1 instantiates a new StatusResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStatusResponseV1(instanceId string) *StatusResponseV1 { + this := StatusResponseV1{} + this.InstanceId = instanceId + return &this +} + +// NewStatusResponseV1WithDefaults instantiates a new StatusResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStatusResponseV1WithDefaults() *StatusResponseV1 { + this := StatusResponseV1{} + return &this +} + +// GetInstanceId returns the InstanceId field value +func (o *StatusResponseV1) GetInstanceId() string { + if o == nil { + var ret string + return ret + } + + return o.InstanceId +} + +// GetInstanceIdOk returns a tuple with the InstanceId field value +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetInstanceIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.InstanceId, true +} + +// SetInstanceId sets field value +func (o *StatusResponseV1) SetInstanceId(v string) { + o.InstanceId = v +} + +// GetOpenApiSpecVersion returns the OpenApiSpecVersion field value if set, zero value otherwise. +func (o *StatusResponseV1) GetOpenApiSpecVersion() string { + if o == nil || IsNil(o.OpenApiSpecVersion) { + var ret string + return ret + } + return *o.OpenApiSpecVersion +} + +// GetOpenApiSpecVersionOk returns a tuple with the OpenApiSpecVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetOpenApiSpecVersionOk() (*string, bool) { + if o == nil || IsNil(o.OpenApiSpecVersion) { + return nil, false + } + return o.OpenApiSpecVersion, true +} + +// HasOpenApiSpecVersion returns a boolean if a field has been set. +func (o *StatusResponseV1) HasOpenApiSpecVersion() bool { + if o != nil && !IsNil(o.OpenApiSpecVersion) { + return true + } + + return false +} + +// SetOpenApiSpecVersion gets a reference to the given string and assigns it to the OpenApiSpecVersion field. +func (o *StatusResponseV1) SetOpenApiSpecVersion(v string) { + o.OpenApiSpecVersion = &v +} + +// GetInitialized returns the Initialized field value if set, zero value otherwise. +func (o *StatusResponseV1) GetInitialized() bool { + if o == nil || IsNil(o.Initialized) { + var ret bool + return ret + } + return *o.Initialized +} + +// GetInitializedOk returns a tuple with the Initialized field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetInitializedOk() (*bool, bool) { + if o == nil || IsNil(o.Initialized) { + return nil, false + } + return o.Initialized, true +} + +// HasInitialized returns a boolean if a field has been set. +func (o *StatusResponseV1) HasInitialized() bool { + if o != nil && !IsNil(o.Initialized) { + return true + } + + return false +} + +// SetInitialized gets a reference to the given bool and assigns it to the Initialized field. +func (o *StatusResponseV1) SetInitialized(v bool) { + o.Initialized = &v +} + +// GetSawtoothStatus returns the SawtoothStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *StatusResponseV1) GetSawtoothStatus() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.SawtoothStatus +} + +// GetSawtoothStatusOk returns a tuple with the SawtoothStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *StatusResponseV1) GetSawtoothStatusOk() (*interface{}, bool) { + if o == nil || IsNil(o.SawtoothStatus) { + return nil, false + } + return &o.SawtoothStatus, true +} + +// HasSawtoothStatus returns a boolean if a field has been set. +func (o *StatusResponseV1) HasSawtoothStatus() bool { + if o != nil && IsNil(o.SawtoothStatus) { + return true + } + + return false +} + +// SetSawtoothStatus gets a reference to the given interface{} and assigns it to the SawtoothStatus field. +func (o *StatusResponseV1) SetSawtoothStatus(v interface{}) { + o.SawtoothStatus = v +} + +func (o StatusResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StatusResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["instanceId"] = o.InstanceId + if !IsNil(o.OpenApiSpecVersion) { + toSerialize["openApiSpecVersion"] = o.OpenApiSpecVersion + } + if !IsNil(o.Initialized) { + toSerialize["initialized"] = o.Initialized + } + if o.SawtoothStatus != nil { + toSerialize["sawtoothStatus"] = o.SawtoothStatus + } + return toSerialize, nil +} + +type NullableStatusResponseV1 struct { + value *StatusResponseV1 + isSet bool +} + +func (v NullableStatusResponseV1) Get() *StatusResponseV1 { + return v.value +} + +func (v *NullableStatusResponseV1) Set(val *StatusResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableStatusResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableStatusResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStatusResponseV1(val *StatusResponseV1) *NullableStatusResponseV1 { + return &NullableStatusResponseV1{value: val, isSet: true} +} + +func (v NullableStatusResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStatusResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go new file mode 100644 index 00000000000..b5b4afd7218 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksV1 the model 'WatchBlocksV1' +type WatchBlocksV1 string + +// List of WatchBlocksV1 +const ( + Subscribe WatchBlocksV1 = "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Subscribe" + Next WatchBlocksV1 = "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Next" + Unsubscribe WatchBlocksV1 = "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Unsubscribe" + Error WatchBlocksV1 = "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Error" + Complete WatchBlocksV1 = "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Complete" +) + +// All allowed values of WatchBlocksV1 enum +var AllowedWatchBlocksV1EnumValues = []WatchBlocksV1{ + "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Subscribe", + "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Next", + "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Unsubscribe", + "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Error", + "org.hyperledger.cacti.api.async.sawtooth.WatchBlocksV1.Complete", +} + +func (v *WatchBlocksV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchBlocksV1(value) + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchBlocksV1", value) +} + +// NewWatchBlocksV1FromValue returns a pointer to a valid WatchBlocksV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchBlocksV1FromValue(v string) (*WatchBlocksV1, error) { + ev := WatchBlocksV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchBlocksV1: valid values are %v", v, AllowedWatchBlocksV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchBlocksV1) IsValid() bool { + for _, existing := range AllowedWatchBlocksV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchBlocksV1 value +func (v WatchBlocksV1) Ptr() *WatchBlocksV1 { + return &v +} + +type NullableWatchBlocksV1 struct { + value *WatchBlocksV1 + isSet bool +} + +func (v NullableWatchBlocksV1) Get() *WatchBlocksV1 { + return v.value +} + +func (v *NullableWatchBlocksV1) Set(val *WatchBlocksV1) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1(val *WatchBlocksV1) *NullableWatchBlocksV1 { + return &NullableWatchBlocksV1{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_cacti_transactions_response.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_cacti_transactions_response.go new file mode 100644 index 00000000000..dc18d59c734 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_cacti_transactions_response.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1CactiTransactionsResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1CactiTransactionsResponse{} + +// WatchBlocksV1CactiTransactionsResponse Custom response containing block transactions summary. +type WatchBlocksV1CactiTransactionsResponse struct { + // List of sawtooth transactions matching specifid (optional) filter + CactiTransactionsEvents []CactiTransactionV1 `json:"cactiTransactionsEvents"` +} + +// NewWatchBlocksV1CactiTransactionsResponse instantiates a new WatchBlocksV1CactiTransactionsResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1CactiTransactionsResponse(cactiTransactionsEvents []CactiTransactionV1) *WatchBlocksV1CactiTransactionsResponse { + this := WatchBlocksV1CactiTransactionsResponse{} + this.CactiTransactionsEvents = cactiTransactionsEvents + return &this +} + +// NewWatchBlocksV1CactiTransactionsResponseWithDefaults instantiates a new WatchBlocksV1CactiTransactionsResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1CactiTransactionsResponseWithDefaults() *WatchBlocksV1CactiTransactionsResponse { + this := WatchBlocksV1CactiTransactionsResponse{} + return &this +} + +// GetCactiTransactionsEvents returns the CactiTransactionsEvents field value +func (o *WatchBlocksV1CactiTransactionsResponse) GetCactiTransactionsEvents() []CactiTransactionV1 { + if o == nil { + var ret []CactiTransactionV1 + return ret + } + + return o.CactiTransactionsEvents +} + +// GetCactiTransactionsEventsOk returns a tuple with the CactiTransactionsEvents field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1CactiTransactionsResponse) GetCactiTransactionsEventsOk() ([]CactiTransactionV1, bool) { + if o == nil { + return nil, false + } + return o.CactiTransactionsEvents, true +} + +// SetCactiTransactionsEvents sets field value +func (o *WatchBlocksV1CactiTransactionsResponse) SetCactiTransactionsEvents(v []CactiTransactionV1) { + o.CactiTransactionsEvents = v +} + +func (o WatchBlocksV1CactiTransactionsResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1CactiTransactionsResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["cactiTransactionsEvents"] = o.CactiTransactionsEvents + return toSerialize, nil +} + +type NullableWatchBlocksV1CactiTransactionsResponse struct { + value *WatchBlocksV1CactiTransactionsResponse + isSet bool +} + +func (v NullableWatchBlocksV1CactiTransactionsResponse) Get() *WatchBlocksV1CactiTransactionsResponse { + return v.value +} + +func (v *NullableWatchBlocksV1CactiTransactionsResponse) Set(val *WatchBlocksV1CactiTransactionsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1CactiTransactionsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1CactiTransactionsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1CactiTransactionsResponse(val *WatchBlocksV1CactiTransactionsResponse) *NullableWatchBlocksV1CactiTransactionsResponse { + return &NullableWatchBlocksV1CactiTransactionsResponse{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1CactiTransactionsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1CactiTransactionsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_full_response.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_full_response.go new file mode 100644 index 00000000000..4abd045890b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_full_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1FullResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1FullResponse{} + +// WatchBlocksV1FullResponse Response that returns entire sawtooth block. +type WatchBlocksV1FullResponse struct { + FullBlock SawtoothBlockV1 `json:"fullBlock"` +} + +// NewWatchBlocksV1FullResponse instantiates a new WatchBlocksV1FullResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1FullResponse(fullBlock SawtoothBlockV1) *WatchBlocksV1FullResponse { + this := WatchBlocksV1FullResponse{} + this.FullBlock = fullBlock + return &this +} + +// NewWatchBlocksV1FullResponseWithDefaults instantiates a new WatchBlocksV1FullResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1FullResponseWithDefaults() *WatchBlocksV1FullResponse { + this := WatchBlocksV1FullResponse{} + return &this +} + +// GetFullBlock returns the FullBlock field value +func (o *WatchBlocksV1FullResponse) GetFullBlock() SawtoothBlockV1 { + if o == nil { + var ret SawtoothBlockV1 + return ret + } + + return o.FullBlock +} + +// GetFullBlockOk returns a tuple with the FullBlock field value +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1FullResponse) GetFullBlockOk() (*SawtoothBlockV1, bool) { + if o == nil { + return nil, false + } + return &o.FullBlock, true +} + +// SetFullBlock sets field value +func (o *WatchBlocksV1FullResponse) SetFullBlock(v SawtoothBlockV1) { + o.FullBlock = v +} + +func (o WatchBlocksV1FullResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1FullResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["fullBlock"] = o.FullBlock + return toSerialize, nil +} + +type NullableWatchBlocksV1FullResponse struct { + value *WatchBlocksV1FullResponse + isSet bool +} + +func (v NullableWatchBlocksV1FullResponse) Get() *WatchBlocksV1FullResponse { + return v.value +} + +func (v *NullableWatchBlocksV1FullResponse) Set(val *WatchBlocksV1FullResponse) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1FullResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1FullResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1FullResponse(val *WatchBlocksV1FullResponse) *NullableWatchBlocksV1FullResponse { + return &NullableWatchBlocksV1FullResponse{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1FullResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1FullResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_listener_type.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_listener_type.go new file mode 100644 index 00000000000..dda1a2b1e06 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_listener_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksV1ListenerType Response type from WatchBlocks. 'Cacti*' are custom views, others correspond to plain sawtooth data. +type WatchBlocksV1ListenerType string + +// List of WatchBlocksV1ListenerType +const ( + Full WatchBlocksV1ListenerType = "full" + CactiTransactions WatchBlocksV1ListenerType = "cacti:transactions" +) + +// All allowed values of WatchBlocksV1ListenerType enum +var AllowedWatchBlocksV1ListenerTypeEnumValues = []WatchBlocksV1ListenerType{ + "full", + "cacti:transactions", +} + +func (v *WatchBlocksV1ListenerType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WatchBlocksV1ListenerType(value) + for _, existing := range AllowedWatchBlocksV1ListenerTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WatchBlocksV1ListenerType", value) +} + +// NewWatchBlocksV1ListenerTypeFromValue returns a pointer to a valid WatchBlocksV1ListenerType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWatchBlocksV1ListenerTypeFromValue(v string) (*WatchBlocksV1ListenerType, error) { + ev := WatchBlocksV1ListenerType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WatchBlocksV1ListenerType: valid values are %v", v, AllowedWatchBlocksV1ListenerTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WatchBlocksV1ListenerType) IsValid() bool { + for _, existing := range AllowedWatchBlocksV1ListenerTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WatchBlocksV1ListenerType value +func (v WatchBlocksV1ListenerType) Ptr() *WatchBlocksV1ListenerType { + return &v +} + +type NullableWatchBlocksV1ListenerType struct { + value *WatchBlocksV1ListenerType + isSet bool +} + +func (v NullableWatchBlocksV1ListenerType) Get() *WatchBlocksV1ListenerType { + return v.value +} + +func (v *NullableWatchBlocksV1ListenerType) Set(val *WatchBlocksV1ListenerType) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1ListenerType) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1ListenerType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1ListenerType(val *WatchBlocksV1ListenerType) *NullableWatchBlocksV1ListenerType { + return &NullableWatchBlocksV1ListenerType{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1ListenerType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1ListenerType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_options.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_options.go new file mode 100644 index 00000000000..86356467c3d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_options.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1Options type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1Options{} + +// WatchBlocksV1Options struct for WatchBlocksV1Options +type WatchBlocksV1Options struct { + Type *WatchBlocksV1ListenerType `json:"type,omitempty"` + TxFilterBy *WatchBlocksV1TransactionFilter `json:"txFilterBy,omitempty"` +} + +// NewWatchBlocksV1Options instantiates a new WatchBlocksV1Options object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1Options() *WatchBlocksV1Options { + this := WatchBlocksV1Options{} + return &this +} + +// NewWatchBlocksV1OptionsWithDefaults instantiates a new WatchBlocksV1Options object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1OptionsWithDefaults() *WatchBlocksV1Options { + this := WatchBlocksV1Options{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *WatchBlocksV1Options) GetType() WatchBlocksV1ListenerType { + if o == nil || IsNil(o.Type) { + var ret WatchBlocksV1ListenerType + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Options) GetTypeOk() (*WatchBlocksV1ListenerType, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *WatchBlocksV1Options) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given WatchBlocksV1ListenerType and assigns it to the Type field. +func (o *WatchBlocksV1Options) SetType(v WatchBlocksV1ListenerType) { + o.Type = &v +} + +// GetTxFilterBy returns the TxFilterBy field value if set, zero value otherwise. +func (o *WatchBlocksV1Options) GetTxFilterBy() WatchBlocksV1TransactionFilter { + if o == nil || IsNil(o.TxFilterBy) { + var ret WatchBlocksV1TransactionFilter + return ret + } + return *o.TxFilterBy +} + +// GetTxFilterByOk returns a tuple with the TxFilterBy field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1Options) GetTxFilterByOk() (*WatchBlocksV1TransactionFilter, bool) { + if o == nil || IsNil(o.TxFilterBy) { + return nil, false + } + return o.TxFilterBy, true +} + +// HasTxFilterBy returns a boolean if a field has been set. +func (o *WatchBlocksV1Options) HasTxFilterBy() bool { + if o != nil && !IsNil(o.TxFilterBy) { + return true + } + + return false +} + +// SetTxFilterBy gets a reference to the given WatchBlocksV1TransactionFilter and assigns it to the TxFilterBy field. +func (o *WatchBlocksV1Options) SetTxFilterBy(v WatchBlocksV1TransactionFilter) { + o.TxFilterBy = &v +} + +func (o WatchBlocksV1Options) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1Options) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + if !IsNil(o.TxFilterBy) { + toSerialize["txFilterBy"] = o.TxFilterBy + } + return toSerialize, nil +} + +type NullableWatchBlocksV1Options struct { + value *WatchBlocksV1Options + isSet bool +} + +func (v NullableWatchBlocksV1Options) Get() *WatchBlocksV1Options { + return v.value +} + +func (v *NullableWatchBlocksV1Options) Set(val *WatchBlocksV1Options) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1Options) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1Options) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1Options(val *WatchBlocksV1Options) *NullableWatchBlocksV1Options { + return &NullableWatchBlocksV1Options{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1Options) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1Options) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go new file mode 100644 index 00000000000..295dd3b8af4 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_progress.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" + "fmt" +) + +// WatchBlocksV1Progress - Response block from WatchBlocks endpoint. Depends on 'type' passed in subscription options. +type WatchBlocksV1Progress struct { + WatchBlocksV1CactiTransactionsResponse *WatchBlocksV1CactiTransactionsResponse + WatchBlocksV1FullResponse *WatchBlocksV1FullResponse +} + +// WatchBlocksV1CactiTransactionsResponseAsWatchBlocksV1Progress is a convenience function that returns WatchBlocksV1CactiTransactionsResponse wrapped in WatchBlocksV1Progress +func WatchBlocksV1CactiTransactionsResponseAsWatchBlocksV1Progress(v *WatchBlocksV1CactiTransactionsResponse) WatchBlocksV1Progress { + return WatchBlocksV1Progress{ + WatchBlocksV1CactiTransactionsResponse: v, + } +} + +// WatchBlocksV1FullResponseAsWatchBlocksV1Progress is a convenience function that returns WatchBlocksV1FullResponse wrapped in WatchBlocksV1Progress +func WatchBlocksV1FullResponseAsWatchBlocksV1Progress(v *WatchBlocksV1FullResponse) WatchBlocksV1Progress { + return WatchBlocksV1Progress{ + WatchBlocksV1FullResponse: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *WatchBlocksV1Progress) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into WatchBlocksV1CactiTransactionsResponse + err = newStrictDecoder(data).Decode(&dst.WatchBlocksV1CactiTransactionsResponse) + if err == nil { + jsonWatchBlocksV1CactiTransactionsResponse, _ := json.Marshal(dst.WatchBlocksV1CactiTransactionsResponse) + if string(jsonWatchBlocksV1CactiTransactionsResponse) == "{}" { // empty struct + dst.WatchBlocksV1CactiTransactionsResponse = nil + } else { + match++ + } + } else { + dst.WatchBlocksV1CactiTransactionsResponse = nil + } + + // try to unmarshal data into WatchBlocksV1FullResponse + err = newStrictDecoder(data).Decode(&dst.WatchBlocksV1FullResponse) + if err == nil { + jsonWatchBlocksV1FullResponse, _ := json.Marshal(dst.WatchBlocksV1FullResponse) + if string(jsonWatchBlocksV1FullResponse) == "{}" { // empty struct + dst.WatchBlocksV1FullResponse = nil + } else { + match++ + } + } else { + dst.WatchBlocksV1FullResponse = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.WatchBlocksV1CactiTransactionsResponse = nil + dst.WatchBlocksV1FullResponse = nil + + return fmt.Errorf("data matches more than one schema in oneOf(WatchBlocksV1Progress)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(WatchBlocksV1Progress)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src WatchBlocksV1Progress) MarshalJSON() ([]byte, error) { + if src.WatchBlocksV1CactiTransactionsResponse != nil { + return json.Marshal(&src.WatchBlocksV1CactiTransactionsResponse) + } + + if src.WatchBlocksV1FullResponse != nil { + return json.Marshal(&src.WatchBlocksV1FullResponse) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *WatchBlocksV1Progress) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.WatchBlocksV1CactiTransactionsResponse != nil { + return obj.WatchBlocksV1CactiTransactionsResponse + } + + if obj.WatchBlocksV1FullResponse != nil { + return obj.WatchBlocksV1FullResponse + } + + // all schemas are nil + return nil +} + +type NullableWatchBlocksV1Progress struct { + value *WatchBlocksV1Progress + isSet bool +} + +func (v NullableWatchBlocksV1Progress) Get() *WatchBlocksV1Progress { + return v.value +} + +func (v *NullableWatchBlocksV1Progress) Set(val *WatchBlocksV1Progress) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1Progress) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1Progress) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1Progress(val *WatchBlocksV1Progress) *NullableWatchBlocksV1Progress { + return &NullableWatchBlocksV1Progress{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1Progress) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1Progress) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_transaction_filter.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_transaction_filter.go new file mode 100644 index 00000000000..291cdeb8164 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/model_watch_blocks_v1_transaction_filter.go @@ -0,0 +1,126 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" +) + +// checks if the WatchBlocksV1TransactionFilter type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WatchBlocksV1TransactionFilter{} + +// WatchBlocksV1TransactionFilter struct for WatchBlocksV1TransactionFilter +type WatchBlocksV1TransactionFilter struct { + FamilyName *string `json:"family_name,omitempty"` +} + +// NewWatchBlocksV1TransactionFilter instantiates a new WatchBlocksV1TransactionFilter object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWatchBlocksV1TransactionFilter() *WatchBlocksV1TransactionFilter { + this := WatchBlocksV1TransactionFilter{} + return &this +} + +// NewWatchBlocksV1TransactionFilterWithDefaults instantiates a new WatchBlocksV1TransactionFilter object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWatchBlocksV1TransactionFilterWithDefaults() *WatchBlocksV1TransactionFilter { + this := WatchBlocksV1TransactionFilter{} + return &this +} + +// GetFamilyName returns the FamilyName field value if set, zero value otherwise. +func (o *WatchBlocksV1TransactionFilter) GetFamilyName() string { + if o == nil || IsNil(o.FamilyName) { + var ret string + return ret + } + return *o.FamilyName +} + +// GetFamilyNameOk returns a tuple with the FamilyName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WatchBlocksV1TransactionFilter) GetFamilyNameOk() (*string, bool) { + if o == nil || IsNil(o.FamilyName) { + return nil, false + } + return o.FamilyName, true +} + +// HasFamilyName returns a boolean if a field has been set. +func (o *WatchBlocksV1TransactionFilter) HasFamilyName() bool { + if o != nil && !IsNil(o.FamilyName) { + return true + } + + return false +} + +// SetFamilyName gets a reference to the given string and assigns it to the FamilyName field. +func (o *WatchBlocksV1TransactionFilter) SetFamilyName(v string) { + o.FamilyName = &v +} + +func (o WatchBlocksV1TransactionFilter) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WatchBlocksV1TransactionFilter) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.FamilyName) { + toSerialize["family_name"] = o.FamilyName + } + return toSerialize, nil +} + +type NullableWatchBlocksV1TransactionFilter struct { + value *WatchBlocksV1TransactionFilter + isSet bool +} + +func (v NullableWatchBlocksV1TransactionFilter) Get() *WatchBlocksV1TransactionFilter { + return v.value +} + +func (v *NullableWatchBlocksV1TransactionFilter) Set(val *WatchBlocksV1TransactionFilter) { + v.value = val + v.isSet = true +} + +func (v NullableWatchBlocksV1TransactionFilter) IsSet() bool { + return v.isSet +} + +func (v *NullableWatchBlocksV1TransactionFilter) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWatchBlocksV1TransactionFilter(val *WatchBlocksV1TransactionFilter) *NullableWatchBlocksV1TransactionFilter { + return &NullableWatchBlocksV1TransactionFilter{value: val, isSet: true} +} + +func (v NullableWatchBlocksV1TransactionFilter) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWatchBlocksV1TransactionFilter) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..630c4876595 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..4fa452aa302 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,37 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-sawtooth_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService GetStatusV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetStatusV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..14adc26c86f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-sawtooth/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cacti Plugin - Connector Sawtooth + +Can perform basic tasks on a Sawtooth ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-sawtooth + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-ledger-connector-xdai/package.json b/packages/cactus-plugin-ledger-connector-xdai/package.json index feac5c91383..d5812b038e2 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/package.json +++ b/packages/cactus-plugin-ledger-connector-xdai/package.json @@ -47,6 +47,7 @@ "codegen:openapi": "npm run generate-sdk", "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..7c7ad38265c --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,38 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_consistency_strategy.go +model_contract_json.go +model_deploy_contract_json_object_v1_request.go +model_deploy_contract_v1_request.go +model_deploy_contract_v1_response.go +model_deploy_request_base_v1.go +model_eth_contract_invocation_type.go +model_invoke_contract_json_object_v1_request.go +model_invoke_contract_v1_request.go +model_invoke_contract_v1_response.go +model_invoke_request_base_v1.go +model_receipt_type.go +model_run_transaction_v1_request.go +model_run_transaction_v1_response.go +model_solidity_contract_json_artifact.go +model_solidity_contract_json_artifact_compiler.go +model_solidity_contract_json_artifact_gas_estimates.go +model_solidity_contract_json_artifact_gas_estimates_creation.go +model_web3_signing_credential.go +model_web3_signing_credential_cactus_keychain_ref.go +model_web3_signing_credential_none.go +model_web3_signing_credential_private_key_hex.go +model_web3_signing_credential_type.go +model_web3_transaction_receipt.go +model_xdai_transaction_config.go +model_xdai_transaction_config_from.go +model_xdai_transaction_config_to.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..0aae7fe264b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,143 @@ +# Go API client for cactus-plugin-ledger-connector-xdai + +Can perform basic tasks on a Xdai ledger + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-ledger-connector-xdai "github.com/hyperledger/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-xdai.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-xdai.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-ledger-connector-xdai.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-ledger-connector-xdai.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**DeployContractJsonObjectV1**](docs/DefaultApi.md#deploycontractjsonobjectv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode-json-object | Deploys the bytecode of a Solidity contract. +*DefaultApi* | [**DeployContractV1**](docs/DefaultApi.md#deploycontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode | Deploys the bytecode of a Solidity contract. +*DefaultApi* | [**GetPrometheusMetricsV1**](docs/DefaultApi.md#getprometheusmetricsv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics | Get the Prometheus Metrics +*DefaultApi* | [**InvokeContractJsonObject**](docs/DefaultApi.md#invokecontractjsonobject) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract-json-object | Invokes a contract on a besu ledger +*DefaultApi* | [**InvokeContractV1**](docs/DefaultApi.md#invokecontractv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract | Invokes a contract on a xdai ledger +*DefaultApi* | [**RunTransactionV1**](docs/DefaultApi.md#runtransactionv1) | **Post** /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/run-transaction | Executes a transaction on a xdai ledger + + +## Documentation For Models + + - [ConsistencyStrategy](docs/ConsistencyStrategy.md) + - [ContractJSON](docs/ContractJSON.md) + - [DeployContractJsonObjectV1Request](docs/DeployContractJsonObjectV1Request.md) + - [DeployContractV1Request](docs/DeployContractV1Request.md) + - [DeployContractV1Response](docs/DeployContractV1Response.md) + - [DeployRequestBaseV1](docs/DeployRequestBaseV1.md) + - [EthContractInvocationType](docs/EthContractInvocationType.md) + - [InvokeContractJsonObjectV1Request](docs/InvokeContractJsonObjectV1Request.md) + - [InvokeContractV1Request](docs/InvokeContractV1Request.md) + - [InvokeContractV1Response](docs/InvokeContractV1Response.md) + - [InvokeRequestBaseV1](docs/InvokeRequestBaseV1.md) + - [ReceiptType](docs/ReceiptType.md) + - [RunTransactionV1Request](docs/RunTransactionV1Request.md) + - [RunTransactionV1Response](docs/RunTransactionV1Response.md) + - [SolidityContractJsonArtifact](docs/SolidityContractJsonArtifact.md) + - [SolidityContractJsonArtifactCompiler](docs/SolidityContractJsonArtifactCompiler.md) + - [SolidityContractJsonArtifactGasEstimates](docs/SolidityContractJsonArtifactGasEstimates.md) + - [SolidityContractJsonArtifactGasEstimatesCreation](docs/SolidityContractJsonArtifactGasEstimatesCreation.md) + - [Web3SigningCredential](docs/Web3SigningCredential.md) + - [Web3SigningCredentialCactusKeychainRef](docs/Web3SigningCredentialCactusKeychainRef.md) + - [Web3SigningCredentialNone](docs/Web3SigningCredentialNone.md) + - [Web3SigningCredentialPrivateKeyHex](docs/Web3SigningCredentialPrivateKeyHex.md) + - [Web3SigningCredentialType](docs/Web3SigningCredentialType.md) + - [Web3TransactionReceipt](docs/Web3TransactionReceipt.md) + - [XdaiTransactionConfig](docs/XdaiTransactionConfig.md) + - [XdaiTransactionConfigFrom](docs/XdaiTransactionConfigFrom.md) + - [XdaiTransactionConfigTo](docs/XdaiTransactionConfigTo.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..a5b80b5115f --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,896 @@ +openapi: 3.0.3 +info: + description: Can perform basic tasks on a Xdai ledger + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Connector Xdai + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode: + post: + operationId: deployContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractV1Response' + description: OK + summary: Deploys the bytecode of a Solidity contract. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode-json-object: + post: + operationId: deployContractJsonObjectV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractJsonObjectV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeployContractV1Response' + description: OK + summary: Deploys the bytecode of a Solidity contract. + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode-json-object + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/run-transaction: + post: + operationId: runTransactionV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RunTransactionV1Response' + description: OK + summary: Executes a transaction on a xdai ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/run-transaction + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract: + post: + operationId: invokeContractV1 + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + summary: Invokes a contract on a xdai ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract-json-object: + post: + operationId: invokeContractJsonObject + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractJsonObjectV1Request' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/InvokeContractV1Response' + description: OK + summary: Invokes a contract on a besu ledger + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract-json-object + /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics: + get: + operationId: getPrometheusMetricsV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/PrometheusExporterMetricsResponse' + description: OK + summary: Get the Prometheus Metrics + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics +components: + schemas: + ReceiptType: + description: Enumerates the possible types of receipts that can be waited for + by someone or something that has requested the execution of a transaction + on a ledger. + enum: + - NODE_TX_POOL_ACK + - LEDGER_BLOCK_ACK + type: string + ConsistencyStrategy: + example: + blockConfirmations: 2931 + receiptType: null + timeoutMs: 0 + pollIntervalMs: 0 + properties: + receiptType: + $ref: '#/components/schemas/ReceiptType' + timeoutMs: + description: "The amount of milliseconds to wait for the receipt to arrive\ + \ to the connector. Defaults to 0 which means to wait for an unlimited\ + \ amount of time. Note that this wait may be interrupted still by other\ + \ parts of the infrastructure such as load balancers cutting of HTTP requests\ + \ after some time even if they are the type that is supposed to be kept\ + \ alive. The question of re-entrance is a broader topic not in scope to\ + \ discuss here, but it is important to mention it." + minimum: 0 + type: integer + blockConfirmations: + description: "The number of blocks to wait to be confirmed in addition to\ + \ the block containing the transaction in question. Note that if the receipt\ + \ type is set to only wait for node transaction pool ACK and this parameter\ + \ is set to anything, but zero then the API will not accept the request\ + \ due to conflicting parameters." + maximum: 20000 + minimum: 0 + type: integer + pollIntervalMs: + description: The amount of time (in milliseconds) connector will wait before + making another confiramtion request to the network in case of previous + confiramtion request fails + minimum: 0 + type: integer + required: + - blockConfirmations + - receiptType + type: object + Web3SigningCredential: + discriminator: + propertyName: type + example: + type: null + oneOf: + - $ref: '#/components/schemas/Web3SigningCredentialCactusKeychainRef' + - $ref: '#/components/schemas/Web3SigningCredentialPrivateKeyHex' + - $ref: '#/components/schemas/Web3SigningCredentialNone' + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialCactusKeychainRef: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + keychainEntryKey: + description: The key to use when looking up the the keychain entry holding + the secret pointed to by the keychainEntryKey parameter. + maxLength: 1024 + minLength: 0 + type: string + keychainId: + description: The keychain ID to use when looking up the the keychain plugin + instance that will be used to retrieve the secret pointed to by the keychainEntryKey + parameter. + maxLength: 1024 + minLength: 0 + type: string + required: + - ethAccount + - keychainEntryKey + - keychainId + - type + type: object + Web3SigningCredentialPrivateKeyHex: + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + ethAccount: + description: The ethereum account (public key) that the credential belongs + to. Basically the username in the traditional terminology of authentication. + maxLength: 64 + minLength: 64 + nullable: false + type: string + secret: + description: The HEX encoded private key of an eth account. + maxLength: 65535 + minLength: 0 + type: string + required: + - ethAccount + - secret + - type + type: object + Web3SigningCredentialNone: + description: Using this denotes that there is no signing required because the + transaction is pre-signed. + properties: + type: + $ref: '#/components/schemas/Web3SigningCredentialType' + required: + - type + type: object + Web3SigningCredentialType: + enum: + - CACTUS_KEYCHAIN_REF + - GETH_KEYCHAIN_PASSWORD + - PRIVATE_KEY_HEX + - NONE + type: string + EthContractInvocationType: + enum: + - SEND + - CALL + type: string + SolidityContractJsonArtifact: + properties: + contractName: + nullable: false + type: string + metadata: + nullable: false + type: string + bytecode: + nullable: false + type: string + deployedBytecode: + nullable: false + type: string + sourceMap: + nullable: false + type: string + deployedSourceMap: + nullable: false + type: string + sourcePath: + type: string + compiler: + $ref: '#/components/schemas/SolidityContractJsonArtifact_compiler' + functionHashes: + additionalProperties: true + type: object + gasEstimates: + $ref: '#/components/schemas/SolidityContractJsonArtifact_gasEstimates' + required: + - contractName + type: object + XdaiTransactionConfig: + additionalProperties: true + example: + rawTransaction: rawTransaction + data: null + gas: null + from: null + to: null + value: null + nonce: 0.8008281904610115 + gasPrice: null + properties: + rawTransaction: + nullable: false + type: string + from: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + to: + $ref: '#/components/schemas/XdaiTransactionConfig_to' + value: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + gas: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + gasPrice: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + nonce: + type: number + data: + $ref: '#/components/schemas/XdaiTransactionConfig_to' + type: object + Web3TransactionReceipt: + additionalProperties: true + example: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + status: + nullable: false + type: boolean + transactionHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + transactionIndex: + nullable: false + type: number + blockHash: + maxLength: 66 + minLength: 66 + pattern: "^0x([A-Fa-f0-9]{64})$" + type: string + blockNumber: + nullable: false + type: number + gasUsed: + nullable: false + type: number + contractAddress: + nullable: true + type: string + from: + nullable: false + type: string + to: + nullable: false + type: string + required: + - blockHash + - blockNumber + - from + - gasUsed + - status + - to + - transactionHash + - transactionIndex + type: object + ContractJSON: + additionalProperties: true + example: + bytecode: bytecode + metadata: metadata + ast: "{}" + deployedBytecode: deployedBytecode + sourceMap: sourceMap + deployedSourceMap: deployedSourceMap + abi: + - "" + - "" + networks: "{}" + functionHashes: "{}" + gasEstimates: "{}" + contractName: contractName + compiler: "{}" + sourcePath: sourcePath + properties: + contractName: + nullable: false + type: string + bytecode: + description: See https://ethereum.stackexchange.com/a/47556 regarding the + maximum length of the bytecode + maxLength: 24576 + minLength: 1 + nullable: false + type: string + abi: + description: "The application binary interface of the solidity contract,\ + \ optional parameter" + items: {} + nullable: false + type: array + metadata: + type: string + deployedBytecode: + type: string + sourceMap: + type: string + deployedSourceMap: + type: string + sourcePath: + type: string + compiler: + type: object + networks: + type: object + ast: + type: object + functionHashes: + type: object + gasEstimates: + type: object + required: + - abi + - bytecode + - contractName + type: object + RunTransactionV1Request: + additionalProperties: false + example: + transactionConfig: + rawTransaction: rawTransaction + data: null + gas: null + from: null + to: null + value: null + nonce: 0.8008281904610115 + gasPrice: null + consistencyStrategy: + blockConfirmations: 2931 + receiptType: null + timeoutMs: 0 + pollIntervalMs: 0 + web3SigningCredential: + type: null + properties: + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + transactionConfig: + $ref: '#/components/schemas/XdaiTransactionConfig' + consistencyStrategy: + $ref: '#/components/schemas/ConsistencyStrategy' + required: + - consistencyStrategy + - transactionConfig + - web3SigningCredential + type: object + RunTransactionV1Response: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + required: + - transactionReceipt + type: object + DeployContractV1Request: + additionalProperties: false + example: + keychainId: keychainId + constructorArgs: + - "" + - "" + timeoutMs: 0.6027456183070403 + gas: 0.8008281904610115 + web3SigningCredential: + type: null + contractName: contractName + gasPrice: gasPrice + properties: + contractName: + description: The contract name for retrieve the contracts json on the keychain. + maxLength: 100 + minLength: 1 + nullable: false + type: string + constructorArgs: + default: [] + items: {} + type: array + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + keychainId: + description: The keychainId for retrieve the contracts json. + maxLength: 100 + minLength: 1 + nullable: false + type: string + gas: + nullable: false + type: number + gasPrice: + nullable: false + type: string + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + with theaddress of the contract(which indicates successful deployment) + beforegiving up and crashing. + minimum: 0 + nullable: false + type: number + required: + - contractName + - keychainId + - web3SigningCredential + type: object + DeployContractJsonObjectV1Request: + additionalProperties: false + example: + timeoutMs: 0.6027456183070403 + constructorArgs: + - "" + - "" + gas: 0.8008281904610115 + web3SigningCredential: + type: null + gasPrice: gasPrice + contractJSON: + bytecode: bytecode + metadata: metadata + ast: "{}" + deployedBytecode: deployedBytecode + sourceMap: sourceMap + deployedSourceMap: deployedSourceMap + abi: + - "" + - "" + networks: "{}" + functionHashes: "{}" + gasEstimates: "{}" + contractName: contractName + compiler: "{}" + sourcePath: sourcePath + properties: + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + gas: + nullable: false + type: number + gasPrice: + nullable: false + type: string + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + with theaddress of the contract(which indicates successful deployment) + beforegiving up and crashing. + minimum: 0 + nullable: false + type: number + contractJSON: + $ref: '#/components/schemas/ContractJSON' + constructorArgs: + default: [] + description: The list of arguments to pass in to the constructor of the + contract being deployed. + items: {} + type: array + required: + - contractJSON + - web3SigningCredential + type: object + DeployContractV1Response: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + required: + - transactionReceipt + type: object + InvokeContractV1Request: + additionalProperties: false + example: + invocationType: null + keychainId: keychainId + timeoutMs: 0.6027456183070403 + gas: null + web3SigningCredential: + type: null + methodName: methodName + contractName: contractName + params: + - "" + - "" + value: null + nonce: 0.8008281904610115 + gasPrice: null + properties: + contractName: + description: The contract name to find it in the keychain plugin + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + invocationType: + $ref: '#/components/schemas/EthContractInvocationType' + methodName: + description: The name of the contract method to invoke. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + params: + default: [] + description: The list of arguments to pass in to the contract method being + invoked. + items: {} + type: array + value: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + gas: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + gasPrice: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + nonce: + type: number + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + beforegiving up and crashing. Only has any effect if the invocation type + is SEND + minimum: 0 + nullable: false + type: number + keychainId: + description: The keychainId for retrieve the contracts json. + maxLength: 100 + minLength: 1 + type: string + required: + - contractName + - invocationType + - keychainId + - methodName + - params + - web3SigningCredential + type: object + InvokeContractJsonObjectV1Request: + additionalProperties: false + example: + invocationType: null + timeoutMs: 0.6027456183070403 + gas: null + web3SigningCredential: + type: null + methodName: methodName + contractAddress: contractAddress + params: + - "" + - "" + value: null + nonce: 0.8008281904610115 + gasPrice: null + contractJSON: + bytecode: bytecode + metadata: metadata + ast: "{}" + deployedBytecode: deployedBytecode + sourceMap: sourceMap + deployedSourceMap: deployedSourceMap + abi: + - "" + - "" + networks: "{}" + functionHashes: "{}" + gasEstimates: "{}" + contractName: contractName + compiler: "{}" + sourcePath: sourcePath + properties: + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + invocationType: + $ref: '#/components/schemas/EthContractInvocationType' + methodName: + description: The name of the contract method to invoke. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + params: + default: [] + description: The list of arguments to pass in to the contract method being + invoked. + items: {} + type: array + contractAddress: + description: Address of the solidity contract + nullable: false + type: string + value: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + gas: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + gasPrice: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + nonce: + type: number + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + beforegiving up and crashing. Only has any effect if the invocation type + is SEND + minimum: 0 + nullable: false + type: number + contractJSON: + $ref: '#/components/schemas/ContractJSON' + required: + - contractAddress + - contractJSON + - invocationType + - methodName + - params + - web3SigningCredential + type: object + InvokeContractV1Response: + example: + transactionReceipt: + blockHash: blockHash + gasUsed: 1.4658129805029452 + blockNumber: 6.027456183070403 + contractAddress: contractAddress + transactionIndex: 0.8008281904610115 + from: from + to: to + transactionHash: transactionHash + status: true + callOutput: "" + success: true + properties: + transactionReceipt: + $ref: '#/components/schemas/Web3TransactionReceipt' + callOutput: {} + success: + nullable: false + type: boolean + required: + - success + type: object + PrometheusExporterMetricsResponse: + nullable: false + type: string + DeployRequestBaseV1: + properties: + contractJSON: + $ref: '#/components/schemas/ContractJSON' + constructorArgs: + default: [] + items: {} + type: array + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + gas: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + gasPrice: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + with theaddress of the contract(which indicates successful deployment) + beforegiving up and crashing. + minimum: 0 + nullable: false + type: number + required: + - contractJSON + - web3SigningCredential + type: object + InvokeRequestBaseV1: + additionalProperties: false + properties: + contractAddress: + description: Address of the solidity contract + nullable: false + type: string + web3SigningCredential: + $ref: '#/components/schemas/Web3SigningCredential' + invocationType: + $ref: '#/components/schemas/EthContractInvocationType' + methodName: + description: The name of the contract method to invoke. + maxLength: 2048 + minLength: 1 + nullable: false + type: string + params: + default: [] + description: The list of arguments to pass in to the contract method being + invoked. + items: {} + type: array + value: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + gas: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + gasPrice: + $ref: '#/components/schemas/XdaiTransactionConfig_from' + nonce: + type: number + timeoutMs: + default: 60000 + description: The amount of milliseconds to wait for a transaction receipt + beforegiving up and crashing. Only has any effect if the invocation type + is SEND + minimum: 0 + nullable: false + type: number + contractJSON: + $ref: '#/components/schemas/ContractJSON' + required: + - contractAddress + - contractJSON + - invocationType + - methodName + - params + - web3SigningCredential + type: object + SolidityContractJsonArtifact_compiler: + additionalProperties: true + properties: + name: + type: string + version: + type: string + type: object + SolidityContractJsonArtifact_gasEstimates_creation: + properties: + codeDepositCost: + type: string + executionCost: + type: string + totalCost: + type: string + type: object + SolidityContractJsonArtifact_gasEstimates: + properties: + creation: + $ref: '#/components/schemas/SolidityContractJsonArtifact_gasEstimates_creation' + external: + additionalProperties: true + type: object + XdaiTransactionConfig_from: + oneOf: + - type: string + - type: number + XdaiTransactionConfig_to: + oneOf: + - type: string diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..fd949d82ebe --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,645 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiDeployContractJsonObjectV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deployContractJsonObjectV1Request *DeployContractJsonObjectV1Request +} + +func (r ApiDeployContractJsonObjectV1Request) DeployContractJsonObjectV1Request(deployContractJsonObjectV1Request DeployContractJsonObjectV1Request) ApiDeployContractJsonObjectV1Request { + r.deployContractJsonObjectV1Request = &deployContractJsonObjectV1Request + return r +} + +func (r ApiDeployContractJsonObjectV1Request) Execute() (*DeployContractV1Response, *http.Response, error) { + return r.ApiService.DeployContractJsonObjectV1Execute(r) +} + +/* +DeployContractJsonObjectV1 Deploys the bytecode of a Solidity contract. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractJsonObjectV1Request +*/ +func (a *DefaultApiService) DeployContractJsonObjectV1(ctx context.Context) ApiDeployContractJsonObjectV1Request { + return ApiDeployContractJsonObjectV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeployContractV1Response +func (a *DefaultApiService) DeployContractJsonObjectV1Execute(r ApiDeployContractJsonObjectV1Request) (*DeployContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeployContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContractJsonObjectV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode-json-object" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractJsonObjectV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiDeployContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + deployContractV1Request *DeployContractV1Request +} + +func (r ApiDeployContractV1Request) DeployContractV1Request(deployContractV1Request DeployContractV1Request) ApiDeployContractV1Request { + r.deployContractV1Request = &deployContractV1Request + return r +} + +func (r ApiDeployContractV1Request) Execute() (*DeployContractV1Response, *http.Response, error) { + return r.ApiService.DeployContractV1Execute(r) +} + +/* +DeployContractV1 Deploys the bytecode of a Solidity contract. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeployContractV1Request +*/ +func (a *DefaultApiService) DeployContractV1(ctx context.Context) ApiDeployContractV1Request { + return ApiDeployContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DeployContractV1Response +func (a *DefaultApiService) DeployContractV1Execute(r ApiDeployContractV1Request) (*DeployContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeployContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.DeployContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/deploy-contract-solidity-bytecode" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.deployContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetPrometheusMetricsV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetPrometheusMetricsV1Request) Execute() (string, *http.Response, error) { + return r.ApiService.GetPrometheusMetricsV1Execute(r) +} + +/* +GetPrometheusMetricsV1 Get the Prometheus Metrics + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetPrometheusMetricsV1Request +*/ +func (a *DefaultApiService) GetPrometheusMetricsV1(ctx context.Context) ApiGetPrometheusMetricsV1Request { + return ApiGetPrometheusMetricsV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *DefaultApiService) GetPrometheusMetricsV1Execute(r ApiGetPrometheusMetricsV1Request) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetPrometheusMetricsV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeContractJsonObjectRequest struct { + ctx context.Context + ApiService *DefaultApiService + invokeContractJsonObjectV1Request *InvokeContractJsonObjectV1Request +} + +func (r ApiInvokeContractJsonObjectRequest) InvokeContractJsonObjectV1Request(invokeContractJsonObjectV1Request InvokeContractJsonObjectV1Request) ApiInvokeContractJsonObjectRequest { + r.invokeContractJsonObjectV1Request = &invokeContractJsonObjectV1Request + return r +} + +func (r ApiInvokeContractJsonObjectRequest) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.InvokeContractJsonObjectExecute(r) +} + +/* +InvokeContractJsonObject Invokes a contract on a besu ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeContractJsonObjectRequest +*/ +func (a *DefaultApiService) InvokeContractJsonObject(ctx context.Context) ApiInvokeContractJsonObjectRequest { + return ApiInvokeContractJsonObjectRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) InvokeContractJsonObjectExecute(r ApiInvokeContractJsonObjectRequest) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeContractJsonObject") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract-json-object" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeContractJsonObjectV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiInvokeContractV1Request struct { + ctx context.Context + ApiService *DefaultApiService + invokeContractV1Request *InvokeContractV1Request +} + +func (r ApiInvokeContractV1Request) InvokeContractV1Request(invokeContractV1Request InvokeContractV1Request) ApiInvokeContractV1Request { + r.invokeContractV1Request = &invokeContractV1Request + return r +} + +func (r ApiInvokeContractV1Request) Execute() (*InvokeContractV1Response, *http.Response, error) { + return r.ApiService.InvokeContractV1Execute(r) +} + +/* +InvokeContractV1 Invokes a contract on a xdai ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiInvokeContractV1Request +*/ +func (a *DefaultApiService) InvokeContractV1(ctx context.Context) ApiInvokeContractV1Request { + return ApiInvokeContractV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return InvokeContractV1Response +func (a *DefaultApiService) InvokeContractV1Execute(r ApiInvokeContractV1Request) (*InvokeContractV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *InvokeContractV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.InvokeContractV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/invoke-contract" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.invokeContractV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiRunTransactionV1Request struct { + ctx context.Context + ApiService *DefaultApiService + runTransactionV1Request *RunTransactionV1Request +} + +func (r ApiRunTransactionV1Request) RunTransactionV1Request(runTransactionV1Request RunTransactionV1Request) ApiRunTransactionV1Request { + r.runTransactionV1Request = &runTransactionV1Request + return r +} + +func (r ApiRunTransactionV1Request) Execute() (*RunTransactionV1Response, *http.Response, error) { + return r.ApiService.RunTransactionV1Execute(r) +} + +/* +RunTransactionV1 Executes a transaction on a xdai ledger + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRunTransactionV1Request +*/ +func (a *DefaultApiService) RunTransactionV1(ctx context.Context) ApiRunTransactionV1Request { + return ApiRunTransactionV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RunTransactionV1Response +func (a *DefaultApiService) RunTransactionV1Execute(r ApiRunTransactionV1Request) (*RunTransactionV1Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RunTransactionV1Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RunTransactionV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/run-transaction" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runTransactionV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..a6319859e68 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Connector Xdai API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..d39adb26282 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..9110fb7b311 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_consistency_strategy.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_consistency_strategy.go new file mode 100644 index 00000000000..1b45891d4b3 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_consistency_strategy.go @@ -0,0 +1,219 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the ConsistencyStrategy type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ConsistencyStrategy{} + +// ConsistencyStrategy struct for ConsistencyStrategy +type ConsistencyStrategy struct { + ReceiptType ReceiptType `json:"receiptType"` + // The amount of milliseconds to wait for the receipt to arrive to the connector. Defaults to 0 which means to wait for an unlimited amount of time. Note that this wait may be interrupted still by other parts of the infrastructure such as load balancers cutting of HTTP requests after some time even if they are the type that is supposed to be kept alive. The question of re-entrance is a broader topic not in scope to discuss here, but it is important to mention it. + TimeoutMs *int32 `json:"timeoutMs,omitempty"` + // The number of blocks to wait to be confirmed in addition to the block containing the transaction in question. Note that if the receipt type is set to only wait for node transaction pool ACK and this parameter is set to anything, but zero then the API will not accept the request due to conflicting parameters. + BlockConfirmations int32 `json:"blockConfirmations"` + // The amount of time (in milliseconds) connector will wait before making another confiramtion request to the network in case of previous confiramtion request fails + PollIntervalMs *int32 `json:"pollIntervalMs,omitempty"` +} + +// NewConsistencyStrategy instantiates a new ConsistencyStrategy object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewConsistencyStrategy(receiptType ReceiptType, blockConfirmations int32) *ConsistencyStrategy { + this := ConsistencyStrategy{} + this.ReceiptType = receiptType + this.BlockConfirmations = blockConfirmations + return &this +} + +// NewConsistencyStrategyWithDefaults instantiates a new ConsistencyStrategy object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewConsistencyStrategyWithDefaults() *ConsistencyStrategy { + this := ConsistencyStrategy{} + return &this +} + +// GetReceiptType returns the ReceiptType field value +func (o *ConsistencyStrategy) GetReceiptType() ReceiptType { + if o == nil { + var ret ReceiptType + return ret + } + + return o.ReceiptType +} + +// GetReceiptTypeOk returns a tuple with the ReceiptType field value +// and a boolean to check if the value has been set. +func (o *ConsistencyStrategy) GetReceiptTypeOk() (*ReceiptType, bool) { + if o == nil { + return nil, false + } + return &o.ReceiptType, true +} + +// SetReceiptType sets field value +func (o *ConsistencyStrategy) SetReceiptType(v ReceiptType) { + o.ReceiptType = v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *ConsistencyStrategy) GetTimeoutMs() int32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret int32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConsistencyStrategy) GetTimeoutMsOk() (*int32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *ConsistencyStrategy) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given int32 and assigns it to the TimeoutMs field. +func (o *ConsistencyStrategy) SetTimeoutMs(v int32) { + o.TimeoutMs = &v +} + +// GetBlockConfirmations returns the BlockConfirmations field value +func (o *ConsistencyStrategy) GetBlockConfirmations() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.BlockConfirmations +} + +// GetBlockConfirmationsOk returns a tuple with the BlockConfirmations field value +// and a boolean to check if the value has been set. +func (o *ConsistencyStrategy) GetBlockConfirmationsOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.BlockConfirmations, true +} + +// SetBlockConfirmations sets field value +func (o *ConsistencyStrategy) SetBlockConfirmations(v int32) { + o.BlockConfirmations = v +} + +// GetPollIntervalMs returns the PollIntervalMs field value if set, zero value otherwise. +func (o *ConsistencyStrategy) GetPollIntervalMs() int32 { + if o == nil || IsNil(o.PollIntervalMs) { + var ret int32 + return ret + } + return *o.PollIntervalMs +} + +// GetPollIntervalMsOk returns a tuple with the PollIntervalMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConsistencyStrategy) GetPollIntervalMsOk() (*int32, bool) { + if o == nil || IsNil(o.PollIntervalMs) { + return nil, false + } + return o.PollIntervalMs, true +} + +// HasPollIntervalMs returns a boolean if a field has been set. +func (o *ConsistencyStrategy) HasPollIntervalMs() bool { + if o != nil && !IsNil(o.PollIntervalMs) { + return true + } + + return false +} + +// SetPollIntervalMs gets a reference to the given int32 and assigns it to the PollIntervalMs field. +func (o *ConsistencyStrategy) SetPollIntervalMs(v int32) { + o.PollIntervalMs = &v +} + +func (o ConsistencyStrategy) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ConsistencyStrategy) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["receiptType"] = o.ReceiptType + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + toSerialize["blockConfirmations"] = o.BlockConfirmations + if !IsNil(o.PollIntervalMs) { + toSerialize["pollIntervalMs"] = o.PollIntervalMs + } + return toSerialize, nil +} + +type NullableConsistencyStrategy struct { + value *ConsistencyStrategy + isSet bool +} + +func (v NullableConsistencyStrategy) Get() *ConsistencyStrategy { + return v.value +} + +func (v *NullableConsistencyStrategy) Set(val *ConsistencyStrategy) { + v.value = val + v.isSet = true +} + +func (v NullableConsistencyStrategy) IsSet() bool { + return v.isSet +} + +func (v *NullableConsistencyStrategy) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConsistencyStrategy(val *ConsistencyStrategy) *NullableConsistencyStrategy { + return &NullableConsistencyStrategy{value: val, isSet: true} +} + +func (v NullableConsistencyStrategy) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConsistencyStrategy) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_contract_json.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_contract_json.go new file mode 100644 index 00000000000..f37c11e2da4 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_contract_json.go @@ -0,0 +1,570 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the ContractJSON type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ContractJSON{} + +// ContractJSON struct for ContractJSON +type ContractJSON struct { + ContractName string `json:"contractName"` + // See https://ethereum.stackexchange.com/a/47556 regarding the maximum length of the bytecode + Bytecode string `json:"bytecode"` + // The application binary interface of the solidity contract, optional parameter + Abi []interface{} `json:"abi"` + Metadata *string `json:"metadata,omitempty"` + DeployedBytecode *string `json:"deployedBytecode,omitempty"` + SourceMap *string `json:"sourceMap,omitempty"` + DeployedSourceMap *string `json:"deployedSourceMap,omitempty"` + SourcePath *string `json:"sourcePath,omitempty"` + Compiler map[string]interface{} `json:"compiler,omitempty"` + Networks map[string]interface{} `json:"networks,omitempty"` + Ast map[string]interface{} `json:"ast,omitempty"` + FunctionHashes map[string]interface{} `json:"functionHashes,omitempty"` + GasEstimates map[string]interface{} `json:"gasEstimates,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ContractJSON ContractJSON + +// NewContractJSON instantiates a new ContractJSON object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewContractJSON(contractName string, bytecode string, abi []interface{}) *ContractJSON { + this := ContractJSON{} + this.ContractName = contractName + this.Bytecode = bytecode + this.Abi = abi + return &this +} + +// NewContractJSONWithDefaults instantiates a new ContractJSON object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewContractJSONWithDefaults() *ContractJSON { + this := ContractJSON{} + return &this +} + +// GetContractName returns the ContractName field value +func (o *ContractJSON) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *ContractJSON) SetContractName(v string) { + o.ContractName = v +} + +// GetBytecode returns the Bytecode field value +func (o *ContractJSON) GetBytecode() string { + if o == nil { + var ret string + return ret + } + + return o.Bytecode +} + +// GetBytecodeOk returns a tuple with the Bytecode field value +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetBytecodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Bytecode, true +} + +// SetBytecode sets field value +func (o *ContractJSON) SetBytecode(v string) { + o.Bytecode = v +} + +// GetAbi returns the Abi field value +func (o *ContractJSON) GetAbi() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Abi +} + +// GetAbiOk returns a tuple with the Abi field value +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetAbiOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Abi, true +} + +// SetAbi sets field value +func (o *ContractJSON) SetAbi(v []interface{}) { + o.Abi = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise. +func (o *ContractJSON) GetMetadata() string { + if o == nil || IsNil(o.Metadata) { + var ret string + return ret + } + return *o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetMetadataOk() (*string, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *ContractJSON) HasMetadata() bool { + if o != nil && !IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given string and assigns it to the Metadata field. +func (o *ContractJSON) SetMetadata(v string) { + o.Metadata = &v +} + +// GetDeployedBytecode returns the DeployedBytecode field value if set, zero value otherwise. +func (o *ContractJSON) GetDeployedBytecode() string { + if o == nil || IsNil(o.DeployedBytecode) { + var ret string + return ret + } + return *o.DeployedBytecode +} + +// GetDeployedBytecodeOk returns a tuple with the DeployedBytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetDeployedBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.DeployedBytecode) { + return nil, false + } + return o.DeployedBytecode, true +} + +// HasDeployedBytecode returns a boolean if a field has been set. +func (o *ContractJSON) HasDeployedBytecode() bool { + if o != nil && !IsNil(o.DeployedBytecode) { + return true + } + + return false +} + +// SetDeployedBytecode gets a reference to the given string and assigns it to the DeployedBytecode field. +func (o *ContractJSON) SetDeployedBytecode(v string) { + o.DeployedBytecode = &v +} + +// GetSourceMap returns the SourceMap field value if set, zero value otherwise. +func (o *ContractJSON) GetSourceMap() string { + if o == nil || IsNil(o.SourceMap) { + var ret string + return ret + } + return *o.SourceMap +} + +// GetSourceMapOk returns a tuple with the SourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.SourceMap) { + return nil, false + } + return o.SourceMap, true +} + +// HasSourceMap returns a boolean if a field has been set. +func (o *ContractJSON) HasSourceMap() bool { + if o != nil && !IsNil(o.SourceMap) { + return true + } + + return false +} + +// SetSourceMap gets a reference to the given string and assigns it to the SourceMap field. +func (o *ContractJSON) SetSourceMap(v string) { + o.SourceMap = &v +} + +// GetDeployedSourceMap returns the DeployedSourceMap field value if set, zero value otherwise. +func (o *ContractJSON) GetDeployedSourceMap() string { + if o == nil || IsNil(o.DeployedSourceMap) { + var ret string + return ret + } + return *o.DeployedSourceMap +} + +// GetDeployedSourceMapOk returns a tuple with the DeployedSourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetDeployedSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.DeployedSourceMap) { + return nil, false + } + return o.DeployedSourceMap, true +} + +// HasDeployedSourceMap returns a boolean if a field has been set. +func (o *ContractJSON) HasDeployedSourceMap() bool { + if o != nil && !IsNil(o.DeployedSourceMap) { + return true + } + + return false +} + +// SetDeployedSourceMap gets a reference to the given string and assigns it to the DeployedSourceMap field. +func (o *ContractJSON) SetDeployedSourceMap(v string) { + o.DeployedSourceMap = &v +} + +// GetSourcePath returns the SourcePath field value if set, zero value otherwise. +func (o *ContractJSON) GetSourcePath() string { + if o == nil || IsNil(o.SourcePath) { + var ret string + return ret + } + return *o.SourcePath +} + +// GetSourcePathOk returns a tuple with the SourcePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetSourcePathOk() (*string, bool) { + if o == nil || IsNil(o.SourcePath) { + return nil, false + } + return o.SourcePath, true +} + +// HasSourcePath returns a boolean if a field has been set. +func (o *ContractJSON) HasSourcePath() bool { + if o != nil && !IsNil(o.SourcePath) { + return true + } + + return false +} + +// SetSourcePath gets a reference to the given string and assigns it to the SourcePath field. +func (o *ContractJSON) SetSourcePath(v string) { + o.SourcePath = &v +} + +// GetCompiler returns the Compiler field value if set, zero value otherwise. +func (o *ContractJSON) GetCompiler() map[string]interface{} { + if o == nil || IsNil(o.Compiler) { + var ret map[string]interface{} + return ret + } + return o.Compiler +} + +// GetCompilerOk returns a tuple with the Compiler field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetCompilerOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Compiler) { + return map[string]interface{}{}, false + } + return o.Compiler, true +} + +// HasCompiler returns a boolean if a field has been set. +func (o *ContractJSON) HasCompiler() bool { + if o != nil && !IsNil(o.Compiler) { + return true + } + + return false +} + +// SetCompiler gets a reference to the given map[string]interface{} and assigns it to the Compiler field. +func (o *ContractJSON) SetCompiler(v map[string]interface{}) { + o.Compiler = v +} + +// GetNetworks returns the Networks field value if set, zero value otherwise. +func (o *ContractJSON) GetNetworks() map[string]interface{} { + if o == nil || IsNil(o.Networks) { + var ret map[string]interface{} + return ret + } + return o.Networks +} + +// GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetNetworksOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Networks) { + return map[string]interface{}{}, false + } + return o.Networks, true +} + +// HasNetworks returns a boolean if a field has been set. +func (o *ContractJSON) HasNetworks() bool { + if o != nil && !IsNil(o.Networks) { + return true + } + + return false +} + +// SetNetworks gets a reference to the given map[string]interface{} and assigns it to the Networks field. +func (o *ContractJSON) SetNetworks(v map[string]interface{}) { + o.Networks = v +} + +// GetAst returns the Ast field value if set, zero value otherwise. +func (o *ContractJSON) GetAst() map[string]interface{} { + if o == nil || IsNil(o.Ast) { + var ret map[string]interface{} + return ret + } + return o.Ast +} + +// GetAstOk returns a tuple with the Ast field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetAstOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Ast) { + return map[string]interface{}{}, false + } + return o.Ast, true +} + +// HasAst returns a boolean if a field has been set. +func (o *ContractJSON) HasAst() bool { + if o != nil && !IsNil(o.Ast) { + return true + } + + return false +} + +// SetAst gets a reference to the given map[string]interface{} and assigns it to the Ast field. +func (o *ContractJSON) SetAst(v map[string]interface{}) { + o.Ast = v +} + +// GetFunctionHashes returns the FunctionHashes field value if set, zero value otherwise. +func (o *ContractJSON) GetFunctionHashes() map[string]interface{} { + if o == nil || IsNil(o.FunctionHashes) { + var ret map[string]interface{} + return ret + } + return o.FunctionHashes +} + +// GetFunctionHashesOk returns a tuple with the FunctionHashes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetFunctionHashesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.FunctionHashes) { + return map[string]interface{}{}, false + } + return o.FunctionHashes, true +} + +// HasFunctionHashes returns a boolean if a field has been set. +func (o *ContractJSON) HasFunctionHashes() bool { + if o != nil && !IsNil(o.FunctionHashes) { + return true + } + + return false +} + +// SetFunctionHashes gets a reference to the given map[string]interface{} and assigns it to the FunctionHashes field. +func (o *ContractJSON) SetFunctionHashes(v map[string]interface{}) { + o.FunctionHashes = v +} + +// GetGasEstimates returns the GasEstimates field value if set, zero value otherwise. +func (o *ContractJSON) GetGasEstimates() map[string]interface{} { + if o == nil || IsNil(o.GasEstimates) { + var ret map[string]interface{} + return ret + } + return o.GasEstimates +} + +// GetGasEstimatesOk returns a tuple with the GasEstimates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContractJSON) GetGasEstimatesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.GasEstimates) { + return map[string]interface{}{}, false + } + return o.GasEstimates, true +} + +// HasGasEstimates returns a boolean if a field has been set. +func (o *ContractJSON) HasGasEstimates() bool { + if o != nil && !IsNil(o.GasEstimates) { + return true + } + + return false +} + +// SetGasEstimates gets a reference to the given map[string]interface{} and assigns it to the GasEstimates field. +func (o *ContractJSON) SetGasEstimates(v map[string]interface{}) { + o.GasEstimates = v +} + +func (o ContractJSON) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ContractJSON) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + toSerialize["bytecode"] = o.Bytecode + toSerialize["abi"] = o.Abi + if !IsNil(o.Metadata) { + toSerialize["metadata"] = o.Metadata + } + if !IsNil(o.DeployedBytecode) { + toSerialize["deployedBytecode"] = o.DeployedBytecode + } + if !IsNil(o.SourceMap) { + toSerialize["sourceMap"] = o.SourceMap + } + if !IsNil(o.DeployedSourceMap) { + toSerialize["deployedSourceMap"] = o.DeployedSourceMap + } + if !IsNil(o.SourcePath) { + toSerialize["sourcePath"] = o.SourcePath + } + if !IsNil(o.Compiler) { + toSerialize["compiler"] = o.Compiler + } + if !IsNil(o.Networks) { + toSerialize["networks"] = o.Networks + } + if !IsNil(o.Ast) { + toSerialize["ast"] = o.Ast + } + if !IsNil(o.FunctionHashes) { + toSerialize["functionHashes"] = o.FunctionHashes + } + if !IsNil(o.GasEstimates) { + toSerialize["gasEstimates"] = o.GasEstimates + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ContractJSON) UnmarshalJSON(bytes []byte) (err error) { + varContractJSON := _ContractJSON{} + + if err = json.Unmarshal(bytes, &varContractJSON); err == nil { + *o = ContractJSON(varContractJSON) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "contractName") + delete(additionalProperties, "bytecode") + delete(additionalProperties, "abi") + delete(additionalProperties, "metadata") + delete(additionalProperties, "deployedBytecode") + delete(additionalProperties, "sourceMap") + delete(additionalProperties, "deployedSourceMap") + delete(additionalProperties, "sourcePath") + delete(additionalProperties, "compiler") + delete(additionalProperties, "networks") + delete(additionalProperties, "ast") + delete(additionalProperties, "functionHashes") + delete(additionalProperties, "gasEstimates") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableContractJSON struct { + value *ContractJSON + isSet bool +} + +func (v NullableContractJSON) Get() *ContractJSON { + return v.value +} + +func (v *NullableContractJSON) Set(val *ContractJSON) { + v.value = val + v.isSet = true +} + +func (v NullableContractJSON) IsSet() bool { + return v.isSet +} + +func (v *NullableContractJSON) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableContractJSON(val *ContractJSON) *NullableContractJSON { + return &NullableContractJSON{value: val, isSet: true} +} + +func (v NullableContractJSON) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableContractJSON) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_contract_json_object_v1_request.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_contract_json_object_v1_request.go new file mode 100644 index 00000000000..30cbcd1f489 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_contract_json_object_v1_request.go @@ -0,0 +1,294 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the DeployContractJsonObjectV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractJsonObjectV1Request{} + +// DeployContractJsonObjectV1Request struct for DeployContractJsonObjectV1Request +type DeployContractJsonObjectV1Request struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + Gas *float32 `json:"gas,omitempty"` + GasPrice *string `json:"gasPrice,omitempty"` + // The amount of milliseconds to wait for a transaction receipt with theaddress of the contract(which indicates successful deployment) beforegiving up and crashing. + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + ContractJSON ContractJSON `json:"contractJSON"` + // The list of arguments to pass in to the constructor of the contract being deployed. + ConstructorArgs []interface{} `json:"constructorArgs,omitempty"` +} + +// NewDeployContractJsonObjectV1Request instantiates a new DeployContractJsonObjectV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractJsonObjectV1Request(web3SigningCredential Web3SigningCredential, contractJSON ContractJSON) *DeployContractJsonObjectV1Request { + this := DeployContractJsonObjectV1Request{} + this.Web3SigningCredential = web3SigningCredential + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + this.ContractJSON = contractJSON + return &this +} + +// NewDeployContractJsonObjectV1RequestWithDefaults instantiates a new DeployContractJsonObjectV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractJsonObjectV1RequestWithDefaults() *DeployContractJsonObjectV1Request { + this := DeployContractJsonObjectV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *DeployContractJsonObjectV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *DeployContractJsonObjectV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *DeployContractJsonObjectV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *DeployContractJsonObjectV1Request) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractJsonObjectV1Request) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *DeployContractJsonObjectV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *DeployContractJsonObjectV1Request) SetGas(v float32) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *DeployContractJsonObjectV1Request) GetGasPrice() string { + if o == nil || IsNil(o.GasPrice) { + var ret string + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractJsonObjectV1Request) GetGasPriceOk() (*string, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *DeployContractJsonObjectV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given string and assigns it to the GasPrice field. +func (o *DeployContractJsonObjectV1Request) SetGasPrice(v string) { + o.GasPrice = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *DeployContractJsonObjectV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractJsonObjectV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *DeployContractJsonObjectV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *DeployContractJsonObjectV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetContractJSON returns the ContractJSON field value +func (o *DeployContractJsonObjectV1Request) GetContractJSON() ContractJSON { + if o == nil { + var ret ContractJSON + return ret + } + + return o.ContractJSON +} + +// GetContractJSONOk returns a tuple with the ContractJSON field value +// and a boolean to check if the value has been set. +func (o *DeployContractJsonObjectV1Request) GetContractJSONOk() (*ContractJSON, bool) { + if o == nil { + return nil, false + } + return &o.ContractJSON, true +} + +// SetContractJSON sets field value +func (o *DeployContractJsonObjectV1Request) SetContractJSON(v ContractJSON) { + o.ContractJSON = v +} + +// GetConstructorArgs returns the ConstructorArgs field value if set, zero value otherwise. +func (o *DeployContractJsonObjectV1Request) GetConstructorArgs() []interface{} { + if o == nil || IsNil(o.ConstructorArgs) { + var ret []interface{} + return ret + } + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractJsonObjectV1Request) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ConstructorArgs) { + return nil, false + } + return o.ConstructorArgs, true +} + +// HasConstructorArgs returns a boolean if a field has been set. +func (o *DeployContractJsonObjectV1Request) HasConstructorArgs() bool { + if o != nil && !IsNil(o.ConstructorArgs) { + return true + } + + return false +} + +// SetConstructorArgs gets a reference to the given []interface{} and assigns it to the ConstructorArgs field. +func (o *DeployContractJsonObjectV1Request) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +func (o DeployContractJsonObjectV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractJsonObjectV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + toSerialize["contractJSON"] = o.ContractJSON + if !IsNil(o.ConstructorArgs) { + toSerialize["constructorArgs"] = o.ConstructorArgs + } + return toSerialize, nil +} + +type NullableDeployContractJsonObjectV1Request struct { + value *DeployContractJsonObjectV1Request + isSet bool +} + +func (v NullableDeployContractJsonObjectV1Request) Get() *DeployContractJsonObjectV1Request { + return v.value +} + +func (v *NullableDeployContractJsonObjectV1Request) Set(val *DeployContractJsonObjectV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractJsonObjectV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractJsonObjectV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractJsonObjectV1Request(val *DeployContractJsonObjectV1Request) *NullableDeployContractJsonObjectV1Request { + return &NullableDeployContractJsonObjectV1Request{value: val, isSet: true} +} + +func (v NullableDeployContractJsonObjectV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractJsonObjectV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request.go new file mode 100644 index 00000000000..be0eb922f8b --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_request.go @@ -0,0 +1,322 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the DeployContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractV1Request{} + +// DeployContractV1Request struct for DeployContractV1Request +type DeployContractV1Request struct { + // The contract name for retrieve the contracts json on the keychain. + ContractName string `json:"contractName"` + ConstructorArgs []interface{} `json:"constructorArgs,omitempty"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + // The keychainId for retrieve the contracts json. + KeychainId string `json:"keychainId"` + Gas *float32 `json:"gas,omitempty"` + GasPrice *string `json:"gasPrice,omitempty"` + // The amount of milliseconds to wait for a transaction receipt with theaddress of the contract(which indicates successful deployment) beforegiving up and crashing. + TimeoutMs *float32 `json:"timeoutMs,omitempty"` +} + +// NewDeployContractV1Request instantiates a new DeployContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractV1Request(contractName string, web3SigningCredential Web3SigningCredential, keychainId string) *DeployContractV1Request { + this := DeployContractV1Request{} + this.ContractName = contractName + this.Web3SigningCredential = web3SigningCredential + this.KeychainId = keychainId + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// NewDeployContractV1RequestWithDefaults instantiates a new DeployContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractV1RequestWithDefaults() *DeployContractV1Request { + this := DeployContractV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetContractName returns the ContractName field value +func (o *DeployContractV1Request) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *DeployContractV1Request) SetContractName(v string) { + o.ContractName = v +} + +// GetConstructorArgs returns the ConstructorArgs field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetConstructorArgs() []interface{} { + if o == nil || IsNil(o.ConstructorArgs) { + var ret []interface{} + return ret + } + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ConstructorArgs) { + return nil, false + } + return o.ConstructorArgs, true +} + +// HasConstructorArgs returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasConstructorArgs() bool { + if o != nil && !IsNil(o.ConstructorArgs) { + return true + } + + return false +} + +// SetConstructorArgs gets a reference to the given []interface{} and assigns it to the ConstructorArgs field. +func (o *DeployContractV1Request) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *DeployContractV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *DeployContractV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetKeychainId returns the KeychainId field value +func (o *DeployContractV1Request) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *DeployContractV1Request) SetKeychainId(v string) { + o.KeychainId = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetGas() float32 { + if o == nil || IsNil(o.Gas) { + var ret float32 + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetGasOk() (*float32, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given float32 and assigns it to the Gas field. +func (o *DeployContractV1Request) SetGas(v float32) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetGasPrice() string { + if o == nil || IsNil(o.GasPrice) { + var ret string + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetGasPriceOk() (*string, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given string and assigns it to the GasPrice field. +func (o *DeployContractV1Request) SetGasPrice(v string) { + o.GasPrice = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *DeployContractV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployContractV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *DeployContractV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *DeployContractV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +func (o DeployContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + if !IsNil(o.ConstructorArgs) { + toSerialize["constructorArgs"] = o.ConstructorArgs + } + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["keychainId"] = o.KeychainId + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + return toSerialize, nil +} + +type NullableDeployContractV1Request struct { + value *DeployContractV1Request + isSet bool +} + +func (v NullableDeployContractV1Request) Get() *DeployContractV1Request { + return v.value +} + +func (v *NullableDeployContractV1Request) Set(val *DeployContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractV1Request(val *DeployContractV1Request) *NullableDeployContractV1Request { + return &NullableDeployContractV1Request{value: val, isSet: true} +} + +func (v NullableDeployContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_response.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_response.go new file mode 100644 index 00000000000..70362cf2509 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_contract_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the DeployContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployContractV1Response{} + +// DeployContractV1Response struct for DeployContractV1Response +type DeployContractV1Response struct { + TransactionReceipt Web3TransactionReceipt `json:"transactionReceipt"` +} + +// NewDeployContractV1Response instantiates a new DeployContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployContractV1Response(transactionReceipt Web3TransactionReceipt) *DeployContractV1Response { + this := DeployContractV1Response{} + this.TransactionReceipt = transactionReceipt + return &this +} + +// NewDeployContractV1ResponseWithDefaults instantiates a new DeployContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployContractV1ResponseWithDefaults() *DeployContractV1Response { + this := DeployContractV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value +func (o *DeployContractV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil { + var ret Web3TransactionReceipt + return ret + } + + return o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value +// and a boolean to check if the value has been set. +func (o *DeployContractV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil { + return nil, false + } + return &o.TransactionReceipt, true +} + +// SetTransactionReceipt sets field value +func (o *DeployContractV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = v +} + +func (o DeployContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionReceipt"] = o.TransactionReceipt + return toSerialize, nil +} + +type NullableDeployContractV1Response struct { + value *DeployContractV1Response + isSet bool +} + +func (v NullableDeployContractV1Response) Get() *DeployContractV1Response { + return v.value +} + +func (v *NullableDeployContractV1Response) Set(val *DeployContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableDeployContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployContractV1Response(val *DeployContractV1Response) *NullableDeployContractV1Response { + return &NullableDeployContractV1Response{value: val, isSet: true} +} + +func (v NullableDeployContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_request_base_v1.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_request_base_v1.go new file mode 100644 index 00000000000..34ab5467c26 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_deploy_request_base_v1.go @@ -0,0 +1,293 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the DeployRequestBaseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeployRequestBaseV1{} + +// DeployRequestBaseV1 struct for DeployRequestBaseV1 +type DeployRequestBaseV1 struct { + ContractJSON ContractJSON `json:"contractJSON"` + ConstructorArgs []interface{} `json:"constructorArgs,omitempty"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + Gas *XdaiTransactionConfigFrom `json:"gas,omitempty"` + GasPrice *XdaiTransactionConfigFrom `json:"gasPrice,omitempty"` + // The amount of milliseconds to wait for a transaction receipt with theaddress of the contract(which indicates successful deployment) beforegiving up and crashing. + TimeoutMs *float32 `json:"timeoutMs,omitempty"` +} + +// NewDeployRequestBaseV1 instantiates a new DeployRequestBaseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeployRequestBaseV1(contractJSON ContractJSON, web3SigningCredential Web3SigningCredential) *DeployRequestBaseV1 { + this := DeployRequestBaseV1{} + this.ContractJSON = contractJSON + this.Web3SigningCredential = web3SigningCredential + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// NewDeployRequestBaseV1WithDefaults instantiates a new DeployRequestBaseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeployRequestBaseV1WithDefaults() *DeployRequestBaseV1 { + this := DeployRequestBaseV1{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetContractJSON returns the ContractJSON field value +func (o *DeployRequestBaseV1) GetContractJSON() ContractJSON { + if o == nil { + var ret ContractJSON + return ret + } + + return o.ContractJSON +} + +// GetContractJSONOk returns a tuple with the ContractJSON field value +// and a boolean to check if the value has been set. +func (o *DeployRequestBaseV1) GetContractJSONOk() (*ContractJSON, bool) { + if o == nil { + return nil, false + } + return &o.ContractJSON, true +} + +// SetContractJSON sets field value +func (o *DeployRequestBaseV1) SetContractJSON(v ContractJSON) { + o.ContractJSON = v +} + +// GetConstructorArgs returns the ConstructorArgs field value if set, zero value otherwise. +func (o *DeployRequestBaseV1) GetConstructorArgs() []interface{} { + if o == nil || IsNil(o.ConstructorArgs) { + var ret []interface{} + return ret + } + return o.ConstructorArgs +} + +// GetConstructorArgsOk returns a tuple with the ConstructorArgs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployRequestBaseV1) GetConstructorArgsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ConstructorArgs) { + return nil, false + } + return o.ConstructorArgs, true +} + +// HasConstructorArgs returns a boolean if a field has been set. +func (o *DeployRequestBaseV1) HasConstructorArgs() bool { + if o != nil && !IsNil(o.ConstructorArgs) { + return true + } + + return false +} + +// SetConstructorArgs gets a reference to the given []interface{} and assigns it to the ConstructorArgs field. +func (o *DeployRequestBaseV1) SetConstructorArgs(v []interface{}) { + o.ConstructorArgs = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *DeployRequestBaseV1) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *DeployRequestBaseV1) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *DeployRequestBaseV1) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *DeployRequestBaseV1) GetGas() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.Gas) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployRequestBaseV1) GetGasOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *DeployRequestBaseV1) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given XdaiTransactionConfigFrom and assigns it to the Gas field. +func (o *DeployRequestBaseV1) SetGas(v XdaiTransactionConfigFrom) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *DeployRequestBaseV1) GetGasPrice() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.GasPrice) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployRequestBaseV1) GetGasPriceOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *DeployRequestBaseV1) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given XdaiTransactionConfigFrom and assigns it to the GasPrice field. +func (o *DeployRequestBaseV1) SetGasPrice(v XdaiTransactionConfigFrom) { + o.GasPrice = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *DeployRequestBaseV1) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeployRequestBaseV1) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *DeployRequestBaseV1) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *DeployRequestBaseV1) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +func (o DeployRequestBaseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeployRequestBaseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractJSON"] = o.ContractJSON + if !IsNil(o.ConstructorArgs) { + toSerialize["constructorArgs"] = o.ConstructorArgs + } + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + return toSerialize, nil +} + +type NullableDeployRequestBaseV1 struct { + value *DeployRequestBaseV1 + isSet bool +} + +func (v NullableDeployRequestBaseV1) Get() *DeployRequestBaseV1 { + return v.value +} + +func (v *NullableDeployRequestBaseV1) Set(val *DeployRequestBaseV1) { + v.value = val + v.isSet = true +} + +func (v NullableDeployRequestBaseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableDeployRequestBaseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeployRequestBaseV1(val *DeployRequestBaseV1) *NullableDeployRequestBaseV1 { + return &NullableDeployRequestBaseV1{value: val, isSet: true} +} + +func (v NullableDeployRequestBaseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeployRequestBaseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go new file mode 100644 index 00000000000..d5474c0a251 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_eth_contract_invocation_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" + "fmt" +) + +// EthContractInvocationType the model 'EthContractInvocationType' +type EthContractInvocationType string + +// List of EthContractInvocationType +const ( + SEND EthContractInvocationType = "SEND" + CALL EthContractInvocationType = "CALL" +) + +// All allowed values of EthContractInvocationType enum +var AllowedEthContractInvocationTypeEnumValues = []EthContractInvocationType{ + "SEND", + "CALL", +} + +func (v *EthContractInvocationType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := EthContractInvocationType(value) + for _, existing := range AllowedEthContractInvocationTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid EthContractInvocationType", value) +} + +// NewEthContractInvocationTypeFromValue returns a pointer to a valid EthContractInvocationType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEthContractInvocationTypeFromValue(v string) (*EthContractInvocationType, error) { + ev := EthContractInvocationType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for EthContractInvocationType: valid values are %v", v, AllowedEthContractInvocationTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v EthContractInvocationType) IsValid() bool { + for _, existing := range AllowedEthContractInvocationTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to EthContractInvocationType value +func (v EthContractInvocationType) Ptr() *EthContractInvocationType { + return &v +} + +type NullableEthContractInvocationType struct { + value *EthContractInvocationType + isSet bool +} + +func (v NullableEthContractInvocationType) Get() *EthContractInvocationType { + return v.value +} + +func (v *NullableEthContractInvocationType) Set(val *EthContractInvocationType) { + v.value = val + v.isSet = true +} + +func (v NullableEthContractInvocationType) IsSet() bool { + return v.isSet +} + +func (v *NullableEthContractInvocationType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEthContractInvocationType(val *EthContractInvocationType) *NullableEthContractInvocationType { + return &NullableEthContractInvocationType{value: val, isSet: true} +} + +func (v NullableEthContractInvocationType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEthContractInvocationType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_contract_json_object_v1_request.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_contract_json_object_v1_request.go new file mode 100644 index 00000000000..8073b34015e --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_contract_json_object_v1_request.go @@ -0,0 +1,440 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the InvokeContractJsonObjectV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractJsonObjectV1Request{} + +// InvokeContractJsonObjectV1Request struct for InvokeContractJsonObjectV1Request +type InvokeContractJsonObjectV1Request struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + InvocationType EthContractInvocationType `json:"invocationType"` + // The name of the contract method to invoke. + MethodName string `json:"methodName"` + // The list of arguments to pass in to the contract method being invoked. + Params []interface{} `json:"params"` + // Address of the solidity contract + ContractAddress string `json:"contractAddress"` + Value *XdaiTransactionConfigFrom `json:"value,omitempty"` + Gas *XdaiTransactionConfigFrom `json:"gas,omitempty"` + GasPrice *XdaiTransactionConfigFrom `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + // The amount of milliseconds to wait for a transaction receipt beforegiving up and crashing. Only has any effect if the invocation type is SEND + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + ContractJSON ContractJSON `json:"contractJSON"` +} + +// NewInvokeContractJsonObjectV1Request instantiates a new InvokeContractJsonObjectV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractJsonObjectV1Request(web3SigningCredential Web3SigningCredential, invocationType EthContractInvocationType, methodName string, params []interface{}, contractAddress string, contractJSON ContractJSON) *InvokeContractJsonObjectV1Request { + this := InvokeContractJsonObjectV1Request{} + this.Web3SigningCredential = web3SigningCredential + this.InvocationType = invocationType + this.MethodName = methodName + this.Params = params + this.ContractAddress = contractAddress + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + this.ContractJSON = contractJSON + return &this +} + +// NewInvokeContractJsonObjectV1RequestWithDefaults instantiates a new InvokeContractJsonObjectV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractJsonObjectV1RequestWithDefaults() *InvokeContractJsonObjectV1Request { + this := InvokeContractJsonObjectV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *InvokeContractJsonObjectV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *InvokeContractJsonObjectV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeContractJsonObjectV1Request) GetInvocationType() EthContractInvocationType { + if o == nil { + var ret EthContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetInvocationTypeOk() (*EthContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeContractJsonObjectV1Request) SetInvocationType(v EthContractInvocationType) { + o.InvocationType = v +} + +// GetMethodName returns the MethodName field value +func (o *InvokeContractJsonObjectV1Request) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeContractJsonObjectV1Request) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value +func (o *InvokeContractJsonObjectV1Request) GetParams() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetParamsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *InvokeContractJsonObjectV1Request) SetParams(v []interface{}) { + o.Params = v +} + +// GetContractAddress returns the ContractAddress field value +func (o *InvokeContractJsonObjectV1Request) GetContractAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractAddress, true +} + +// SetContractAddress sets field value +func (o *InvokeContractJsonObjectV1Request) SetContractAddress(v string) { + o.ContractAddress = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetValue() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.Value) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetValueOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given XdaiTransactionConfigFrom and assigns it to the Value field. +func (o *InvokeContractJsonObjectV1Request) SetValue(v XdaiTransactionConfigFrom) { + o.Value = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetGas() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.Gas) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetGasOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given XdaiTransactionConfigFrom and assigns it to the Gas field. +func (o *InvokeContractJsonObjectV1Request) SetGas(v XdaiTransactionConfigFrom) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetGasPrice() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.GasPrice) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetGasPriceOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given XdaiTransactionConfigFrom and assigns it to the GasPrice field. +func (o *InvokeContractJsonObjectV1Request) SetGasPrice(v XdaiTransactionConfigFrom) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *InvokeContractJsonObjectV1Request) SetNonce(v float32) { + o.Nonce = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *InvokeContractJsonObjectV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *InvokeContractJsonObjectV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *InvokeContractJsonObjectV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetContractJSON returns the ContractJSON field value +func (o *InvokeContractJsonObjectV1Request) GetContractJSON() ContractJSON { + if o == nil { + var ret ContractJSON + return ret + } + + return o.ContractJSON +} + +// GetContractJSONOk returns a tuple with the ContractJSON field value +// and a boolean to check if the value has been set. +func (o *InvokeContractJsonObjectV1Request) GetContractJSONOk() (*ContractJSON, bool) { + if o == nil { + return nil, false + } + return &o.ContractJSON, true +} + +// SetContractJSON sets field value +func (o *InvokeContractJsonObjectV1Request) SetContractJSON(v ContractJSON) { + o.ContractJSON = v +} + +func (o InvokeContractJsonObjectV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractJsonObjectV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["invocationType"] = o.InvocationType + toSerialize["methodName"] = o.MethodName + toSerialize["params"] = o.Params + toSerialize["contractAddress"] = o.ContractAddress + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + toSerialize["contractJSON"] = o.ContractJSON + return toSerialize, nil +} + +type NullableInvokeContractJsonObjectV1Request struct { + value *InvokeContractJsonObjectV1Request + isSet bool +} + +func (v NullableInvokeContractJsonObjectV1Request) Get() *InvokeContractJsonObjectV1Request { + return v.value +} + +func (v *NullableInvokeContractJsonObjectV1Request) Set(val *InvokeContractJsonObjectV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractJsonObjectV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractJsonObjectV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractJsonObjectV1Request(val *InvokeContractJsonObjectV1Request) *NullableInvokeContractJsonObjectV1Request { + return &NullableInvokeContractJsonObjectV1Request{value: val, isSet: true} +} + +func (v NullableInvokeContractJsonObjectV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractJsonObjectV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go new file mode 100644 index 00000000000..818fc0df7ba --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_request.go @@ -0,0 +1,441 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Request{} + +// InvokeContractV1Request struct for InvokeContractV1Request +type InvokeContractV1Request struct { + // The contract name to find it in the keychain plugin + ContractName string `json:"contractName"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + InvocationType EthContractInvocationType `json:"invocationType"` + // The name of the contract method to invoke. + MethodName string `json:"methodName"` + // The list of arguments to pass in to the contract method being invoked. + Params []interface{} `json:"params"` + Value *XdaiTransactionConfigFrom `json:"value,omitempty"` + Gas *XdaiTransactionConfigFrom `json:"gas,omitempty"` + GasPrice *XdaiTransactionConfigFrom `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + // The amount of milliseconds to wait for a transaction receipt beforegiving up and crashing. Only has any effect if the invocation type is SEND + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + // The keychainId for retrieve the contracts json. + KeychainId string `json:"keychainId"` +} + +// NewInvokeContractV1Request instantiates a new InvokeContractV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Request(contractName string, web3SigningCredential Web3SigningCredential, invocationType EthContractInvocationType, methodName string, params []interface{}, keychainId string) *InvokeContractV1Request { + this := InvokeContractV1Request{} + this.ContractName = contractName + this.Web3SigningCredential = web3SigningCredential + this.InvocationType = invocationType + this.MethodName = methodName + this.Params = params + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + this.KeychainId = keychainId + return &this +} + +// NewInvokeContractV1RequestWithDefaults instantiates a new InvokeContractV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1RequestWithDefaults() *InvokeContractV1Request { + this := InvokeContractV1Request{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetContractName returns the ContractName field value +func (o *InvokeContractV1Request) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *InvokeContractV1Request) SetContractName(v string) { + o.ContractName = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *InvokeContractV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *InvokeContractV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeContractV1Request) GetInvocationType() EthContractInvocationType { + if o == nil { + var ret EthContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetInvocationTypeOk() (*EthContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeContractV1Request) SetInvocationType(v EthContractInvocationType) { + o.InvocationType = v +} + +// GetMethodName returns the MethodName field value +func (o *InvokeContractV1Request) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeContractV1Request) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value +func (o *InvokeContractV1Request) GetParams() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetParamsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *InvokeContractV1Request) SetParams(v []interface{}) { + o.Params = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetValue() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.Value) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetValueOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given XdaiTransactionConfigFrom and assigns it to the Value field. +func (o *InvokeContractV1Request) SetValue(v XdaiTransactionConfigFrom) { + o.Value = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetGas() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.Gas) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetGasOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given XdaiTransactionConfigFrom and assigns it to the Gas field. +func (o *InvokeContractV1Request) SetGas(v XdaiTransactionConfigFrom) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetGasPrice() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.GasPrice) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetGasPriceOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given XdaiTransactionConfigFrom and assigns it to the GasPrice field. +func (o *InvokeContractV1Request) SetGasPrice(v XdaiTransactionConfigFrom) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *InvokeContractV1Request) SetNonce(v float32) { + o.Nonce = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *InvokeContractV1Request) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *InvokeContractV1Request) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *InvokeContractV1Request) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetKeychainId returns the KeychainId field value +func (o *InvokeContractV1Request) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Request) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *InvokeContractV1Request) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o InvokeContractV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["invocationType"] = o.InvocationType + toSerialize["methodName"] = o.MethodName + toSerialize["params"] = o.Params + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableInvokeContractV1Request struct { + value *InvokeContractV1Request + isSet bool +} + +func (v NullableInvokeContractV1Request) Get() *InvokeContractV1Request { + return v.value +} + +func (v *NullableInvokeContractV1Request) Set(val *InvokeContractV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Request(val *InvokeContractV1Request) *NullableInvokeContractV1Request { + return &NullableInvokeContractV1Request{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go new file mode 100644 index 00000000000..73590f436bc --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_contract_v1_response.go @@ -0,0 +1,190 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the InvokeContractV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeContractV1Response{} + +// InvokeContractV1Response struct for InvokeContractV1Response +type InvokeContractV1Response struct { + TransactionReceipt *Web3TransactionReceipt `json:"transactionReceipt,omitempty"` + CallOutput interface{} `json:"callOutput,omitempty"` + Success bool `json:"success"` +} + +// NewInvokeContractV1Response instantiates a new InvokeContractV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeContractV1Response(success bool) *InvokeContractV1Response { + this := InvokeContractV1Response{} + this.Success = success + return &this +} + +// NewInvokeContractV1ResponseWithDefaults instantiates a new InvokeContractV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeContractV1ResponseWithDefaults() *InvokeContractV1Response { + this := InvokeContractV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value if set, zero value otherwise. +func (o *InvokeContractV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil || IsNil(o.TransactionReceipt) { + var ret Web3TransactionReceipt + return ret + } + return *o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil || IsNil(o.TransactionReceipt) { + return nil, false + } + return o.TransactionReceipt, true +} + +// HasTransactionReceipt returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasTransactionReceipt() bool { + if o != nil && !IsNil(o.TransactionReceipt) { + return true + } + + return false +} + +// SetTransactionReceipt gets a reference to the given Web3TransactionReceipt and assigns it to the TransactionReceipt field. +func (o *InvokeContractV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = &v +} + +// GetCallOutput returns the CallOutput field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *InvokeContractV1Response) GetCallOutput() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CallOutput +} + +// GetCallOutputOk returns a tuple with the CallOutput field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *InvokeContractV1Response) GetCallOutputOk() (*interface{}, bool) { + if o == nil || IsNil(o.CallOutput) { + return nil, false + } + return &o.CallOutput, true +} + +// HasCallOutput returns a boolean if a field has been set. +func (o *InvokeContractV1Response) HasCallOutput() bool { + if o != nil && IsNil(o.CallOutput) { + return true + } + + return false +} + +// SetCallOutput gets a reference to the given interface{} and assigns it to the CallOutput field. +func (o *InvokeContractV1Response) SetCallOutput(v interface{}) { + o.CallOutput = v +} + +// GetSuccess returns the Success field value +func (o *InvokeContractV1Response) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *InvokeContractV1Response) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *InvokeContractV1Response) SetSuccess(v bool) { + o.Success = v +} + +func (o InvokeContractV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeContractV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.TransactionReceipt) { + toSerialize["transactionReceipt"] = o.TransactionReceipt + } + if o.CallOutput != nil { + toSerialize["callOutput"] = o.CallOutput + } + toSerialize["success"] = o.Success + return toSerialize, nil +} + +type NullableInvokeContractV1Response struct { + value *InvokeContractV1Response + isSet bool +} + +func (v NullableInvokeContractV1Response) Get() *InvokeContractV1Response { + return v.value +} + +func (v *NullableInvokeContractV1Response) Set(val *InvokeContractV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeContractV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeContractV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeContractV1Response(val *InvokeContractV1Response) *NullableInvokeContractV1Response { + return &NullableInvokeContractV1Response{value: val, isSet: true} +} + +func (v NullableInvokeContractV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeContractV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_request_base_v1.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_request_base_v1.go new file mode 100644 index 00000000000..cd14765c8ac --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_invoke_request_base_v1.go @@ -0,0 +1,440 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the InvokeRequestBaseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &InvokeRequestBaseV1{} + +// InvokeRequestBaseV1 struct for InvokeRequestBaseV1 +type InvokeRequestBaseV1 struct { + // Address of the solidity contract + ContractAddress string `json:"contractAddress"` + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + InvocationType EthContractInvocationType `json:"invocationType"` + // The name of the contract method to invoke. + MethodName string `json:"methodName"` + // The list of arguments to pass in to the contract method being invoked. + Params []interface{} `json:"params"` + Value *XdaiTransactionConfigFrom `json:"value,omitempty"` + Gas *XdaiTransactionConfigFrom `json:"gas,omitempty"` + GasPrice *XdaiTransactionConfigFrom `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + // The amount of milliseconds to wait for a transaction receipt beforegiving up and crashing. Only has any effect if the invocation type is SEND + TimeoutMs *float32 `json:"timeoutMs,omitempty"` + ContractJSON ContractJSON `json:"contractJSON"` +} + +// NewInvokeRequestBaseV1 instantiates a new InvokeRequestBaseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvokeRequestBaseV1(contractAddress string, web3SigningCredential Web3SigningCredential, invocationType EthContractInvocationType, methodName string, params []interface{}, contractJSON ContractJSON) *InvokeRequestBaseV1 { + this := InvokeRequestBaseV1{} + this.ContractAddress = contractAddress + this.Web3SigningCredential = web3SigningCredential + this.InvocationType = invocationType + this.MethodName = methodName + this.Params = params + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + this.ContractJSON = contractJSON + return &this +} + +// NewInvokeRequestBaseV1WithDefaults instantiates a new InvokeRequestBaseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvokeRequestBaseV1WithDefaults() *InvokeRequestBaseV1 { + this := InvokeRequestBaseV1{} + var timeoutMs float32 = 60000 + this.TimeoutMs = &timeoutMs + return &this +} + +// GetContractAddress returns the ContractAddress field value +func (o *InvokeRequestBaseV1) GetContractAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractAddress, true +} + +// SetContractAddress sets field value +func (o *InvokeRequestBaseV1) SetContractAddress(v string) { + o.ContractAddress = v +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *InvokeRequestBaseV1) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *InvokeRequestBaseV1) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetInvocationType returns the InvocationType field value +func (o *InvokeRequestBaseV1) GetInvocationType() EthContractInvocationType { + if o == nil { + var ret EthContractInvocationType + return ret + } + + return o.InvocationType +} + +// GetInvocationTypeOk returns a tuple with the InvocationType field value +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetInvocationTypeOk() (*EthContractInvocationType, bool) { + if o == nil { + return nil, false + } + return &o.InvocationType, true +} + +// SetInvocationType sets field value +func (o *InvokeRequestBaseV1) SetInvocationType(v EthContractInvocationType) { + o.InvocationType = v +} + +// GetMethodName returns the MethodName field value +func (o *InvokeRequestBaseV1) GetMethodName() string { + if o == nil { + var ret string + return ret + } + + return o.MethodName +} + +// GetMethodNameOk returns a tuple with the MethodName field value +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetMethodNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MethodName, true +} + +// SetMethodName sets field value +func (o *InvokeRequestBaseV1) SetMethodName(v string) { + o.MethodName = v +} + +// GetParams returns the Params field value +func (o *InvokeRequestBaseV1) GetParams() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.Params +} + +// GetParamsOk returns a tuple with the Params field value +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetParamsOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.Params, true +} + +// SetParams sets field value +func (o *InvokeRequestBaseV1) SetParams(v []interface{}) { + o.Params = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *InvokeRequestBaseV1) GetValue() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.Value) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetValueOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *InvokeRequestBaseV1) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given XdaiTransactionConfigFrom and assigns it to the Value field. +func (o *InvokeRequestBaseV1) SetValue(v XdaiTransactionConfigFrom) { + o.Value = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *InvokeRequestBaseV1) GetGas() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.Gas) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetGasOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *InvokeRequestBaseV1) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given XdaiTransactionConfigFrom and assigns it to the Gas field. +func (o *InvokeRequestBaseV1) SetGas(v XdaiTransactionConfigFrom) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *InvokeRequestBaseV1) GetGasPrice() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.GasPrice) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetGasPriceOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *InvokeRequestBaseV1) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given XdaiTransactionConfigFrom and assigns it to the GasPrice field. +func (o *InvokeRequestBaseV1) SetGasPrice(v XdaiTransactionConfigFrom) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *InvokeRequestBaseV1) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *InvokeRequestBaseV1) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *InvokeRequestBaseV1) SetNonce(v float32) { + o.Nonce = &v +} + +// GetTimeoutMs returns the TimeoutMs field value if set, zero value otherwise. +func (o *InvokeRequestBaseV1) GetTimeoutMs() float32 { + if o == nil || IsNil(o.TimeoutMs) { + var ret float32 + return ret + } + return *o.TimeoutMs +} + +// GetTimeoutMsOk returns a tuple with the TimeoutMs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetTimeoutMsOk() (*float32, bool) { + if o == nil || IsNil(o.TimeoutMs) { + return nil, false + } + return o.TimeoutMs, true +} + +// HasTimeoutMs returns a boolean if a field has been set. +func (o *InvokeRequestBaseV1) HasTimeoutMs() bool { + if o != nil && !IsNil(o.TimeoutMs) { + return true + } + + return false +} + +// SetTimeoutMs gets a reference to the given float32 and assigns it to the TimeoutMs field. +func (o *InvokeRequestBaseV1) SetTimeoutMs(v float32) { + o.TimeoutMs = &v +} + +// GetContractJSON returns the ContractJSON field value +func (o *InvokeRequestBaseV1) GetContractJSON() ContractJSON { + if o == nil { + var ret ContractJSON + return ret + } + + return o.ContractJSON +} + +// GetContractJSONOk returns a tuple with the ContractJSON field value +// and a boolean to check if the value has been set. +func (o *InvokeRequestBaseV1) GetContractJSONOk() (*ContractJSON, bool) { + if o == nil { + return nil, false + } + return &o.ContractJSON, true +} + +// SetContractJSON sets field value +func (o *InvokeRequestBaseV1) SetContractJSON(v ContractJSON) { + o.ContractJSON = v +} + +func (o InvokeRequestBaseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o InvokeRequestBaseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractAddress"] = o.ContractAddress + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["invocationType"] = o.InvocationType + toSerialize["methodName"] = o.MethodName + toSerialize["params"] = o.Params + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.TimeoutMs) { + toSerialize["timeoutMs"] = o.TimeoutMs + } + toSerialize["contractJSON"] = o.ContractJSON + return toSerialize, nil +} + +type NullableInvokeRequestBaseV1 struct { + value *InvokeRequestBaseV1 + isSet bool +} + +func (v NullableInvokeRequestBaseV1) Get() *InvokeRequestBaseV1 { + return v.value +} + +func (v *NullableInvokeRequestBaseV1) Set(val *InvokeRequestBaseV1) { + v.value = val + v.isSet = true +} + +func (v NullableInvokeRequestBaseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableInvokeRequestBaseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvokeRequestBaseV1(val *InvokeRequestBaseV1) *NullableInvokeRequestBaseV1 { + return &NullableInvokeRequestBaseV1{value: val, isSet: true} +} + +func (v NullableInvokeRequestBaseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvokeRequestBaseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_receipt_type.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_receipt_type.go new file mode 100644 index 00000000000..40936813b79 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_receipt_type.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" + "fmt" +) + +// ReceiptType Enumerates the possible types of receipts that can be waited for by someone or something that has requested the execution of a transaction on a ledger. +type ReceiptType string + +// List of ReceiptType +const ( + NODE_TX_POOL_ACK ReceiptType = "NODE_TX_POOL_ACK" + LEDGER_BLOCK_ACK ReceiptType = "LEDGER_BLOCK_ACK" +) + +// All allowed values of ReceiptType enum +var AllowedReceiptTypeEnumValues = []ReceiptType{ + "NODE_TX_POOL_ACK", + "LEDGER_BLOCK_ACK", +} + +func (v *ReceiptType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ReceiptType(value) + for _, existing := range AllowedReceiptTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ReceiptType", value) +} + +// NewReceiptTypeFromValue returns a pointer to a valid ReceiptType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewReceiptTypeFromValue(v string) (*ReceiptType, error) { + ev := ReceiptType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ReceiptType: valid values are %v", v, AllowedReceiptTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ReceiptType) IsValid() bool { + for _, existing := range AllowedReceiptTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ReceiptType value +func (v ReceiptType) Ptr() *ReceiptType { + return &v +} + +type NullableReceiptType struct { + value *ReceiptType + isSet bool +} + +func (v NullableReceiptType) Get() *ReceiptType { + return v.value +} + +func (v *NullableReceiptType) Set(val *ReceiptType) { + v.value = val + v.isSet = true +} + +func (v NullableReceiptType) IsSet() bool { + return v.isSet +} + +func (v *NullableReceiptType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReceiptType(val *ReceiptType) *NullableReceiptType { + return &NullableReceiptType{value: val, isSet: true} +} + +func (v NullableReceiptType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReceiptType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_run_transaction_v1_request.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_run_transaction_v1_request.go new file mode 100644 index 00000000000..01e13ddaecb --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_run_transaction_v1_request.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the RunTransactionV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionV1Request{} + +// RunTransactionV1Request struct for RunTransactionV1Request +type RunTransactionV1Request struct { + Web3SigningCredential Web3SigningCredential `json:"web3SigningCredential"` + TransactionConfig XdaiTransactionConfig `json:"transactionConfig"` + ConsistencyStrategy ConsistencyStrategy `json:"consistencyStrategy"` +} + +// NewRunTransactionV1Request instantiates a new RunTransactionV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionV1Request(web3SigningCredential Web3SigningCredential, transactionConfig XdaiTransactionConfig, consistencyStrategy ConsistencyStrategy) *RunTransactionV1Request { + this := RunTransactionV1Request{} + this.Web3SigningCredential = web3SigningCredential + this.TransactionConfig = transactionConfig + this.ConsistencyStrategy = consistencyStrategy + return &this +} + +// NewRunTransactionV1RequestWithDefaults instantiates a new RunTransactionV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionV1RequestWithDefaults() *RunTransactionV1Request { + this := RunTransactionV1Request{} + return &this +} + +// GetWeb3SigningCredential returns the Web3SigningCredential field value +func (o *RunTransactionV1Request) GetWeb3SigningCredential() Web3SigningCredential { + if o == nil { + var ret Web3SigningCredential + return ret + } + + return o.Web3SigningCredential +} + +// GetWeb3SigningCredentialOk returns a tuple with the Web3SigningCredential field value +// and a boolean to check if the value has been set. +func (o *RunTransactionV1Request) GetWeb3SigningCredentialOk() (*Web3SigningCredential, bool) { + if o == nil { + return nil, false + } + return &o.Web3SigningCredential, true +} + +// SetWeb3SigningCredential sets field value +func (o *RunTransactionV1Request) SetWeb3SigningCredential(v Web3SigningCredential) { + o.Web3SigningCredential = v +} + +// GetTransactionConfig returns the TransactionConfig field value +func (o *RunTransactionV1Request) GetTransactionConfig() XdaiTransactionConfig { + if o == nil { + var ret XdaiTransactionConfig + return ret + } + + return o.TransactionConfig +} + +// GetTransactionConfigOk returns a tuple with the TransactionConfig field value +// and a boolean to check if the value has been set. +func (o *RunTransactionV1Request) GetTransactionConfigOk() (*XdaiTransactionConfig, bool) { + if o == nil { + return nil, false + } + return &o.TransactionConfig, true +} + +// SetTransactionConfig sets field value +func (o *RunTransactionV1Request) SetTransactionConfig(v XdaiTransactionConfig) { + o.TransactionConfig = v +} + +// GetConsistencyStrategy returns the ConsistencyStrategy field value +func (o *RunTransactionV1Request) GetConsistencyStrategy() ConsistencyStrategy { + if o == nil { + var ret ConsistencyStrategy + return ret + } + + return o.ConsistencyStrategy +} + +// GetConsistencyStrategyOk returns a tuple with the ConsistencyStrategy field value +// and a boolean to check if the value has been set. +func (o *RunTransactionV1Request) GetConsistencyStrategyOk() (*ConsistencyStrategy, bool) { + if o == nil { + return nil, false + } + return &o.ConsistencyStrategy, true +} + +// SetConsistencyStrategy sets field value +func (o *RunTransactionV1Request) SetConsistencyStrategy(v ConsistencyStrategy) { + o.ConsistencyStrategy = v +} + +func (o RunTransactionV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["web3SigningCredential"] = o.Web3SigningCredential + toSerialize["transactionConfig"] = o.TransactionConfig + toSerialize["consistencyStrategy"] = o.ConsistencyStrategy + return toSerialize, nil +} + +type NullableRunTransactionV1Request struct { + value *RunTransactionV1Request + isSet bool +} + +func (v NullableRunTransactionV1Request) Get() *RunTransactionV1Request { + return v.value +} + +func (v *NullableRunTransactionV1Request) Set(val *RunTransactionV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionV1Request(val *RunTransactionV1Request) *NullableRunTransactionV1Request { + return &NullableRunTransactionV1Request{value: val, isSet: true} +} + +func (v NullableRunTransactionV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_run_transaction_v1_response.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_run_transaction_v1_response.go new file mode 100644 index 00000000000..e16edabda17 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_run_transaction_v1_response.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the RunTransactionV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RunTransactionV1Response{} + +// RunTransactionV1Response struct for RunTransactionV1Response +type RunTransactionV1Response struct { + TransactionReceipt Web3TransactionReceipt `json:"transactionReceipt"` +} + +// NewRunTransactionV1Response instantiates a new RunTransactionV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRunTransactionV1Response(transactionReceipt Web3TransactionReceipt) *RunTransactionV1Response { + this := RunTransactionV1Response{} + this.TransactionReceipt = transactionReceipt + return &this +} + +// NewRunTransactionV1ResponseWithDefaults instantiates a new RunTransactionV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRunTransactionV1ResponseWithDefaults() *RunTransactionV1Response { + this := RunTransactionV1Response{} + return &this +} + +// GetTransactionReceipt returns the TransactionReceipt field value +func (o *RunTransactionV1Response) GetTransactionReceipt() Web3TransactionReceipt { + if o == nil { + var ret Web3TransactionReceipt + return ret + } + + return o.TransactionReceipt +} + +// GetTransactionReceiptOk returns a tuple with the TransactionReceipt field value +// and a boolean to check if the value has been set. +func (o *RunTransactionV1Response) GetTransactionReceiptOk() (*Web3TransactionReceipt, bool) { + if o == nil { + return nil, false + } + return &o.TransactionReceipt, true +} + +// SetTransactionReceipt sets field value +func (o *RunTransactionV1Response) SetTransactionReceipt(v Web3TransactionReceipt) { + o.TransactionReceipt = v +} + +func (o RunTransactionV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RunTransactionV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["transactionReceipt"] = o.TransactionReceipt + return toSerialize, nil +} + +type NullableRunTransactionV1Response struct { + value *RunTransactionV1Response + isSet bool +} + +func (v NullableRunTransactionV1Response) Get() *RunTransactionV1Response { + return v.value +} + +func (v *NullableRunTransactionV1Response) Set(val *RunTransactionV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableRunTransactionV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableRunTransactionV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRunTransactionV1Response(val *RunTransactionV1Response) *NullableRunTransactionV1Response { + return &NullableRunTransactionV1Response{value: val, isSet: true} +} + +func (v NullableRunTransactionV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRunTransactionV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact.go new file mode 100644 index 00000000000..89c4e0c4be7 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact.go @@ -0,0 +1,441 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifact type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifact{} + +// SolidityContractJsonArtifact struct for SolidityContractJsonArtifact +type SolidityContractJsonArtifact struct { + ContractName string `json:"contractName"` + Metadata *string `json:"metadata,omitempty"` + Bytecode *string `json:"bytecode,omitempty"` + DeployedBytecode *string `json:"deployedBytecode,omitempty"` + SourceMap *string `json:"sourceMap,omitempty"` + DeployedSourceMap *string `json:"deployedSourceMap,omitempty"` + SourcePath *string `json:"sourcePath,omitempty"` + Compiler *SolidityContractJsonArtifactCompiler `json:"compiler,omitempty"` + FunctionHashes map[string]interface{} `json:"functionHashes,omitempty"` + GasEstimates *SolidityContractJsonArtifactGasEstimates `json:"gasEstimates,omitempty"` +} + +// NewSolidityContractJsonArtifact instantiates a new SolidityContractJsonArtifact object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifact(contractName string) *SolidityContractJsonArtifact { + this := SolidityContractJsonArtifact{} + this.ContractName = contractName + return &this +} + +// NewSolidityContractJsonArtifactWithDefaults instantiates a new SolidityContractJsonArtifact object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactWithDefaults() *SolidityContractJsonArtifact { + this := SolidityContractJsonArtifact{} + return &this +} + +// GetContractName returns the ContractName field value +func (o *SolidityContractJsonArtifact) GetContractName() string { + if o == nil { + var ret string + return ret + } + + return o.ContractName +} + +// GetContractNameOk returns a tuple with the ContractName field value +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetContractNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractName, true +} + +// SetContractName sets field value +func (o *SolidityContractJsonArtifact) SetContractName(v string) { + o.ContractName = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetMetadata() string { + if o == nil || IsNil(o.Metadata) { + var ret string + return ret + } + return *o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetMetadataOk() (*string, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasMetadata() bool { + if o != nil && !IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given string and assigns it to the Metadata field. +func (o *SolidityContractJsonArtifact) SetMetadata(v string) { + o.Metadata = &v +} + +// GetBytecode returns the Bytecode field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetBytecode() string { + if o == nil || IsNil(o.Bytecode) { + var ret string + return ret + } + return *o.Bytecode +} + +// GetBytecodeOk returns a tuple with the Bytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.Bytecode) { + return nil, false + } + return o.Bytecode, true +} + +// HasBytecode returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasBytecode() bool { + if o != nil && !IsNil(o.Bytecode) { + return true + } + + return false +} + +// SetBytecode gets a reference to the given string and assigns it to the Bytecode field. +func (o *SolidityContractJsonArtifact) SetBytecode(v string) { + o.Bytecode = &v +} + +// GetDeployedBytecode returns the DeployedBytecode field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetDeployedBytecode() string { + if o == nil || IsNil(o.DeployedBytecode) { + var ret string + return ret + } + return *o.DeployedBytecode +} + +// GetDeployedBytecodeOk returns a tuple with the DeployedBytecode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetDeployedBytecodeOk() (*string, bool) { + if o == nil || IsNil(o.DeployedBytecode) { + return nil, false + } + return o.DeployedBytecode, true +} + +// HasDeployedBytecode returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasDeployedBytecode() bool { + if o != nil && !IsNil(o.DeployedBytecode) { + return true + } + + return false +} + +// SetDeployedBytecode gets a reference to the given string and assigns it to the DeployedBytecode field. +func (o *SolidityContractJsonArtifact) SetDeployedBytecode(v string) { + o.DeployedBytecode = &v +} + +// GetSourceMap returns the SourceMap field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetSourceMap() string { + if o == nil || IsNil(o.SourceMap) { + var ret string + return ret + } + return *o.SourceMap +} + +// GetSourceMapOk returns a tuple with the SourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.SourceMap) { + return nil, false + } + return o.SourceMap, true +} + +// HasSourceMap returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasSourceMap() bool { + if o != nil && !IsNil(o.SourceMap) { + return true + } + + return false +} + +// SetSourceMap gets a reference to the given string and assigns it to the SourceMap field. +func (o *SolidityContractJsonArtifact) SetSourceMap(v string) { + o.SourceMap = &v +} + +// GetDeployedSourceMap returns the DeployedSourceMap field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetDeployedSourceMap() string { + if o == nil || IsNil(o.DeployedSourceMap) { + var ret string + return ret + } + return *o.DeployedSourceMap +} + +// GetDeployedSourceMapOk returns a tuple with the DeployedSourceMap field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetDeployedSourceMapOk() (*string, bool) { + if o == nil || IsNil(o.DeployedSourceMap) { + return nil, false + } + return o.DeployedSourceMap, true +} + +// HasDeployedSourceMap returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasDeployedSourceMap() bool { + if o != nil && !IsNil(o.DeployedSourceMap) { + return true + } + + return false +} + +// SetDeployedSourceMap gets a reference to the given string and assigns it to the DeployedSourceMap field. +func (o *SolidityContractJsonArtifact) SetDeployedSourceMap(v string) { + o.DeployedSourceMap = &v +} + +// GetSourcePath returns the SourcePath field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetSourcePath() string { + if o == nil || IsNil(o.SourcePath) { + var ret string + return ret + } + return *o.SourcePath +} + +// GetSourcePathOk returns a tuple with the SourcePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetSourcePathOk() (*string, bool) { + if o == nil || IsNil(o.SourcePath) { + return nil, false + } + return o.SourcePath, true +} + +// HasSourcePath returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasSourcePath() bool { + if o != nil && !IsNil(o.SourcePath) { + return true + } + + return false +} + +// SetSourcePath gets a reference to the given string and assigns it to the SourcePath field. +func (o *SolidityContractJsonArtifact) SetSourcePath(v string) { + o.SourcePath = &v +} + +// GetCompiler returns the Compiler field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetCompiler() SolidityContractJsonArtifactCompiler { + if o == nil || IsNil(o.Compiler) { + var ret SolidityContractJsonArtifactCompiler + return ret + } + return *o.Compiler +} + +// GetCompilerOk returns a tuple with the Compiler field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetCompilerOk() (*SolidityContractJsonArtifactCompiler, bool) { + if o == nil || IsNil(o.Compiler) { + return nil, false + } + return o.Compiler, true +} + +// HasCompiler returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasCompiler() bool { + if o != nil && !IsNil(o.Compiler) { + return true + } + + return false +} + +// SetCompiler gets a reference to the given SolidityContractJsonArtifactCompiler and assigns it to the Compiler field. +func (o *SolidityContractJsonArtifact) SetCompiler(v SolidityContractJsonArtifactCompiler) { + o.Compiler = &v +} + +// GetFunctionHashes returns the FunctionHashes field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetFunctionHashes() map[string]interface{} { + if o == nil || IsNil(o.FunctionHashes) { + var ret map[string]interface{} + return ret + } + return o.FunctionHashes +} + +// GetFunctionHashesOk returns a tuple with the FunctionHashes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetFunctionHashesOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.FunctionHashes) { + return map[string]interface{}{}, false + } + return o.FunctionHashes, true +} + +// HasFunctionHashes returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasFunctionHashes() bool { + if o != nil && !IsNil(o.FunctionHashes) { + return true + } + + return false +} + +// SetFunctionHashes gets a reference to the given map[string]interface{} and assigns it to the FunctionHashes field. +func (o *SolidityContractJsonArtifact) SetFunctionHashes(v map[string]interface{}) { + o.FunctionHashes = v +} + +// GetGasEstimates returns the GasEstimates field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifact) GetGasEstimates() SolidityContractJsonArtifactGasEstimates { + if o == nil || IsNil(o.GasEstimates) { + var ret SolidityContractJsonArtifactGasEstimates + return ret + } + return *o.GasEstimates +} + +// GetGasEstimatesOk returns a tuple with the GasEstimates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifact) GetGasEstimatesOk() (*SolidityContractJsonArtifactGasEstimates, bool) { + if o == nil || IsNil(o.GasEstimates) { + return nil, false + } + return o.GasEstimates, true +} + +// HasGasEstimates returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifact) HasGasEstimates() bool { + if o != nil && !IsNil(o.GasEstimates) { + return true + } + + return false +} + +// SetGasEstimates gets a reference to the given SolidityContractJsonArtifactGasEstimates and assigns it to the GasEstimates field. +func (o *SolidityContractJsonArtifact) SetGasEstimates(v SolidityContractJsonArtifactGasEstimates) { + o.GasEstimates = &v +} + +func (o SolidityContractJsonArtifact) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifact) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["contractName"] = o.ContractName + if !IsNil(o.Metadata) { + toSerialize["metadata"] = o.Metadata + } + if !IsNil(o.Bytecode) { + toSerialize["bytecode"] = o.Bytecode + } + if !IsNil(o.DeployedBytecode) { + toSerialize["deployedBytecode"] = o.DeployedBytecode + } + if !IsNil(o.SourceMap) { + toSerialize["sourceMap"] = o.SourceMap + } + if !IsNil(o.DeployedSourceMap) { + toSerialize["deployedSourceMap"] = o.DeployedSourceMap + } + if !IsNil(o.SourcePath) { + toSerialize["sourcePath"] = o.SourcePath + } + if !IsNil(o.Compiler) { + toSerialize["compiler"] = o.Compiler + } + if !IsNil(o.FunctionHashes) { + toSerialize["functionHashes"] = o.FunctionHashes + } + if !IsNil(o.GasEstimates) { + toSerialize["gasEstimates"] = o.GasEstimates + } + return toSerialize, nil +} + +type NullableSolidityContractJsonArtifact struct { + value *SolidityContractJsonArtifact + isSet bool +} + +func (v NullableSolidityContractJsonArtifact) Get() *SolidityContractJsonArtifact { + return v.value +} + +func (v *NullableSolidityContractJsonArtifact) Set(val *SolidityContractJsonArtifact) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifact) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifact) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifact(val *SolidityContractJsonArtifact) *NullableSolidityContractJsonArtifact { + return &NullableSolidityContractJsonArtifact{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifact) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifact) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_compiler.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_compiler.go new file mode 100644 index 00000000000..faad0b2c0de --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_compiler.go @@ -0,0 +1,188 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifactCompiler type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifactCompiler{} + +// SolidityContractJsonArtifactCompiler struct for SolidityContractJsonArtifactCompiler +type SolidityContractJsonArtifactCompiler struct { + Name *string `json:"name,omitempty"` + Version *string `json:"version,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SolidityContractJsonArtifactCompiler SolidityContractJsonArtifactCompiler + +// NewSolidityContractJsonArtifactCompiler instantiates a new SolidityContractJsonArtifactCompiler object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifactCompiler() *SolidityContractJsonArtifactCompiler { + this := SolidityContractJsonArtifactCompiler{} + return &this +} + +// NewSolidityContractJsonArtifactCompilerWithDefaults instantiates a new SolidityContractJsonArtifactCompiler object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactCompilerWithDefaults() *SolidityContractJsonArtifactCompiler { + this := SolidityContractJsonArtifactCompiler{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactCompiler) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactCompiler) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactCompiler) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *SolidityContractJsonArtifactCompiler) SetName(v string) { + o.Name = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactCompiler) GetVersion() string { + if o == nil || IsNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactCompiler) GetVersionOk() (*string, bool) { + if o == nil || IsNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactCompiler) HasVersion() bool { + if o != nil && !IsNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *SolidityContractJsonArtifactCompiler) SetVersion(v string) { + o.Version = &v +} + +func (o SolidityContractJsonArtifactCompiler) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifactCompiler) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Version) { + toSerialize["version"] = o.Version + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SolidityContractJsonArtifactCompiler) UnmarshalJSON(bytes []byte) (err error) { + varSolidityContractJsonArtifactCompiler := _SolidityContractJsonArtifactCompiler{} + + if err = json.Unmarshal(bytes, &varSolidityContractJsonArtifactCompiler); err == nil { + *o = SolidityContractJsonArtifactCompiler(varSolidityContractJsonArtifactCompiler) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "version") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSolidityContractJsonArtifactCompiler struct { + value *SolidityContractJsonArtifactCompiler + isSet bool +} + +func (v NullableSolidityContractJsonArtifactCompiler) Get() *SolidityContractJsonArtifactCompiler { + return v.value +} + +func (v *NullableSolidityContractJsonArtifactCompiler) Set(val *SolidityContractJsonArtifactCompiler) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifactCompiler) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifactCompiler) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifactCompiler(val *SolidityContractJsonArtifactCompiler) *NullableSolidityContractJsonArtifactCompiler { + return &NullableSolidityContractJsonArtifactCompiler{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifactCompiler) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifactCompiler) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates.go new file mode 100644 index 00000000000..1c9aecc2a05 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifactGasEstimates type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifactGasEstimates{} + +// SolidityContractJsonArtifactGasEstimates struct for SolidityContractJsonArtifactGasEstimates +type SolidityContractJsonArtifactGasEstimates struct { + Creation *SolidityContractJsonArtifactGasEstimatesCreation `json:"creation,omitempty"` + External map[string]interface{} `json:"external,omitempty"` +} + +// NewSolidityContractJsonArtifactGasEstimates instantiates a new SolidityContractJsonArtifactGasEstimates object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifactGasEstimates() *SolidityContractJsonArtifactGasEstimates { + this := SolidityContractJsonArtifactGasEstimates{} + return &this +} + +// NewSolidityContractJsonArtifactGasEstimatesWithDefaults instantiates a new SolidityContractJsonArtifactGasEstimates object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactGasEstimatesWithDefaults() *SolidityContractJsonArtifactGasEstimates { + this := SolidityContractJsonArtifactGasEstimates{} + return &this +} + +// GetCreation returns the Creation field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimates) GetCreation() SolidityContractJsonArtifactGasEstimatesCreation { + if o == nil || IsNil(o.Creation) { + var ret SolidityContractJsonArtifactGasEstimatesCreation + return ret + } + return *o.Creation +} + +// GetCreationOk returns a tuple with the Creation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimates) GetCreationOk() (*SolidityContractJsonArtifactGasEstimatesCreation, bool) { + if o == nil || IsNil(o.Creation) { + return nil, false + } + return o.Creation, true +} + +// HasCreation returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimates) HasCreation() bool { + if o != nil && !IsNil(o.Creation) { + return true + } + + return false +} + +// SetCreation gets a reference to the given SolidityContractJsonArtifactGasEstimatesCreation and assigns it to the Creation field. +func (o *SolidityContractJsonArtifactGasEstimates) SetCreation(v SolidityContractJsonArtifactGasEstimatesCreation) { + o.Creation = &v +} + +// GetExternal returns the External field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimates) GetExternal() map[string]interface{} { + if o == nil || IsNil(o.External) { + var ret map[string]interface{} + return ret + } + return o.External +} + +// GetExternalOk returns a tuple with the External field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimates) GetExternalOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.External) { + return map[string]interface{}{}, false + } + return o.External, true +} + +// HasExternal returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimates) HasExternal() bool { + if o != nil && !IsNil(o.External) { + return true + } + + return false +} + +// SetExternal gets a reference to the given map[string]interface{} and assigns it to the External field. +func (o *SolidityContractJsonArtifactGasEstimates) SetExternal(v map[string]interface{}) { + o.External = v +} + +func (o SolidityContractJsonArtifactGasEstimates) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifactGasEstimates) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Creation) { + toSerialize["creation"] = o.Creation + } + if !IsNil(o.External) { + toSerialize["external"] = o.External + } + return toSerialize, nil +} + +type NullableSolidityContractJsonArtifactGasEstimates struct { + value *SolidityContractJsonArtifactGasEstimates + isSet bool +} + +func (v NullableSolidityContractJsonArtifactGasEstimates) Get() *SolidityContractJsonArtifactGasEstimates { + return v.value +} + +func (v *NullableSolidityContractJsonArtifactGasEstimates) Set(val *SolidityContractJsonArtifactGasEstimates) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifactGasEstimates) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifactGasEstimates) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifactGasEstimates(val *SolidityContractJsonArtifactGasEstimates) *NullableSolidityContractJsonArtifactGasEstimates { + return &NullableSolidityContractJsonArtifactGasEstimates{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifactGasEstimates) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifactGasEstimates) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates_creation.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates_creation.go new file mode 100644 index 00000000000..8066fd4de15 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_solidity_contract_json_artifact_gas_estimates_creation.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the SolidityContractJsonArtifactGasEstimatesCreation type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SolidityContractJsonArtifactGasEstimatesCreation{} + +// SolidityContractJsonArtifactGasEstimatesCreation struct for SolidityContractJsonArtifactGasEstimatesCreation +type SolidityContractJsonArtifactGasEstimatesCreation struct { + CodeDepositCost *string `json:"codeDepositCost,omitempty"` + ExecutionCost *string `json:"executionCost,omitempty"` + TotalCost *string `json:"totalCost,omitempty"` +} + +// NewSolidityContractJsonArtifactGasEstimatesCreation instantiates a new SolidityContractJsonArtifactGasEstimatesCreation object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSolidityContractJsonArtifactGasEstimatesCreation() *SolidityContractJsonArtifactGasEstimatesCreation { + this := SolidityContractJsonArtifactGasEstimatesCreation{} + return &this +} + +// NewSolidityContractJsonArtifactGasEstimatesCreationWithDefaults instantiates a new SolidityContractJsonArtifactGasEstimatesCreation object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSolidityContractJsonArtifactGasEstimatesCreationWithDefaults() *SolidityContractJsonArtifactGasEstimatesCreation { + this := SolidityContractJsonArtifactGasEstimatesCreation{} + return &this +} + +// GetCodeDepositCost returns the CodeDepositCost field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetCodeDepositCost() string { + if o == nil || IsNil(o.CodeDepositCost) { + var ret string + return ret + } + return *o.CodeDepositCost +} + +// GetCodeDepositCostOk returns a tuple with the CodeDepositCost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetCodeDepositCostOk() (*string, bool) { + if o == nil || IsNil(o.CodeDepositCost) { + return nil, false + } + return o.CodeDepositCost, true +} + +// HasCodeDepositCost returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) HasCodeDepositCost() bool { + if o != nil && !IsNil(o.CodeDepositCost) { + return true + } + + return false +} + +// SetCodeDepositCost gets a reference to the given string and assigns it to the CodeDepositCost field. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) SetCodeDepositCost(v string) { + o.CodeDepositCost = &v +} + +// GetExecutionCost returns the ExecutionCost field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetExecutionCost() string { + if o == nil || IsNil(o.ExecutionCost) { + var ret string + return ret + } + return *o.ExecutionCost +} + +// GetExecutionCostOk returns a tuple with the ExecutionCost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetExecutionCostOk() (*string, bool) { + if o == nil || IsNil(o.ExecutionCost) { + return nil, false + } + return o.ExecutionCost, true +} + +// HasExecutionCost returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) HasExecutionCost() bool { + if o != nil && !IsNil(o.ExecutionCost) { + return true + } + + return false +} + +// SetExecutionCost gets a reference to the given string and assigns it to the ExecutionCost field. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) SetExecutionCost(v string) { + o.ExecutionCost = &v +} + +// GetTotalCost returns the TotalCost field value if set, zero value otherwise. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetTotalCost() string { + if o == nil || IsNil(o.TotalCost) { + var ret string + return ret + } + return *o.TotalCost +} + +// GetTotalCostOk returns a tuple with the TotalCost field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) GetTotalCostOk() (*string, bool) { + if o == nil || IsNil(o.TotalCost) { + return nil, false + } + return o.TotalCost, true +} + +// HasTotalCost returns a boolean if a field has been set. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) HasTotalCost() bool { + if o != nil && !IsNil(o.TotalCost) { + return true + } + + return false +} + +// SetTotalCost gets a reference to the given string and assigns it to the TotalCost field. +func (o *SolidityContractJsonArtifactGasEstimatesCreation) SetTotalCost(v string) { + o.TotalCost = &v +} + +func (o SolidityContractJsonArtifactGasEstimatesCreation) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SolidityContractJsonArtifactGasEstimatesCreation) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.CodeDepositCost) { + toSerialize["codeDepositCost"] = o.CodeDepositCost + } + if !IsNil(o.ExecutionCost) { + toSerialize["executionCost"] = o.ExecutionCost + } + if !IsNil(o.TotalCost) { + toSerialize["totalCost"] = o.TotalCost + } + return toSerialize, nil +} + +type NullableSolidityContractJsonArtifactGasEstimatesCreation struct { + value *SolidityContractJsonArtifactGasEstimatesCreation + isSet bool +} + +func (v NullableSolidityContractJsonArtifactGasEstimatesCreation) Get() *SolidityContractJsonArtifactGasEstimatesCreation { + return v.value +} + +func (v *NullableSolidityContractJsonArtifactGasEstimatesCreation) Set(val *SolidityContractJsonArtifactGasEstimatesCreation) { + v.value = val + v.isSet = true +} + +func (v NullableSolidityContractJsonArtifactGasEstimatesCreation) IsSet() bool { + return v.isSet +} + +func (v *NullableSolidityContractJsonArtifactGasEstimatesCreation) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSolidityContractJsonArtifactGasEstimatesCreation(val *SolidityContractJsonArtifactGasEstimatesCreation) *NullableSolidityContractJsonArtifactGasEstimatesCreation { + return &NullableSolidityContractJsonArtifactGasEstimatesCreation{value: val, isSet: true} +} + +func (v NullableSolidityContractJsonArtifactGasEstimatesCreation) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSolidityContractJsonArtifactGasEstimatesCreation) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go new file mode 100644 index 00000000000..4293ae58b28 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential.go @@ -0,0 +1,178 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredential - struct for Web3SigningCredential +type Web3SigningCredential struct { + Web3SigningCredentialCactusKeychainRef *Web3SigningCredentialCactusKeychainRef + Web3SigningCredentialNone *Web3SigningCredentialNone + Web3SigningCredentialPrivateKeyHex *Web3SigningCredentialPrivateKeyHex +} + +// Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialCactusKeychainRef wrapped in Web3SigningCredential +func Web3SigningCredentialCactusKeychainRefAsWeb3SigningCredential(v *Web3SigningCredentialCactusKeychainRef) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialCactusKeychainRef: v, + } +} + +// Web3SigningCredentialNoneAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialNone wrapped in Web3SigningCredential +func Web3SigningCredentialNoneAsWeb3SigningCredential(v *Web3SigningCredentialNone) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialNone: v, + } +} + +// Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential is a convenience function that returns Web3SigningCredentialPrivateKeyHex wrapped in Web3SigningCredential +func Web3SigningCredentialPrivateKeyHexAsWeb3SigningCredential(v *Web3SigningCredentialPrivateKeyHex) Web3SigningCredential { + return Web3SigningCredential{ + Web3SigningCredentialPrivateKeyHex: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *Web3SigningCredential) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Web3SigningCredentialCactusKeychainRef + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialCactusKeychainRef) + if err == nil { + jsonWeb3SigningCredentialCactusKeychainRef, _ := json.Marshal(dst.Web3SigningCredentialCactusKeychainRef) + if string(jsonWeb3SigningCredentialCactusKeychainRef) == "{}" { // empty struct + dst.Web3SigningCredentialCactusKeychainRef = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialCactusKeychainRef = nil + } + + // try to unmarshal data into Web3SigningCredentialNone + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialNone) + if err == nil { + jsonWeb3SigningCredentialNone, _ := json.Marshal(dst.Web3SigningCredentialNone) + if string(jsonWeb3SigningCredentialNone) == "{}" { // empty struct + dst.Web3SigningCredentialNone = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialNone = nil + } + + // try to unmarshal data into Web3SigningCredentialPrivateKeyHex + err = newStrictDecoder(data).Decode(&dst.Web3SigningCredentialPrivateKeyHex) + if err == nil { + jsonWeb3SigningCredentialPrivateKeyHex, _ := json.Marshal(dst.Web3SigningCredentialPrivateKeyHex) + if string(jsonWeb3SigningCredentialPrivateKeyHex) == "{}" { // empty struct + dst.Web3SigningCredentialPrivateKeyHex = nil + } else { + match++ + } + } else { + dst.Web3SigningCredentialPrivateKeyHex = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Web3SigningCredentialCactusKeychainRef = nil + dst.Web3SigningCredentialNone = nil + dst.Web3SigningCredentialPrivateKeyHex = nil + + return fmt.Errorf("data matches more than one schema in oneOf(Web3SigningCredential)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(Web3SigningCredential)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src Web3SigningCredential) MarshalJSON() ([]byte, error) { + if src.Web3SigningCredentialCactusKeychainRef != nil { + return json.Marshal(&src.Web3SigningCredentialCactusKeychainRef) + } + + if src.Web3SigningCredentialNone != nil { + return json.Marshal(&src.Web3SigningCredentialNone) + } + + if src.Web3SigningCredentialPrivateKeyHex != nil { + return json.Marshal(&src.Web3SigningCredentialPrivateKeyHex) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *Web3SigningCredential) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Web3SigningCredentialCactusKeychainRef != nil { + return obj.Web3SigningCredentialCactusKeychainRef + } + + if obj.Web3SigningCredentialNone != nil { + return obj.Web3SigningCredentialNone + } + + if obj.Web3SigningCredentialPrivateKeyHex != nil { + return obj.Web3SigningCredentialPrivateKeyHex + } + + // all schemas are nil + return nil +} + +type NullableWeb3SigningCredential struct { + value *Web3SigningCredential + isSet bool +} + +func (v NullableWeb3SigningCredential) Get() *Web3SigningCredential { + return v.value +} + +func (v *NullableWeb3SigningCredential) Set(val *Web3SigningCredential) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredential) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredential) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredential(val *Web3SigningCredential) *NullableWeb3SigningCredential { + return &NullableWeb3SigningCredential{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredential) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredential) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go new file mode 100644 index 00000000000..a6a7a4db74d --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_cactus_keychain_ref.go @@ -0,0 +1,201 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialCactusKeychainRef type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialCactusKeychainRef{} + +// Web3SigningCredentialCactusKeychainRef struct for Web3SigningCredentialCactusKeychainRef +type Web3SigningCredentialCactusKeychainRef struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The key to use when looking up the the keychain entry holding the secret pointed to by the keychainEntryKey parameter. + KeychainEntryKey string `json:"keychainEntryKey"` + // The keychain ID to use when looking up the the keychain plugin instance that will be used to retrieve the secret pointed to by the keychainEntryKey parameter. + KeychainId string `json:"keychainId"` +} + +// NewWeb3SigningCredentialCactusKeychainRef instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialCactusKeychainRef(type_ Web3SigningCredentialType, ethAccount string, keychainEntryKey string, keychainId string) *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + this.Type = type_ + this.EthAccount = ethAccount + this.KeychainEntryKey = keychainEntryKey + this.KeychainId = keychainId + return &this +} + +// NewWeb3SigningCredentialCactusKeychainRefWithDefaults instantiates a new Web3SigningCredentialCactusKeychainRef object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialCactusKeychainRefWithDefaults() *Web3SigningCredentialCactusKeychainRef { + this := Web3SigningCredentialCactusKeychainRef{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialCactusKeychainRef) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetKeychainEntryKey returns the KeychainEntryKey field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKey() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainEntryKey +} + +// GetKeychainEntryKeyOk returns a tuple with the KeychainEntryKey field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainEntryKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainEntryKey, true +} + +// SetKeychainEntryKey sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainEntryKey(v string) { + o.KeychainEntryKey = v +} + +// GetKeychainId returns the KeychainId field value +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainId() string { + if o == nil { + var ret string + return ret + } + + return o.KeychainId +} + +// GetKeychainIdOk returns a tuple with the KeychainId field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialCactusKeychainRef) GetKeychainIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.KeychainId, true +} + +// SetKeychainId sets field value +func (o *Web3SigningCredentialCactusKeychainRef) SetKeychainId(v string) { + o.KeychainId = v +} + +func (o Web3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialCactusKeychainRef) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["keychainEntryKey"] = o.KeychainEntryKey + toSerialize["keychainId"] = o.KeychainId + return toSerialize, nil +} + +type NullableWeb3SigningCredentialCactusKeychainRef struct { + value *Web3SigningCredentialCactusKeychainRef + isSet bool +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) Get() *Web3SigningCredentialCactusKeychainRef { + return v.value +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Set(val *Web3SigningCredentialCactusKeychainRef) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialCactusKeychainRef(val *Web3SigningCredentialCactusKeychainRef) *NullableWeb3SigningCredentialCactusKeychainRef { + return &NullableWeb3SigningCredentialCactusKeychainRef{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialCactusKeychainRef) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialCactusKeychainRef) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go new file mode 100644 index 00000000000..a19ea342bf3 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_none.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialNone type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialNone{} + +// Web3SigningCredentialNone Using this denotes that there is no signing required because the transaction is pre-signed. +type Web3SigningCredentialNone struct { + Type Web3SigningCredentialType `json:"type"` +} + +// NewWeb3SigningCredentialNone instantiates a new Web3SigningCredentialNone object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialNone(type_ Web3SigningCredentialType) *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + this.Type = type_ + return &this +} + +// NewWeb3SigningCredentialNoneWithDefaults instantiates a new Web3SigningCredentialNone object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialNoneWithDefaults() *Web3SigningCredentialNone { + this := Web3SigningCredentialNone{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialNone) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialNone) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialNone) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +func (o Web3SigningCredentialNone) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialNone) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + return toSerialize, nil +} + +type NullableWeb3SigningCredentialNone struct { + value *Web3SigningCredentialNone + isSet bool +} + +func (v NullableWeb3SigningCredentialNone) Get() *Web3SigningCredentialNone { + return v.value +} + +func (v *NullableWeb3SigningCredentialNone) Set(val *Web3SigningCredentialNone) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialNone) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialNone) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialNone(val *Web3SigningCredentialNone) *NullableWeb3SigningCredentialNone { + return &NullableWeb3SigningCredentialNone{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialNone) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialNone) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go new file mode 100644 index 00000000000..c78818447a5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_private_key_hex.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the Web3SigningCredentialPrivateKeyHex type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3SigningCredentialPrivateKeyHex{} + +// Web3SigningCredentialPrivateKeyHex struct for Web3SigningCredentialPrivateKeyHex +type Web3SigningCredentialPrivateKeyHex struct { + Type Web3SigningCredentialType `json:"type"` + // The ethereum account (public key) that the credential belongs to. Basically the username in the traditional terminology of authentication. + EthAccount string `json:"ethAccount"` + // The HEX encoded private key of an eth account. + Secret string `json:"secret"` +} + +// NewWeb3SigningCredentialPrivateKeyHex instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3SigningCredentialPrivateKeyHex(type_ Web3SigningCredentialType, ethAccount string, secret string) *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + this.Type = type_ + this.EthAccount = ethAccount + this.Secret = secret + return &this +} + +// NewWeb3SigningCredentialPrivateKeyHexWithDefaults instantiates a new Web3SigningCredentialPrivateKeyHex object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3SigningCredentialPrivateKeyHexWithDefaults() *Web3SigningCredentialPrivateKeyHex { + this := Web3SigningCredentialPrivateKeyHex{} + return &this +} + +// GetType returns the Type field value +func (o *Web3SigningCredentialPrivateKeyHex) GetType() Web3SigningCredentialType { + if o == nil { + var ret Web3SigningCredentialType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetTypeOk() (*Web3SigningCredentialType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetType(v Web3SigningCredentialType) { + o.Type = v +} + +// GetEthAccount returns the EthAccount field value +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccount() string { + if o == nil { + var ret string + return ret + } + + return o.EthAccount +} + +// GetEthAccountOk returns a tuple with the EthAccount field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetEthAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EthAccount, true +} + +// SetEthAccount sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetEthAccount(v string) { + o.EthAccount = v +} + +// GetSecret returns the Secret field value +func (o *Web3SigningCredentialPrivateKeyHex) GetSecret() string { + if o == nil { + var ret string + return ret + } + + return o.Secret +} + +// GetSecretOk returns a tuple with the Secret field value +// and a boolean to check if the value has been set. +func (o *Web3SigningCredentialPrivateKeyHex) GetSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Secret, true +} + +// SetSecret sets field value +func (o *Web3SigningCredentialPrivateKeyHex) SetSecret(v string) { + o.Secret = v +} + +func (o Web3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3SigningCredentialPrivateKeyHex) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["ethAccount"] = o.EthAccount + toSerialize["secret"] = o.Secret + return toSerialize, nil +} + +type NullableWeb3SigningCredentialPrivateKeyHex struct { + value *Web3SigningCredentialPrivateKeyHex + isSet bool +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) Get() *Web3SigningCredentialPrivateKeyHex { + return v.value +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Set(val *Web3SigningCredentialPrivateKeyHex) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialPrivateKeyHex(val *Web3SigningCredentialPrivateKeyHex) *NullableWeb3SigningCredentialPrivateKeyHex { + return &NullableWeb3SigningCredentialPrivateKeyHex{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialPrivateKeyHex) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialPrivateKeyHex) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go new file mode 100644 index 00000000000..9177a91dcdc --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_signing_credential_type.go @@ -0,0 +1,115 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" + "fmt" +) + +// Web3SigningCredentialType the model 'Web3SigningCredentialType' +type Web3SigningCredentialType string + +// List of Web3SigningCredentialType +const ( + CACTUS_KEYCHAIN_REF Web3SigningCredentialType = "CACTUS_KEYCHAIN_REF" + GETH_KEYCHAIN_PASSWORD Web3SigningCredentialType = "GETH_KEYCHAIN_PASSWORD" + PRIVATE_KEY_HEX Web3SigningCredentialType = "PRIVATE_KEY_HEX" + NONE Web3SigningCredentialType = "NONE" +) + +// All allowed values of Web3SigningCredentialType enum +var AllowedWeb3SigningCredentialTypeEnumValues = []Web3SigningCredentialType{ + "CACTUS_KEYCHAIN_REF", + "GETH_KEYCHAIN_PASSWORD", + "PRIVATE_KEY_HEX", + "NONE", +} + +func (v *Web3SigningCredentialType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Web3SigningCredentialType(value) + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Web3SigningCredentialType", value) +} + +// NewWeb3SigningCredentialTypeFromValue returns a pointer to a valid Web3SigningCredentialType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWeb3SigningCredentialTypeFromValue(v string) (*Web3SigningCredentialType, error) { + ev := Web3SigningCredentialType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Web3SigningCredentialType: valid values are %v", v, AllowedWeb3SigningCredentialTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Web3SigningCredentialType) IsValid() bool { + for _, existing := range AllowedWeb3SigningCredentialTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Web3SigningCredentialType value +func (v Web3SigningCredentialType) Ptr() *Web3SigningCredentialType { + return &v +} + +type NullableWeb3SigningCredentialType struct { + value *Web3SigningCredentialType + isSet bool +} + +func (v NullableWeb3SigningCredentialType) Get() *Web3SigningCredentialType { + return v.value +} + +func (v *NullableWeb3SigningCredentialType) Set(val *Web3SigningCredentialType) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3SigningCredentialType) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3SigningCredentialType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3SigningCredentialType(val *Web3SigningCredentialType) *NullableWeb3SigningCredentialType { + return &NullableWeb3SigningCredentialType{value: val, isSet: true} +} + +func (v NullableWeb3SigningCredentialType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3SigningCredentialType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go new file mode 100644 index 00000000000..4dbbb956cb5 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_web3_transaction_receipt.go @@ -0,0 +1,385 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the Web3TransactionReceipt type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Web3TransactionReceipt{} + +// Web3TransactionReceipt struct for Web3TransactionReceipt +type Web3TransactionReceipt struct { + Status bool `json:"status"` + TransactionHash string `json:"transactionHash"` + TransactionIndex float32 `json:"transactionIndex"` + BlockHash string `json:"blockHash"` + BlockNumber float32 `json:"blockNumber"` + GasUsed float32 `json:"gasUsed"` + ContractAddress NullableString `json:"contractAddress,omitempty"` + From string `json:"from"` + To string `json:"to"` + AdditionalProperties map[string]interface{} +} + +type _Web3TransactionReceipt Web3TransactionReceipt + +// NewWeb3TransactionReceipt instantiates a new Web3TransactionReceipt object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWeb3TransactionReceipt(status bool, transactionHash string, transactionIndex float32, blockHash string, blockNumber float32, gasUsed float32, from string, to string) *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + this.Status = status + this.TransactionHash = transactionHash + this.TransactionIndex = transactionIndex + this.BlockHash = blockHash + this.BlockNumber = blockNumber + this.GasUsed = gasUsed + this.From = from + this.To = to + return &this +} + +// NewWeb3TransactionReceiptWithDefaults instantiates a new Web3TransactionReceipt object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWeb3TransactionReceiptWithDefaults() *Web3TransactionReceipt { + this := Web3TransactionReceipt{} + return &this +} + +// GetStatus returns the Status field value +func (o *Web3TransactionReceipt) GetStatus() bool { + if o == nil { + var ret bool + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetStatusOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *Web3TransactionReceipt) SetStatus(v bool) { + o.Status = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *Web3TransactionReceipt) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *Web3TransactionReceipt) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTransactionIndex returns the TransactionIndex field value +func (o *Web3TransactionReceipt) GetTransactionIndex() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.TransactionIndex +} + +// GetTransactionIndexOk returns a tuple with the TransactionIndex field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetTransactionIndexOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.TransactionIndex, true +} + +// SetTransactionIndex sets field value +func (o *Web3TransactionReceipt) SetTransactionIndex(v float32) { + o.TransactionIndex = v +} + +// GetBlockHash returns the BlockHash field value +func (o *Web3TransactionReceipt) GetBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.BlockHash +} + +// GetBlockHashOk returns a tuple with the BlockHash field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BlockHash, true +} + +// SetBlockHash sets field value +func (o *Web3TransactionReceipt) SetBlockHash(v string) { + o.BlockHash = v +} + +// GetBlockNumber returns the BlockNumber field value +func (o *Web3TransactionReceipt) GetBlockNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.BlockNumber +} + +// GetBlockNumberOk returns a tuple with the BlockNumber field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetBlockNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.BlockNumber, true +} + +// SetBlockNumber sets field value +func (o *Web3TransactionReceipt) SetBlockNumber(v float32) { + o.BlockNumber = v +} + +// GetGasUsed returns the GasUsed field value +func (o *Web3TransactionReceipt) GetGasUsed() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetGasUsedOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *Web3TransactionReceipt) SetGasUsed(v float32) { + o.GasUsed = v +} + +// GetContractAddress returns the ContractAddress field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Web3TransactionReceipt) GetContractAddress() string { + if o == nil || IsNil(o.ContractAddress.Get()) { + var ret string + return ret + } + return *o.ContractAddress.Get() +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Web3TransactionReceipt) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ContractAddress.Get(), o.ContractAddress.IsSet() +} + +// HasContractAddress returns a boolean if a field has been set. +func (o *Web3TransactionReceipt) HasContractAddress() bool { + if o != nil && o.ContractAddress.IsSet() { + return true + } + + return false +} + +// SetContractAddress gets a reference to the given NullableString and assigns it to the ContractAddress field. +func (o *Web3TransactionReceipt) SetContractAddress(v string) { + o.ContractAddress.Set(&v) +} +// SetContractAddressNil sets the value for ContractAddress to be an explicit nil +func (o *Web3TransactionReceipt) SetContractAddressNil() { + o.ContractAddress.Set(nil) +} + +// UnsetContractAddress ensures that no value is present for ContractAddress, not even an explicit nil +func (o *Web3TransactionReceipt) UnsetContractAddress() { + o.ContractAddress.Unset() +} + +// GetFrom returns the From field value +func (o *Web3TransactionReceipt) GetFrom() string { + if o == nil { + var ret string + return ret + } + + return o.From +} + +// GetFromOk returns a tuple with the From field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.From, true +} + +// SetFrom sets field value +func (o *Web3TransactionReceipt) SetFrom(v string) { + o.From = v +} + +// GetTo returns the To field value +func (o *Web3TransactionReceipt) GetTo() string { + if o == nil { + var ret string + return ret + } + + return o.To +} + +// GetToOk returns a tuple with the To field value +// and a boolean to check if the value has been set. +func (o *Web3TransactionReceipt) GetToOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.To, true +} + +// SetTo sets field value +func (o *Web3TransactionReceipt) SetTo(v string) { + o.To = v +} + +func (o Web3TransactionReceipt) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Web3TransactionReceipt) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + toSerialize["transactionHash"] = o.TransactionHash + toSerialize["transactionIndex"] = o.TransactionIndex + toSerialize["blockHash"] = o.BlockHash + toSerialize["blockNumber"] = o.BlockNumber + toSerialize["gasUsed"] = o.GasUsed + if o.ContractAddress.IsSet() { + toSerialize["contractAddress"] = o.ContractAddress.Get() + } + toSerialize["from"] = o.From + toSerialize["to"] = o.To + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Web3TransactionReceipt) UnmarshalJSON(bytes []byte) (err error) { + varWeb3TransactionReceipt := _Web3TransactionReceipt{} + + if err = json.Unmarshal(bytes, &varWeb3TransactionReceipt); err == nil { + *o = Web3TransactionReceipt(varWeb3TransactionReceipt) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "status") + delete(additionalProperties, "transactionHash") + delete(additionalProperties, "transactionIndex") + delete(additionalProperties, "blockHash") + delete(additionalProperties, "blockNumber") + delete(additionalProperties, "gasUsed") + delete(additionalProperties, "contractAddress") + delete(additionalProperties, "from") + delete(additionalProperties, "to") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWeb3TransactionReceipt struct { + value *Web3TransactionReceipt + isSet bool +} + +func (v NullableWeb3TransactionReceipt) Get() *Web3TransactionReceipt { + return v.value +} + +func (v *NullableWeb3TransactionReceipt) Set(val *Web3TransactionReceipt) { + v.value = val + v.isSet = true +} + +func (v NullableWeb3TransactionReceipt) IsSet() bool { + return v.isSet +} + +func (v *NullableWeb3TransactionReceipt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWeb3TransactionReceipt(val *Web3TransactionReceipt) *NullableWeb3TransactionReceipt { + return &NullableWeb3TransactionReceipt{value: val, isSet: true} +} + +func (v NullableWeb3TransactionReceipt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWeb3TransactionReceipt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_xdai_transaction_config.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_xdai_transaction_config.go new file mode 100644 index 00000000000..6ef2d2925d2 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_xdai_transaction_config.go @@ -0,0 +1,410 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" +) + +// checks if the XdaiTransactionConfig type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &XdaiTransactionConfig{} + +// XdaiTransactionConfig struct for XdaiTransactionConfig +type XdaiTransactionConfig struct { + RawTransaction *string `json:"rawTransaction,omitempty"` + From *XdaiTransactionConfigFrom `json:"from,omitempty"` + To *XdaiTransactionConfigTo `json:"to,omitempty"` + Value *XdaiTransactionConfigFrom `json:"value,omitempty"` + Gas *XdaiTransactionConfigFrom `json:"gas,omitempty"` + GasPrice *XdaiTransactionConfigFrom `json:"gasPrice,omitempty"` + Nonce *float32 `json:"nonce,omitempty"` + Data *XdaiTransactionConfigTo `json:"data,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _XdaiTransactionConfig XdaiTransactionConfig + +// NewXdaiTransactionConfig instantiates a new XdaiTransactionConfig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewXdaiTransactionConfig() *XdaiTransactionConfig { + this := XdaiTransactionConfig{} + return &this +} + +// NewXdaiTransactionConfigWithDefaults instantiates a new XdaiTransactionConfig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewXdaiTransactionConfigWithDefaults() *XdaiTransactionConfig { + this := XdaiTransactionConfig{} + return &this +} + +// GetRawTransaction returns the RawTransaction field value if set, zero value otherwise. +func (o *XdaiTransactionConfig) GetRawTransaction() string { + if o == nil || IsNil(o.RawTransaction) { + var ret string + return ret + } + return *o.RawTransaction +} + +// GetRawTransactionOk returns a tuple with the RawTransaction field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *XdaiTransactionConfig) GetRawTransactionOk() (*string, bool) { + if o == nil || IsNil(o.RawTransaction) { + return nil, false + } + return o.RawTransaction, true +} + +// HasRawTransaction returns a boolean if a field has been set. +func (o *XdaiTransactionConfig) HasRawTransaction() bool { + if o != nil && !IsNil(o.RawTransaction) { + return true + } + + return false +} + +// SetRawTransaction gets a reference to the given string and assigns it to the RawTransaction field. +func (o *XdaiTransactionConfig) SetRawTransaction(v string) { + o.RawTransaction = &v +} + +// GetFrom returns the From field value if set, zero value otherwise. +func (o *XdaiTransactionConfig) GetFrom() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.From) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.From +} + +// GetFromOk returns a tuple with the From field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *XdaiTransactionConfig) GetFromOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.From) { + return nil, false + } + return o.From, true +} + +// HasFrom returns a boolean if a field has been set. +func (o *XdaiTransactionConfig) HasFrom() bool { + if o != nil && !IsNil(o.From) { + return true + } + + return false +} + +// SetFrom gets a reference to the given XdaiTransactionConfigFrom and assigns it to the From field. +func (o *XdaiTransactionConfig) SetFrom(v XdaiTransactionConfigFrom) { + o.From = &v +} + +// GetTo returns the To field value if set, zero value otherwise. +func (o *XdaiTransactionConfig) GetTo() XdaiTransactionConfigTo { + if o == nil || IsNil(o.To) { + var ret XdaiTransactionConfigTo + return ret + } + return *o.To +} + +// GetToOk returns a tuple with the To field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *XdaiTransactionConfig) GetToOk() (*XdaiTransactionConfigTo, bool) { + if o == nil || IsNil(o.To) { + return nil, false + } + return o.To, true +} + +// HasTo returns a boolean if a field has been set. +func (o *XdaiTransactionConfig) HasTo() bool { + if o != nil && !IsNil(o.To) { + return true + } + + return false +} + +// SetTo gets a reference to the given XdaiTransactionConfigTo and assigns it to the To field. +func (o *XdaiTransactionConfig) SetTo(v XdaiTransactionConfigTo) { + o.To = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *XdaiTransactionConfig) GetValue() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.Value) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *XdaiTransactionConfig) GetValueOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *XdaiTransactionConfig) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given XdaiTransactionConfigFrom and assigns it to the Value field. +func (o *XdaiTransactionConfig) SetValue(v XdaiTransactionConfigFrom) { + o.Value = &v +} + +// GetGas returns the Gas field value if set, zero value otherwise. +func (o *XdaiTransactionConfig) GetGas() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.Gas) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.Gas +} + +// GetGasOk returns a tuple with the Gas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *XdaiTransactionConfig) GetGasOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.Gas) { + return nil, false + } + return o.Gas, true +} + +// HasGas returns a boolean if a field has been set. +func (o *XdaiTransactionConfig) HasGas() bool { + if o != nil && !IsNil(o.Gas) { + return true + } + + return false +} + +// SetGas gets a reference to the given XdaiTransactionConfigFrom and assigns it to the Gas field. +func (o *XdaiTransactionConfig) SetGas(v XdaiTransactionConfigFrom) { + o.Gas = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *XdaiTransactionConfig) GetGasPrice() XdaiTransactionConfigFrom { + if o == nil || IsNil(o.GasPrice) { + var ret XdaiTransactionConfigFrom + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *XdaiTransactionConfig) GetGasPriceOk() (*XdaiTransactionConfigFrom, bool) { + if o == nil || IsNil(o.GasPrice) { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *XdaiTransactionConfig) HasGasPrice() bool { + if o != nil && !IsNil(o.GasPrice) { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given XdaiTransactionConfigFrom and assigns it to the GasPrice field. +func (o *XdaiTransactionConfig) SetGasPrice(v XdaiTransactionConfigFrom) { + o.GasPrice = &v +} + +// GetNonce returns the Nonce field value if set, zero value otherwise. +func (o *XdaiTransactionConfig) GetNonce() float32 { + if o == nil || IsNil(o.Nonce) { + var ret float32 + return ret + } + return *o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *XdaiTransactionConfig) GetNonceOk() (*float32, bool) { + if o == nil || IsNil(o.Nonce) { + return nil, false + } + return o.Nonce, true +} + +// HasNonce returns a boolean if a field has been set. +func (o *XdaiTransactionConfig) HasNonce() bool { + if o != nil && !IsNil(o.Nonce) { + return true + } + + return false +} + +// SetNonce gets a reference to the given float32 and assigns it to the Nonce field. +func (o *XdaiTransactionConfig) SetNonce(v float32) { + o.Nonce = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *XdaiTransactionConfig) GetData() XdaiTransactionConfigTo { + if o == nil || IsNil(o.Data) { + var ret XdaiTransactionConfigTo + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *XdaiTransactionConfig) GetDataOk() (*XdaiTransactionConfigTo, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *XdaiTransactionConfig) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given XdaiTransactionConfigTo and assigns it to the Data field. +func (o *XdaiTransactionConfig) SetData(v XdaiTransactionConfigTo) { + o.Data = &v +} + +func (o XdaiTransactionConfig) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o XdaiTransactionConfig) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.RawTransaction) { + toSerialize["rawTransaction"] = o.RawTransaction + } + if !IsNil(o.From) { + toSerialize["from"] = o.From + } + if !IsNil(o.To) { + toSerialize["to"] = o.To + } + if !IsNil(o.Value) { + toSerialize["value"] = o.Value + } + if !IsNil(o.Gas) { + toSerialize["gas"] = o.Gas + } + if !IsNil(o.GasPrice) { + toSerialize["gasPrice"] = o.GasPrice + } + if !IsNil(o.Nonce) { + toSerialize["nonce"] = o.Nonce + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *XdaiTransactionConfig) UnmarshalJSON(bytes []byte) (err error) { + varXdaiTransactionConfig := _XdaiTransactionConfig{} + + if err = json.Unmarshal(bytes, &varXdaiTransactionConfig); err == nil { + *o = XdaiTransactionConfig(varXdaiTransactionConfig) + } + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(bytes, &additionalProperties); err == nil { + delete(additionalProperties, "rawTransaction") + delete(additionalProperties, "from") + delete(additionalProperties, "to") + delete(additionalProperties, "value") + delete(additionalProperties, "gas") + delete(additionalProperties, "gasPrice") + delete(additionalProperties, "nonce") + delete(additionalProperties, "data") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableXdaiTransactionConfig struct { + value *XdaiTransactionConfig + isSet bool +} + +func (v NullableXdaiTransactionConfig) Get() *XdaiTransactionConfig { + return v.value +} + +func (v *NullableXdaiTransactionConfig) Set(val *XdaiTransactionConfig) { + v.value = val + v.isSet = true +} + +func (v NullableXdaiTransactionConfig) IsSet() bool { + return v.isSet +} + +func (v *NullableXdaiTransactionConfig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableXdaiTransactionConfig(val *XdaiTransactionConfig) *NullableXdaiTransactionConfig { + return &NullableXdaiTransactionConfig{value: val, isSet: true} +} + +func (v NullableXdaiTransactionConfig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableXdaiTransactionConfig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_xdai_transaction_config_from.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_xdai_transaction_config_from.go new file mode 100644 index 00000000000..29ea6955b27 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_xdai_transaction_config_from.go @@ -0,0 +1,148 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" + "fmt" +) + +// XdaiTransactionConfigFrom - struct for XdaiTransactionConfigFrom +type XdaiTransactionConfigFrom struct { + Float32 *float32 + String *string +} + +// float32AsXdaiTransactionConfigFrom is a convenience function that returns float32 wrapped in XdaiTransactionConfigFrom +func Float32AsXdaiTransactionConfigFrom(v *float32) XdaiTransactionConfigFrom { + return XdaiTransactionConfigFrom{ + Float32: v, + } +} + +// stringAsXdaiTransactionConfigFrom is a convenience function that returns string wrapped in XdaiTransactionConfigFrom +func StringAsXdaiTransactionConfigFrom(v *string) XdaiTransactionConfigFrom { + return XdaiTransactionConfigFrom{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *XdaiTransactionConfigFrom) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into Float32 + err = newStrictDecoder(data).Decode(&dst.Float32) + if err == nil { + jsonFloat32, _ := json.Marshal(dst.Float32) + if string(jsonFloat32) == "{}" { // empty struct + dst.Float32 = nil + } else { + match++ + } + } else { + dst.Float32 = nil + } + + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.Float32 = nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(XdaiTransactionConfigFrom)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(XdaiTransactionConfigFrom)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src XdaiTransactionConfigFrom) MarshalJSON() ([]byte, error) { + if src.Float32 != nil { + return json.Marshal(&src.Float32) + } + + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *XdaiTransactionConfigFrom) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.Float32 != nil { + return obj.Float32 + } + + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableXdaiTransactionConfigFrom struct { + value *XdaiTransactionConfigFrom + isSet bool +} + +func (v NullableXdaiTransactionConfigFrom) Get() *XdaiTransactionConfigFrom { + return v.value +} + +func (v *NullableXdaiTransactionConfigFrom) Set(val *XdaiTransactionConfigFrom) { + v.value = val + v.isSet = true +} + +func (v NullableXdaiTransactionConfigFrom) IsSet() bool { + return v.isSet +} + +func (v *NullableXdaiTransactionConfigFrom) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableXdaiTransactionConfigFrom(val *XdaiTransactionConfigFrom) *NullableXdaiTransactionConfigFrom { + return &NullableXdaiTransactionConfigFrom{value: val, isSet: true} +} + +func (v NullableXdaiTransactionConfigFrom) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableXdaiTransactionConfigFrom) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_xdai_transaction_config_to.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_xdai_transaction_config_to.go new file mode 100644 index 00000000000..9aecfd62d62 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/model_xdai_transaction_config_to.go @@ -0,0 +1,118 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" + "fmt" +) + +// XdaiTransactionConfigTo - struct for XdaiTransactionConfigTo +type XdaiTransactionConfigTo struct { + String *string +} + +// stringAsXdaiTransactionConfigTo is a convenience function that returns string wrapped in XdaiTransactionConfigTo +func StringAsXdaiTransactionConfigTo(v *string) XdaiTransactionConfigTo { + return XdaiTransactionConfigTo{ + String: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *XdaiTransactionConfigTo) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into String + err = newStrictDecoder(data).Decode(&dst.String) + if err == nil { + jsonString, _ := json.Marshal(dst.String) + if string(jsonString) == "{}" { // empty struct + dst.String = nil + } else { + match++ + } + } else { + dst.String = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.String = nil + + return fmt.Errorf("data matches more than one schema in oneOf(XdaiTransactionConfigTo)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("data failed to match schemas in oneOf(XdaiTransactionConfigTo)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src XdaiTransactionConfigTo) MarshalJSON() ([]byte, error) { + if src.String != nil { + return json.Marshal(&src.String) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *XdaiTransactionConfigTo) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.String != nil { + return obj.String + } + + // all schemas are nil + return nil +} + +type NullableXdaiTransactionConfigTo struct { + value *XdaiTransactionConfigTo + isSet bool +} + +func (v NullableXdaiTransactionConfigTo) Get() *XdaiTransactionConfigTo { + return v.value +} + +func (v *NullableXdaiTransactionConfigTo) Set(val *XdaiTransactionConfigTo) { + v.value = val + v.isSet = true +} + +func (v NullableXdaiTransactionConfigTo) IsSet() bool { + return v.isSet +} + +func (v *NullableXdaiTransactionConfigTo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableXdaiTransactionConfigTo(val *XdaiTransactionConfigTo) *NullableXdaiTransactionConfigTo { + return &NullableXdaiTransactionConfigTo{value: val, isSet: true} +} + +func (v NullableXdaiTransactionConfigTo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableXdaiTransactionConfigTo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..fc501d8d6a0 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..866443a7e40 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,97 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-ledger-connector-xdai + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-ledger-connector-xdai_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService DeployContractJsonObjectV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContractJsonObjectV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService DeployContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.DeployContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService GetPrometheusMetricsV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetPrometheusMetricsV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeContractJsonObject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeContractJsonObject(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService InvokeContractV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.InvokeContractV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RunTransactionV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.RunTransactionV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..09f0729ee76 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-xdai/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Connector Xdai + +Can perform basic tasks on a Xdai ledger + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-ledger-connector-xdai + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-persistence-ethereum/package.json b/packages/cactus-plugin-persistence-ethereum/package.json index 81c0f60aad1..4201c5e4d09 100644 --- a/packages/cactus-plugin-persistence-ethereum/package.json +++ b/packages/cactus-plugin-persistence-ethereum/package.json @@ -54,7 +54,9 @@ "codegen:openapi": "npm run generate-sdk", "copy-sql": "mkdir -p ./dist/lib/main/ && cp -Rfp ./src/main/sql ./dist/lib/main/", "copy-yarn-lock": "mkdir -p ./dist/lib/ && cp -rfp ../../yarn.lock ./dist/yarn.lock", - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore" + "generate-sdk": "run-p 'generate-sdk:*'", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore" }, "dependencies": { "@ethersproject/abi": "5.7.0", diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..2bb23947ab3 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,16 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_error_exception_response_v1.go +model_monitored_token.go +model_status_response_v1.go +model_token_type_v1.go +model_tracked_operation_v1.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..57f48c67754 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,116 @@ +# Go API client for cactus-plugin-persistence-ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-persistence-ethereum "github.com/hyperledger/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-persistence-ethereum.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-persistence-ethereum.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-persistence-ethereum.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-persistence-ethereum.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**GetStatusV1**](docs/DefaultApi.md#getstatusv1) | **Get** /api/v1/plugins/@hyperledger/cactus-plugin-persistence-ethereum/status | Get the status of persistence plugin for ethereum + + +## Documentation For Models + + - [ErrorExceptionResponseV1](docs/ErrorExceptionResponseV1.md) + - [MonitoredToken](docs/MonitoredToken.md) + - [StatusResponseV1](docs/StatusResponseV1.md) + - [TokenTypeV1](docs/TokenTypeV1.md) + - [TrackedOperationV1](docs/TrackedOperationV1.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..6d11933009e --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,148 @@ +openapi: 3.0.3 +info: + description: Synchronizes state of an ethereum ledger into a DB that can later be + viewed in GUI + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Persistence Ethereum + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/plugins/@hyperledger/cactus-plugin-persistence-ethereum/status: + get: + operationId: getStatusV1 + parameters: [] + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/StatusResponseV1' + description: OK + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorExceptionResponseV1' + description: Internal Server Error + summary: Get the status of persistence plugin for ethereum + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/plugins/@hyperledger/cactus-plugin-persistence-ethereum/status +components: + schemas: + TokenTypeV1: + enum: + - erc20 + - erc721 + type: string + x-enum-descriptions: + - "EIP-20: Token Standard" + - "EIP-721: Non-Fungible Token Standard" + x-enum-varnames: + - ERC20 + - ERC721 + MonitoredToken: + description: Ethereum tokens that are being monitored by the persistence plugin. + properties: + type: + $ref: '#/components/schemas/TokenTypeV1' + name: + description: Token name + nullable: false + type: string + symbol: + description: Token symbol + nullable: false + type: string + required: + - name + - symbol + - type + type: object + TrackedOperationV1: + description: Persistence plugin operation that is tracked and returned in status + report. + example: + operation: operation + startAt: startAt + properties: + startAt: + description: Start time of the operation. + nullable: false + type: string + operation: + description: Operation name. + nullable: false + type: string + required: + - operation + - startAt + type: object + StatusResponseV1: + description: Response with plugin status report. + example: + connected: true + monitoredTokensCount: 0.8008281904610115 + instanceId: instanceId + lastSeenBlock: 6.027456183070403 + monitorRunning: true + webServicesRegistered: true + operationsRunning: + - operation: operation + startAt: startAt + - operation: operation + startAt: startAt + properties: + instanceId: + description: Plugin instance id. + nullable: false + type: string + connected: + description: "True if successfully connected to the database, false otherwise." + nullable: false + type: boolean + webServicesRegistered: + description: True if web services were correctly exported. + nullable: false + type: boolean + monitoredTokensCount: + description: Total number of tokens being monitored by the plugin. + nullable: false + type: number + operationsRunning: + items: + $ref: '#/components/schemas/TrackedOperationV1' + type: array + monitorRunning: + description: "True if block monitoring is running, false otherwise." + nullable: false + type: boolean + lastSeenBlock: + description: Number of the last block seen by the block monitor. + nullable: false + type: number + required: + - connected + - instanceId + - lastSeenBlock + - monitorRunning + - monitoredTokensCount + - operationsRunning + - webServicesRegistered + type: object + ErrorExceptionResponseV1: + properties: + message: + nullable: false + type: string + error: + nullable: false + type: string + required: + - error + - message + type: object diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..156bc00da68 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,130 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiGetStatusV1Request struct { + ctx context.Context + ApiService *DefaultApiService +} + +func (r ApiGetStatusV1Request) Execute() (*StatusResponseV1, *http.Response, error) { + return r.ApiService.GetStatusV1Execute(r) +} + +/* +GetStatusV1 Get the status of persistence plugin for ethereum + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetStatusV1Request +*/ +func (a *DefaultApiService) GetStatusV1(ctx context.Context) ApiGetStatusV1Request { + return ApiGetStatusV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return StatusResponseV1 +func (a *DefaultApiService) GetStatusV1Execute(r ApiGetStatusV1Request) (*StatusResponseV1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *StatusResponseV1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.GetStatusV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/plugins/@hyperledger/cactus-plugin-persistence-ethereum/status" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorExceptionResponseV1 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..28629cf6ab7 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Persistence Ethereum API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..2631a549473 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..7b679f4baa0 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go new file mode 100644 index 00000000000..8cf28bb9684 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_error_exception_response_v1.go @@ -0,0 +1,144 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "encoding/json" +) + +// checks if the ErrorExceptionResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ErrorExceptionResponseV1{} + +// ErrorExceptionResponseV1 struct for ErrorExceptionResponseV1 +type ErrorExceptionResponseV1 struct { + Message string `json:"message"` + Error string `json:"error"` +} + +// NewErrorExceptionResponseV1 instantiates a new ErrorExceptionResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewErrorExceptionResponseV1(message string, error_ string) *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + this.Message = message + this.Error = error_ + return &this +} + +// NewErrorExceptionResponseV1WithDefaults instantiates a new ErrorExceptionResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewErrorExceptionResponseV1WithDefaults() *ErrorExceptionResponseV1 { + this := ErrorExceptionResponseV1{} + return &this +} + +// GetMessage returns the Message field value +func (o *ErrorExceptionResponseV1) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *ErrorExceptionResponseV1) SetMessage(v string) { + o.Message = v +} + +// GetError returns the Error field value +func (o *ErrorExceptionResponseV1) GetError() string { + if o == nil { + var ret string + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *ErrorExceptionResponseV1) GetErrorOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *ErrorExceptionResponseV1) SetError(v string) { + o.Error = v +} + +func (o ErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ErrorExceptionResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + toSerialize["error"] = o.Error + return toSerialize, nil +} + +type NullableErrorExceptionResponseV1 struct { + value *ErrorExceptionResponseV1 + isSet bool +} + +func (v NullableErrorExceptionResponseV1) Get() *ErrorExceptionResponseV1 { + return v.value +} + +func (v *NullableErrorExceptionResponseV1) Set(val *ErrorExceptionResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableErrorExceptionResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableErrorExceptionResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableErrorExceptionResponseV1(val *ErrorExceptionResponseV1) *NullableErrorExceptionResponseV1 { + return &NullableErrorExceptionResponseV1{value: val, isSet: true} +} + +func (v NullableErrorExceptionResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableErrorExceptionResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_monitored_token.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_monitored_token.go new file mode 100644 index 00000000000..e3eff3110c8 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_monitored_token.go @@ -0,0 +1,173 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "encoding/json" +) + +// checks if the MonitoredToken type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &MonitoredToken{} + +// MonitoredToken Ethereum tokens that are being monitored by the persistence plugin. +type MonitoredToken struct { + Type TokenTypeV1 `json:"type"` + // Token name + Name string `json:"name"` + // Token symbol + Symbol string `json:"symbol"` +} + +// NewMonitoredToken instantiates a new MonitoredToken object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMonitoredToken(type_ TokenTypeV1, name string, symbol string) *MonitoredToken { + this := MonitoredToken{} + this.Type = type_ + this.Name = name + this.Symbol = symbol + return &this +} + +// NewMonitoredTokenWithDefaults instantiates a new MonitoredToken object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMonitoredTokenWithDefaults() *MonitoredToken { + this := MonitoredToken{} + return &this +} + +// GetType returns the Type field value +func (o *MonitoredToken) GetType() TokenTypeV1 { + if o == nil { + var ret TokenTypeV1 + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *MonitoredToken) GetTypeOk() (*TokenTypeV1, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *MonitoredToken) SetType(v TokenTypeV1) { + o.Type = v +} + +// GetName returns the Name field value +func (o *MonitoredToken) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *MonitoredToken) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *MonitoredToken) SetName(v string) { + o.Name = v +} + +// GetSymbol returns the Symbol field value +func (o *MonitoredToken) GetSymbol() string { + if o == nil { + var ret string + return ret + } + + return o.Symbol +} + +// GetSymbolOk returns a tuple with the Symbol field value +// and a boolean to check if the value has been set. +func (o *MonitoredToken) GetSymbolOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Symbol, true +} + +// SetSymbol sets field value +func (o *MonitoredToken) SetSymbol(v string) { + o.Symbol = v +} + +func (o MonitoredToken) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o MonitoredToken) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["type"] = o.Type + toSerialize["name"] = o.Name + toSerialize["symbol"] = o.Symbol + return toSerialize, nil +} + +type NullableMonitoredToken struct { + value *MonitoredToken + isSet bool +} + +func (v NullableMonitoredToken) Get() *MonitoredToken { + return v.value +} + +func (v *NullableMonitoredToken) Set(val *MonitoredToken) { + v.value = val + v.isSet = true +} + +func (v NullableMonitoredToken) IsSet() bool { + return v.isSet +} + +func (v *NullableMonitoredToken) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMonitoredToken(val *MonitoredToken) *NullableMonitoredToken { + return &NullableMonitoredToken{value: val, isSet: true} +} + +func (v NullableMonitoredToken) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMonitoredToken) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_status_response_v1.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_status_response_v1.go new file mode 100644 index 00000000000..c6562fc5896 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_status_response_v1.go @@ -0,0 +1,285 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "encoding/json" +) + +// checks if the StatusResponseV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StatusResponseV1{} + +// StatusResponseV1 Response with plugin status report. +type StatusResponseV1 struct { + // Plugin instance id. + InstanceId string `json:"instanceId"` + // True if successfully connected to the database, false otherwise. + Connected bool `json:"connected"` + // True if web services were correctly exported. + WebServicesRegistered bool `json:"webServicesRegistered"` + // Total number of tokens being monitored by the plugin. + MonitoredTokensCount float32 `json:"monitoredTokensCount"` + OperationsRunning []TrackedOperationV1 `json:"operationsRunning"` + // True if block monitoring is running, false otherwise. + MonitorRunning bool `json:"monitorRunning"` + // Number of the last block seen by the block monitor. + LastSeenBlock float32 `json:"lastSeenBlock"` +} + +// NewStatusResponseV1 instantiates a new StatusResponseV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStatusResponseV1(instanceId string, connected bool, webServicesRegistered bool, monitoredTokensCount float32, operationsRunning []TrackedOperationV1, monitorRunning bool, lastSeenBlock float32) *StatusResponseV1 { + this := StatusResponseV1{} + this.InstanceId = instanceId + this.Connected = connected + this.WebServicesRegistered = webServicesRegistered + this.MonitoredTokensCount = monitoredTokensCount + this.OperationsRunning = operationsRunning + this.MonitorRunning = monitorRunning + this.LastSeenBlock = lastSeenBlock + return &this +} + +// NewStatusResponseV1WithDefaults instantiates a new StatusResponseV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStatusResponseV1WithDefaults() *StatusResponseV1 { + this := StatusResponseV1{} + return &this +} + +// GetInstanceId returns the InstanceId field value +func (o *StatusResponseV1) GetInstanceId() string { + if o == nil { + var ret string + return ret + } + + return o.InstanceId +} + +// GetInstanceIdOk returns a tuple with the InstanceId field value +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetInstanceIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.InstanceId, true +} + +// SetInstanceId sets field value +func (o *StatusResponseV1) SetInstanceId(v string) { + o.InstanceId = v +} + +// GetConnected returns the Connected field value +func (o *StatusResponseV1) GetConnected() bool { + if o == nil { + var ret bool + return ret + } + + return o.Connected +} + +// GetConnectedOk returns a tuple with the Connected field value +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetConnectedOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Connected, true +} + +// SetConnected sets field value +func (o *StatusResponseV1) SetConnected(v bool) { + o.Connected = v +} + +// GetWebServicesRegistered returns the WebServicesRegistered field value +func (o *StatusResponseV1) GetWebServicesRegistered() bool { + if o == nil { + var ret bool + return ret + } + + return o.WebServicesRegistered +} + +// GetWebServicesRegisteredOk returns a tuple with the WebServicesRegistered field value +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetWebServicesRegisteredOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.WebServicesRegistered, true +} + +// SetWebServicesRegistered sets field value +func (o *StatusResponseV1) SetWebServicesRegistered(v bool) { + o.WebServicesRegistered = v +} + +// GetMonitoredTokensCount returns the MonitoredTokensCount field value +func (o *StatusResponseV1) GetMonitoredTokensCount() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.MonitoredTokensCount +} + +// GetMonitoredTokensCountOk returns a tuple with the MonitoredTokensCount field value +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetMonitoredTokensCountOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.MonitoredTokensCount, true +} + +// SetMonitoredTokensCount sets field value +func (o *StatusResponseV1) SetMonitoredTokensCount(v float32) { + o.MonitoredTokensCount = v +} + +// GetOperationsRunning returns the OperationsRunning field value +func (o *StatusResponseV1) GetOperationsRunning() []TrackedOperationV1 { + if o == nil { + var ret []TrackedOperationV1 + return ret + } + + return o.OperationsRunning +} + +// GetOperationsRunningOk returns a tuple with the OperationsRunning field value +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetOperationsRunningOk() ([]TrackedOperationV1, bool) { + if o == nil { + return nil, false + } + return o.OperationsRunning, true +} + +// SetOperationsRunning sets field value +func (o *StatusResponseV1) SetOperationsRunning(v []TrackedOperationV1) { + o.OperationsRunning = v +} + +// GetMonitorRunning returns the MonitorRunning field value +func (o *StatusResponseV1) GetMonitorRunning() bool { + if o == nil { + var ret bool + return ret + } + + return o.MonitorRunning +} + +// GetMonitorRunningOk returns a tuple with the MonitorRunning field value +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetMonitorRunningOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.MonitorRunning, true +} + +// SetMonitorRunning sets field value +func (o *StatusResponseV1) SetMonitorRunning(v bool) { + o.MonitorRunning = v +} + +// GetLastSeenBlock returns the LastSeenBlock field value +func (o *StatusResponseV1) GetLastSeenBlock() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.LastSeenBlock +} + +// GetLastSeenBlockOk returns a tuple with the LastSeenBlock field value +// and a boolean to check if the value has been set. +func (o *StatusResponseV1) GetLastSeenBlockOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.LastSeenBlock, true +} + +// SetLastSeenBlock sets field value +func (o *StatusResponseV1) SetLastSeenBlock(v float32) { + o.LastSeenBlock = v +} + +func (o StatusResponseV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StatusResponseV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["instanceId"] = o.InstanceId + toSerialize["connected"] = o.Connected + toSerialize["webServicesRegistered"] = o.WebServicesRegistered + toSerialize["monitoredTokensCount"] = o.MonitoredTokensCount + toSerialize["operationsRunning"] = o.OperationsRunning + toSerialize["monitorRunning"] = o.MonitorRunning + toSerialize["lastSeenBlock"] = o.LastSeenBlock + return toSerialize, nil +} + +type NullableStatusResponseV1 struct { + value *StatusResponseV1 + isSet bool +} + +func (v NullableStatusResponseV1) Get() *StatusResponseV1 { + return v.value +} + +func (v *NullableStatusResponseV1) Set(val *StatusResponseV1) { + v.value = val + v.isSet = true +} + +func (v NullableStatusResponseV1) IsSet() bool { + return v.isSet +} + +func (v *NullableStatusResponseV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStatusResponseV1(val *StatusResponseV1) *NullableStatusResponseV1 { + return &NullableStatusResponseV1{value: val, isSet: true} +} + +func (v NullableStatusResponseV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStatusResponseV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_token_type_v1.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_token_type_v1.go new file mode 100644 index 00000000000..fb407dba8c0 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_token_type_v1.go @@ -0,0 +1,111 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "encoding/json" + "fmt" +) + +// TokenTypeV1 the model 'TokenTypeV1' +type TokenTypeV1 string + +// List of TokenTypeV1 +const ( + ERC20 TokenTypeV1 = "erc20" + ERC721 TokenTypeV1 = "erc721" +) + +// All allowed values of TokenTypeV1 enum +var AllowedTokenTypeV1EnumValues = []TokenTypeV1{ + "erc20", + "erc721", +} + +func (v *TokenTypeV1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := TokenTypeV1(value) + for _, existing := range AllowedTokenTypeV1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid TokenTypeV1", value) +} + +// NewTokenTypeV1FromValue returns a pointer to a valid TokenTypeV1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewTokenTypeV1FromValue(v string) (*TokenTypeV1, error) { + ev := TokenTypeV1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for TokenTypeV1: valid values are %v", v, AllowedTokenTypeV1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v TokenTypeV1) IsValid() bool { + for _, existing := range AllowedTokenTypeV1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to TokenTypeV1 value +func (v TokenTypeV1) Ptr() *TokenTypeV1 { + return &v +} + +type NullableTokenTypeV1 struct { + value *TokenTypeV1 + isSet bool +} + +func (v NullableTokenTypeV1) Get() *TokenTypeV1 { + return v.value +} + +func (v *NullableTokenTypeV1) Set(val *TokenTypeV1) { + v.value = val + v.isSet = true +} + +func (v NullableTokenTypeV1) IsSet() bool { + return v.isSet +} + +func (v *NullableTokenTypeV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTokenTypeV1(val *TokenTypeV1) *NullableTokenTypeV1 { + return &NullableTokenTypeV1{value: val, isSet: true} +} + +func (v NullableTokenTypeV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTokenTypeV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_tracked_operation_v1.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_tracked_operation_v1.go new file mode 100644 index 00000000000..ea07dfae656 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/model_tracked_operation_v1.go @@ -0,0 +1,146 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "encoding/json" +) + +// checks if the TrackedOperationV1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TrackedOperationV1{} + +// TrackedOperationV1 Persistence plugin operation that is tracked and returned in status report. +type TrackedOperationV1 struct { + // Start time of the operation. + StartAt string `json:"startAt"` + // Operation name. + Operation string `json:"operation"` +} + +// NewTrackedOperationV1 instantiates a new TrackedOperationV1 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrackedOperationV1(startAt string, operation string) *TrackedOperationV1 { + this := TrackedOperationV1{} + this.StartAt = startAt + this.Operation = operation + return &this +} + +// NewTrackedOperationV1WithDefaults instantiates a new TrackedOperationV1 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrackedOperationV1WithDefaults() *TrackedOperationV1 { + this := TrackedOperationV1{} + return &this +} + +// GetStartAt returns the StartAt field value +func (o *TrackedOperationV1) GetStartAt() string { + if o == nil { + var ret string + return ret + } + + return o.StartAt +} + +// GetStartAtOk returns a tuple with the StartAt field value +// and a boolean to check if the value has been set. +func (o *TrackedOperationV1) GetStartAtOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.StartAt, true +} + +// SetStartAt sets field value +func (o *TrackedOperationV1) SetStartAt(v string) { + o.StartAt = v +} + +// GetOperation returns the Operation field value +func (o *TrackedOperationV1) GetOperation() string { + if o == nil { + var ret string + return ret + } + + return o.Operation +} + +// GetOperationOk returns a tuple with the Operation field value +// and a boolean to check if the value has been set. +func (o *TrackedOperationV1) GetOperationOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Operation, true +} + +// SetOperation sets field value +func (o *TrackedOperationV1) SetOperation(v string) { + o.Operation = v +} + +func (o TrackedOperationV1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TrackedOperationV1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["startAt"] = o.StartAt + toSerialize["operation"] = o.Operation + return toSerialize, nil +} + +type NullableTrackedOperationV1 struct { + value *TrackedOperationV1 + isSet bool +} + +func (v NullableTrackedOperationV1) Get() *TrackedOperationV1 { + return v.value +} + +func (v *NullableTrackedOperationV1) Set(val *TrackedOperationV1) { + v.value = val + v.isSet = true +} + +func (v NullableTrackedOperationV1) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackedOperationV1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackedOperationV1(val *TrackedOperationV1) *NullableTrackedOperationV1 { + return &NullableTrackedOperationV1{value: val, isSet: true} +} + +func (v NullableTrackedOperationV1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackedOperationV1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..52f26e5d1f9 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..a44c39da811 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,37 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-persistence-ethereum + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-persistence-ethereum_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService GetStatusV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.GetStatusV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..b796a960e60 --- /dev/null +++ b/packages/cactus-plugin-persistence-ethereum/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Persistence Ethereum + +Synchronizes state of an ethereum ledger into a DB that can later be viewed in GUI + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-ethereum + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-persistence-fabric/package.json b/packages/cactus-plugin-persistence-fabric/package.json index 8e859ee406c..516aea199d3 100644 --- a/packages/cactus-plugin-persistence-fabric/package.json +++ b/packages/cactus-plugin-persistence-fabric/package.json @@ -59,7 +59,9 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", "copy-yarn-lock": "cp -af ../../yarn.lock ./dist/yarn.lock", - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk": "run-p 'generate-sdk:*'", + "generate-sdk:typecript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..021139f8149 --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,9 @@ +.travis.yml +README.md +api/openapi.yaml +client.go +configuration.go +go.mod +go.sum +response.go +utils.go diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..1071ac73554 --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,109 @@ +# Go API client for cactus-plugin-persistence-fabric + +Scrap fabric ledger into database. Needs administrative privileges. + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-persistence-fabric "github.com/hyperledger/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-persistence-fabric.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-persistence-fabric.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-persistence-fabric.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-persistence-fabric.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- + + +## Documentation For Models + + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..89d1a3138d4 --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,13 @@ +openapi: 3.0.3 +info: + description: Scrap fabric ledger into database. Needs administrative privileges. + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Block Fabrick PErsistance + version: v2.0.0-alpha.2 +servers: +- url: / +paths: {} +components: + schemas: {} diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..58bb7fa3843 --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,653 @@ +/* +Hyperledger Cactus Plugin - Block Fabrick PErsistance + +Scrap fabric ledger into database. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-fabric + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Block Fabrick PErsistance API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..1aee29d815d --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Block Fabrick PErsistance + +Scrap fabric ledger into database. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-fabric + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..f02f97435b8 --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..36dea735466 --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Block Fabrick PErsistance + +Scrap fabric ledger into database. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-fabric + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..24c64ec2042 --- /dev/null +++ b/packages/cactus-plugin-persistence-fabric/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Block Fabrick PErsistance + +Scrap fabric ledger into database. Needs administrative privileges. + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-persistence-fabric + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/packages/cactus-plugin-satp-hermes/package.json b/packages/cactus-plugin-satp-hermes/package.json index bd86f336602..a4d885eb043 100644 --- a/packages/cactus-plugin-satp-hermes/package.json +++ b/packages/cactus-plugin-satp-hermes/package.json @@ -44,6 +44,7 @@ "generate-sdk": "run-p 'generate-sdk:*'", "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", + "generate-sdk:go": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g go -o ./src/main/go/generated/openapi/go-client/ --git-user-id hyperledger --git-repo-id $(echo $npm_package_name | replace @hyperledger/ \"\" -z)/src/main/go/generated/openapi/go-client --package-name $(echo $npm_package_name | replace @hyperledger/ \"\" -z) --reserved-words-mappings protected=protected --ignore-file-override ../../openapi-generator-ignore", "pretsc": "npm run generate-sdk", "tsc": "tsc --project ./tsconfig.json", "watch": "npm-watch" diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/.openapi-generator/FILES b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/.openapi-generator/FILES new file mode 100644 index 00000000000..5f408416c90 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/.openapi-generator/FILES @@ -0,0 +1,38 @@ +.travis.yml +README.md +api/openapi.yaml +api_default.go +client.go +configuration.go +go.mod +go.sum +model_asset_profile.go +model_client_v1_request.go +model_client_v1_request_client_gateway_configuration.go +model_commit_final_v1_request.go +model_commit_final_v1_response.go +model_commit_preparation_v1_request.go +model_commit_preparation_v1_response.go +model_credential_profile.go +model_history.go +model_local_log.go +model_lock_evidence_v1_request.go +model_lock_evidence_v1_response.go +model_payload_profile.go +model_recover_success_v1_message.go +model_recover_update_ack_v1_message.go +model_recover_update_v1_message.go +model_recover_v1_message.go +model_rollback_ack_v1_message.go +model_rollback_v1_message.go +model_satp_message.go +model_satp_message_action_response.go +model_session_data.go +model_transfer_commence_v1_request.go +model_transfer_commence_v1_response.go +model_transfer_complete_v1_request.go +model_transfer_initialization_v1_request.go +model_transfer_initialization_v1_response.go +response.go +test/api_default_test.go +utils.go diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION new file mode 100644 index 00000000000..cd802a1ec4e --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/.travis.yml b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/.travis.yml new file mode 100644 index 00000000000..f5cb2ce9a5a --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/README.md b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/README.md new file mode 100644 index 00000000000..6a6f4a2b61d --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/README.md @@ -0,0 +1,155 @@ +# Go API client for cactus-plugin-satp-hermes + +Implementation for Odap and Hermes + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: v2.0.0-alpha.2 +- Package version: 1.0.0 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import cactus-plugin-satp-hermes "github.com/hyperledger/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-satp-hermes.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-satp-hermes.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), cactus-plugin-satp-hermes.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), cactus-plugin-satp-hermes.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**ClientRequestV1**](docs/DefaultApi.md#clientrequestv1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/clientrequest | +*DefaultApi* | [**Phase1TransferInitiationRequestV1**](docs/DefaultApi.md#phase1transferinitiationrequestv1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase1/transferinitiationrequest | +*DefaultApi* | [**Phase1TransferInitiationResponseV1**](docs/DefaultApi.md#phase1transferinitiationresponsev1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase1/transferinitiationresponse | +*DefaultApi* | [**Phase2LockEvidenceRequestV1**](docs/DefaultApi.md#phase2lockevidencerequestv1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/lockevidencerequest | +*DefaultApi* | [**Phase2LockEvidenceResponseV1**](docs/DefaultApi.md#phase2lockevidenceresponsev1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/lockevidenceresponse | +*DefaultApi* | [**Phase2TransferCommenceRequestV1**](docs/DefaultApi.md#phase2transfercommencerequestv1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/transfercommencerequest | +*DefaultApi* | [**Phase2TransferCommenceResponseV1**](docs/DefaultApi.md#phase2transfercommenceresponsev1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/transfercommenceresponse | +*DefaultApi* | [**Phase3CommitFinalRequestV1**](docs/DefaultApi.md#phase3commitfinalrequestv1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitfinalrequest | +*DefaultApi* | [**Phase3CommitFinalResponseV1**](docs/DefaultApi.md#phase3commitfinalresponsev1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitfinalresponse | +*DefaultApi* | [**Phase3CommitPreparationRequestV1**](docs/DefaultApi.md#phase3commitpreparationrequestv1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitpreparationrequest | +*DefaultApi* | [**Phase3CommitPreparationResponseV1**](docs/DefaultApi.md#phase3commitpreparationresponsev1) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitpreparationresponse | +*DefaultApi* | [**Phase3TransferCompleteRequestV1**](docs/DefaultApi.md#phase3transfercompleterequestv1) | **Get** /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/transfercompleterequest | +*DefaultApi* | [**RecoverUpdateAckV1Message**](docs/DefaultApi.md#recoverupdateackv1message) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/recoverupdateackmessage | +*DefaultApi* | [**RecoverUpdateV1Message**](docs/DefaultApi.md#recoverupdatev1message) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/recoverupdatemessage | +*DefaultApi* | [**RecoverV1Message**](docs/DefaultApi.md#recoverv1message) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/recovermessage | +*DefaultApi* | [**RecoverV1Success**](docs/DefaultApi.md#recoverv1success) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/recoversuccessmessage | +*DefaultApi* | [**RollbackAckV1Message**](docs/DefaultApi.md#rollbackackv1message) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/rollbackackmessage | +*DefaultApi* | [**RollbackV1Message**](docs/DefaultApi.md#rollbackv1message) | **Post** /api/v1/@hyperledger/cactus-plugin-satp-hermes/rollbackmessage | + + +## Documentation For Models + + - [AssetProfile](docs/AssetProfile.md) + - [ClientV1Request](docs/ClientV1Request.md) + - [ClientV1RequestClientGatewayConfiguration](docs/ClientV1RequestClientGatewayConfiguration.md) + - [CommitFinalV1Request](docs/CommitFinalV1Request.md) + - [CommitFinalV1Response](docs/CommitFinalV1Response.md) + - [CommitPreparationV1Request](docs/CommitPreparationV1Request.md) + - [CommitPreparationV1Response](docs/CommitPreparationV1Response.md) + - [CredentialProfile](docs/CredentialProfile.md) + - [History](docs/History.md) + - [LocalLog](docs/LocalLog.md) + - [LockEvidenceV1Request](docs/LockEvidenceV1Request.md) + - [LockEvidenceV1Response](docs/LockEvidenceV1Response.md) + - [PayloadProfile](docs/PayloadProfile.md) + - [RecoverSuccessV1Message](docs/RecoverSuccessV1Message.md) + - [RecoverUpdateAckV1Message](docs/RecoverUpdateAckV1Message.md) + - [RecoverUpdateV1Message](docs/RecoverUpdateV1Message.md) + - [RecoverV1Message](docs/RecoverV1Message.md) + - [RollbackAckV1Message](docs/RollbackAckV1Message.md) + - [RollbackV1Message](docs/RollbackV1Message.md) + - [SatpMessage](docs/SatpMessage.md) + - [SatpMessageActionResponse](docs/SatpMessageActionResponse.md) + - [SessionData](docs/SessionData.md) + - [TransferCommenceV1Request](docs/TransferCommenceV1Request.md) + - [TransferCommenceV1Response](docs/TransferCommenceV1Response.md) + - [TransferCompleteV1Request](docs/TransferCompleteV1Request.md) + - [TransferInitializationV1Request](docs/TransferInitializationV1Request.md) + - [TransferInitializationV1Response](docs/TransferInitializationV1Response.md) + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/api/openapi.yaml b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/api/openapi.yaml new file mode 100644 index 00000000000..4db46228be4 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/api/openapi.yaml @@ -0,0 +1,1600 @@ +openapi: 3.0.3 +info: + description: Implementation for Odap and Hermes + license: + name: Apache-2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + title: Hyperledger Cactus Plugin - Odap Hermes + version: v2.0.0-alpha.2 +servers: +- url: / +paths: + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase1/transferinitiationrequest: + post: + description: "" + operationId: phase1TransferInitiationRequestV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TransferInitializationV1Request' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase1/transferinitiationrequest + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/transfercommencerequest: + post: + description: "" + operationId: phase2TransferCommenceRequestV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TransferCommenceV1Request' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/transfercommencerequest + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/lockevidencerequest: + post: + description: "" + operationId: phase2LockEvidenceRequestV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/LockEvidenceV1Request' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/lockevidencerequest + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitpreparationrequest: + post: + description: "" + operationId: phase3CommitPreparationRequestV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommitPreparationV1Request' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitpreparationrequest + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitfinalrequest: + post: + description: "" + operationId: phase3CommitFinalRequestV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommitFinalV1Request' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitfinalrequest + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/transfercompleterequest: + get: + description: "" + operationId: phase3TransferCompleteRequestV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TransferCompleteV1Request' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: get + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/transfercompleterequest + /api/v1/@hyperledger/cactus-plugin-satp-hermes/clientrequest: + post: + description: "" + operationId: clientRequestV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClientV1Request' + responses: + "200": + content: + application/json: + schema: {} + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/clientrequest + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase1/transferinitiationresponse: + post: + description: "" + operationId: phase1TransferInitiationResponseV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TransferInitializationV1Response' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase1/transferinitiationresponse + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/transfercommenceresponse: + post: + description: "" + operationId: phase2TransferCommenceResponseV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TransferCommenceV1Response' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/transfercommenceresponse + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/lockevidenceresponse: + post: + description: "" + operationId: phase2LockEvidenceResponseV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/LockEvidenceV1Response' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/lockevidenceresponse + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitpreparationresponse: + post: + description: "" + operationId: phase3CommitPreparationResponseV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommitPreparationV1Response' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitpreparationresponse + /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitfinalresponse: + post: + description: "" + operationId: phase3CommitFinalResponseV1 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommitFinalV1Response' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitfinalresponse + /api/v1/@hyperledger/cactus-plugin-satp-hermes/recovermessage: + post: + description: "" + operationId: RecoverV1Message + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RecoverV1Message' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/recovermessage + /api/v1/@hyperledger/cactus-plugin-satp-hermes/recoverupdatemessage: + post: + description: "" + operationId: RecoverUpdateV1Message + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RecoverUpdateV1Message' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/recoverupdatemessage + /api/v1/@hyperledger/cactus-plugin-satp-hermes/recoverupdateackmessage: + post: + description: "" + operationId: RecoverUpdateAckV1Message + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RecoverUpdateAckV1Message' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/recoverupdateackmessage + /api/v1/@hyperledger/cactus-plugin-satp-hermes/recoversuccessmessage: + post: + description: "" + operationId: RecoverV1Success + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RecoverSuccessV1Message' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/recoversuccessmessage + /api/v1/@hyperledger/cactus-plugin-satp-hermes/rollbackmessage: + post: + description: "" + operationId: RollbackV1Message + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RollbackV1Message' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/rollbackmessage + /api/v1/@hyperledger/cactus-plugin-satp-hermes/rollbackackmessage: + post: + description: "" + operationId: RollbackAckV1Message + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RollbackAckV1Message' + responses: + "200": + description: OK + x-hyperledger-cacti: + http: + verbLowerCase: post + path: /api/v1/@hyperledger/cactus-plugin-satp-hermes/rollbackackmessage +components: + schemas: + CredentialProfile: + enum: + - SAML + - OAUTH + - X509 + type: string + PayloadProfile: + example: + assetProfile: + ledgerRequirements: + - "" + - "" + keyInformationLink: + - "" + - "" + assetCode: assetCode + issuanceDate: issuanceDate + digitalSignature: digitalSignature + verificationEndPoint: verificationEndPoint + prospectusLink: prospectusLink + issuer: issuer + assetCodeType: assetCodeType + transferRestriction: + - "" + - "" + expirationDate: expirationDate + keyWord: + - "" + - "" + capabilities: capabilities + properties: + assetProfile: + $ref: '#/components/schemas/AssetProfile' + capabilities: + type: string + required: + - assetProfile + type: object + ApplicationProfile: + type: object + Payload: + type: object + AssetProfile: + example: + ledgerRequirements: + - "" + - "" + keyInformationLink: + - "" + - "" + assetCode: assetCode + issuanceDate: issuanceDate + digitalSignature: digitalSignature + verificationEndPoint: verificationEndPoint + prospectusLink: prospectusLink + issuer: issuer + assetCodeType: assetCodeType + transferRestriction: + - "" + - "" + expirationDate: expirationDate + keyWord: + - "" + - "" + properties: + issuer: + type: string + assetCode: + type: string + assetCodeType: + type: string + issuanceDate: + type: string + expirationDate: + type: string + verificationEndPoint: + type: string + digitalSignature: + type: string + prospectusLink: + type: string + keyInformationLink: + items: {} + type: array + keyWord: + items: {} + type: array + transferRestriction: + items: {} + type: array + ledgerRequirements: + items: {} + type: array + required: + - expirationDate + type: object + LoggingProfile: + items: + type: string + type: array + AccessControlProfile: + items: + type: string + type: array + Permissions: + type: object + Transaction: + type: object + ActionCategory: + type: object + History: + example: + Origin: Origin + Transactions: + - null + - null + Destination: Destination + Actions: + - null + - null + CurrentStatus: "{}" + ApplicationSpecificParameters: "{}" + Balance: Balance + properties: + Transactions: + items: + $ref: '#/components/schemas/Transaction' + type: array + Actions: + items: + $ref: '#/components/schemas/ActionCategory' + type: array + Origin: + type: string + Destination: + type: string + Balance: + type: string + CurrentStatus: + type: object + ApplicationSpecificParameters: + type: object + type: object + SenderDltSystem: + type: object + RecipientDltSystem: + type: object + LockEvidenceClaim: + type: object + LockClaimFormat: + type: object + CommitFinalClaim: + type: object + CommitFinalClaimFormat: + type: object + CommitAcknowledgementClaim: + type: object + CommitAcknowledgementClaimFormat: + type: object + SessionData: + properties: + id: + type: string + step: + type: number + version: + type: string + lastSequenceNumber: + type: number + loggingProfile: + type: string + accessControlProfile: + type: string + applicationProfile: + type: string + payloadProfile: + $ref: '#/components/schemas/PayloadProfile' + assetProfile: + $ref: '#/components/schemas/AssetProfile' + allowedSourceBackupGateways: + items: + type: string + type: array + allowedRecipientBackupGateways: + items: + type: string + type: array + sourceBasePath: + type: string + recipientBasePath: + type: string + originatorPubkey: + type: string + beneficiaryPubkey: + type: string + sourceGatewayPubkey: + type: string + sourceGatewayDltSystem: + type: string + recipientGatewayPubkey: + type: string + recipientGatewayDltSystem: + type: string + initializationRequestMessageHash: + type: string + initializationResponseMessageHash: + type: string + initializationRequestMessageRcvTimeStamp: + type: string + initializationRequestMessageProcessedTimeStamp: + type: string + clientSignatureInitializationRequestMessage: + type: string + serverSignatureInitializationResponseMessage: + type: string + transferCommenceMessageRequestHash: + type: string + transferCommenceMessageResponseHash: + type: string + clientSignatureTransferCommenceRequestMessage: + type: string + serverSignatureTransferCommenceResponseMessage: + type: string + lockEvidenceRequestMessageHash: + type: string + lockEvidenceResponseMessageHash: + type: string + clientSignatureLockEvidenceRequestMessage: + type: string + serverSignatureLockEvidenceResponseMessage: + type: string + lockEvidenceClaim: + type: string + commitPrepareRequestMessageHash: + type: string + commitPrepareResponseMessageHash: + type: string + clientSignatureCommitPreparationRequestMessage: + type: string + serverSignatureCommitPreparationResponseMessage: + type: string + commitFinalRequestMessageHash: + type: string + commitFinalResponseMessageHash: + type: string + commitFinalClaim: + type: string + commitFinalClaimFormat: + type: string + commitAcknowledgementClaim: + type: string + commitAcknowledgementClaimFormat: + type: string + clientSignatureCommitFinalRequestMessage: + type: string + serverSignatureCommitFinalResponseMessage: + type: string + transferCompleteMessageHash: + type: string + clientSignatureTransferCompleteMessage: + type: string + maxRetries: + type: number + recipientLedgerAssetID: + type: string + sourceLedgerAssetID: + type: string + maxTimeout: + type: number + lastLogEntryTimestamp: + type: string + unlockAssetClaim: + type: string + recreateAssetClaim: + type: string + deleteAssetClaim: + type: string + lastMessageReceivedTimestamp: + type: string + rollback: + type: boolean + rollbackMessageHash: + type: string + rollbackProofs: + items: + type: string + type: array + rollbackActionsPerformed: + items: + enum: + - CREATE + - DELETE + - LOCK + - UNLOCK + type: string + type: array + type: object + TransferInitializationV1Request: + example: + recipientLedgerAssetID: recipientLedgerAssetID + subsequentCalls: "{}" + backupGatewaysAllowed: + - backupGatewaysAllowed + - backupGatewaysAllowed + signature: signature + credentialProfile: null + origin: origin + destination: destination + recipientGatewayPubkey: recipientGatewayPubkey + sessionID: sessionID + sourceBasePath: sourceBasePath + loggingProfile: loggingProfile + sourceLedgerAssetID: sourceLedgerAssetID + messageType: messageType + permissions: "{}" + multipleClaimsAllowed: true + payloadProfile: + assetProfile: + ledgerRequirements: + - "" + - "" + keyInformationLink: + - "" + - "" + assetCode: assetCode + issuanceDate: issuanceDate + digitalSignature: digitalSignature + verificationEndPoint: verificationEndPoint + prospectusLink: prospectusLink + issuer: issuer + assetCodeType: assetCodeType + transferRestriction: + - "" + - "" + expirationDate: expirationDate + keyWord: + - "" + - "" + capabilities: capabilities + applicationProfile: applicationProfile + sourceGatewayPubkey: sourceGatewayPubkey + recipientGatewayDltSystem: recipientGatewayDltSystem + sequenceNumber: 0 + accessControlProfile: accessControlProfile + developerURN: developerURN + histories: + - Origin: Origin + Transactions: + - null + - null + Destination: Destination + Actions: + - null + - null + CurrentStatus: "{}" + ApplicationSpecificParameters: "{}" + Balance: Balance + - Origin: Origin + Transactions: + - null + - null + Destination: Destination + Actions: + - null + - null + CurrentStatus: "{}" + ApplicationSpecificParameters: "{}" + Balance: Balance + version: version + multipleCancelsAllowed: true + escrowType: FAUCET + maxRetries: 6.027456183070403 + sourceGatewayDltSystem: sourceGatewayDltSystem + recipientBasePath: recipientBasePath + maxTimeout: 1.4658129805029452 + expiryTime: expiryTime + properties: + messageType: + type: string + sessionID: + type: string + version: + type: string + developerURN: + type: string + credentialProfile: + $ref: '#/components/schemas/CredentialProfile' + payloadProfile: + $ref: '#/components/schemas/PayloadProfile' + applicationProfile: + type: string + loggingProfile: + type: string + accessControlProfile: + type: string + signature: + type: string + sourceGatewayPubkey: + type: string + sourceGatewayDltSystem: + type: string + recipientGatewayPubkey: + type: string + recipientGatewayDltSystem: + type: string + escrowType: + enum: + - FAUCET + - TIMELOCK + - HASHLOCK + - HASHTIMELOCK + - MULTICLAIMPC + - DESTROY + - BURN + type: string + expiryTime: + type: string + multipleClaimsAllowed: + type: boolean + multipleCancelsAllowed: + type: boolean + permissions: + type: object + origin: + type: string + destination: + type: string + subsequentCalls: + type: object + histories: + items: + $ref: '#/components/schemas/History' + type: array + sequenceNumber: + type: integer + sourceBasePath: + type: string + recipientBasePath: + type: string + maxRetries: + type: number + maxTimeout: + type: number + backupGatewaysAllowed: + items: + type: string + type: array + recipientLedgerAssetID: + type: string + sourceLedgerAssetID: + type: string + required: + - accessControlProfile + - applicationProfile + - backupGatewaysAllowed + - loggingProfile + - maxRetries + - maxTimeout + - messageType + - payloadProfile + - recipientBasePath + - recipientGatewayDltSystem + - recipientGatewayPubkey + - recipientLedgerAssetID + - sequenceNumber + - sessionID + - signature + - sourceBasePath + - sourceGatewayDltSystem + - sourceGatewayPubkey + - sourceLedgerAssetID + type: object + TransferInitializationV1Response: + example: + timeStamp: timeStamp + sequenceNumber: 0.8008281904610115 + odapPhase: TransferInitialization + initialRequestMessageHash: initialRequestMessageHash + messageType: messageType + backupGatewaysAllowed: + - backupGatewaysAllowed + - backupGatewaysAllowed + processedTimeStamp: processedTimeStamp + signature: signature + destination: destination + sessionID: sessionID + serverIdentityPubkey: serverIdentityPubkey + properties: + messageType: + type: string + sessionID: + type: string + sequenceNumber: + type: number + odapPhase: + enum: + - TransferInitialization + - LockEvidenceVerification + - CommitmentEstablishment + type: string + initialRequestMessageHash: + type: string + destination: + type: string + timeStamp: + type: string + processedTimeStamp: + type: string + serverIdentityPubkey: + type: string + signature: + type: string + backupGatewaysAllowed: + items: + type: string + type: array + required: + - backupGatewaysAllowed + - initialRequestMessageHash + - messageType + - processedTimeStamp + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + - timeStamp + type: object + TransferCommenceV1Request: + example: + beneficiaryPubkey: beneficiaryPubkey + sequenceNumber: 1 + hashAssetProfile: hashAssetProfile + clientIdentityPubkey: clientIdentityPubkey + clientTransferNumber: 6 + signature: signature + recipientDltSystem: recipientDltSystem + sessionID: sessionID + hashPrevMessage: hashPrevMessage + serverIdentityPubkey: serverIdentityPubkey + assetUnit: 0 + messageType: messageType + senderDltSystem: senderDltSystem + originatorPubkey: originatorPubkey + properties: + sessionID: + type: string + messageType: + type: string + originatorPubkey: + type: string + beneficiaryPubkey: + type: string + senderDltSystem: + type: string + recipientDltSystem: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + hashAssetProfile: + type: string + assetUnit: + type: integer + hashPrevMessage: + type: string + clientTransferNumber: + nullable: true + type: integer + signature: + type: string + sequenceNumber: + type: integer + required: + - beneficiaryPubkey + - clientIdentityPubkey + - hashAssetProfile + - hashPrevMessage + - messageType + - originatorPubkey + - recipientDltSystem + - senderDltSystem + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + type: object + TransferCommenceV1Response: + example: + sequenceNumber: 6.027456183070403 + clientIdentityPubkey: clientIdentityPubkey + messageType: messageType + signature: signature + serverTransferNumber: 0 + messageHash: messageHash + sessionID: sessionID + hashCommenceRequest: hashCommenceRequest + serverIdentityPubkey: serverIdentityPubkey + properties: + sessionID: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + hashCommenceRequest: + type: string + serverTransferNumber: + nullable: true + type: integer + signature: + type: string + messageType: + type: string + messageHash: + type: string + sequenceNumber: + type: number + required: + - clientIdentityPubkey + - hashCommenceRequest + - messageType + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + type: object + LockEvidenceV1Request: + example: + sequenceNumber: 6.027456183070403 + lockEvidenceExpiration: lockEvidenceExpiration + clientIdentityPubkey: clientIdentityPubkey + clientTransferNumber: 0 + messageType: messageType + signature: signature + lockEvidenceClaim: lockEvidenceClaim + lockEvidenceFormat: "{}" + hashCommenceAckRequest: hashCommenceAckRequest + messageHash: messageHash + sessionID: sessionID + serverIdentityPubkey: serverIdentityPubkey + properties: + sessionID: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + lockEvidenceClaim: + type: string + lockEvidenceFormat: + type: object + lockEvidenceExpiration: + type: string + hashCommenceAckRequest: + type: string + clientTransferNumber: + nullable: true + type: integer + signature: + type: string + messageType: + type: string + messageHash: + type: string + sequenceNumber: + type: number + required: + - clientIdentityPubkey + - hashCommenceAckRequest + - lockEvidenceClaim + - lockEvidenceExpiration + - messageType + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + type: object + LockEvidenceV1Response: + example: + sequenceNumber: 6.027456183070403 + clientIdentityPubkey: clientIdentityPubkey + messageType: messageType + signature: signature + serverTransferNumber: 0 + hashLockEvidenceRequest: hashLockEvidenceRequest + sessionID: sessionID + serverIdentityPubkey: serverIdentityPubkey + properties: + sessionID: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + hashLockEvidenceRequest: + type: string + serverTransferNumber: + nullable: true + type: integer + signature: + type: string + messageType: + type: string + sequenceNumber: + type: number + required: + - clientIdentityPubkey + - hashLockEvidenceRequest + - messageType + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + type: object + CommitPreparationV1Request: + example: + sequenceNumber: 6.027456183070403 + clientIdentityPubkey: clientIdentityPubkey + hashLockEvidenceAck: hashLockEvidenceAck + messageType: messageType + clientTransferNumber: 0 + signature: signature + sessionID: sessionID + serverIdentityPubkey: serverIdentityPubkey + properties: + sessionID: + type: string + messageType: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + hashLockEvidenceAck: + type: string + clientTransferNumber: + type: integer + signature: + type: string + sequenceNumber: + type: number + required: + - clientIdentityPubkey + - hashLockEvidenceAck + - messageType + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + type: object + CommitPreparationV1Response: + example: + sequenceNumber: 0.8008281904610115 + clientIdentityPubkey: clientIdentityPubkey + messageType: messageType + hashCommitPrep: hashCommitPrep + signature: signature + serverTransferNumber: serverTransferNumber + sessionID: sessionID + serverIdentityPubkey: serverIdentityPubkey + properties: + sessionID: + type: string + messageType: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + hashCommitPrep: + type: string + serverTransferNumber: + type: string + signature: + type: string + sequenceNumber: + type: number + required: + - clientIdentityPubkey + - hashCommitPrep + - messageType + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + type: object + CommitFinalV1Request: + example: + sequenceNumber: 6.027456183070403 + clientIdentityPubkey: clientIdentityPubkey + messageType: messageType + clientTransferNumber: 0 + signature: signature + commitFinalClaim: commitFinalClaim + commitFinalClaimFormat: "{}" + sessionID: sessionID + serverIdentityPubkey: serverIdentityPubkey + hashCommitPrepareAck: hashCommitPrepareAck + properties: + sessionID: + type: string + messageType: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + commitFinalClaim: + type: string + commitFinalClaimFormat: + type: object + hashCommitPrepareAck: + type: string + clientTransferNumber: + nullable: true + type: integer + signature: + type: string + sequenceNumber: + type: number + required: + - clientIdentityPubkey + - commitFinalClaim + - hashCommitPrepareAck + - messageType + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + type: object + CommitFinalV1Response: + example: + sequenceNumber: 6.027456183070403 + clientIdentityPubkey: clientIdentityPubkey + messageType: messageType + commitAcknowledgementClaimFormat: "{}" + signature: signature + serverTransferNumber: 0 + commitAcknowledgementClaim: commitAcknowledgementClaim + hashCommitFinal: hashCommitFinal + sessionID: sessionID + serverIdentityPubkey: serverIdentityPubkey + properties: + sessionID: + type: string + messageType: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + commitAcknowledgementClaim: + type: string + commitAcknowledgementClaimFormat: + type: object + hashCommitFinal: + type: string + serverTransferNumber: + type: integer + signature: + type: string + sequenceNumber: + type: number + required: + - clientIdentityPubkey + - commitAcknowledgementClaim + - hashCommitFinal + - messageType + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + type: object + TransferCompleteV1Request: + example: + sequenceNumber: 6.027456183070403 + hashCommitFinalAck: hashCommitFinalAck + clientIdentityPubkey: clientIdentityPubkey + hashTransferCommence: hashTransferCommence + messageType: messageType + clientTransferNumber: 0 + signature: signature + sessionID: sessionID + serverIdentityPubkey: serverIdentityPubkey + properties: + sessionID: + type: string + messageType: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + hashCommitFinalAck: + type: string + clientTransferNumber: + nullable: true + type: integer + signature: + type: string + hashTransferCommence: + type: string + sequenceNumber: + type: number + required: + - clientIdentityPubkey + - hashCommitFinalAck + - hashTransferCommence + - messageType + - sequenceNumber + - serverIdentityPubkey + - sessionID + - signature + type: object + ClientV1Request: + example: + assetProfile: + ledgerRequirements: + - "" + - "" + keyInformationLink: + - "" + - "" + assetCode: assetCode + issuanceDate: issuanceDate + digitalSignature: digitalSignature + verificationEndPoint: verificationEndPoint + prospectusLink: prospectusLink + issuer: issuer + assetCodeType: assetCodeType + transferRestriction: + - "" + - "" + expirationDate: expirationDate + keyWord: + - "" + - "" + beneficiaryPubkey: beneficiaryPubkey + recipientLedgerAssetID: recipientLedgerAssetID + clientIdentityPubkey: clientIdentityPubkey + serverDltSystem: serverDltSystem + accessControlProfile: accessControlProfile + recipientGatewayPubkey: recipientGatewayPubkey + assetControlProfile: assetControlProfile + version: version + serverIdentityPubkey: serverIdentityPubkey + loggingProfile: loggingProfile + serverGatewayConfiguration: + apiHost: apiHost + sourceLedgerAssetID: sourceLedgerAssetID + clientGatewayConfiguration: + apiHost: apiHost + maxRetries: 0.8008281904610115 + sourceGatewayDltSystem: sourceGatewayDltSystem + maxTimeout: 6.027456183070403 + applicationProfile: applicationProfile + payloadProfile: + assetProfile: + ledgerRequirements: + - "" + - "" + keyInformationLink: + - "" + - "" + assetCode: assetCode + issuanceDate: issuanceDate + digitalSignature: digitalSignature + verificationEndPoint: verificationEndPoint + prospectusLink: prospectusLink + issuer: issuer + assetCodeType: assetCodeType + transferRestriction: + - "" + - "" + expirationDate: expirationDate + keyWord: + - "" + - "" + capabilities: capabilities + originatorPubkey: originatorPubkey + clientDltSystem: clientDltSystem + recipientGatewayDltSystem: recipientGatewayDltSystem + properties: + version: + type: string + loggingProfile: + type: string + accessControlProfile: + type: string + assetControlProfile: + type: string + applicationProfile: + type: string + assetProfile: + $ref: '#/components/schemas/AssetProfile' + payloadProfile: + $ref: '#/components/schemas/PayloadProfile' + sourceGatewayDltSystem: + type: string + recipientGatewayDltSystem: + type: string + recipientGatewayPubkey: + type: string + originatorPubkey: + type: string + beneficiaryPubkey: + type: string + clientIdentityPubkey: + type: string + serverIdentityPubkey: + type: string + clientDltSystem: + type: string + serverDltSystem: + type: string + clientGatewayConfiguration: + $ref: '#/components/schemas/ClientV1Request_clientGatewayConfiguration' + serverGatewayConfiguration: + $ref: '#/components/schemas/ClientV1Request_clientGatewayConfiguration' + maxRetries: + type: number + maxTimeout: + type: number + sourceLedgerAssetID: + type: string + recipientLedgerAssetID: + type: string + required: + - accessControlProfile + - applicationProfile + - assetControlProfile + - assetProfile + - beneficiaryPubkey + - clientDltSystem + - clientGatewayConfiguration + - clientIdentityPubkey + - loggingProfile + - maxRetries + - maxTimeout + - originatorPubkey + - payloadProfile + - recipientGatewayDltSystem + - recipientGatewayPubkey + - recipientLedgerAssetID + - serverDltSystem + - serverGatewayConfiguration + - serverIdentityPubkey + - sourceGatewayDltSystem + - sourceLedgerAssetID + - version + type: object + RecoverV1Message: + example: + sequenceNumber: 0.8008281904610115 + isBackup: true + odapPhase: odapPhase + signature: signature + sessionID: sessionID + newGatewayPubKey: newGatewayPubKey + newBasePath: newBasePath + lastLogEntryTimestamp: lastLogEntryTimestamp + properties: + sessionID: + type: string + odapPhase: + type: string + sequenceNumber: + type: number + lastLogEntryTimestamp: + type: string + isBackup: + type: boolean + newBasePath: + type: string + newGatewayPubKey: + type: string + signature: + type: string + required: + - isBackup + - lastLogEntryTimestamp + - newBasePath + - odapPhase + - sequenceNumber + - sessionID + - signature + type: object + RecoverUpdateV1Message: + example: + signature: signature + sessionID: sessionID + recoveredLogs: + - data: data + sessionID: sessionID + type: type + operation: operation + key: key + timestamp: timestamp + - data: data + sessionID: sessionID + type: type + operation: operation + key: key + timestamp: timestamp + properties: + sessionID: + type: string + recoveredLogs: + items: + $ref: '#/components/schemas/LocalLog' + type: array + signature: + type: string + required: + - recoveredLogs + - sessionID + - signature + type: object + RecoverUpdateAckV1Message: + example: + signature: signature + success: true + sessionID: sessionID + changedEntriesHash: + - changedEntriesHash + - changedEntriesHash + properties: + sessionID: + type: string + success: + type: boolean + changedEntriesHash: + items: + type: string + type: array + signature: + type: string + required: + - changedEntriesHash + - sessionID + - signature + - success + type: object + RecoverSuccessV1Message: + example: + signature: signature + success: true + sessionID: sessionID + properties: + sessionID: + type: string + success: + type: boolean + signature: + type: string + required: + - sessionID + - signature + - success + type: object + RollbackV1Message: + example: + actionPerformed: + - actionPerformed + - actionPerformed + signature: signature + success: true + proofs: + - proofs + - proofs + sessionID: sessionID + properties: + sessionID: + type: string + success: + type: boolean + actionPerformed: + items: + type: string + type: array + proofs: + items: + type: string + type: array + signature: + type: string + required: + - actionPerformed + - proofs + - sessionID + - signature + - success + type: object + RollbackAckV1Message: + example: + signature: signature + success: true + sessionID: sessionID + properties: + sessionID: + type: string + success: + type: boolean + signature: + type: string + required: + - sessionID + - signature + - success + type: object + LocalLog: + example: + data: data + sessionID: sessionID + type: type + operation: operation + key: key + timestamp: timestamp + properties: + key: + type: string + sessionID: + type: string + data: + type: string + type: + type: string + operation: + type: string + timestamp: + type: string + required: + - operation + - sessionID + - type + type: object + SatpMessage: + properties: + SequenceNumber: + type: number + Phase: + enum: + - TransferInitialization + - LockEvidenceVerification + - CommitmentEstablishment + type: string + ResourceURL: + type: string + DeveloperURN: + type: string + ActionResponse: + $ref: '#/components/schemas/SatpMessage_ActionResponse' + CredentialProfile: + enum: + - SAML + - OAuth + - X509 + type: string + CredentialBlock: + items: {} + type: array + CredentialsProfile: + $ref: '#/components/schemas/PayloadProfile' + ApplicationProfile: + type: object + Payload: + type: object + PayloadHash: + type: string + MessageSignature: + type: string + type: object + ClientV1Request_clientGatewayConfiguration: + example: + apiHost: apiHost + properties: + apiHost: + type: string + required: + - apiHost + type: object + SatpMessage_ActionResponse: + properties: + ResponseCode: + enum: + - "200" + - "404" + type: string + x-enum-varnames: + - OK + - RESOURCE_NOT_FOUND + Arguments: + items: {} + type: array + type: object diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/api_default.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/api_default.go new file mode 100644 index 00000000000..0a1666e0296 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/api_default.go @@ -0,0 +1,1762 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ApiClientRequestV1Request struct { + ctx context.Context + ApiService *DefaultApiService + clientV1Request *ClientV1Request +} + +func (r ApiClientRequestV1Request) ClientV1Request(clientV1Request ClientV1Request) ApiClientRequestV1Request { + r.clientV1Request = &clientV1Request + return r +} + +func (r ApiClientRequestV1Request) Execute() (interface{}, *http.Response, error) { + return r.ApiService.ClientRequestV1Execute(r) +} + +/* +ClientRequestV1 Method for ClientRequestV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiClientRequestV1Request +*/ +func (a *DefaultApiService) ClientRequestV1(ctx context.Context) ApiClientRequestV1Request { + return ApiClientRequestV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return interface{} +func (a *DefaultApiService) ClientRequestV1Execute(r ApiClientRequestV1Request) (interface{}, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue interface{} + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ClientRequestV1") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/clientrequest" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.clientV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiPhase1TransferInitiationRequestV1Request struct { + ctx context.Context + ApiService *DefaultApiService + transferInitializationV1Request *TransferInitializationV1Request +} + +func (r ApiPhase1TransferInitiationRequestV1Request) TransferInitializationV1Request(transferInitializationV1Request TransferInitializationV1Request) ApiPhase1TransferInitiationRequestV1Request { + r.transferInitializationV1Request = &transferInitializationV1Request + return r +} + +func (r ApiPhase1TransferInitiationRequestV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase1TransferInitiationRequestV1Execute(r) +} + +/* +Phase1TransferInitiationRequestV1 Method for Phase1TransferInitiationRequestV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase1TransferInitiationRequestV1Request +*/ +func (a *DefaultApiService) Phase1TransferInitiationRequestV1(ctx context.Context) ApiPhase1TransferInitiationRequestV1Request { + return ApiPhase1TransferInitiationRequestV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase1TransferInitiationRequestV1Execute(r ApiPhase1TransferInitiationRequestV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase1TransferInitiationRequestV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase1/transferinitiationrequest" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.transferInitializationV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase1TransferInitiationResponseV1Request struct { + ctx context.Context + ApiService *DefaultApiService + transferInitializationV1Response *TransferInitializationV1Response +} + +func (r ApiPhase1TransferInitiationResponseV1Request) TransferInitializationV1Response(transferInitializationV1Response TransferInitializationV1Response) ApiPhase1TransferInitiationResponseV1Request { + r.transferInitializationV1Response = &transferInitializationV1Response + return r +} + +func (r ApiPhase1TransferInitiationResponseV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase1TransferInitiationResponseV1Execute(r) +} + +/* +Phase1TransferInitiationResponseV1 Method for Phase1TransferInitiationResponseV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase1TransferInitiationResponseV1Request +*/ +func (a *DefaultApiService) Phase1TransferInitiationResponseV1(ctx context.Context) ApiPhase1TransferInitiationResponseV1Request { + return ApiPhase1TransferInitiationResponseV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase1TransferInitiationResponseV1Execute(r ApiPhase1TransferInitiationResponseV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase1TransferInitiationResponseV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase1/transferinitiationresponse" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.transferInitializationV1Response + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase2LockEvidenceRequestV1Request struct { + ctx context.Context + ApiService *DefaultApiService + lockEvidenceV1Request *LockEvidenceV1Request +} + +func (r ApiPhase2LockEvidenceRequestV1Request) LockEvidenceV1Request(lockEvidenceV1Request LockEvidenceV1Request) ApiPhase2LockEvidenceRequestV1Request { + r.lockEvidenceV1Request = &lockEvidenceV1Request + return r +} + +func (r ApiPhase2LockEvidenceRequestV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase2LockEvidenceRequestV1Execute(r) +} + +/* +Phase2LockEvidenceRequestV1 Method for Phase2LockEvidenceRequestV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase2LockEvidenceRequestV1Request +*/ +func (a *DefaultApiService) Phase2LockEvidenceRequestV1(ctx context.Context) ApiPhase2LockEvidenceRequestV1Request { + return ApiPhase2LockEvidenceRequestV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase2LockEvidenceRequestV1Execute(r ApiPhase2LockEvidenceRequestV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase2LockEvidenceRequestV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/lockevidencerequest" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.lockEvidenceV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase2LockEvidenceResponseV1Request struct { + ctx context.Context + ApiService *DefaultApiService + lockEvidenceV1Response *LockEvidenceV1Response +} + +func (r ApiPhase2LockEvidenceResponseV1Request) LockEvidenceV1Response(lockEvidenceV1Response LockEvidenceV1Response) ApiPhase2LockEvidenceResponseV1Request { + r.lockEvidenceV1Response = &lockEvidenceV1Response + return r +} + +func (r ApiPhase2LockEvidenceResponseV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase2LockEvidenceResponseV1Execute(r) +} + +/* +Phase2LockEvidenceResponseV1 Method for Phase2LockEvidenceResponseV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase2LockEvidenceResponseV1Request +*/ +func (a *DefaultApiService) Phase2LockEvidenceResponseV1(ctx context.Context) ApiPhase2LockEvidenceResponseV1Request { + return ApiPhase2LockEvidenceResponseV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase2LockEvidenceResponseV1Execute(r ApiPhase2LockEvidenceResponseV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase2LockEvidenceResponseV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/lockevidenceresponse" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.lockEvidenceV1Response + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase2TransferCommenceRequestV1Request struct { + ctx context.Context + ApiService *DefaultApiService + transferCommenceV1Request *TransferCommenceV1Request +} + +func (r ApiPhase2TransferCommenceRequestV1Request) TransferCommenceV1Request(transferCommenceV1Request TransferCommenceV1Request) ApiPhase2TransferCommenceRequestV1Request { + r.transferCommenceV1Request = &transferCommenceV1Request + return r +} + +func (r ApiPhase2TransferCommenceRequestV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase2TransferCommenceRequestV1Execute(r) +} + +/* +Phase2TransferCommenceRequestV1 Method for Phase2TransferCommenceRequestV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase2TransferCommenceRequestV1Request +*/ +func (a *DefaultApiService) Phase2TransferCommenceRequestV1(ctx context.Context) ApiPhase2TransferCommenceRequestV1Request { + return ApiPhase2TransferCommenceRequestV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase2TransferCommenceRequestV1Execute(r ApiPhase2TransferCommenceRequestV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase2TransferCommenceRequestV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/transfercommencerequest" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.transferCommenceV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase2TransferCommenceResponseV1Request struct { + ctx context.Context + ApiService *DefaultApiService + transferCommenceV1Response *TransferCommenceV1Response +} + +func (r ApiPhase2TransferCommenceResponseV1Request) TransferCommenceV1Response(transferCommenceV1Response TransferCommenceV1Response) ApiPhase2TransferCommenceResponseV1Request { + r.transferCommenceV1Response = &transferCommenceV1Response + return r +} + +func (r ApiPhase2TransferCommenceResponseV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase2TransferCommenceResponseV1Execute(r) +} + +/* +Phase2TransferCommenceResponseV1 Method for Phase2TransferCommenceResponseV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase2TransferCommenceResponseV1Request +*/ +func (a *DefaultApiService) Phase2TransferCommenceResponseV1(ctx context.Context) ApiPhase2TransferCommenceResponseV1Request { + return ApiPhase2TransferCommenceResponseV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase2TransferCommenceResponseV1Execute(r ApiPhase2TransferCommenceResponseV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase2TransferCommenceResponseV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase2/transfercommenceresponse" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.transferCommenceV1Response + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase3CommitFinalRequestV1Request struct { + ctx context.Context + ApiService *DefaultApiService + commitFinalV1Request *CommitFinalV1Request +} + +func (r ApiPhase3CommitFinalRequestV1Request) CommitFinalV1Request(commitFinalV1Request CommitFinalV1Request) ApiPhase3CommitFinalRequestV1Request { + r.commitFinalV1Request = &commitFinalV1Request + return r +} + +func (r ApiPhase3CommitFinalRequestV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase3CommitFinalRequestV1Execute(r) +} + +/* +Phase3CommitFinalRequestV1 Method for Phase3CommitFinalRequestV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase3CommitFinalRequestV1Request +*/ +func (a *DefaultApiService) Phase3CommitFinalRequestV1(ctx context.Context) ApiPhase3CommitFinalRequestV1Request { + return ApiPhase3CommitFinalRequestV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase3CommitFinalRequestV1Execute(r ApiPhase3CommitFinalRequestV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase3CommitFinalRequestV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitfinalrequest" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.commitFinalV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase3CommitFinalResponseV1Request struct { + ctx context.Context + ApiService *DefaultApiService + commitFinalV1Response *CommitFinalV1Response +} + +func (r ApiPhase3CommitFinalResponseV1Request) CommitFinalV1Response(commitFinalV1Response CommitFinalV1Response) ApiPhase3CommitFinalResponseV1Request { + r.commitFinalV1Response = &commitFinalV1Response + return r +} + +func (r ApiPhase3CommitFinalResponseV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase3CommitFinalResponseV1Execute(r) +} + +/* +Phase3CommitFinalResponseV1 Method for Phase3CommitFinalResponseV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase3CommitFinalResponseV1Request +*/ +func (a *DefaultApiService) Phase3CommitFinalResponseV1(ctx context.Context) ApiPhase3CommitFinalResponseV1Request { + return ApiPhase3CommitFinalResponseV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase3CommitFinalResponseV1Execute(r ApiPhase3CommitFinalResponseV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase3CommitFinalResponseV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitfinalresponse" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.commitFinalV1Response + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase3CommitPreparationRequestV1Request struct { + ctx context.Context + ApiService *DefaultApiService + commitPreparationV1Request *CommitPreparationV1Request +} + +func (r ApiPhase3CommitPreparationRequestV1Request) CommitPreparationV1Request(commitPreparationV1Request CommitPreparationV1Request) ApiPhase3CommitPreparationRequestV1Request { + r.commitPreparationV1Request = &commitPreparationV1Request + return r +} + +func (r ApiPhase3CommitPreparationRequestV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase3CommitPreparationRequestV1Execute(r) +} + +/* +Phase3CommitPreparationRequestV1 Method for Phase3CommitPreparationRequestV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase3CommitPreparationRequestV1Request +*/ +func (a *DefaultApiService) Phase3CommitPreparationRequestV1(ctx context.Context) ApiPhase3CommitPreparationRequestV1Request { + return ApiPhase3CommitPreparationRequestV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase3CommitPreparationRequestV1Execute(r ApiPhase3CommitPreparationRequestV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase3CommitPreparationRequestV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitpreparationrequest" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.commitPreparationV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase3CommitPreparationResponseV1Request struct { + ctx context.Context + ApiService *DefaultApiService + commitPreparationV1Response *CommitPreparationV1Response +} + +func (r ApiPhase3CommitPreparationResponseV1Request) CommitPreparationV1Response(commitPreparationV1Response CommitPreparationV1Response) ApiPhase3CommitPreparationResponseV1Request { + r.commitPreparationV1Response = &commitPreparationV1Response + return r +} + +func (r ApiPhase3CommitPreparationResponseV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase3CommitPreparationResponseV1Execute(r) +} + +/* +Phase3CommitPreparationResponseV1 Method for Phase3CommitPreparationResponseV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase3CommitPreparationResponseV1Request +*/ +func (a *DefaultApiService) Phase3CommitPreparationResponseV1(ctx context.Context) ApiPhase3CommitPreparationResponseV1Request { + return ApiPhase3CommitPreparationResponseV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase3CommitPreparationResponseV1Execute(r ApiPhase3CommitPreparationResponseV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase3CommitPreparationResponseV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/commitpreparationresponse" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.commitPreparationV1Response + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiPhase3TransferCompleteRequestV1Request struct { + ctx context.Context + ApiService *DefaultApiService + transferCompleteV1Request *TransferCompleteV1Request +} + +func (r ApiPhase3TransferCompleteRequestV1Request) TransferCompleteV1Request(transferCompleteV1Request TransferCompleteV1Request) ApiPhase3TransferCompleteRequestV1Request { + r.transferCompleteV1Request = &transferCompleteV1Request + return r +} + +func (r ApiPhase3TransferCompleteRequestV1Request) Execute() (*http.Response, error) { + return r.ApiService.Phase3TransferCompleteRequestV1Execute(r) +} + +/* +Phase3TransferCompleteRequestV1 Method for Phase3TransferCompleteRequestV1 + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPhase3TransferCompleteRequestV1Request +*/ +func (a *DefaultApiService) Phase3TransferCompleteRequestV1(ctx context.Context) ApiPhase3TransferCompleteRequestV1Request { + return ApiPhase3TransferCompleteRequestV1Request{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) Phase3TransferCompleteRequestV1Execute(r ApiPhase3TransferCompleteRequestV1Request) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.Phase3TransferCompleteRequestV1") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/phase3/transfercompleterequest" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.transferCompleteV1Request + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiRecoverUpdateAckV1MessageRequest struct { + ctx context.Context + ApiService *DefaultApiService + recoverUpdateAckV1Message *RecoverUpdateAckV1Message +} + +func (r ApiRecoverUpdateAckV1MessageRequest) RecoverUpdateAckV1Message(recoverUpdateAckV1Message RecoverUpdateAckV1Message) ApiRecoverUpdateAckV1MessageRequest { + r.recoverUpdateAckV1Message = &recoverUpdateAckV1Message + return r +} + +func (r ApiRecoverUpdateAckV1MessageRequest) Execute() (*http.Response, error) { + return r.ApiService.RecoverUpdateAckV1MessageExecute(r) +} + +/* +RecoverUpdateAckV1Message Method for RecoverUpdateAckV1Message + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRecoverUpdateAckV1MessageRequest +*/ +func (a *DefaultApiService) RecoverUpdateAckV1Message(ctx context.Context) ApiRecoverUpdateAckV1MessageRequest { + return ApiRecoverUpdateAckV1MessageRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) RecoverUpdateAckV1MessageExecute(r ApiRecoverUpdateAckV1MessageRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RecoverUpdateAckV1Message") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/recoverupdateackmessage" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.recoverUpdateAckV1Message + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiRecoverUpdateV1MessageRequest struct { + ctx context.Context + ApiService *DefaultApiService + recoverUpdateV1Message *RecoverUpdateV1Message +} + +func (r ApiRecoverUpdateV1MessageRequest) RecoverUpdateV1Message(recoverUpdateV1Message RecoverUpdateV1Message) ApiRecoverUpdateV1MessageRequest { + r.recoverUpdateV1Message = &recoverUpdateV1Message + return r +} + +func (r ApiRecoverUpdateV1MessageRequest) Execute() (*http.Response, error) { + return r.ApiService.RecoverUpdateV1MessageExecute(r) +} + +/* +RecoverUpdateV1Message Method for RecoverUpdateV1Message + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRecoverUpdateV1MessageRequest +*/ +func (a *DefaultApiService) RecoverUpdateV1Message(ctx context.Context) ApiRecoverUpdateV1MessageRequest { + return ApiRecoverUpdateV1MessageRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) RecoverUpdateV1MessageExecute(r ApiRecoverUpdateV1MessageRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RecoverUpdateV1Message") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/recoverupdatemessage" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.recoverUpdateV1Message + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiRecoverV1MessageRequest struct { + ctx context.Context + ApiService *DefaultApiService + recoverV1Message *RecoverV1Message +} + +func (r ApiRecoverV1MessageRequest) RecoverV1Message(recoverV1Message RecoverV1Message) ApiRecoverV1MessageRequest { + r.recoverV1Message = &recoverV1Message + return r +} + +func (r ApiRecoverV1MessageRequest) Execute() (*http.Response, error) { + return r.ApiService.RecoverV1MessageExecute(r) +} + +/* +RecoverV1Message Method for RecoverV1Message + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRecoverV1MessageRequest +*/ +func (a *DefaultApiService) RecoverV1Message(ctx context.Context) ApiRecoverV1MessageRequest { + return ApiRecoverV1MessageRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) RecoverV1MessageExecute(r ApiRecoverV1MessageRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RecoverV1Message") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/recovermessage" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.recoverV1Message + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiRecoverV1SuccessRequest struct { + ctx context.Context + ApiService *DefaultApiService + recoverSuccessV1Message *RecoverSuccessV1Message +} + +func (r ApiRecoverV1SuccessRequest) RecoverSuccessV1Message(recoverSuccessV1Message RecoverSuccessV1Message) ApiRecoverV1SuccessRequest { + r.recoverSuccessV1Message = &recoverSuccessV1Message + return r +} + +func (r ApiRecoverV1SuccessRequest) Execute() (*http.Response, error) { + return r.ApiService.RecoverV1SuccessExecute(r) +} + +/* +RecoverV1Success Method for RecoverV1Success + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRecoverV1SuccessRequest +*/ +func (a *DefaultApiService) RecoverV1Success(ctx context.Context) ApiRecoverV1SuccessRequest { + return ApiRecoverV1SuccessRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) RecoverV1SuccessExecute(r ApiRecoverV1SuccessRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RecoverV1Success") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/recoversuccessmessage" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.recoverSuccessV1Message + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiRollbackAckV1MessageRequest struct { + ctx context.Context + ApiService *DefaultApiService + rollbackAckV1Message *RollbackAckV1Message +} + +func (r ApiRollbackAckV1MessageRequest) RollbackAckV1Message(rollbackAckV1Message RollbackAckV1Message) ApiRollbackAckV1MessageRequest { + r.rollbackAckV1Message = &rollbackAckV1Message + return r +} + +func (r ApiRollbackAckV1MessageRequest) Execute() (*http.Response, error) { + return r.ApiService.RollbackAckV1MessageExecute(r) +} + +/* +RollbackAckV1Message Method for RollbackAckV1Message + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRollbackAckV1MessageRequest +*/ +func (a *DefaultApiService) RollbackAckV1Message(ctx context.Context) ApiRollbackAckV1MessageRequest { + return ApiRollbackAckV1MessageRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) RollbackAckV1MessageExecute(r ApiRollbackAckV1MessageRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RollbackAckV1Message") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/rollbackackmessage" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.rollbackAckV1Message + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiRollbackV1MessageRequest struct { + ctx context.Context + ApiService *DefaultApiService + rollbackV1Message *RollbackV1Message +} + +func (r ApiRollbackV1MessageRequest) RollbackV1Message(rollbackV1Message RollbackV1Message) ApiRollbackV1MessageRequest { + r.rollbackV1Message = &rollbackV1Message + return r +} + +func (r ApiRollbackV1MessageRequest) Execute() (*http.Response, error) { + return r.ApiService.RollbackV1MessageExecute(r) +} + +/* +RollbackV1Message Method for RollbackV1Message + + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiRollbackV1MessageRequest +*/ +func (a *DefaultApiService) RollbackV1Message(ctx context.Context) ApiRollbackV1MessageRequest { + return ApiRollbackV1MessageRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DefaultApiService) RollbackV1MessageExecute(r ApiRollbackV1MessageRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.RollbackV1Message") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/@hyperledger/cactus-plugin-satp-hermes/rollbackmessage" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.rollbackV1Message + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/client.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/client.go new file mode 100644 index 00000000000..135ae1e9a6c --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/client.go @@ -0,0 +1,656 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) + queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) +) + +// APIClient manages communication with the Hyperledger Cactus Plugin - Odap Hermes API vv2.0.0-alpha.2 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + DefaultApi *DefaultApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.DefaultApi = (*DefaultApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +func parameterValueToString( obj interface{}, key string ) string { + if reflect.TypeOf(obj).Kind() != reflect.Ptr { + return fmt.Sprintf("%v", obj) + } + var param,ok = obj.(MappedNullable) + if !ok { + return "" + } + dataMap,err := param.ToMap() + if err != nil { + return "" + } + return fmt.Sprintf("%v", dataMap[key]) +} + +// parameterAddToHeaderOrQuery adds the provided object to the request header or url query +// supporting deep object syntax +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { + var v = reflect.ValueOf(obj) + var value = "" + if v == reflect.ValueOf(nil) { + value = "null" + } else { + switch v.Kind() { + case reflect.Invalid: + value = "invalid" + + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + return + } + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + return + } + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { + pieces := strings.Split(s, "=") + pieces[0] = queryDescape.Replace(pieces[0]) + return strings.Join(pieces, "=") + }) + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(*os.File); ok { + f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = f.Write(b) + if err != nil { + return + } + _, err = f.Seek(0, io.SeekStart) + return + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(*os.File); ok { + _, err = bodyBuf.ReadFrom(fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + str := "" + metaValue := reflect.ValueOf(v).Elem() + + if metaValue.Kind() == reflect.Struct { + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + } + + return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) +} diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/configuration.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/configuration.go new file mode 100644 index 00000000000..64a0f4dc15f --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/configuration.go @@ -0,0 +1,215 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "", + Description: "No description provided", + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/go.mod b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/go.mod new file mode 100644 index 00000000000..eb0c2317be6 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/go.mod @@ -0,0 +1,6 @@ +module github.com/hyperledger/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client + +go 1.18 + +require ( +) diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/go.sum b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/go.sum new file mode 100644 index 00000000000..c966c8ddfd0 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/go.sum @@ -0,0 +1,11 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_asset_profile.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_asset_profile.go new file mode 100644 index 00000000000..28f0d855af6 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_asset_profile.go @@ -0,0 +1,513 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the AssetProfile type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AssetProfile{} + +// AssetProfile struct for AssetProfile +type AssetProfile struct { + Issuer *string `json:"issuer,omitempty"` + AssetCode *string `json:"assetCode,omitempty"` + AssetCodeType *string `json:"assetCodeType,omitempty"` + IssuanceDate *string `json:"issuanceDate,omitempty"` + ExpirationDate string `json:"expirationDate"` + VerificationEndPoint *string `json:"verificationEndPoint,omitempty"` + DigitalSignature *string `json:"digitalSignature,omitempty"` + ProspectusLink *string `json:"prospectusLink,omitempty"` + KeyInformationLink []interface{} `json:"keyInformationLink,omitempty"` + KeyWord []interface{} `json:"keyWord,omitempty"` + TransferRestriction []interface{} `json:"transferRestriction,omitempty"` + LedgerRequirements []interface{} `json:"ledgerRequirements,omitempty"` +} + +// NewAssetProfile instantiates a new AssetProfile object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAssetProfile(expirationDate string) *AssetProfile { + this := AssetProfile{} + this.ExpirationDate = expirationDate + return &this +} + +// NewAssetProfileWithDefaults instantiates a new AssetProfile object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAssetProfileWithDefaults() *AssetProfile { + this := AssetProfile{} + return &this +} + +// GetIssuer returns the Issuer field value if set, zero value otherwise. +func (o *AssetProfile) GetIssuer() string { + if o == nil || IsNil(o.Issuer) { + var ret string + return ret + } + return *o.Issuer +} + +// GetIssuerOk returns a tuple with the Issuer field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetIssuerOk() (*string, bool) { + if o == nil || IsNil(o.Issuer) { + return nil, false + } + return o.Issuer, true +} + +// HasIssuer returns a boolean if a field has been set. +func (o *AssetProfile) HasIssuer() bool { + if o != nil && !IsNil(o.Issuer) { + return true + } + + return false +} + +// SetIssuer gets a reference to the given string and assigns it to the Issuer field. +func (o *AssetProfile) SetIssuer(v string) { + o.Issuer = &v +} + +// GetAssetCode returns the AssetCode field value if set, zero value otherwise. +func (o *AssetProfile) GetAssetCode() string { + if o == nil || IsNil(o.AssetCode) { + var ret string + return ret + } + return *o.AssetCode +} + +// GetAssetCodeOk returns a tuple with the AssetCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetAssetCodeOk() (*string, bool) { + if o == nil || IsNil(o.AssetCode) { + return nil, false + } + return o.AssetCode, true +} + +// HasAssetCode returns a boolean if a field has been set. +func (o *AssetProfile) HasAssetCode() bool { + if o != nil && !IsNil(o.AssetCode) { + return true + } + + return false +} + +// SetAssetCode gets a reference to the given string and assigns it to the AssetCode field. +func (o *AssetProfile) SetAssetCode(v string) { + o.AssetCode = &v +} + +// GetAssetCodeType returns the AssetCodeType field value if set, zero value otherwise. +func (o *AssetProfile) GetAssetCodeType() string { + if o == nil || IsNil(o.AssetCodeType) { + var ret string + return ret + } + return *o.AssetCodeType +} + +// GetAssetCodeTypeOk returns a tuple with the AssetCodeType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetAssetCodeTypeOk() (*string, bool) { + if o == nil || IsNil(o.AssetCodeType) { + return nil, false + } + return o.AssetCodeType, true +} + +// HasAssetCodeType returns a boolean if a field has been set. +func (o *AssetProfile) HasAssetCodeType() bool { + if o != nil && !IsNil(o.AssetCodeType) { + return true + } + + return false +} + +// SetAssetCodeType gets a reference to the given string and assigns it to the AssetCodeType field. +func (o *AssetProfile) SetAssetCodeType(v string) { + o.AssetCodeType = &v +} + +// GetIssuanceDate returns the IssuanceDate field value if set, zero value otherwise. +func (o *AssetProfile) GetIssuanceDate() string { + if o == nil || IsNil(o.IssuanceDate) { + var ret string + return ret + } + return *o.IssuanceDate +} + +// GetIssuanceDateOk returns a tuple with the IssuanceDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetIssuanceDateOk() (*string, bool) { + if o == nil || IsNil(o.IssuanceDate) { + return nil, false + } + return o.IssuanceDate, true +} + +// HasIssuanceDate returns a boolean if a field has been set. +func (o *AssetProfile) HasIssuanceDate() bool { + if o != nil && !IsNil(o.IssuanceDate) { + return true + } + + return false +} + +// SetIssuanceDate gets a reference to the given string and assigns it to the IssuanceDate field. +func (o *AssetProfile) SetIssuanceDate(v string) { + o.IssuanceDate = &v +} + +// GetExpirationDate returns the ExpirationDate field value +func (o *AssetProfile) GetExpirationDate() string { + if o == nil { + var ret string + return ret + } + + return o.ExpirationDate +} + +// GetExpirationDateOk returns a tuple with the ExpirationDate field value +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetExpirationDateOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ExpirationDate, true +} + +// SetExpirationDate sets field value +func (o *AssetProfile) SetExpirationDate(v string) { + o.ExpirationDate = v +} + +// GetVerificationEndPoint returns the VerificationEndPoint field value if set, zero value otherwise. +func (o *AssetProfile) GetVerificationEndPoint() string { + if o == nil || IsNil(o.VerificationEndPoint) { + var ret string + return ret + } + return *o.VerificationEndPoint +} + +// GetVerificationEndPointOk returns a tuple with the VerificationEndPoint field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetVerificationEndPointOk() (*string, bool) { + if o == nil || IsNil(o.VerificationEndPoint) { + return nil, false + } + return o.VerificationEndPoint, true +} + +// HasVerificationEndPoint returns a boolean if a field has been set. +func (o *AssetProfile) HasVerificationEndPoint() bool { + if o != nil && !IsNil(o.VerificationEndPoint) { + return true + } + + return false +} + +// SetVerificationEndPoint gets a reference to the given string and assigns it to the VerificationEndPoint field. +func (o *AssetProfile) SetVerificationEndPoint(v string) { + o.VerificationEndPoint = &v +} + +// GetDigitalSignature returns the DigitalSignature field value if set, zero value otherwise. +func (o *AssetProfile) GetDigitalSignature() string { + if o == nil || IsNil(o.DigitalSignature) { + var ret string + return ret + } + return *o.DigitalSignature +} + +// GetDigitalSignatureOk returns a tuple with the DigitalSignature field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetDigitalSignatureOk() (*string, bool) { + if o == nil || IsNil(o.DigitalSignature) { + return nil, false + } + return o.DigitalSignature, true +} + +// HasDigitalSignature returns a boolean if a field has been set. +func (o *AssetProfile) HasDigitalSignature() bool { + if o != nil && !IsNil(o.DigitalSignature) { + return true + } + + return false +} + +// SetDigitalSignature gets a reference to the given string and assigns it to the DigitalSignature field. +func (o *AssetProfile) SetDigitalSignature(v string) { + o.DigitalSignature = &v +} + +// GetProspectusLink returns the ProspectusLink field value if set, zero value otherwise. +func (o *AssetProfile) GetProspectusLink() string { + if o == nil || IsNil(o.ProspectusLink) { + var ret string + return ret + } + return *o.ProspectusLink +} + +// GetProspectusLinkOk returns a tuple with the ProspectusLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetProspectusLinkOk() (*string, bool) { + if o == nil || IsNil(o.ProspectusLink) { + return nil, false + } + return o.ProspectusLink, true +} + +// HasProspectusLink returns a boolean if a field has been set. +func (o *AssetProfile) HasProspectusLink() bool { + if o != nil && !IsNil(o.ProspectusLink) { + return true + } + + return false +} + +// SetProspectusLink gets a reference to the given string and assigns it to the ProspectusLink field. +func (o *AssetProfile) SetProspectusLink(v string) { + o.ProspectusLink = &v +} + +// GetKeyInformationLink returns the KeyInformationLink field value if set, zero value otherwise. +func (o *AssetProfile) GetKeyInformationLink() []interface{} { + if o == nil || IsNil(o.KeyInformationLink) { + var ret []interface{} + return ret + } + return o.KeyInformationLink +} + +// GetKeyInformationLinkOk returns a tuple with the KeyInformationLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetKeyInformationLinkOk() ([]interface{}, bool) { + if o == nil || IsNil(o.KeyInformationLink) { + return nil, false + } + return o.KeyInformationLink, true +} + +// HasKeyInformationLink returns a boolean if a field has been set. +func (o *AssetProfile) HasKeyInformationLink() bool { + if o != nil && !IsNil(o.KeyInformationLink) { + return true + } + + return false +} + +// SetKeyInformationLink gets a reference to the given []interface{} and assigns it to the KeyInformationLink field. +func (o *AssetProfile) SetKeyInformationLink(v []interface{}) { + o.KeyInformationLink = v +} + +// GetKeyWord returns the KeyWord field value if set, zero value otherwise. +func (o *AssetProfile) GetKeyWord() []interface{} { + if o == nil || IsNil(o.KeyWord) { + var ret []interface{} + return ret + } + return o.KeyWord +} + +// GetKeyWordOk returns a tuple with the KeyWord field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetKeyWordOk() ([]interface{}, bool) { + if o == nil || IsNil(o.KeyWord) { + return nil, false + } + return o.KeyWord, true +} + +// HasKeyWord returns a boolean if a field has been set. +func (o *AssetProfile) HasKeyWord() bool { + if o != nil && !IsNil(o.KeyWord) { + return true + } + + return false +} + +// SetKeyWord gets a reference to the given []interface{} and assigns it to the KeyWord field. +func (o *AssetProfile) SetKeyWord(v []interface{}) { + o.KeyWord = v +} + +// GetTransferRestriction returns the TransferRestriction field value if set, zero value otherwise. +func (o *AssetProfile) GetTransferRestriction() []interface{} { + if o == nil || IsNil(o.TransferRestriction) { + var ret []interface{} + return ret + } + return o.TransferRestriction +} + +// GetTransferRestrictionOk returns a tuple with the TransferRestriction field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetTransferRestrictionOk() ([]interface{}, bool) { + if o == nil || IsNil(o.TransferRestriction) { + return nil, false + } + return o.TransferRestriction, true +} + +// HasTransferRestriction returns a boolean if a field has been set. +func (o *AssetProfile) HasTransferRestriction() bool { + if o != nil && !IsNil(o.TransferRestriction) { + return true + } + + return false +} + +// SetTransferRestriction gets a reference to the given []interface{} and assigns it to the TransferRestriction field. +func (o *AssetProfile) SetTransferRestriction(v []interface{}) { + o.TransferRestriction = v +} + +// GetLedgerRequirements returns the LedgerRequirements field value if set, zero value otherwise. +func (o *AssetProfile) GetLedgerRequirements() []interface{} { + if o == nil || IsNil(o.LedgerRequirements) { + var ret []interface{} + return ret + } + return o.LedgerRequirements +} + +// GetLedgerRequirementsOk returns a tuple with the LedgerRequirements field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssetProfile) GetLedgerRequirementsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.LedgerRequirements) { + return nil, false + } + return o.LedgerRequirements, true +} + +// HasLedgerRequirements returns a boolean if a field has been set. +func (o *AssetProfile) HasLedgerRequirements() bool { + if o != nil && !IsNil(o.LedgerRequirements) { + return true + } + + return false +} + +// SetLedgerRequirements gets a reference to the given []interface{} and assigns it to the LedgerRequirements field. +func (o *AssetProfile) SetLedgerRequirements(v []interface{}) { + o.LedgerRequirements = v +} + +func (o AssetProfile) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AssetProfile) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Issuer) { + toSerialize["issuer"] = o.Issuer + } + if !IsNil(o.AssetCode) { + toSerialize["assetCode"] = o.AssetCode + } + if !IsNil(o.AssetCodeType) { + toSerialize["assetCodeType"] = o.AssetCodeType + } + if !IsNil(o.IssuanceDate) { + toSerialize["issuanceDate"] = o.IssuanceDate + } + toSerialize["expirationDate"] = o.ExpirationDate + if !IsNil(o.VerificationEndPoint) { + toSerialize["verificationEndPoint"] = o.VerificationEndPoint + } + if !IsNil(o.DigitalSignature) { + toSerialize["digitalSignature"] = o.DigitalSignature + } + if !IsNil(o.ProspectusLink) { + toSerialize["prospectusLink"] = o.ProspectusLink + } + if !IsNil(o.KeyInformationLink) { + toSerialize["keyInformationLink"] = o.KeyInformationLink + } + if !IsNil(o.KeyWord) { + toSerialize["keyWord"] = o.KeyWord + } + if !IsNil(o.TransferRestriction) { + toSerialize["transferRestriction"] = o.TransferRestriction + } + if !IsNil(o.LedgerRequirements) { + toSerialize["ledgerRequirements"] = o.LedgerRequirements + } + return toSerialize, nil +} + +type NullableAssetProfile struct { + value *AssetProfile + isSet bool +} + +func (v NullableAssetProfile) Get() *AssetProfile { + return v.value +} + +func (v *NullableAssetProfile) Set(val *AssetProfile) { + v.value = val + v.isSet = true +} + +func (v NullableAssetProfile) IsSet() bool { + return v.isSet +} + +func (v *NullableAssetProfile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAssetProfile(val *AssetProfile) *NullableAssetProfile { + return &NullableAssetProfile{value: val, isSet: true} +} + +func (v NullableAssetProfile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAssetProfile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_client_v1_request.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_client_v1_request.go new file mode 100644 index 00000000000..f0a88af336e --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_client_v1_request.go @@ -0,0 +1,684 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the ClientV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ClientV1Request{} + +// ClientV1Request struct for ClientV1Request +type ClientV1Request struct { + Version string `json:"version"` + LoggingProfile string `json:"loggingProfile"` + AccessControlProfile string `json:"accessControlProfile"` + AssetControlProfile string `json:"assetControlProfile"` + ApplicationProfile string `json:"applicationProfile"` + AssetProfile AssetProfile `json:"assetProfile"` + PayloadProfile PayloadProfile `json:"payloadProfile"` + SourceGatewayDltSystem string `json:"sourceGatewayDltSystem"` + RecipientGatewayDltSystem string `json:"recipientGatewayDltSystem"` + RecipientGatewayPubkey string `json:"recipientGatewayPubkey"` + OriginatorPubkey string `json:"originatorPubkey"` + BeneficiaryPubkey string `json:"beneficiaryPubkey"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + ClientDltSystem string `json:"clientDltSystem"` + ServerDltSystem string `json:"serverDltSystem"` + ClientGatewayConfiguration ClientV1RequestClientGatewayConfiguration `json:"clientGatewayConfiguration"` + ServerGatewayConfiguration ClientV1RequestClientGatewayConfiguration `json:"serverGatewayConfiguration"` + MaxRetries float32 `json:"maxRetries"` + MaxTimeout float32 `json:"maxTimeout"` + SourceLedgerAssetID string `json:"sourceLedgerAssetID"` + RecipientLedgerAssetID string `json:"recipientLedgerAssetID"` +} + +// NewClientV1Request instantiates a new ClientV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewClientV1Request(version string, loggingProfile string, accessControlProfile string, assetControlProfile string, applicationProfile string, assetProfile AssetProfile, payloadProfile PayloadProfile, sourceGatewayDltSystem string, recipientGatewayDltSystem string, recipientGatewayPubkey string, originatorPubkey string, beneficiaryPubkey string, clientIdentityPubkey string, serverIdentityPubkey string, clientDltSystem string, serverDltSystem string, clientGatewayConfiguration ClientV1RequestClientGatewayConfiguration, serverGatewayConfiguration ClientV1RequestClientGatewayConfiguration, maxRetries float32, maxTimeout float32, sourceLedgerAssetID string, recipientLedgerAssetID string) *ClientV1Request { + this := ClientV1Request{} + this.Version = version + this.LoggingProfile = loggingProfile + this.AccessControlProfile = accessControlProfile + this.AssetControlProfile = assetControlProfile + this.ApplicationProfile = applicationProfile + this.AssetProfile = assetProfile + this.PayloadProfile = payloadProfile + this.SourceGatewayDltSystem = sourceGatewayDltSystem + this.RecipientGatewayDltSystem = recipientGatewayDltSystem + this.RecipientGatewayPubkey = recipientGatewayPubkey + this.OriginatorPubkey = originatorPubkey + this.BeneficiaryPubkey = beneficiaryPubkey + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.ClientDltSystem = clientDltSystem + this.ServerDltSystem = serverDltSystem + this.ClientGatewayConfiguration = clientGatewayConfiguration + this.ServerGatewayConfiguration = serverGatewayConfiguration + this.MaxRetries = maxRetries + this.MaxTimeout = maxTimeout + this.SourceLedgerAssetID = sourceLedgerAssetID + this.RecipientLedgerAssetID = recipientLedgerAssetID + return &this +} + +// NewClientV1RequestWithDefaults instantiates a new ClientV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewClientV1RequestWithDefaults() *ClientV1Request { + this := ClientV1Request{} + return &this +} + +// GetVersion returns the Version field value +func (o *ClientV1Request) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *ClientV1Request) SetVersion(v string) { + o.Version = v +} + +// GetLoggingProfile returns the LoggingProfile field value +func (o *ClientV1Request) GetLoggingProfile() string { + if o == nil { + var ret string + return ret + } + + return o.LoggingProfile +} + +// GetLoggingProfileOk returns a tuple with the LoggingProfile field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetLoggingProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.LoggingProfile, true +} + +// SetLoggingProfile sets field value +func (o *ClientV1Request) SetLoggingProfile(v string) { + o.LoggingProfile = v +} + +// GetAccessControlProfile returns the AccessControlProfile field value +func (o *ClientV1Request) GetAccessControlProfile() string { + if o == nil { + var ret string + return ret + } + + return o.AccessControlProfile +} + +// GetAccessControlProfileOk returns a tuple with the AccessControlProfile field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetAccessControlProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AccessControlProfile, true +} + +// SetAccessControlProfile sets field value +func (o *ClientV1Request) SetAccessControlProfile(v string) { + o.AccessControlProfile = v +} + +// GetAssetControlProfile returns the AssetControlProfile field value +func (o *ClientV1Request) GetAssetControlProfile() string { + if o == nil { + var ret string + return ret + } + + return o.AssetControlProfile +} + +// GetAssetControlProfileOk returns a tuple with the AssetControlProfile field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetAssetControlProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AssetControlProfile, true +} + +// SetAssetControlProfile sets field value +func (o *ClientV1Request) SetAssetControlProfile(v string) { + o.AssetControlProfile = v +} + +// GetApplicationProfile returns the ApplicationProfile field value +func (o *ClientV1Request) GetApplicationProfile() string { + if o == nil { + var ret string + return ret + } + + return o.ApplicationProfile +} + +// GetApplicationProfileOk returns a tuple with the ApplicationProfile field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetApplicationProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApplicationProfile, true +} + +// SetApplicationProfile sets field value +func (o *ClientV1Request) SetApplicationProfile(v string) { + o.ApplicationProfile = v +} + +// GetAssetProfile returns the AssetProfile field value +func (o *ClientV1Request) GetAssetProfile() AssetProfile { + if o == nil { + var ret AssetProfile + return ret + } + + return o.AssetProfile +} + +// GetAssetProfileOk returns a tuple with the AssetProfile field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetAssetProfileOk() (*AssetProfile, bool) { + if o == nil { + return nil, false + } + return &o.AssetProfile, true +} + +// SetAssetProfile sets field value +func (o *ClientV1Request) SetAssetProfile(v AssetProfile) { + o.AssetProfile = v +} + +// GetPayloadProfile returns the PayloadProfile field value +func (o *ClientV1Request) GetPayloadProfile() PayloadProfile { + if o == nil { + var ret PayloadProfile + return ret + } + + return o.PayloadProfile +} + +// GetPayloadProfileOk returns a tuple with the PayloadProfile field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetPayloadProfileOk() (*PayloadProfile, bool) { + if o == nil { + return nil, false + } + return &o.PayloadProfile, true +} + +// SetPayloadProfile sets field value +func (o *ClientV1Request) SetPayloadProfile(v PayloadProfile) { + o.PayloadProfile = v +} + +// GetSourceGatewayDltSystem returns the SourceGatewayDltSystem field value +func (o *ClientV1Request) GetSourceGatewayDltSystem() string { + if o == nil { + var ret string + return ret + } + + return o.SourceGatewayDltSystem +} + +// GetSourceGatewayDltSystemOk returns a tuple with the SourceGatewayDltSystem field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetSourceGatewayDltSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SourceGatewayDltSystem, true +} + +// SetSourceGatewayDltSystem sets field value +func (o *ClientV1Request) SetSourceGatewayDltSystem(v string) { + o.SourceGatewayDltSystem = v +} + +// GetRecipientGatewayDltSystem returns the RecipientGatewayDltSystem field value +func (o *ClientV1Request) GetRecipientGatewayDltSystem() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientGatewayDltSystem +} + +// GetRecipientGatewayDltSystemOk returns a tuple with the RecipientGatewayDltSystem field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetRecipientGatewayDltSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientGatewayDltSystem, true +} + +// SetRecipientGatewayDltSystem sets field value +func (o *ClientV1Request) SetRecipientGatewayDltSystem(v string) { + o.RecipientGatewayDltSystem = v +} + +// GetRecipientGatewayPubkey returns the RecipientGatewayPubkey field value +func (o *ClientV1Request) GetRecipientGatewayPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientGatewayPubkey +} + +// GetRecipientGatewayPubkeyOk returns a tuple with the RecipientGatewayPubkey field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetRecipientGatewayPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientGatewayPubkey, true +} + +// SetRecipientGatewayPubkey sets field value +func (o *ClientV1Request) SetRecipientGatewayPubkey(v string) { + o.RecipientGatewayPubkey = v +} + +// GetOriginatorPubkey returns the OriginatorPubkey field value +func (o *ClientV1Request) GetOriginatorPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.OriginatorPubkey +} + +// GetOriginatorPubkeyOk returns a tuple with the OriginatorPubkey field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetOriginatorPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OriginatorPubkey, true +} + +// SetOriginatorPubkey sets field value +func (o *ClientV1Request) SetOriginatorPubkey(v string) { + o.OriginatorPubkey = v +} + +// GetBeneficiaryPubkey returns the BeneficiaryPubkey field value +func (o *ClientV1Request) GetBeneficiaryPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.BeneficiaryPubkey +} + +// GetBeneficiaryPubkeyOk returns a tuple with the BeneficiaryPubkey field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetBeneficiaryPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BeneficiaryPubkey, true +} + +// SetBeneficiaryPubkey sets field value +func (o *ClientV1Request) SetBeneficiaryPubkey(v string) { + o.BeneficiaryPubkey = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *ClientV1Request) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *ClientV1Request) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *ClientV1Request) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *ClientV1Request) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetClientDltSystem returns the ClientDltSystem field value +func (o *ClientV1Request) GetClientDltSystem() string { + if o == nil { + var ret string + return ret + } + + return o.ClientDltSystem +} + +// GetClientDltSystemOk returns a tuple with the ClientDltSystem field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetClientDltSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientDltSystem, true +} + +// SetClientDltSystem sets field value +func (o *ClientV1Request) SetClientDltSystem(v string) { + o.ClientDltSystem = v +} + +// GetServerDltSystem returns the ServerDltSystem field value +func (o *ClientV1Request) GetServerDltSystem() string { + if o == nil { + var ret string + return ret + } + + return o.ServerDltSystem +} + +// GetServerDltSystemOk returns a tuple with the ServerDltSystem field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetServerDltSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerDltSystem, true +} + +// SetServerDltSystem sets field value +func (o *ClientV1Request) SetServerDltSystem(v string) { + o.ServerDltSystem = v +} + +// GetClientGatewayConfiguration returns the ClientGatewayConfiguration field value +func (o *ClientV1Request) GetClientGatewayConfiguration() ClientV1RequestClientGatewayConfiguration { + if o == nil { + var ret ClientV1RequestClientGatewayConfiguration + return ret + } + + return o.ClientGatewayConfiguration +} + +// GetClientGatewayConfigurationOk returns a tuple with the ClientGatewayConfiguration field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetClientGatewayConfigurationOk() (*ClientV1RequestClientGatewayConfiguration, bool) { + if o == nil { + return nil, false + } + return &o.ClientGatewayConfiguration, true +} + +// SetClientGatewayConfiguration sets field value +func (o *ClientV1Request) SetClientGatewayConfiguration(v ClientV1RequestClientGatewayConfiguration) { + o.ClientGatewayConfiguration = v +} + +// GetServerGatewayConfiguration returns the ServerGatewayConfiguration field value +func (o *ClientV1Request) GetServerGatewayConfiguration() ClientV1RequestClientGatewayConfiguration { + if o == nil { + var ret ClientV1RequestClientGatewayConfiguration + return ret + } + + return o.ServerGatewayConfiguration +} + +// GetServerGatewayConfigurationOk returns a tuple with the ServerGatewayConfiguration field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetServerGatewayConfigurationOk() (*ClientV1RequestClientGatewayConfiguration, bool) { + if o == nil { + return nil, false + } + return &o.ServerGatewayConfiguration, true +} + +// SetServerGatewayConfiguration sets field value +func (o *ClientV1Request) SetServerGatewayConfiguration(v ClientV1RequestClientGatewayConfiguration) { + o.ServerGatewayConfiguration = v +} + +// GetMaxRetries returns the MaxRetries field value +func (o *ClientV1Request) GetMaxRetries() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.MaxRetries +} + +// GetMaxRetriesOk returns a tuple with the MaxRetries field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetMaxRetriesOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.MaxRetries, true +} + +// SetMaxRetries sets field value +func (o *ClientV1Request) SetMaxRetries(v float32) { + o.MaxRetries = v +} + +// GetMaxTimeout returns the MaxTimeout field value +func (o *ClientV1Request) GetMaxTimeout() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.MaxTimeout +} + +// GetMaxTimeoutOk returns a tuple with the MaxTimeout field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetMaxTimeoutOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.MaxTimeout, true +} + +// SetMaxTimeout sets field value +func (o *ClientV1Request) SetMaxTimeout(v float32) { + o.MaxTimeout = v +} + +// GetSourceLedgerAssetID returns the SourceLedgerAssetID field value +func (o *ClientV1Request) GetSourceLedgerAssetID() string { + if o == nil { + var ret string + return ret + } + + return o.SourceLedgerAssetID +} + +// GetSourceLedgerAssetIDOk returns a tuple with the SourceLedgerAssetID field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetSourceLedgerAssetIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SourceLedgerAssetID, true +} + +// SetSourceLedgerAssetID sets field value +func (o *ClientV1Request) SetSourceLedgerAssetID(v string) { + o.SourceLedgerAssetID = v +} + +// GetRecipientLedgerAssetID returns the RecipientLedgerAssetID field value +func (o *ClientV1Request) GetRecipientLedgerAssetID() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientLedgerAssetID +} + +// GetRecipientLedgerAssetIDOk returns a tuple with the RecipientLedgerAssetID field value +// and a boolean to check if the value has been set. +func (o *ClientV1Request) GetRecipientLedgerAssetIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientLedgerAssetID, true +} + +// SetRecipientLedgerAssetID sets field value +func (o *ClientV1Request) SetRecipientLedgerAssetID(v string) { + o.RecipientLedgerAssetID = v +} + +func (o ClientV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ClientV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["version"] = o.Version + toSerialize["loggingProfile"] = o.LoggingProfile + toSerialize["accessControlProfile"] = o.AccessControlProfile + toSerialize["assetControlProfile"] = o.AssetControlProfile + toSerialize["applicationProfile"] = o.ApplicationProfile + toSerialize["assetProfile"] = o.AssetProfile + toSerialize["payloadProfile"] = o.PayloadProfile + toSerialize["sourceGatewayDltSystem"] = o.SourceGatewayDltSystem + toSerialize["recipientGatewayDltSystem"] = o.RecipientGatewayDltSystem + toSerialize["recipientGatewayPubkey"] = o.RecipientGatewayPubkey + toSerialize["originatorPubkey"] = o.OriginatorPubkey + toSerialize["beneficiaryPubkey"] = o.BeneficiaryPubkey + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["clientDltSystem"] = o.ClientDltSystem + toSerialize["serverDltSystem"] = o.ServerDltSystem + toSerialize["clientGatewayConfiguration"] = o.ClientGatewayConfiguration + toSerialize["serverGatewayConfiguration"] = o.ServerGatewayConfiguration + toSerialize["maxRetries"] = o.MaxRetries + toSerialize["maxTimeout"] = o.MaxTimeout + toSerialize["sourceLedgerAssetID"] = o.SourceLedgerAssetID + toSerialize["recipientLedgerAssetID"] = o.RecipientLedgerAssetID + return toSerialize, nil +} + +type NullableClientV1Request struct { + value *ClientV1Request + isSet bool +} + +func (v NullableClientV1Request) Get() *ClientV1Request { + return v.value +} + +func (v *NullableClientV1Request) Set(val *ClientV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableClientV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableClientV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableClientV1Request(val *ClientV1Request) *NullableClientV1Request { + return &NullableClientV1Request{value: val, isSet: true} +} + +func (v NullableClientV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableClientV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_client_v1_request_client_gateway_configuration.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_client_v1_request_client_gateway_configuration.go new file mode 100644 index 00000000000..e96b375b88f --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_client_v1_request_client_gateway_configuration.go @@ -0,0 +1,117 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the ClientV1RequestClientGatewayConfiguration type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ClientV1RequestClientGatewayConfiguration{} + +// ClientV1RequestClientGatewayConfiguration struct for ClientV1RequestClientGatewayConfiguration +type ClientV1RequestClientGatewayConfiguration struct { + ApiHost string `json:"apiHost"` +} + +// NewClientV1RequestClientGatewayConfiguration instantiates a new ClientV1RequestClientGatewayConfiguration object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewClientV1RequestClientGatewayConfiguration(apiHost string) *ClientV1RequestClientGatewayConfiguration { + this := ClientV1RequestClientGatewayConfiguration{} + this.ApiHost = apiHost + return &this +} + +// NewClientV1RequestClientGatewayConfigurationWithDefaults instantiates a new ClientV1RequestClientGatewayConfiguration object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewClientV1RequestClientGatewayConfigurationWithDefaults() *ClientV1RequestClientGatewayConfiguration { + this := ClientV1RequestClientGatewayConfiguration{} + return &this +} + +// GetApiHost returns the ApiHost field value +func (o *ClientV1RequestClientGatewayConfiguration) GetApiHost() string { + if o == nil { + var ret string + return ret + } + + return o.ApiHost +} + +// GetApiHostOk returns a tuple with the ApiHost field value +// and a boolean to check if the value has been set. +func (o *ClientV1RequestClientGatewayConfiguration) GetApiHostOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiHost, true +} + +// SetApiHost sets field value +func (o *ClientV1RequestClientGatewayConfiguration) SetApiHost(v string) { + o.ApiHost = v +} + +func (o ClientV1RequestClientGatewayConfiguration) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ClientV1RequestClientGatewayConfiguration) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["apiHost"] = o.ApiHost + return toSerialize, nil +} + +type NullableClientV1RequestClientGatewayConfiguration struct { + value *ClientV1RequestClientGatewayConfiguration + isSet bool +} + +func (v NullableClientV1RequestClientGatewayConfiguration) Get() *ClientV1RequestClientGatewayConfiguration { + return v.value +} + +func (v *NullableClientV1RequestClientGatewayConfiguration) Set(val *ClientV1RequestClientGatewayConfiguration) { + v.value = val + v.isSet = true +} + +func (v NullableClientV1RequestClientGatewayConfiguration) IsSet() bool { + return v.isSet +} + +func (v *NullableClientV1RequestClientGatewayConfiguration) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableClientV1RequestClientGatewayConfiguration(val *ClientV1RequestClientGatewayConfiguration) *NullableClientV1RequestClientGatewayConfiguration { + return &NullableClientV1RequestClientGatewayConfiguration{value: val, isSet: true} +} + +func (v NullableClientV1RequestClientGatewayConfiguration) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableClientV1RequestClientGatewayConfiguration) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_final_v1_request.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_final_v1_request.go new file mode 100644 index 00000000000..41dae321e9b --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_final_v1_request.go @@ -0,0 +1,388 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the CommitFinalV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CommitFinalV1Request{} + +// CommitFinalV1Request struct for CommitFinalV1Request +type CommitFinalV1Request struct { + SessionID string `json:"sessionID"` + MessageType string `json:"messageType"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + CommitFinalClaim string `json:"commitFinalClaim"` + CommitFinalClaimFormat map[string]interface{} `json:"commitFinalClaimFormat,omitempty"` + HashCommitPrepareAck string `json:"hashCommitPrepareAck"` + ClientTransferNumber NullableInt32 `json:"clientTransferNumber,omitempty"` + Signature string `json:"signature"` + SequenceNumber float32 `json:"sequenceNumber"` +} + +// NewCommitFinalV1Request instantiates a new CommitFinalV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCommitFinalV1Request(sessionID string, messageType string, clientIdentityPubkey string, serverIdentityPubkey string, commitFinalClaim string, hashCommitPrepareAck string, signature string, sequenceNumber float32) *CommitFinalV1Request { + this := CommitFinalV1Request{} + this.SessionID = sessionID + this.MessageType = messageType + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.CommitFinalClaim = commitFinalClaim + this.HashCommitPrepareAck = hashCommitPrepareAck + this.Signature = signature + this.SequenceNumber = sequenceNumber + return &this +} + +// NewCommitFinalV1RequestWithDefaults instantiates a new CommitFinalV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommitFinalV1RequestWithDefaults() *CommitFinalV1Request { + this := CommitFinalV1Request{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *CommitFinalV1Request) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Request) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *CommitFinalV1Request) SetSessionID(v string) { + o.SessionID = v +} + +// GetMessageType returns the MessageType field value +func (o *CommitFinalV1Request) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Request) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *CommitFinalV1Request) SetMessageType(v string) { + o.MessageType = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *CommitFinalV1Request) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Request) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *CommitFinalV1Request) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *CommitFinalV1Request) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Request) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *CommitFinalV1Request) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetCommitFinalClaim returns the CommitFinalClaim field value +func (o *CommitFinalV1Request) GetCommitFinalClaim() string { + if o == nil { + var ret string + return ret + } + + return o.CommitFinalClaim +} + +// GetCommitFinalClaimOk returns a tuple with the CommitFinalClaim field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Request) GetCommitFinalClaimOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CommitFinalClaim, true +} + +// SetCommitFinalClaim sets field value +func (o *CommitFinalV1Request) SetCommitFinalClaim(v string) { + o.CommitFinalClaim = v +} + +// GetCommitFinalClaimFormat returns the CommitFinalClaimFormat field value if set, zero value otherwise. +func (o *CommitFinalV1Request) GetCommitFinalClaimFormat() map[string]interface{} { + if o == nil || IsNil(o.CommitFinalClaimFormat) { + var ret map[string]interface{} + return ret + } + return o.CommitFinalClaimFormat +} + +// GetCommitFinalClaimFormatOk returns a tuple with the CommitFinalClaimFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Request) GetCommitFinalClaimFormatOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CommitFinalClaimFormat) { + return map[string]interface{}{}, false + } + return o.CommitFinalClaimFormat, true +} + +// HasCommitFinalClaimFormat returns a boolean if a field has been set. +func (o *CommitFinalV1Request) HasCommitFinalClaimFormat() bool { + if o != nil && !IsNil(o.CommitFinalClaimFormat) { + return true + } + + return false +} + +// SetCommitFinalClaimFormat gets a reference to the given map[string]interface{} and assigns it to the CommitFinalClaimFormat field. +func (o *CommitFinalV1Request) SetCommitFinalClaimFormat(v map[string]interface{}) { + o.CommitFinalClaimFormat = v +} + +// GetHashCommitPrepareAck returns the HashCommitPrepareAck field value +func (o *CommitFinalV1Request) GetHashCommitPrepareAck() string { + if o == nil { + var ret string + return ret + } + + return o.HashCommitPrepareAck +} + +// GetHashCommitPrepareAckOk returns a tuple with the HashCommitPrepareAck field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Request) GetHashCommitPrepareAckOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashCommitPrepareAck, true +} + +// SetHashCommitPrepareAck sets field value +func (o *CommitFinalV1Request) SetHashCommitPrepareAck(v string) { + o.HashCommitPrepareAck = v +} + +// GetClientTransferNumber returns the ClientTransferNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommitFinalV1Request) GetClientTransferNumber() int32 { + if o == nil || IsNil(o.ClientTransferNumber.Get()) { + var ret int32 + return ret + } + return *o.ClientTransferNumber.Get() +} + +// GetClientTransferNumberOk returns a tuple with the ClientTransferNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommitFinalV1Request) GetClientTransferNumberOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.ClientTransferNumber.Get(), o.ClientTransferNumber.IsSet() +} + +// HasClientTransferNumber returns a boolean if a field has been set. +func (o *CommitFinalV1Request) HasClientTransferNumber() bool { + if o != nil && o.ClientTransferNumber.IsSet() { + return true + } + + return false +} + +// SetClientTransferNumber gets a reference to the given NullableInt32 and assigns it to the ClientTransferNumber field. +func (o *CommitFinalV1Request) SetClientTransferNumber(v int32) { + o.ClientTransferNumber.Set(&v) +} +// SetClientTransferNumberNil sets the value for ClientTransferNumber to be an explicit nil +func (o *CommitFinalV1Request) SetClientTransferNumberNil() { + o.ClientTransferNumber.Set(nil) +} + +// UnsetClientTransferNumber ensures that no value is present for ClientTransferNumber, not even an explicit nil +func (o *CommitFinalV1Request) UnsetClientTransferNumber() { + o.ClientTransferNumber.Unset() +} + +// GetSignature returns the Signature field value +func (o *CommitFinalV1Request) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Request) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *CommitFinalV1Request) SetSignature(v string) { + o.Signature = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *CommitFinalV1Request) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Request) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *CommitFinalV1Request) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +func (o CommitFinalV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CommitFinalV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["messageType"] = o.MessageType + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["commitFinalClaim"] = o.CommitFinalClaim + if !IsNil(o.CommitFinalClaimFormat) { + toSerialize["commitFinalClaimFormat"] = o.CommitFinalClaimFormat + } + toSerialize["hashCommitPrepareAck"] = o.HashCommitPrepareAck + if o.ClientTransferNumber.IsSet() { + toSerialize["clientTransferNumber"] = o.ClientTransferNumber.Get() + } + toSerialize["signature"] = o.Signature + toSerialize["sequenceNumber"] = o.SequenceNumber + return toSerialize, nil +} + +type NullableCommitFinalV1Request struct { + value *CommitFinalV1Request + isSet bool +} + +func (v NullableCommitFinalV1Request) Get() *CommitFinalV1Request { + return v.value +} + +func (v *NullableCommitFinalV1Request) Set(val *CommitFinalV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableCommitFinalV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableCommitFinalV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommitFinalV1Request(val *CommitFinalV1Request) *NullableCommitFinalV1Request { + return &NullableCommitFinalV1Request{value: val, isSet: true} +} + +func (v NullableCommitFinalV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommitFinalV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_final_v1_response.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_final_v1_response.go new file mode 100644 index 00000000000..3055d4a8dcd --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_final_v1_response.go @@ -0,0 +1,378 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the CommitFinalV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CommitFinalV1Response{} + +// CommitFinalV1Response struct for CommitFinalV1Response +type CommitFinalV1Response struct { + SessionID string `json:"sessionID"` + MessageType string `json:"messageType"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + CommitAcknowledgementClaim string `json:"commitAcknowledgementClaim"` + CommitAcknowledgementClaimFormat map[string]interface{} `json:"commitAcknowledgementClaimFormat,omitempty"` + HashCommitFinal string `json:"hashCommitFinal"` + ServerTransferNumber *int32 `json:"serverTransferNumber,omitempty"` + Signature string `json:"signature"` + SequenceNumber float32 `json:"sequenceNumber"` +} + +// NewCommitFinalV1Response instantiates a new CommitFinalV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCommitFinalV1Response(sessionID string, messageType string, clientIdentityPubkey string, serverIdentityPubkey string, commitAcknowledgementClaim string, hashCommitFinal string, signature string, sequenceNumber float32) *CommitFinalV1Response { + this := CommitFinalV1Response{} + this.SessionID = sessionID + this.MessageType = messageType + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.CommitAcknowledgementClaim = commitAcknowledgementClaim + this.HashCommitFinal = hashCommitFinal + this.Signature = signature + this.SequenceNumber = sequenceNumber + return &this +} + +// NewCommitFinalV1ResponseWithDefaults instantiates a new CommitFinalV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommitFinalV1ResponseWithDefaults() *CommitFinalV1Response { + this := CommitFinalV1Response{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *CommitFinalV1Response) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *CommitFinalV1Response) SetSessionID(v string) { + o.SessionID = v +} + +// GetMessageType returns the MessageType field value +func (o *CommitFinalV1Response) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *CommitFinalV1Response) SetMessageType(v string) { + o.MessageType = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *CommitFinalV1Response) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *CommitFinalV1Response) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *CommitFinalV1Response) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *CommitFinalV1Response) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetCommitAcknowledgementClaim returns the CommitAcknowledgementClaim field value +func (o *CommitFinalV1Response) GetCommitAcknowledgementClaim() string { + if o == nil { + var ret string + return ret + } + + return o.CommitAcknowledgementClaim +} + +// GetCommitAcknowledgementClaimOk returns a tuple with the CommitAcknowledgementClaim field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetCommitAcknowledgementClaimOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CommitAcknowledgementClaim, true +} + +// SetCommitAcknowledgementClaim sets field value +func (o *CommitFinalV1Response) SetCommitAcknowledgementClaim(v string) { + o.CommitAcknowledgementClaim = v +} + +// GetCommitAcknowledgementClaimFormat returns the CommitAcknowledgementClaimFormat field value if set, zero value otherwise. +func (o *CommitFinalV1Response) GetCommitAcknowledgementClaimFormat() map[string]interface{} { + if o == nil || IsNil(o.CommitAcknowledgementClaimFormat) { + var ret map[string]interface{} + return ret + } + return o.CommitAcknowledgementClaimFormat +} + +// GetCommitAcknowledgementClaimFormatOk returns a tuple with the CommitAcknowledgementClaimFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetCommitAcknowledgementClaimFormatOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CommitAcknowledgementClaimFormat) { + return map[string]interface{}{}, false + } + return o.CommitAcknowledgementClaimFormat, true +} + +// HasCommitAcknowledgementClaimFormat returns a boolean if a field has been set. +func (o *CommitFinalV1Response) HasCommitAcknowledgementClaimFormat() bool { + if o != nil && !IsNil(o.CommitAcknowledgementClaimFormat) { + return true + } + + return false +} + +// SetCommitAcknowledgementClaimFormat gets a reference to the given map[string]interface{} and assigns it to the CommitAcknowledgementClaimFormat field. +func (o *CommitFinalV1Response) SetCommitAcknowledgementClaimFormat(v map[string]interface{}) { + o.CommitAcknowledgementClaimFormat = v +} + +// GetHashCommitFinal returns the HashCommitFinal field value +func (o *CommitFinalV1Response) GetHashCommitFinal() string { + if o == nil { + var ret string + return ret + } + + return o.HashCommitFinal +} + +// GetHashCommitFinalOk returns a tuple with the HashCommitFinal field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetHashCommitFinalOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashCommitFinal, true +} + +// SetHashCommitFinal sets field value +func (o *CommitFinalV1Response) SetHashCommitFinal(v string) { + o.HashCommitFinal = v +} + +// GetServerTransferNumber returns the ServerTransferNumber field value if set, zero value otherwise. +func (o *CommitFinalV1Response) GetServerTransferNumber() int32 { + if o == nil || IsNil(o.ServerTransferNumber) { + var ret int32 + return ret + } + return *o.ServerTransferNumber +} + +// GetServerTransferNumberOk returns a tuple with the ServerTransferNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetServerTransferNumberOk() (*int32, bool) { + if o == nil || IsNil(o.ServerTransferNumber) { + return nil, false + } + return o.ServerTransferNumber, true +} + +// HasServerTransferNumber returns a boolean if a field has been set. +func (o *CommitFinalV1Response) HasServerTransferNumber() bool { + if o != nil && !IsNil(o.ServerTransferNumber) { + return true + } + + return false +} + +// SetServerTransferNumber gets a reference to the given int32 and assigns it to the ServerTransferNumber field. +func (o *CommitFinalV1Response) SetServerTransferNumber(v int32) { + o.ServerTransferNumber = &v +} + +// GetSignature returns the Signature field value +func (o *CommitFinalV1Response) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *CommitFinalV1Response) SetSignature(v string) { + o.Signature = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *CommitFinalV1Response) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *CommitFinalV1Response) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *CommitFinalV1Response) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +func (o CommitFinalV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CommitFinalV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["messageType"] = o.MessageType + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["commitAcknowledgementClaim"] = o.CommitAcknowledgementClaim + if !IsNil(o.CommitAcknowledgementClaimFormat) { + toSerialize["commitAcknowledgementClaimFormat"] = o.CommitAcknowledgementClaimFormat + } + toSerialize["hashCommitFinal"] = o.HashCommitFinal + if !IsNil(o.ServerTransferNumber) { + toSerialize["serverTransferNumber"] = o.ServerTransferNumber + } + toSerialize["signature"] = o.Signature + toSerialize["sequenceNumber"] = o.SequenceNumber + return toSerialize, nil +} + +type NullableCommitFinalV1Response struct { + value *CommitFinalV1Response + isSet bool +} + +func (v NullableCommitFinalV1Response) Get() *CommitFinalV1Response { + return v.value +} + +func (v *NullableCommitFinalV1Response) Set(val *CommitFinalV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableCommitFinalV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableCommitFinalV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommitFinalV1Response(val *CommitFinalV1Response) *NullableCommitFinalV1Response { + return &NullableCommitFinalV1Response{value: val, isSet: true} +} + +func (v NullableCommitFinalV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommitFinalV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_preparation_v1_request.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_preparation_v1_request.go new file mode 100644 index 00000000000..c2257c0c913 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_preparation_v1_request.go @@ -0,0 +1,315 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the CommitPreparationV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CommitPreparationV1Request{} + +// CommitPreparationV1Request struct for CommitPreparationV1Request +type CommitPreparationV1Request struct { + SessionID string `json:"sessionID"` + MessageType string `json:"messageType"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + HashLockEvidenceAck string `json:"hashLockEvidenceAck"` + ClientTransferNumber *int32 `json:"clientTransferNumber,omitempty"` + Signature string `json:"signature"` + SequenceNumber float32 `json:"sequenceNumber"` +} + +// NewCommitPreparationV1Request instantiates a new CommitPreparationV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCommitPreparationV1Request(sessionID string, messageType string, clientIdentityPubkey string, serverIdentityPubkey string, hashLockEvidenceAck string, signature string, sequenceNumber float32) *CommitPreparationV1Request { + this := CommitPreparationV1Request{} + this.SessionID = sessionID + this.MessageType = messageType + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.HashLockEvidenceAck = hashLockEvidenceAck + this.Signature = signature + this.SequenceNumber = sequenceNumber + return &this +} + +// NewCommitPreparationV1RequestWithDefaults instantiates a new CommitPreparationV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommitPreparationV1RequestWithDefaults() *CommitPreparationV1Request { + this := CommitPreparationV1Request{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *CommitPreparationV1Request) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Request) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *CommitPreparationV1Request) SetSessionID(v string) { + o.SessionID = v +} + +// GetMessageType returns the MessageType field value +func (o *CommitPreparationV1Request) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Request) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *CommitPreparationV1Request) SetMessageType(v string) { + o.MessageType = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *CommitPreparationV1Request) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Request) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *CommitPreparationV1Request) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *CommitPreparationV1Request) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Request) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *CommitPreparationV1Request) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetHashLockEvidenceAck returns the HashLockEvidenceAck field value +func (o *CommitPreparationV1Request) GetHashLockEvidenceAck() string { + if o == nil { + var ret string + return ret + } + + return o.HashLockEvidenceAck +} + +// GetHashLockEvidenceAckOk returns a tuple with the HashLockEvidenceAck field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Request) GetHashLockEvidenceAckOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashLockEvidenceAck, true +} + +// SetHashLockEvidenceAck sets field value +func (o *CommitPreparationV1Request) SetHashLockEvidenceAck(v string) { + o.HashLockEvidenceAck = v +} + +// GetClientTransferNumber returns the ClientTransferNumber field value if set, zero value otherwise. +func (o *CommitPreparationV1Request) GetClientTransferNumber() int32 { + if o == nil || IsNil(o.ClientTransferNumber) { + var ret int32 + return ret + } + return *o.ClientTransferNumber +} + +// GetClientTransferNumberOk returns a tuple with the ClientTransferNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Request) GetClientTransferNumberOk() (*int32, bool) { + if o == nil || IsNil(o.ClientTransferNumber) { + return nil, false + } + return o.ClientTransferNumber, true +} + +// HasClientTransferNumber returns a boolean if a field has been set. +func (o *CommitPreparationV1Request) HasClientTransferNumber() bool { + if o != nil && !IsNil(o.ClientTransferNumber) { + return true + } + + return false +} + +// SetClientTransferNumber gets a reference to the given int32 and assigns it to the ClientTransferNumber field. +func (o *CommitPreparationV1Request) SetClientTransferNumber(v int32) { + o.ClientTransferNumber = &v +} + +// GetSignature returns the Signature field value +func (o *CommitPreparationV1Request) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Request) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *CommitPreparationV1Request) SetSignature(v string) { + o.Signature = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *CommitPreparationV1Request) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Request) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *CommitPreparationV1Request) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +func (o CommitPreparationV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CommitPreparationV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["messageType"] = o.MessageType + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["hashLockEvidenceAck"] = o.HashLockEvidenceAck + if !IsNil(o.ClientTransferNumber) { + toSerialize["clientTransferNumber"] = o.ClientTransferNumber + } + toSerialize["signature"] = o.Signature + toSerialize["sequenceNumber"] = o.SequenceNumber + return toSerialize, nil +} + +type NullableCommitPreparationV1Request struct { + value *CommitPreparationV1Request + isSet bool +} + +func (v NullableCommitPreparationV1Request) Get() *CommitPreparationV1Request { + return v.value +} + +func (v *NullableCommitPreparationV1Request) Set(val *CommitPreparationV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableCommitPreparationV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableCommitPreparationV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommitPreparationV1Request(val *CommitPreparationV1Request) *NullableCommitPreparationV1Request { + return &NullableCommitPreparationV1Request{value: val, isSet: true} +} + +func (v NullableCommitPreparationV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommitPreparationV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_preparation_v1_response.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_preparation_v1_response.go new file mode 100644 index 00000000000..90ab7a87026 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_commit_preparation_v1_response.go @@ -0,0 +1,315 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the CommitPreparationV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CommitPreparationV1Response{} + +// CommitPreparationV1Response struct for CommitPreparationV1Response +type CommitPreparationV1Response struct { + SessionID string `json:"sessionID"` + MessageType string `json:"messageType"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + HashCommitPrep string `json:"hashCommitPrep"` + ServerTransferNumber *string `json:"serverTransferNumber,omitempty"` + Signature string `json:"signature"` + SequenceNumber float32 `json:"sequenceNumber"` +} + +// NewCommitPreparationV1Response instantiates a new CommitPreparationV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCommitPreparationV1Response(sessionID string, messageType string, clientIdentityPubkey string, serverIdentityPubkey string, hashCommitPrep string, signature string, sequenceNumber float32) *CommitPreparationV1Response { + this := CommitPreparationV1Response{} + this.SessionID = sessionID + this.MessageType = messageType + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.HashCommitPrep = hashCommitPrep + this.Signature = signature + this.SequenceNumber = sequenceNumber + return &this +} + +// NewCommitPreparationV1ResponseWithDefaults instantiates a new CommitPreparationV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommitPreparationV1ResponseWithDefaults() *CommitPreparationV1Response { + this := CommitPreparationV1Response{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *CommitPreparationV1Response) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Response) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *CommitPreparationV1Response) SetSessionID(v string) { + o.SessionID = v +} + +// GetMessageType returns the MessageType field value +func (o *CommitPreparationV1Response) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Response) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *CommitPreparationV1Response) SetMessageType(v string) { + o.MessageType = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *CommitPreparationV1Response) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Response) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *CommitPreparationV1Response) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *CommitPreparationV1Response) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Response) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *CommitPreparationV1Response) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetHashCommitPrep returns the HashCommitPrep field value +func (o *CommitPreparationV1Response) GetHashCommitPrep() string { + if o == nil { + var ret string + return ret + } + + return o.HashCommitPrep +} + +// GetHashCommitPrepOk returns a tuple with the HashCommitPrep field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Response) GetHashCommitPrepOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashCommitPrep, true +} + +// SetHashCommitPrep sets field value +func (o *CommitPreparationV1Response) SetHashCommitPrep(v string) { + o.HashCommitPrep = v +} + +// GetServerTransferNumber returns the ServerTransferNumber field value if set, zero value otherwise. +func (o *CommitPreparationV1Response) GetServerTransferNumber() string { + if o == nil || IsNil(o.ServerTransferNumber) { + var ret string + return ret + } + return *o.ServerTransferNumber +} + +// GetServerTransferNumberOk returns a tuple with the ServerTransferNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Response) GetServerTransferNumberOk() (*string, bool) { + if o == nil || IsNil(o.ServerTransferNumber) { + return nil, false + } + return o.ServerTransferNumber, true +} + +// HasServerTransferNumber returns a boolean if a field has been set. +func (o *CommitPreparationV1Response) HasServerTransferNumber() bool { + if o != nil && !IsNil(o.ServerTransferNumber) { + return true + } + + return false +} + +// SetServerTransferNumber gets a reference to the given string and assigns it to the ServerTransferNumber field. +func (o *CommitPreparationV1Response) SetServerTransferNumber(v string) { + o.ServerTransferNumber = &v +} + +// GetSignature returns the Signature field value +func (o *CommitPreparationV1Response) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Response) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *CommitPreparationV1Response) SetSignature(v string) { + o.Signature = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *CommitPreparationV1Response) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *CommitPreparationV1Response) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *CommitPreparationV1Response) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +func (o CommitPreparationV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CommitPreparationV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["messageType"] = o.MessageType + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["hashCommitPrep"] = o.HashCommitPrep + if !IsNil(o.ServerTransferNumber) { + toSerialize["serverTransferNumber"] = o.ServerTransferNumber + } + toSerialize["signature"] = o.Signature + toSerialize["sequenceNumber"] = o.SequenceNumber + return toSerialize, nil +} + +type NullableCommitPreparationV1Response struct { + value *CommitPreparationV1Response + isSet bool +} + +func (v NullableCommitPreparationV1Response) Get() *CommitPreparationV1Response { + return v.value +} + +func (v *NullableCommitPreparationV1Response) Set(val *CommitPreparationV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableCommitPreparationV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableCommitPreparationV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommitPreparationV1Response(val *CommitPreparationV1Response) *NullableCommitPreparationV1Response { + return &NullableCommitPreparationV1Response{value: val, isSet: true} +} + +func (v NullableCommitPreparationV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommitPreparationV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_credential_profile.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_credential_profile.go new file mode 100644 index 00000000000..5535f9dc16c --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_credential_profile.go @@ -0,0 +1,113 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" + "fmt" +) + +// CredentialProfile the model 'CredentialProfile' +type CredentialProfile string + +// List of CredentialProfile +const ( + SAML CredentialProfile = "SAML" + OAUTH CredentialProfile = "OAUTH" + X509 CredentialProfile = "X509" +) + +// All allowed values of CredentialProfile enum +var AllowedCredentialProfileEnumValues = []CredentialProfile{ + "SAML", + "OAUTH", + "X509", +} + +func (v *CredentialProfile) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CredentialProfile(value) + for _, existing := range AllowedCredentialProfileEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CredentialProfile", value) +} + +// NewCredentialProfileFromValue returns a pointer to a valid CredentialProfile +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCredentialProfileFromValue(v string) (*CredentialProfile, error) { + ev := CredentialProfile(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CredentialProfile: valid values are %v", v, AllowedCredentialProfileEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CredentialProfile) IsValid() bool { + for _, existing := range AllowedCredentialProfileEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to CredentialProfile value +func (v CredentialProfile) Ptr() *CredentialProfile { + return &v +} + +type NullableCredentialProfile struct { + value *CredentialProfile + isSet bool +} + +func (v NullableCredentialProfile) Get() *CredentialProfile { + return v.value +} + +func (v *NullableCredentialProfile) Set(val *CredentialProfile) { + v.value = val + v.isSet = true +} + +func (v NullableCredentialProfile) IsSet() bool { + return v.isSet +} + +func (v *NullableCredentialProfile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCredentialProfile(val *CredentialProfile) *NullableCredentialProfile { + return &NullableCredentialProfile{value: val, isSet: true} +} + +func (v NullableCredentialProfile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCredentialProfile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_history.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_history.go new file mode 100644 index 00000000000..3430a1b790c --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_history.go @@ -0,0 +1,342 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the History type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &History{} + +// History struct for History +type History struct { + Transactions []map[string]interface{} `json:"Transactions,omitempty"` + Actions []map[string]interface{} `json:"Actions,omitempty"` + Origin *string `json:"Origin,omitempty"` + Destination *string `json:"Destination,omitempty"` + Balance *string `json:"Balance,omitempty"` + CurrentStatus map[string]interface{} `json:"CurrentStatus,omitempty"` + ApplicationSpecificParameters map[string]interface{} `json:"ApplicationSpecificParameters,omitempty"` +} + +// NewHistory instantiates a new History object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHistory() *History { + this := History{} + return &this +} + +// NewHistoryWithDefaults instantiates a new History object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHistoryWithDefaults() *History { + this := History{} + return &this +} + +// GetTransactions returns the Transactions field value if set, zero value otherwise. +func (o *History) GetTransactions() []map[string]interface{} { + if o == nil || IsNil(o.Transactions) { + var ret []map[string]interface{} + return ret + } + return o.Transactions +} + +// GetTransactionsOk returns a tuple with the Transactions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *History) GetTransactionsOk() ([]map[string]interface{}, bool) { + if o == nil || IsNil(o.Transactions) { + return nil, false + } + return o.Transactions, true +} + +// HasTransactions returns a boolean if a field has been set. +func (o *History) HasTransactions() bool { + if o != nil && !IsNil(o.Transactions) { + return true + } + + return false +} + +// SetTransactions gets a reference to the given []map[string]interface{} and assigns it to the Transactions field. +func (o *History) SetTransactions(v []map[string]interface{}) { + o.Transactions = v +} + +// GetActions returns the Actions field value if set, zero value otherwise. +func (o *History) GetActions() []map[string]interface{} { + if o == nil || IsNil(o.Actions) { + var ret []map[string]interface{} + return ret + } + return o.Actions +} + +// GetActionsOk returns a tuple with the Actions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *History) GetActionsOk() ([]map[string]interface{}, bool) { + if o == nil || IsNil(o.Actions) { + return nil, false + } + return o.Actions, true +} + +// HasActions returns a boolean if a field has been set. +func (o *History) HasActions() bool { + if o != nil && !IsNil(o.Actions) { + return true + } + + return false +} + +// SetActions gets a reference to the given []map[string]interface{} and assigns it to the Actions field. +func (o *History) SetActions(v []map[string]interface{}) { + o.Actions = v +} + +// GetOrigin returns the Origin field value if set, zero value otherwise. +func (o *History) GetOrigin() string { + if o == nil || IsNil(o.Origin) { + var ret string + return ret + } + return *o.Origin +} + +// GetOriginOk returns a tuple with the Origin field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *History) GetOriginOk() (*string, bool) { + if o == nil || IsNil(o.Origin) { + return nil, false + } + return o.Origin, true +} + +// HasOrigin returns a boolean if a field has been set. +func (o *History) HasOrigin() bool { + if o != nil && !IsNil(o.Origin) { + return true + } + + return false +} + +// SetOrigin gets a reference to the given string and assigns it to the Origin field. +func (o *History) SetOrigin(v string) { + o.Origin = &v +} + +// GetDestination returns the Destination field value if set, zero value otherwise. +func (o *History) GetDestination() string { + if o == nil || IsNil(o.Destination) { + var ret string + return ret + } + return *o.Destination +} + +// GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *History) GetDestinationOk() (*string, bool) { + if o == nil || IsNil(o.Destination) { + return nil, false + } + return o.Destination, true +} + +// HasDestination returns a boolean if a field has been set. +func (o *History) HasDestination() bool { + if o != nil && !IsNil(o.Destination) { + return true + } + + return false +} + +// SetDestination gets a reference to the given string and assigns it to the Destination field. +func (o *History) SetDestination(v string) { + o.Destination = &v +} + +// GetBalance returns the Balance field value if set, zero value otherwise. +func (o *History) GetBalance() string { + if o == nil || IsNil(o.Balance) { + var ret string + return ret + } + return *o.Balance +} + +// GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *History) GetBalanceOk() (*string, bool) { + if o == nil || IsNil(o.Balance) { + return nil, false + } + return o.Balance, true +} + +// HasBalance returns a boolean if a field has been set. +func (o *History) HasBalance() bool { + if o != nil && !IsNil(o.Balance) { + return true + } + + return false +} + +// SetBalance gets a reference to the given string and assigns it to the Balance field. +func (o *History) SetBalance(v string) { + o.Balance = &v +} + +// GetCurrentStatus returns the CurrentStatus field value if set, zero value otherwise. +func (o *History) GetCurrentStatus() map[string]interface{} { + if o == nil || IsNil(o.CurrentStatus) { + var ret map[string]interface{} + return ret + } + return o.CurrentStatus +} + +// GetCurrentStatusOk returns a tuple with the CurrentStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *History) GetCurrentStatusOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CurrentStatus) { + return map[string]interface{}{}, false + } + return o.CurrentStatus, true +} + +// HasCurrentStatus returns a boolean if a field has been set. +func (o *History) HasCurrentStatus() bool { + if o != nil && !IsNil(o.CurrentStatus) { + return true + } + + return false +} + +// SetCurrentStatus gets a reference to the given map[string]interface{} and assigns it to the CurrentStatus field. +func (o *History) SetCurrentStatus(v map[string]interface{}) { + o.CurrentStatus = v +} + +// GetApplicationSpecificParameters returns the ApplicationSpecificParameters field value if set, zero value otherwise. +func (o *History) GetApplicationSpecificParameters() map[string]interface{} { + if o == nil || IsNil(o.ApplicationSpecificParameters) { + var ret map[string]interface{} + return ret + } + return o.ApplicationSpecificParameters +} + +// GetApplicationSpecificParametersOk returns a tuple with the ApplicationSpecificParameters field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *History) GetApplicationSpecificParametersOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.ApplicationSpecificParameters) { + return map[string]interface{}{}, false + } + return o.ApplicationSpecificParameters, true +} + +// HasApplicationSpecificParameters returns a boolean if a field has been set. +func (o *History) HasApplicationSpecificParameters() bool { + if o != nil && !IsNil(o.ApplicationSpecificParameters) { + return true + } + + return false +} + +// SetApplicationSpecificParameters gets a reference to the given map[string]interface{} and assigns it to the ApplicationSpecificParameters field. +func (o *History) SetApplicationSpecificParameters(v map[string]interface{}) { + o.ApplicationSpecificParameters = v +} + +func (o History) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o History) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Transactions) { + toSerialize["Transactions"] = o.Transactions + } + if !IsNil(o.Actions) { + toSerialize["Actions"] = o.Actions + } + if !IsNil(o.Origin) { + toSerialize["Origin"] = o.Origin + } + if !IsNil(o.Destination) { + toSerialize["Destination"] = o.Destination + } + if !IsNil(o.Balance) { + toSerialize["Balance"] = o.Balance + } + if !IsNil(o.CurrentStatus) { + toSerialize["CurrentStatus"] = o.CurrentStatus + } + if !IsNil(o.ApplicationSpecificParameters) { + toSerialize["ApplicationSpecificParameters"] = o.ApplicationSpecificParameters + } + return toSerialize, nil +} + +type NullableHistory struct { + value *History + isSet bool +} + +func (v NullableHistory) Get() *History { + return v.value +} + +func (v *NullableHistory) Set(val *History) { + v.value = val + v.isSet = true +} + +func (v NullableHistory) IsSet() bool { + return v.isSet +} + +func (v *NullableHistory) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHistory(val *History) *NullableHistory { + return &NullableHistory{value: val, isSet: true} +} + +func (v NullableHistory) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHistory) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_local_log.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_local_log.go new file mode 100644 index 00000000000..a522f18f2d7 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_local_log.go @@ -0,0 +1,279 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the LocalLog type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &LocalLog{} + +// LocalLog struct for LocalLog +type LocalLog struct { + Key *string `json:"key,omitempty"` + SessionID string `json:"sessionID"` + Data *string `json:"data,omitempty"` + Type string `json:"type"` + Operation string `json:"operation"` + Timestamp *string `json:"timestamp,omitempty"` +} + +// NewLocalLog instantiates a new LocalLog object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLocalLog(sessionID string, type_ string, operation string) *LocalLog { + this := LocalLog{} + this.SessionID = sessionID + this.Type = type_ + this.Operation = operation + return &this +} + +// NewLocalLogWithDefaults instantiates a new LocalLog object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLocalLogWithDefaults() *LocalLog { + this := LocalLog{} + return &this +} + +// GetKey returns the Key field value if set, zero value otherwise. +func (o *LocalLog) GetKey() string { + if o == nil || IsNil(o.Key) { + var ret string + return ret + } + return *o.Key +} + +// GetKeyOk returns a tuple with the Key field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LocalLog) GetKeyOk() (*string, bool) { + if o == nil || IsNil(o.Key) { + return nil, false + } + return o.Key, true +} + +// HasKey returns a boolean if a field has been set. +func (o *LocalLog) HasKey() bool { + if o != nil && !IsNil(o.Key) { + return true + } + + return false +} + +// SetKey gets a reference to the given string and assigns it to the Key field. +func (o *LocalLog) SetKey(v string) { + o.Key = &v +} + +// GetSessionID returns the SessionID field value +func (o *LocalLog) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *LocalLog) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *LocalLog) SetSessionID(v string) { + o.SessionID = v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *LocalLog) GetData() string { + if o == nil || IsNil(o.Data) { + var ret string + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LocalLog) GetDataOk() (*string, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *LocalLog) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given string and assigns it to the Data field. +func (o *LocalLog) SetData(v string) { + o.Data = &v +} + +// GetType returns the Type field value +func (o *LocalLog) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *LocalLog) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *LocalLog) SetType(v string) { + o.Type = v +} + +// GetOperation returns the Operation field value +func (o *LocalLog) GetOperation() string { + if o == nil { + var ret string + return ret + } + + return o.Operation +} + +// GetOperationOk returns a tuple with the Operation field value +// and a boolean to check if the value has been set. +func (o *LocalLog) GetOperationOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Operation, true +} + +// SetOperation sets field value +func (o *LocalLog) SetOperation(v string) { + o.Operation = v +} + +// GetTimestamp returns the Timestamp field value if set, zero value otherwise. +func (o *LocalLog) GetTimestamp() string { + if o == nil || IsNil(o.Timestamp) { + var ret string + return ret + } + return *o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LocalLog) GetTimestampOk() (*string, bool) { + if o == nil || IsNil(o.Timestamp) { + return nil, false + } + return o.Timestamp, true +} + +// HasTimestamp returns a boolean if a field has been set. +func (o *LocalLog) HasTimestamp() bool { + if o != nil && !IsNil(o.Timestamp) { + return true + } + + return false +} + +// SetTimestamp gets a reference to the given string and assigns it to the Timestamp field. +func (o *LocalLog) SetTimestamp(v string) { + o.Timestamp = &v +} + +func (o LocalLog) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o LocalLog) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Key) { + toSerialize["key"] = o.Key + } + toSerialize["sessionID"] = o.SessionID + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + toSerialize["type"] = o.Type + toSerialize["operation"] = o.Operation + if !IsNil(o.Timestamp) { + toSerialize["timestamp"] = o.Timestamp + } + return toSerialize, nil +} + +type NullableLocalLog struct { + value *LocalLog + isSet bool +} + +func (v NullableLocalLog) Get() *LocalLog { + return v.value +} + +func (v *NullableLocalLog) Set(val *LocalLog) { + v.value = val + v.isSet = true +} + +func (v NullableLocalLog) IsSet() bool { + return v.isSet +} + +func (v *NullableLocalLog) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLocalLog(val *LocalLog) *NullableLocalLog { + return &NullableLocalLog{value: val, isSet: true} +} + +func (v NullableLocalLog) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLocalLog) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_lock_evidence_v1_request.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_lock_evidence_v1_request.go new file mode 100644 index 00000000000..4a633a381a3 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_lock_evidence_v1_request.go @@ -0,0 +1,451 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the LockEvidenceV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &LockEvidenceV1Request{} + +// LockEvidenceV1Request struct for LockEvidenceV1Request +type LockEvidenceV1Request struct { + SessionID string `json:"sessionID"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + LockEvidenceClaim string `json:"lockEvidenceClaim"` + LockEvidenceFormat map[string]interface{} `json:"lockEvidenceFormat,omitempty"` + LockEvidenceExpiration string `json:"lockEvidenceExpiration"` + HashCommenceAckRequest string `json:"hashCommenceAckRequest"` + ClientTransferNumber NullableInt32 `json:"clientTransferNumber,omitempty"` + Signature string `json:"signature"` + MessageType string `json:"messageType"` + MessageHash *string `json:"messageHash,omitempty"` + SequenceNumber float32 `json:"sequenceNumber"` +} + +// NewLockEvidenceV1Request instantiates a new LockEvidenceV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLockEvidenceV1Request(sessionID string, clientIdentityPubkey string, serverIdentityPubkey string, lockEvidenceClaim string, lockEvidenceExpiration string, hashCommenceAckRequest string, signature string, messageType string, sequenceNumber float32) *LockEvidenceV1Request { + this := LockEvidenceV1Request{} + this.SessionID = sessionID + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.LockEvidenceClaim = lockEvidenceClaim + this.LockEvidenceExpiration = lockEvidenceExpiration + this.HashCommenceAckRequest = hashCommenceAckRequest + this.Signature = signature + this.MessageType = messageType + this.SequenceNumber = sequenceNumber + return &this +} + +// NewLockEvidenceV1RequestWithDefaults instantiates a new LockEvidenceV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLockEvidenceV1RequestWithDefaults() *LockEvidenceV1Request { + this := LockEvidenceV1Request{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *LockEvidenceV1Request) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *LockEvidenceV1Request) SetSessionID(v string) { + o.SessionID = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *LockEvidenceV1Request) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *LockEvidenceV1Request) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *LockEvidenceV1Request) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *LockEvidenceV1Request) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetLockEvidenceClaim returns the LockEvidenceClaim field value +func (o *LockEvidenceV1Request) GetLockEvidenceClaim() string { + if o == nil { + var ret string + return ret + } + + return o.LockEvidenceClaim +} + +// GetLockEvidenceClaimOk returns a tuple with the LockEvidenceClaim field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetLockEvidenceClaimOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.LockEvidenceClaim, true +} + +// SetLockEvidenceClaim sets field value +func (o *LockEvidenceV1Request) SetLockEvidenceClaim(v string) { + o.LockEvidenceClaim = v +} + +// GetLockEvidenceFormat returns the LockEvidenceFormat field value if set, zero value otherwise. +func (o *LockEvidenceV1Request) GetLockEvidenceFormat() map[string]interface{} { + if o == nil || IsNil(o.LockEvidenceFormat) { + var ret map[string]interface{} + return ret + } + return o.LockEvidenceFormat +} + +// GetLockEvidenceFormatOk returns a tuple with the LockEvidenceFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetLockEvidenceFormatOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.LockEvidenceFormat) { + return map[string]interface{}{}, false + } + return o.LockEvidenceFormat, true +} + +// HasLockEvidenceFormat returns a boolean if a field has been set. +func (o *LockEvidenceV1Request) HasLockEvidenceFormat() bool { + if o != nil && !IsNil(o.LockEvidenceFormat) { + return true + } + + return false +} + +// SetLockEvidenceFormat gets a reference to the given map[string]interface{} and assigns it to the LockEvidenceFormat field. +func (o *LockEvidenceV1Request) SetLockEvidenceFormat(v map[string]interface{}) { + o.LockEvidenceFormat = v +} + +// GetLockEvidenceExpiration returns the LockEvidenceExpiration field value +func (o *LockEvidenceV1Request) GetLockEvidenceExpiration() string { + if o == nil { + var ret string + return ret + } + + return o.LockEvidenceExpiration +} + +// GetLockEvidenceExpirationOk returns a tuple with the LockEvidenceExpiration field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetLockEvidenceExpirationOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.LockEvidenceExpiration, true +} + +// SetLockEvidenceExpiration sets field value +func (o *LockEvidenceV1Request) SetLockEvidenceExpiration(v string) { + o.LockEvidenceExpiration = v +} + +// GetHashCommenceAckRequest returns the HashCommenceAckRequest field value +func (o *LockEvidenceV1Request) GetHashCommenceAckRequest() string { + if o == nil { + var ret string + return ret + } + + return o.HashCommenceAckRequest +} + +// GetHashCommenceAckRequestOk returns a tuple with the HashCommenceAckRequest field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetHashCommenceAckRequestOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashCommenceAckRequest, true +} + +// SetHashCommenceAckRequest sets field value +func (o *LockEvidenceV1Request) SetHashCommenceAckRequest(v string) { + o.HashCommenceAckRequest = v +} + +// GetClientTransferNumber returns the ClientTransferNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LockEvidenceV1Request) GetClientTransferNumber() int32 { + if o == nil || IsNil(o.ClientTransferNumber.Get()) { + var ret int32 + return ret + } + return *o.ClientTransferNumber.Get() +} + +// GetClientTransferNumberOk returns a tuple with the ClientTransferNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LockEvidenceV1Request) GetClientTransferNumberOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.ClientTransferNumber.Get(), o.ClientTransferNumber.IsSet() +} + +// HasClientTransferNumber returns a boolean if a field has been set. +func (o *LockEvidenceV1Request) HasClientTransferNumber() bool { + if o != nil && o.ClientTransferNumber.IsSet() { + return true + } + + return false +} + +// SetClientTransferNumber gets a reference to the given NullableInt32 and assigns it to the ClientTransferNumber field. +func (o *LockEvidenceV1Request) SetClientTransferNumber(v int32) { + o.ClientTransferNumber.Set(&v) +} +// SetClientTransferNumberNil sets the value for ClientTransferNumber to be an explicit nil +func (o *LockEvidenceV1Request) SetClientTransferNumberNil() { + o.ClientTransferNumber.Set(nil) +} + +// UnsetClientTransferNumber ensures that no value is present for ClientTransferNumber, not even an explicit nil +func (o *LockEvidenceV1Request) UnsetClientTransferNumber() { + o.ClientTransferNumber.Unset() +} + +// GetSignature returns the Signature field value +func (o *LockEvidenceV1Request) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *LockEvidenceV1Request) SetSignature(v string) { + o.Signature = v +} + +// GetMessageType returns the MessageType field value +func (o *LockEvidenceV1Request) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *LockEvidenceV1Request) SetMessageType(v string) { + o.MessageType = v +} + +// GetMessageHash returns the MessageHash field value if set, zero value otherwise. +func (o *LockEvidenceV1Request) GetMessageHash() string { + if o == nil || IsNil(o.MessageHash) { + var ret string + return ret + } + return *o.MessageHash +} + +// GetMessageHashOk returns a tuple with the MessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.MessageHash) { + return nil, false + } + return o.MessageHash, true +} + +// HasMessageHash returns a boolean if a field has been set. +func (o *LockEvidenceV1Request) HasMessageHash() bool { + if o != nil && !IsNil(o.MessageHash) { + return true + } + + return false +} + +// SetMessageHash gets a reference to the given string and assigns it to the MessageHash field. +func (o *LockEvidenceV1Request) SetMessageHash(v string) { + o.MessageHash = &v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *LockEvidenceV1Request) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Request) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *LockEvidenceV1Request) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +func (o LockEvidenceV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o LockEvidenceV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["lockEvidenceClaim"] = o.LockEvidenceClaim + if !IsNil(o.LockEvidenceFormat) { + toSerialize["lockEvidenceFormat"] = o.LockEvidenceFormat + } + toSerialize["lockEvidenceExpiration"] = o.LockEvidenceExpiration + toSerialize["hashCommenceAckRequest"] = o.HashCommenceAckRequest + if o.ClientTransferNumber.IsSet() { + toSerialize["clientTransferNumber"] = o.ClientTransferNumber.Get() + } + toSerialize["signature"] = o.Signature + toSerialize["messageType"] = o.MessageType + if !IsNil(o.MessageHash) { + toSerialize["messageHash"] = o.MessageHash + } + toSerialize["sequenceNumber"] = o.SequenceNumber + return toSerialize, nil +} + +type NullableLockEvidenceV1Request struct { + value *LockEvidenceV1Request + isSet bool +} + +func (v NullableLockEvidenceV1Request) Get() *LockEvidenceV1Request { + return v.value +} + +func (v *NullableLockEvidenceV1Request) Set(val *LockEvidenceV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableLockEvidenceV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableLockEvidenceV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLockEvidenceV1Request(val *LockEvidenceV1Request) *NullableLockEvidenceV1Request { + return &NullableLockEvidenceV1Request{value: val, isSet: true} +} + +func (v NullableLockEvidenceV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLockEvidenceV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_lock_evidence_v1_response.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_lock_evidence_v1_response.go new file mode 100644 index 00000000000..033e9113726 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_lock_evidence_v1_response.go @@ -0,0 +1,325 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the LockEvidenceV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &LockEvidenceV1Response{} + +// LockEvidenceV1Response struct for LockEvidenceV1Response +type LockEvidenceV1Response struct { + SessionID string `json:"sessionID"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + HashLockEvidenceRequest string `json:"hashLockEvidenceRequest"` + ServerTransferNumber NullableInt32 `json:"serverTransferNumber,omitempty"` + Signature string `json:"signature"` + MessageType string `json:"messageType"` + SequenceNumber float32 `json:"sequenceNumber"` +} + +// NewLockEvidenceV1Response instantiates a new LockEvidenceV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLockEvidenceV1Response(sessionID string, clientIdentityPubkey string, serverIdentityPubkey string, hashLockEvidenceRequest string, signature string, messageType string, sequenceNumber float32) *LockEvidenceV1Response { + this := LockEvidenceV1Response{} + this.SessionID = sessionID + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.HashLockEvidenceRequest = hashLockEvidenceRequest + this.Signature = signature + this.MessageType = messageType + this.SequenceNumber = sequenceNumber + return &this +} + +// NewLockEvidenceV1ResponseWithDefaults instantiates a new LockEvidenceV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLockEvidenceV1ResponseWithDefaults() *LockEvidenceV1Response { + this := LockEvidenceV1Response{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *LockEvidenceV1Response) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Response) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *LockEvidenceV1Response) SetSessionID(v string) { + o.SessionID = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *LockEvidenceV1Response) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Response) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *LockEvidenceV1Response) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *LockEvidenceV1Response) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Response) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *LockEvidenceV1Response) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetHashLockEvidenceRequest returns the HashLockEvidenceRequest field value +func (o *LockEvidenceV1Response) GetHashLockEvidenceRequest() string { + if o == nil { + var ret string + return ret + } + + return o.HashLockEvidenceRequest +} + +// GetHashLockEvidenceRequestOk returns a tuple with the HashLockEvidenceRequest field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Response) GetHashLockEvidenceRequestOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashLockEvidenceRequest, true +} + +// SetHashLockEvidenceRequest sets field value +func (o *LockEvidenceV1Response) SetHashLockEvidenceRequest(v string) { + o.HashLockEvidenceRequest = v +} + +// GetServerTransferNumber returns the ServerTransferNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LockEvidenceV1Response) GetServerTransferNumber() int32 { + if o == nil || IsNil(o.ServerTransferNumber.Get()) { + var ret int32 + return ret + } + return *o.ServerTransferNumber.Get() +} + +// GetServerTransferNumberOk returns a tuple with the ServerTransferNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LockEvidenceV1Response) GetServerTransferNumberOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.ServerTransferNumber.Get(), o.ServerTransferNumber.IsSet() +} + +// HasServerTransferNumber returns a boolean if a field has been set. +func (o *LockEvidenceV1Response) HasServerTransferNumber() bool { + if o != nil && o.ServerTransferNumber.IsSet() { + return true + } + + return false +} + +// SetServerTransferNumber gets a reference to the given NullableInt32 and assigns it to the ServerTransferNumber field. +func (o *LockEvidenceV1Response) SetServerTransferNumber(v int32) { + o.ServerTransferNumber.Set(&v) +} +// SetServerTransferNumberNil sets the value for ServerTransferNumber to be an explicit nil +func (o *LockEvidenceV1Response) SetServerTransferNumberNil() { + o.ServerTransferNumber.Set(nil) +} + +// UnsetServerTransferNumber ensures that no value is present for ServerTransferNumber, not even an explicit nil +func (o *LockEvidenceV1Response) UnsetServerTransferNumber() { + o.ServerTransferNumber.Unset() +} + +// GetSignature returns the Signature field value +func (o *LockEvidenceV1Response) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Response) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *LockEvidenceV1Response) SetSignature(v string) { + o.Signature = v +} + +// GetMessageType returns the MessageType field value +func (o *LockEvidenceV1Response) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Response) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *LockEvidenceV1Response) SetMessageType(v string) { + o.MessageType = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *LockEvidenceV1Response) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *LockEvidenceV1Response) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *LockEvidenceV1Response) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +func (o LockEvidenceV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o LockEvidenceV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["hashLockEvidenceRequest"] = o.HashLockEvidenceRequest + if o.ServerTransferNumber.IsSet() { + toSerialize["serverTransferNumber"] = o.ServerTransferNumber.Get() + } + toSerialize["signature"] = o.Signature + toSerialize["messageType"] = o.MessageType + toSerialize["sequenceNumber"] = o.SequenceNumber + return toSerialize, nil +} + +type NullableLockEvidenceV1Response struct { + value *LockEvidenceV1Response + isSet bool +} + +func (v NullableLockEvidenceV1Response) Get() *LockEvidenceV1Response { + return v.value +} + +func (v *NullableLockEvidenceV1Response) Set(val *LockEvidenceV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableLockEvidenceV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableLockEvidenceV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLockEvidenceV1Response(val *LockEvidenceV1Response) *NullableLockEvidenceV1Response { + return &NullableLockEvidenceV1Response{value: val, isSet: true} +} + +func (v NullableLockEvidenceV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLockEvidenceV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_payload_profile.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_payload_profile.go new file mode 100644 index 00000000000..554f90f75ae --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_payload_profile.go @@ -0,0 +1,153 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the PayloadProfile type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PayloadProfile{} + +// PayloadProfile struct for PayloadProfile +type PayloadProfile struct { + AssetProfile AssetProfile `json:"assetProfile"` + Capabilities *string `json:"capabilities,omitempty"` +} + +// NewPayloadProfile instantiates a new PayloadProfile object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPayloadProfile(assetProfile AssetProfile) *PayloadProfile { + this := PayloadProfile{} + this.AssetProfile = assetProfile + return &this +} + +// NewPayloadProfileWithDefaults instantiates a new PayloadProfile object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPayloadProfileWithDefaults() *PayloadProfile { + this := PayloadProfile{} + return &this +} + +// GetAssetProfile returns the AssetProfile field value +func (o *PayloadProfile) GetAssetProfile() AssetProfile { + if o == nil { + var ret AssetProfile + return ret + } + + return o.AssetProfile +} + +// GetAssetProfileOk returns a tuple with the AssetProfile field value +// and a boolean to check if the value has been set. +func (o *PayloadProfile) GetAssetProfileOk() (*AssetProfile, bool) { + if o == nil { + return nil, false + } + return &o.AssetProfile, true +} + +// SetAssetProfile sets field value +func (o *PayloadProfile) SetAssetProfile(v AssetProfile) { + o.AssetProfile = v +} + +// GetCapabilities returns the Capabilities field value if set, zero value otherwise. +func (o *PayloadProfile) GetCapabilities() string { + if o == nil || IsNil(o.Capabilities) { + var ret string + return ret + } + return *o.Capabilities +} + +// GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PayloadProfile) GetCapabilitiesOk() (*string, bool) { + if o == nil || IsNil(o.Capabilities) { + return nil, false + } + return o.Capabilities, true +} + +// HasCapabilities returns a boolean if a field has been set. +func (o *PayloadProfile) HasCapabilities() bool { + if o != nil && !IsNil(o.Capabilities) { + return true + } + + return false +} + +// SetCapabilities gets a reference to the given string and assigns it to the Capabilities field. +func (o *PayloadProfile) SetCapabilities(v string) { + o.Capabilities = &v +} + +func (o PayloadProfile) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PayloadProfile) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["assetProfile"] = o.AssetProfile + if !IsNil(o.Capabilities) { + toSerialize["capabilities"] = o.Capabilities + } + return toSerialize, nil +} + +type NullablePayloadProfile struct { + value *PayloadProfile + isSet bool +} + +func (v NullablePayloadProfile) Get() *PayloadProfile { + return v.value +} + +func (v *NullablePayloadProfile) Set(val *PayloadProfile) { + v.value = val + v.isSet = true +} + +func (v NullablePayloadProfile) IsSet() bool { + return v.isSet +} + +func (v *NullablePayloadProfile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePayloadProfile(val *PayloadProfile) *NullablePayloadProfile { + return &NullablePayloadProfile{value: val, isSet: true} +} + +func (v NullablePayloadProfile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePayloadProfile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_success_v1_message.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_success_v1_message.go new file mode 100644 index 00000000000..361d252d6e6 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_success_v1_message.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the RecoverSuccessV1Message type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RecoverSuccessV1Message{} + +// RecoverSuccessV1Message struct for RecoverSuccessV1Message +type RecoverSuccessV1Message struct { + SessionID string `json:"sessionID"` + Success bool `json:"success"` + Signature string `json:"signature"` +} + +// NewRecoverSuccessV1Message instantiates a new RecoverSuccessV1Message object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRecoverSuccessV1Message(sessionID string, success bool, signature string) *RecoverSuccessV1Message { + this := RecoverSuccessV1Message{} + this.SessionID = sessionID + this.Success = success + this.Signature = signature + return &this +} + +// NewRecoverSuccessV1MessageWithDefaults instantiates a new RecoverSuccessV1Message object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRecoverSuccessV1MessageWithDefaults() *RecoverSuccessV1Message { + this := RecoverSuccessV1Message{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *RecoverSuccessV1Message) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *RecoverSuccessV1Message) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *RecoverSuccessV1Message) SetSessionID(v string) { + o.SessionID = v +} + +// GetSuccess returns the Success field value +func (o *RecoverSuccessV1Message) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *RecoverSuccessV1Message) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *RecoverSuccessV1Message) SetSuccess(v bool) { + o.Success = v +} + +// GetSignature returns the Signature field value +func (o *RecoverSuccessV1Message) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *RecoverSuccessV1Message) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *RecoverSuccessV1Message) SetSignature(v string) { + o.Signature = v +} + +func (o RecoverSuccessV1Message) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RecoverSuccessV1Message) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["success"] = o.Success + toSerialize["signature"] = o.Signature + return toSerialize, nil +} + +type NullableRecoverSuccessV1Message struct { + value *RecoverSuccessV1Message + isSet bool +} + +func (v NullableRecoverSuccessV1Message) Get() *RecoverSuccessV1Message { + return v.value +} + +func (v *NullableRecoverSuccessV1Message) Set(val *RecoverSuccessV1Message) { + v.value = val + v.isSet = true +} + +func (v NullableRecoverSuccessV1Message) IsSet() bool { + return v.isSet +} + +func (v *NullableRecoverSuccessV1Message) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRecoverSuccessV1Message(val *RecoverSuccessV1Message) *NullableRecoverSuccessV1Message { + return &NullableRecoverSuccessV1Message{value: val, isSet: true} +} + +func (v NullableRecoverSuccessV1Message) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRecoverSuccessV1Message) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_update_ack_v1_message.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_update_ack_v1_message.go new file mode 100644 index 00000000000..ed325023253 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_update_ack_v1_message.go @@ -0,0 +1,198 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the RecoverUpdateAckV1Message type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RecoverUpdateAckV1Message{} + +// RecoverUpdateAckV1Message struct for RecoverUpdateAckV1Message +type RecoverUpdateAckV1Message struct { + SessionID string `json:"sessionID"` + Success bool `json:"success"` + ChangedEntriesHash []string `json:"changedEntriesHash"` + Signature string `json:"signature"` +} + +// NewRecoverUpdateAckV1Message instantiates a new RecoverUpdateAckV1Message object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRecoverUpdateAckV1Message(sessionID string, success bool, changedEntriesHash []string, signature string) *RecoverUpdateAckV1Message { + this := RecoverUpdateAckV1Message{} + this.SessionID = sessionID + this.Success = success + this.ChangedEntriesHash = changedEntriesHash + this.Signature = signature + return &this +} + +// NewRecoverUpdateAckV1MessageWithDefaults instantiates a new RecoverUpdateAckV1Message object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRecoverUpdateAckV1MessageWithDefaults() *RecoverUpdateAckV1Message { + this := RecoverUpdateAckV1Message{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *RecoverUpdateAckV1Message) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *RecoverUpdateAckV1Message) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *RecoverUpdateAckV1Message) SetSessionID(v string) { + o.SessionID = v +} + +// GetSuccess returns the Success field value +func (o *RecoverUpdateAckV1Message) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *RecoverUpdateAckV1Message) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *RecoverUpdateAckV1Message) SetSuccess(v bool) { + o.Success = v +} + +// GetChangedEntriesHash returns the ChangedEntriesHash field value +func (o *RecoverUpdateAckV1Message) GetChangedEntriesHash() []string { + if o == nil { + var ret []string + return ret + } + + return o.ChangedEntriesHash +} + +// GetChangedEntriesHashOk returns a tuple with the ChangedEntriesHash field value +// and a boolean to check if the value has been set. +func (o *RecoverUpdateAckV1Message) GetChangedEntriesHashOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.ChangedEntriesHash, true +} + +// SetChangedEntriesHash sets field value +func (o *RecoverUpdateAckV1Message) SetChangedEntriesHash(v []string) { + o.ChangedEntriesHash = v +} + +// GetSignature returns the Signature field value +func (o *RecoverUpdateAckV1Message) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *RecoverUpdateAckV1Message) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *RecoverUpdateAckV1Message) SetSignature(v string) { + o.Signature = v +} + +func (o RecoverUpdateAckV1Message) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RecoverUpdateAckV1Message) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["success"] = o.Success + toSerialize["changedEntriesHash"] = o.ChangedEntriesHash + toSerialize["signature"] = o.Signature + return toSerialize, nil +} + +type NullableRecoverUpdateAckV1Message struct { + value *RecoverUpdateAckV1Message + isSet bool +} + +func (v NullableRecoverUpdateAckV1Message) Get() *RecoverUpdateAckV1Message { + return v.value +} + +func (v *NullableRecoverUpdateAckV1Message) Set(val *RecoverUpdateAckV1Message) { + v.value = val + v.isSet = true +} + +func (v NullableRecoverUpdateAckV1Message) IsSet() bool { + return v.isSet +} + +func (v *NullableRecoverUpdateAckV1Message) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRecoverUpdateAckV1Message(val *RecoverUpdateAckV1Message) *NullableRecoverUpdateAckV1Message { + return &NullableRecoverUpdateAckV1Message{value: val, isSet: true} +} + +func (v NullableRecoverUpdateAckV1Message) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRecoverUpdateAckV1Message) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_update_v1_message.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_update_v1_message.go new file mode 100644 index 00000000000..594da3be173 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_update_v1_message.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the RecoverUpdateV1Message type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RecoverUpdateV1Message{} + +// RecoverUpdateV1Message struct for RecoverUpdateV1Message +type RecoverUpdateV1Message struct { + SessionID string `json:"sessionID"` + RecoveredLogs []LocalLog `json:"recoveredLogs"` + Signature string `json:"signature"` +} + +// NewRecoverUpdateV1Message instantiates a new RecoverUpdateV1Message object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRecoverUpdateV1Message(sessionID string, recoveredLogs []LocalLog, signature string) *RecoverUpdateV1Message { + this := RecoverUpdateV1Message{} + this.SessionID = sessionID + this.RecoveredLogs = recoveredLogs + this.Signature = signature + return &this +} + +// NewRecoverUpdateV1MessageWithDefaults instantiates a new RecoverUpdateV1Message object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRecoverUpdateV1MessageWithDefaults() *RecoverUpdateV1Message { + this := RecoverUpdateV1Message{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *RecoverUpdateV1Message) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *RecoverUpdateV1Message) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *RecoverUpdateV1Message) SetSessionID(v string) { + o.SessionID = v +} + +// GetRecoveredLogs returns the RecoveredLogs field value +func (o *RecoverUpdateV1Message) GetRecoveredLogs() []LocalLog { + if o == nil { + var ret []LocalLog + return ret + } + + return o.RecoveredLogs +} + +// GetRecoveredLogsOk returns a tuple with the RecoveredLogs field value +// and a boolean to check if the value has been set. +func (o *RecoverUpdateV1Message) GetRecoveredLogsOk() ([]LocalLog, bool) { + if o == nil { + return nil, false + } + return o.RecoveredLogs, true +} + +// SetRecoveredLogs sets field value +func (o *RecoverUpdateV1Message) SetRecoveredLogs(v []LocalLog) { + o.RecoveredLogs = v +} + +// GetSignature returns the Signature field value +func (o *RecoverUpdateV1Message) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *RecoverUpdateV1Message) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *RecoverUpdateV1Message) SetSignature(v string) { + o.Signature = v +} + +func (o RecoverUpdateV1Message) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RecoverUpdateV1Message) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["recoveredLogs"] = o.RecoveredLogs + toSerialize["signature"] = o.Signature + return toSerialize, nil +} + +type NullableRecoverUpdateV1Message struct { + value *RecoverUpdateV1Message + isSet bool +} + +func (v NullableRecoverUpdateV1Message) Get() *RecoverUpdateV1Message { + return v.value +} + +func (v *NullableRecoverUpdateV1Message) Set(val *RecoverUpdateV1Message) { + v.value = val + v.isSet = true +} + +func (v NullableRecoverUpdateV1Message) IsSet() bool { + return v.isSet +} + +func (v *NullableRecoverUpdateV1Message) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRecoverUpdateV1Message(val *RecoverUpdateV1Message) *NullableRecoverUpdateV1Message { + return &NullableRecoverUpdateV1Message{value: val, isSet: true} +} + +func (v NullableRecoverUpdateV1Message) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRecoverUpdateV1Message) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_v1_message.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_v1_message.go new file mode 100644 index 00000000000..4ca29dfb5f5 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_recover_v1_message.go @@ -0,0 +1,315 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the RecoverV1Message type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RecoverV1Message{} + +// RecoverV1Message struct for RecoverV1Message +type RecoverV1Message struct { + SessionID string `json:"sessionID"` + OdapPhase string `json:"odapPhase"` + SequenceNumber float32 `json:"sequenceNumber"` + LastLogEntryTimestamp string `json:"lastLogEntryTimestamp"` + IsBackup bool `json:"isBackup"` + NewBasePath string `json:"newBasePath"` + NewGatewayPubKey *string `json:"newGatewayPubKey,omitempty"` + Signature string `json:"signature"` +} + +// NewRecoverV1Message instantiates a new RecoverV1Message object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRecoverV1Message(sessionID string, odapPhase string, sequenceNumber float32, lastLogEntryTimestamp string, isBackup bool, newBasePath string, signature string) *RecoverV1Message { + this := RecoverV1Message{} + this.SessionID = sessionID + this.OdapPhase = odapPhase + this.SequenceNumber = sequenceNumber + this.LastLogEntryTimestamp = lastLogEntryTimestamp + this.IsBackup = isBackup + this.NewBasePath = newBasePath + this.Signature = signature + return &this +} + +// NewRecoverV1MessageWithDefaults instantiates a new RecoverV1Message object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRecoverV1MessageWithDefaults() *RecoverV1Message { + this := RecoverV1Message{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *RecoverV1Message) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *RecoverV1Message) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *RecoverV1Message) SetSessionID(v string) { + o.SessionID = v +} + +// GetOdapPhase returns the OdapPhase field value +func (o *RecoverV1Message) GetOdapPhase() string { + if o == nil { + var ret string + return ret + } + + return o.OdapPhase +} + +// GetOdapPhaseOk returns a tuple with the OdapPhase field value +// and a boolean to check if the value has been set. +func (o *RecoverV1Message) GetOdapPhaseOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OdapPhase, true +} + +// SetOdapPhase sets field value +func (o *RecoverV1Message) SetOdapPhase(v string) { + o.OdapPhase = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *RecoverV1Message) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *RecoverV1Message) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *RecoverV1Message) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +// GetLastLogEntryTimestamp returns the LastLogEntryTimestamp field value +func (o *RecoverV1Message) GetLastLogEntryTimestamp() string { + if o == nil { + var ret string + return ret + } + + return o.LastLogEntryTimestamp +} + +// GetLastLogEntryTimestampOk returns a tuple with the LastLogEntryTimestamp field value +// and a boolean to check if the value has been set. +func (o *RecoverV1Message) GetLastLogEntryTimestampOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.LastLogEntryTimestamp, true +} + +// SetLastLogEntryTimestamp sets field value +func (o *RecoverV1Message) SetLastLogEntryTimestamp(v string) { + o.LastLogEntryTimestamp = v +} + +// GetIsBackup returns the IsBackup field value +func (o *RecoverV1Message) GetIsBackup() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsBackup +} + +// GetIsBackupOk returns a tuple with the IsBackup field value +// and a boolean to check if the value has been set. +func (o *RecoverV1Message) GetIsBackupOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsBackup, true +} + +// SetIsBackup sets field value +func (o *RecoverV1Message) SetIsBackup(v bool) { + o.IsBackup = v +} + +// GetNewBasePath returns the NewBasePath field value +func (o *RecoverV1Message) GetNewBasePath() string { + if o == nil { + var ret string + return ret + } + + return o.NewBasePath +} + +// GetNewBasePathOk returns a tuple with the NewBasePath field value +// and a boolean to check if the value has been set. +func (o *RecoverV1Message) GetNewBasePathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.NewBasePath, true +} + +// SetNewBasePath sets field value +func (o *RecoverV1Message) SetNewBasePath(v string) { + o.NewBasePath = v +} + +// GetNewGatewayPubKey returns the NewGatewayPubKey field value if set, zero value otherwise. +func (o *RecoverV1Message) GetNewGatewayPubKey() string { + if o == nil || IsNil(o.NewGatewayPubKey) { + var ret string + return ret + } + return *o.NewGatewayPubKey +} + +// GetNewGatewayPubKeyOk returns a tuple with the NewGatewayPubKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RecoverV1Message) GetNewGatewayPubKeyOk() (*string, bool) { + if o == nil || IsNil(o.NewGatewayPubKey) { + return nil, false + } + return o.NewGatewayPubKey, true +} + +// HasNewGatewayPubKey returns a boolean if a field has been set. +func (o *RecoverV1Message) HasNewGatewayPubKey() bool { + if o != nil && !IsNil(o.NewGatewayPubKey) { + return true + } + + return false +} + +// SetNewGatewayPubKey gets a reference to the given string and assigns it to the NewGatewayPubKey field. +func (o *RecoverV1Message) SetNewGatewayPubKey(v string) { + o.NewGatewayPubKey = &v +} + +// GetSignature returns the Signature field value +func (o *RecoverV1Message) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *RecoverV1Message) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *RecoverV1Message) SetSignature(v string) { + o.Signature = v +} + +func (o RecoverV1Message) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RecoverV1Message) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["odapPhase"] = o.OdapPhase + toSerialize["sequenceNumber"] = o.SequenceNumber + toSerialize["lastLogEntryTimestamp"] = o.LastLogEntryTimestamp + toSerialize["isBackup"] = o.IsBackup + toSerialize["newBasePath"] = o.NewBasePath + if !IsNil(o.NewGatewayPubKey) { + toSerialize["newGatewayPubKey"] = o.NewGatewayPubKey + } + toSerialize["signature"] = o.Signature + return toSerialize, nil +} + +type NullableRecoverV1Message struct { + value *RecoverV1Message + isSet bool +} + +func (v NullableRecoverV1Message) Get() *RecoverV1Message { + return v.value +} + +func (v *NullableRecoverV1Message) Set(val *RecoverV1Message) { + v.value = val + v.isSet = true +} + +func (v NullableRecoverV1Message) IsSet() bool { + return v.isSet +} + +func (v *NullableRecoverV1Message) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRecoverV1Message(val *RecoverV1Message) *NullableRecoverV1Message { + return &NullableRecoverV1Message{value: val, isSet: true} +} + +func (v NullableRecoverV1Message) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRecoverV1Message) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_rollback_ack_v1_message.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_rollback_ack_v1_message.go new file mode 100644 index 00000000000..615820cabcb --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_rollback_ack_v1_message.go @@ -0,0 +1,171 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the RollbackAckV1Message type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RollbackAckV1Message{} + +// RollbackAckV1Message struct for RollbackAckV1Message +type RollbackAckV1Message struct { + SessionID string `json:"sessionID"` + Success bool `json:"success"` + Signature string `json:"signature"` +} + +// NewRollbackAckV1Message instantiates a new RollbackAckV1Message object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRollbackAckV1Message(sessionID string, success bool, signature string) *RollbackAckV1Message { + this := RollbackAckV1Message{} + this.SessionID = sessionID + this.Success = success + this.Signature = signature + return &this +} + +// NewRollbackAckV1MessageWithDefaults instantiates a new RollbackAckV1Message object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRollbackAckV1MessageWithDefaults() *RollbackAckV1Message { + this := RollbackAckV1Message{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *RollbackAckV1Message) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *RollbackAckV1Message) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *RollbackAckV1Message) SetSessionID(v string) { + o.SessionID = v +} + +// GetSuccess returns the Success field value +func (o *RollbackAckV1Message) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *RollbackAckV1Message) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *RollbackAckV1Message) SetSuccess(v bool) { + o.Success = v +} + +// GetSignature returns the Signature field value +func (o *RollbackAckV1Message) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *RollbackAckV1Message) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *RollbackAckV1Message) SetSignature(v string) { + o.Signature = v +} + +func (o RollbackAckV1Message) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RollbackAckV1Message) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["success"] = o.Success + toSerialize["signature"] = o.Signature + return toSerialize, nil +} + +type NullableRollbackAckV1Message struct { + value *RollbackAckV1Message + isSet bool +} + +func (v NullableRollbackAckV1Message) Get() *RollbackAckV1Message { + return v.value +} + +func (v *NullableRollbackAckV1Message) Set(val *RollbackAckV1Message) { + v.value = val + v.isSet = true +} + +func (v NullableRollbackAckV1Message) IsSet() bool { + return v.isSet +} + +func (v *NullableRollbackAckV1Message) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRollbackAckV1Message(val *RollbackAckV1Message) *NullableRollbackAckV1Message { + return &NullableRollbackAckV1Message{value: val, isSet: true} +} + +func (v NullableRollbackAckV1Message) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRollbackAckV1Message) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_rollback_v1_message.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_rollback_v1_message.go new file mode 100644 index 00000000000..1a9c5783cdd --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_rollback_v1_message.go @@ -0,0 +1,225 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the RollbackV1Message type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RollbackV1Message{} + +// RollbackV1Message struct for RollbackV1Message +type RollbackV1Message struct { + SessionID string `json:"sessionID"` + Success bool `json:"success"` + ActionPerformed []string `json:"actionPerformed"` + Proofs []string `json:"proofs"` + Signature string `json:"signature"` +} + +// NewRollbackV1Message instantiates a new RollbackV1Message object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRollbackV1Message(sessionID string, success bool, actionPerformed []string, proofs []string, signature string) *RollbackV1Message { + this := RollbackV1Message{} + this.SessionID = sessionID + this.Success = success + this.ActionPerformed = actionPerformed + this.Proofs = proofs + this.Signature = signature + return &this +} + +// NewRollbackV1MessageWithDefaults instantiates a new RollbackV1Message object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRollbackV1MessageWithDefaults() *RollbackV1Message { + this := RollbackV1Message{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *RollbackV1Message) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *RollbackV1Message) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *RollbackV1Message) SetSessionID(v string) { + o.SessionID = v +} + +// GetSuccess returns the Success field value +func (o *RollbackV1Message) GetSuccess() bool { + if o == nil { + var ret bool + return ret + } + + return o.Success +} + +// GetSuccessOk returns a tuple with the Success field value +// and a boolean to check if the value has been set. +func (o *RollbackV1Message) GetSuccessOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Success, true +} + +// SetSuccess sets field value +func (o *RollbackV1Message) SetSuccess(v bool) { + o.Success = v +} + +// GetActionPerformed returns the ActionPerformed field value +func (o *RollbackV1Message) GetActionPerformed() []string { + if o == nil { + var ret []string + return ret + } + + return o.ActionPerformed +} + +// GetActionPerformedOk returns a tuple with the ActionPerformed field value +// and a boolean to check if the value has been set. +func (o *RollbackV1Message) GetActionPerformedOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.ActionPerformed, true +} + +// SetActionPerformed sets field value +func (o *RollbackV1Message) SetActionPerformed(v []string) { + o.ActionPerformed = v +} + +// GetProofs returns the Proofs field value +func (o *RollbackV1Message) GetProofs() []string { + if o == nil { + var ret []string + return ret + } + + return o.Proofs +} + +// GetProofsOk returns a tuple with the Proofs field value +// and a boolean to check if the value has been set. +func (o *RollbackV1Message) GetProofsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Proofs, true +} + +// SetProofs sets field value +func (o *RollbackV1Message) SetProofs(v []string) { + o.Proofs = v +} + +// GetSignature returns the Signature field value +func (o *RollbackV1Message) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *RollbackV1Message) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *RollbackV1Message) SetSignature(v string) { + o.Signature = v +} + +func (o RollbackV1Message) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RollbackV1Message) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["success"] = o.Success + toSerialize["actionPerformed"] = o.ActionPerformed + toSerialize["proofs"] = o.Proofs + toSerialize["signature"] = o.Signature + return toSerialize, nil +} + +type NullableRollbackV1Message struct { + value *RollbackV1Message + isSet bool +} + +func (v NullableRollbackV1Message) Get() *RollbackV1Message { + return v.value +} + +func (v *NullableRollbackV1Message) Set(val *RollbackV1Message) { + v.value = val + v.isSet = true +} + +func (v NullableRollbackV1Message) IsSet() bool { + return v.isSet +} + +func (v *NullableRollbackV1Message) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRollbackV1Message(val *RollbackV1Message) *NullableRollbackV1Message { + return &NullableRollbackV1Message{value: val, isSet: true} +} + +func (v NullableRollbackV1Message) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRollbackV1Message) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_satp_message.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_satp_message.go new file mode 100644 index 00000000000..3710fa41c5e --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_satp_message.go @@ -0,0 +1,522 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the SatpMessage type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SatpMessage{} + +// SatpMessage struct for SatpMessage +type SatpMessage struct { + SequenceNumber *float32 `json:"SequenceNumber,omitempty"` + Phase *string `json:"Phase,omitempty"` + ResourceURL *string `json:"ResourceURL,omitempty"` + DeveloperURN *string `json:"DeveloperURN,omitempty"` + ActionResponse *SatpMessageActionResponse `json:"ActionResponse,omitempty"` + CredentialProfile *string `json:"CredentialProfile,omitempty"` + CredentialBlock []interface{} `json:"CredentialBlock,omitempty"` + CredentialsProfile *PayloadProfile `json:"CredentialsProfile,omitempty"` + ApplicationProfile map[string]interface{} `json:"ApplicationProfile,omitempty"` + Payload map[string]interface{} `json:"Payload,omitempty"` + PayloadHash *string `json:"PayloadHash,omitempty"` + MessageSignature *string `json:"MessageSignature,omitempty"` +} + +// NewSatpMessage instantiates a new SatpMessage object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSatpMessage() *SatpMessage { + this := SatpMessage{} + return &this +} + +// NewSatpMessageWithDefaults instantiates a new SatpMessage object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSatpMessageWithDefaults() *SatpMessage { + this := SatpMessage{} + return &this +} + +// GetSequenceNumber returns the SequenceNumber field value if set, zero value otherwise. +func (o *SatpMessage) GetSequenceNumber() float32 { + if o == nil || IsNil(o.SequenceNumber) { + var ret float32 + return ret + } + return *o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetSequenceNumberOk() (*float32, bool) { + if o == nil || IsNil(o.SequenceNumber) { + return nil, false + } + return o.SequenceNumber, true +} + +// HasSequenceNumber returns a boolean if a field has been set. +func (o *SatpMessage) HasSequenceNumber() bool { + if o != nil && !IsNil(o.SequenceNumber) { + return true + } + + return false +} + +// SetSequenceNumber gets a reference to the given float32 and assigns it to the SequenceNumber field. +func (o *SatpMessage) SetSequenceNumber(v float32) { + o.SequenceNumber = &v +} + +// GetPhase returns the Phase field value if set, zero value otherwise. +func (o *SatpMessage) GetPhase() string { + if o == nil || IsNil(o.Phase) { + var ret string + return ret + } + return *o.Phase +} + +// GetPhaseOk returns a tuple with the Phase field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetPhaseOk() (*string, bool) { + if o == nil || IsNil(o.Phase) { + return nil, false + } + return o.Phase, true +} + +// HasPhase returns a boolean if a field has been set. +func (o *SatpMessage) HasPhase() bool { + if o != nil && !IsNil(o.Phase) { + return true + } + + return false +} + +// SetPhase gets a reference to the given string and assigns it to the Phase field. +func (o *SatpMessage) SetPhase(v string) { + o.Phase = &v +} + +// GetResourceURL returns the ResourceURL field value if set, zero value otherwise. +func (o *SatpMessage) GetResourceURL() string { + if o == nil || IsNil(o.ResourceURL) { + var ret string + return ret + } + return *o.ResourceURL +} + +// GetResourceURLOk returns a tuple with the ResourceURL field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetResourceURLOk() (*string, bool) { + if o == nil || IsNil(o.ResourceURL) { + return nil, false + } + return o.ResourceURL, true +} + +// HasResourceURL returns a boolean if a field has been set. +func (o *SatpMessage) HasResourceURL() bool { + if o != nil && !IsNil(o.ResourceURL) { + return true + } + + return false +} + +// SetResourceURL gets a reference to the given string and assigns it to the ResourceURL field. +func (o *SatpMessage) SetResourceURL(v string) { + o.ResourceURL = &v +} + +// GetDeveloperURN returns the DeveloperURN field value if set, zero value otherwise. +func (o *SatpMessage) GetDeveloperURN() string { + if o == nil || IsNil(o.DeveloperURN) { + var ret string + return ret + } + return *o.DeveloperURN +} + +// GetDeveloperURNOk returns a tuple with the DeveloperURN field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetDeveloperURNOk() (*string, bool) { + if o == nil || IsNil(o.DeveloperURN) { + return nil, false + } + return o.DeveloperURN, true +} + +// HasDeveloperURN returns a boolean if a field has been set. +func (o *SatpMessage) HasDeveloperURN() bool { + if o != nil && !IsNil(o.DeveloperURN) { + return true + } + + return false +} + +// SetDeveloperURN gets a reference to the given string and assigns it to the DeveloperURN field. +func (o *SatpMessage) SetDeveloperURN(v string) { + o.DeveloperURN = &v +} + +// GetActionResponse returns the ActionResponse field value if set, zero value otherwise. +func (o *SatpMessage) GetActionResponse() SatpMessageActionResponse { + if o == nil || IsNil(o.ActionResponse) { + var ret SatpMessageActionResponse + return ret + } + return *o.ActionResponse +} + +// GetActionResponseOk returns a tuple with the ActionResponse field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetActionResponseOk() (*SatpMessageActionResponse, bool) { + if o == nil || IsNil(o.ActionResponse) { + return nil, false + } + return o.ActionResponse, true +} + +// HasActionResponse returns a boolean if a field has been set. +func (o *SatpMessage) HasActionResponse() bool { + if o != nil && !IsNil(o.ActionResponse) { + return true + } + + return false +} + +// SetActionResponse gets a reference to the given SatpMessageActionResponse and assigns it to the ActionResponse field. +func (o *SatpMessage) SetActionResponse(v SatpMessageActionResponse) { + o.ActionResponse = &v +} + +// GetCredentialProfile returns the CredentialProfile field value if set, zero value otherwise. +func (o *SatpMessage) GetCredentialProfile() string { + if o == nil || IsNil(o.CredentialProfile) { + var ret string + return ret + } + return *o.CredentialProfile +} + +// GetCredentialProfileOk returns a tuple with the CredentialProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetCredentialProfileOk() (*string, bool) { + if o == nil || IsNil(o.CredentialProfile) { + return nil, false + } + return o.CredentialProfile, true +} + +// HasCredentialProfile returns a boolean if a field has been set. +func (o *SatpMessage) HasCredentialProfile() bool { + if o != nil && !IsNil(o.CredentialProfile) { + return true + } + + return false +} + +// SetCredentialProfile gets a reference to the given string and assigns it to the CredentialProfile field. +func (o *SatpMessage) SetCredentialProfile(v string) { + o.CredentialProfile = &v +} + +// GetCredentialBlock returns the CredentialBlock field value if set, zero value otherwise. +func (o *SatpMessage) GetCredentialBlock() []interface{} { + if o == nil || IsNil(o.CredentialBlock) { + var ret []interface{} + return ret + } + return o.CredentialBlock +} + +// GetCredentialBlockOk returns a tuple with the CredentialBlock field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetCredentialBlockOk() ([]interface{}, bool) { + if o == nil || IsNil(o.CredentialBlock) { + return nil, false + } + return o.CredentialBlock, true +} + +// HasCredentialBlock returns a boolean if a field has been set. +func (o *SatpMessage) HasCredentialBlock() bool { + if o != nil && !IsNil(o.CredentialBlock) { + return true + } + + return false +} + +// SetCredentialBlock gets a reference to the given []interface{} and assigns it to the CredentialBlock field. +func (o *SatpMessage) SetCredentialBlock(v []interface{}) { + o.CredentialBlock = v +} + +// GetCredentialsProfile returns the CredentialsProfile field value if set, zero value otherwise. +func (o *SatpMessage) GetCredentialsProfile() PayloadProfile { + if o == nil || IsNil(o.CredentialsProfile) { + var ret PayloadProfile + return ret + } + return *o.CredentialsProfile +} + +// GetCredentialsProfileOk returns a tuple with the CredentialsProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetCredentialsProfileOk() (*PayloadProfile, bool) { + if o == nil || IsNil(o.CredentialsProfile) { + return nil, false + } + return o.CredentialsProfile, true +} + +// HasCredentialsProfile returns a boolean if a field has been set. +func (o *SatpMessage) HasCredentialsProfile() bool { + if o != nil && !IsNil(o.CredentialsProfile) { + return true + } + + return false +} + +// SetCredentialsProfile gets a reference to the given PayloadProfile and assigns it to the CredentialsProfile field. +func (o *SatpMessage) SetCredentialsProfile(v PayloadProfile) { + o.CredentialsProfile = &v +} + +// GetApplicationProfile returns the ApplicationProfile field value if set, zero value otherwise. +func (o *SatpMessage) GetApplicationProfile() map[string]interface{} { + if o == nil || IsNil(o.ApplicationProfile) { + var ret map[string]interface{} + return ret + } + return o.ApplicationProfile +} + +// GetApplicationProfileOk returns a tuple with the ApplicationProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetApplicationProfileOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.ApplicationProfile) { + return map[string]interface{}{}, false + } + return o.ApplicationProfile, true +} + +// HasApplicationProfile returns a boolean if a field has been set. +func (o *SatpMessage) HasApplicationProfile() bool { + if o != nil && !IsNil(o.ApplicationProfile) { + return true + } + + return false +} + +// SetApplicationProfile gets a reference to the given map[string]interface{} and assigns it to the ApplicationProfile field. +func (o *SatpMessage) SetApplicationProfile(v map[string]interface{}) { + o.ApplicationProfile = v +} + +// GetPayload returns the Payload field value if set, zero value otherwise. +func (o *SatpMessage) GetPayload() map[string]interface{} { + if o == nil || IsNil(o.Payload) { + var ret map[string]interface{} + return ret + } + return o.Payload +} + +// GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetPayloadOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Payload) { + return map[string]interface{}{}, false + } + return o.Payload, true +} + +// HasPayload returns a boolean if a field has been set. +func (o *SatpMessage) HasPayload() bool { + if o != nil && !IsNil(o.Payload) { + return true + } + + return false +} + +// SetPayload gets a reference to the given map[string]interface{} and assigns it to the Payload field. +func (o *SatpMessage) SetPayload(v map[string]interface{}) { + o.Payload = v +} + +// GetPayloadHash returns the PayloadHash field value if set, zero value otherwise. +func (o *SatpMessage) GetPayloadHash() string { + if o == nil || IsNil(o.PayloadHash) { + var ret string + return ret + } + return *o.PayloadHash +} + +// GetPayloadHashOk returns a tuple with the PayloadHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetPayloadHashOk() (*string, bool) { + if o == nil || IsNil(o.PayloadHash) { + return nil, false + } + return o.PayloadHash, true +} + +// HasPayloadHash returns a boolean if a field has been set. +func (o *SatpMessage) HasPayloadHash() bool { + if o != nil && !IsNil(o.PayloadHash) { + return true + } + + return false +} + +// SetPayloadHash gets a reference to the given string and assigns it to the PayloadHash field. +func (o *SatpMessage) SetPayloadHash(v string) { + o.PayloadHash = &v +} + +// GetMessageSignature returns the MessageSignature field value if set, zero value otherwise. +func (o *SatpMessage) GetMessageSignature() string { + if o == nil || IsNil(o.MessageSignature) { + var ret string + return ret + } + return *o.MessageSignature +} + +// GetMessageSignatureOk returns a tuple with the MessageSignature field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessage) GetMessageSignatureOk() (*string, bool) { + if o == nil || IsNil(o.MessageSignature) { + return nil, false + } + return o.MessageSignature, true +} + +// HasMessageSignature returns a boolean if a field has been set. +func (o *SatpMessage) HasMessageSignature() bool { + if o != nil && !IsNil(o.MessageSignature) { + return true + } + + return false +} + +// SetMessageSignature gets a reference to the given string and assigns it to the MessageSignature field. +func (o *SatpMessage) SetMessageSignature(v string) { + o.MessageSignature = &v +} + +func (o SatpMessage) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SatpMessage) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.SequenceNumber) { + toSerialize["SequenceNumber"] = o.SequenceNumber + } + if !IsNil(o.Phase) { + toSerialize["Phase"] = o.Phase + } + if !IsNil(o.ResourceURL) { + toSerialize["ResourceURL"] = o.ResourceURL + } + if !IsNil(o.DeveloperURN) { + toSerialize["DeveloperURN"] = o.DeveloperURN + } + if !IsNil(o.ActionResponse) { + toSerialize["ActionResponse"] = o.ActionResponse + } + if !IsNil(o.CredentialProfile) { + toSerialize["CredentialProfile"] = o.CredentialProfile + } + if !IsNil(o.CredentialBlock) { + toSerialize["CredentialBlock"] = o.CredentialBlock + } + if !IsNil(o.CredentialsProfile) { + toSerialize["CredentialsProfile"] = o.CredentialsProfile + } + if !IsNil(o.ApplicationProfile) { + toSerialize["ApplicationProfile"] = o.ApplicationProfile + } + if !IsNil(o.Payload) { + toSerialize["Payload"] = o.Payload + } + if !IsNil(o.PayloadHash) { + toSerialize["PayloadHash"] = o.PayloadHash + } + if !IsNil(o.MessageSignature) { + toSerialize["MessageSignature"] = o.MessageSignature + } + return toSerialize, nil +} + +type NullableSatpMessage struct { + value *SatpMessage + isSet bool +} + +func (v NullableSatpMessage) Get() *SatpMessage { + return v.value +} + +func (v *NullableSatpMessage) Set(val *SatpMessage) { + v.value = val + v.isSet = true +} + +func (v NullableSatpMessage) IsSet() bool { + return v.isSet +} + +func (v *NullableSatpMessage) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSatpMessage(val *SatpMessage) *NullableSatpMessage { + return &NullableSatpMessage{value: val, isSet: true} +} + +func (v NullableSatpMessage) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSatpMessage) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_satp_message_action_response.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_satp_message_action_response.go new file mode 100644 index 00000000000..3235a461dcf --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_satp_message_action_response.go @@ -0,0 +1,162 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the SatpMessageActionResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SatpMessageActionResponse{} + +// SatpMessageActionResponse struct for SatpMessageActionResponse +type SatpMessageActionResponse struct { + ResponseCode *string `json:"ResponseCode,omitempty"` + Arguments []interface{} `json:"Arguments,omitempty"` +} + +// NewSatpMessageActionResponse instantiates a new SatpMessageActionResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSatpMessageActionResponse() *SatpMessageActionResponse { + this := SatpMessageActionResponse{} + return &this +} + +// NewSatpMessageActionResponseWithDefaults instantiates a new SatpMessageActionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSatpMessageActionResponseWithDefaults() *SatpMessageActionResponse { + this := SatpMessageActionResponse{} + return &this +} + +// GetResponseCode returns the ResponseCode field value if set, zero value otherwise. +func (o *SatpMessageActionResponse) GetResponseCode() string { + if o == nil || IsNil(o.ResponseCode) { + var ret string + return ret + } + return *o.ResponseCode +} + +// GetResponseCodeOk returns a tuple with the ResponseCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessageActionResponse) GetResponseCodeOk() (*string, bool) { + if o == nil || IsNil(o.ResponseCode) { + return nil, false + } + return o.ResponseCode, true +} + +// HasResponseCode returns a boolean if a field has been set. +func (o *SatpMessageActionResponse) HasResponseCode() bool { + if o != nil && !IsNil(o.ResponseCode) { + return true + } + + return false +} + +// SetResponseCode gets a reference to the given string and assigns it to the ResponseCode field. +func (o *SatpMessageActionResponse) SetResponseCode(v string) { + o.ResponseCode = &v +} + +// GetArguments returns the Arguments field value if set, zero value otherwise. +func (o *SatpMessageActionResponse) GetArguments() []interface{} { + if o == nil || IsNil(o.Arguments) { + var ret []interface{} + return ret + } + return o.Arguments +} + +// GetArgumentsOk returns a tuple with the Arguments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SatpMessageActionResponse) GetArgumentsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.Arguments) { + return nil, false + } + return o.Arguments, true +} + +// HasArguments returns a boolean if a field has been set. +func (o *SatpMessageActionResponse) HasArguments() bool { + if o != nil && !IsNil(o.Arguments) { + return true + } + + return false +} + +// SetArguments gets a reference to the given []interface{} and assigns it to the Arguments field. +func (o *SatpMessageActionResponse) SetArguments(v []interface{}) { + o.Arguments = v +} + +func (o SatpMessageActionResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SatpMessageActionResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.ResponseCode) { + toSerialize["ResponseCode"] = o.ResponseCode + } + if !IsNil(o.Arguments) { + toSerialize["Arguments"] = o.Arguments + } + return toSerialize, nil +} + +type NullableSatpMessageActionResponse struct { + value *SatpMessageActionResponse + isSet bool +} + +func (v NullableSatpMessageActionResponse) Get() *SatpMessageActionResponse { + return v.value +} + +func (v *NullableSatpMessageActionResponse) Set(val *SatpMessageActionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableSatpMessageActionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableSatpMessageActionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSatpMessageActionResponse(val *SatpMessageActionResponse) *NullableSatpMessageActionResponse { + return &NullableSatpMessageActionResponse{value: val, isSet: true} +} + +func (v NullableSatpMessageActionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSatpMessageActionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_session_data.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_session_data.go new file mode 100644 index 00000000000..63b509d1365 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_session_data.go @@ -0,0 +1,2286 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the SessionData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SessionData{} + +// SessionData struct for SessionData +type SessionData struct { + Id *string `json:"id,omitempty"` + Step *float32 `json:"step,omitempty"` + Version *string `json:"version,omitempty"` + LastSequenceNumber *float32 `json:"lastSequenceNumber,omitempty"` + LoggingProfile *string `json:"loggingProfile,omitempty"` + AccessControlProfile *string `json:"accessControlProfile,omitempty"` + ApplicationProfile *string `json:"applicationProfile,omitempty"` + PayloadProfile *PayloadProfile `json:"payloadProfile,omitempty"` + AssetProfile *AssetProfile `json:"assetProfile,omitempty"` + AllowedSourceBackupGateways []string `json:"allowedSourceBackupGateways,omitempty"` + AllowedRecipientBackupGateways []string `json:"allowedRecipientBackupGateways,omitempty"` + SourceBasePath *string `json:"sourceBasePath,omitempty"` + RecipientBasePath *string `json:"recipientBasePath,omitempty"` + OriginatorPubkey *string `json:"originatorPubkey,omitempty"` + BeneficiaryPubkey *string `json:"beneficiaryPubkey,omitempty"` + SourceGatewayPubkey *string `json:"sourceGatewayPubkey,omitempty"` + SourceGatewayDltSystem *string `json:"sourceGatewayDltSystem,omitempty"` + RecipientGatewayPubkey *string `json:"recipientGatewayPubkey,omitempty"` + RecipientGatewayDltSystem *string `json:"recipientGatewayDltSystem,omitempty"` + InitializationRequestMessageHash *string `json:"initializationRequestMessageHash,omitempty"` + InitializationResponseMessageHash *string `json:"initializationResponseMessageHash,omitempty"` + InitializationRequestMessageRcvTimeStamp *string `json:"initializationRequestMessageRcvTimeStamp,omitempty"` + InitializationRequestMessageProcessedTimeStamp *string `json:"initializationRequestMessageProcessedTimeStamp,omitempty"` + ClientSignatureInitializationRequestMessage *string `json:"clientSignatureInitializationRequestMessage,omitempty"` + ServerSignatureInitializationResponseMessage *string `json:"serverSignatureInitializationResponseMessage,omitempty"` + TransferCommenceMessageRequestHash *string `json:"transferCommenceMessageRequestHash,omitempty"` + TransferCommenceMessageResponseHash *string `json:"transferCommenceMessageResponseHash,omitempty"` + ClientSignatureTransferCommenceRequestMessage *string `json:"clientSignatureTransferCommenceRequestMessage,omitempty"` + ServerSignatureTransferCommenceResponseMessage *string `json:"serverSignatureTransferCommenceResponseMessage,omitempty"` + LockEvidenceRequestMessageHash *string `json:"lockEvidenceRequestMessageHash,omitempty"` + LockEvidenceResponseMessageHash *string `json:"lockEvidenceResponseMessageHash,omitempty"` + ClientSignatureLockEvidenceRequestMessage *string `json:"clientSignatureLockEvidenceRequestMessage,omitempty"` + ServerSignatureLockEvidenceResponseMessage *string `json:"serverSignatureLockEvidenceResponseMessage,omitempty"` + LockEvidenceClaim *string `json:"lockEvidenceClaim,omitempty"` + CommitPrepareRequestMessageHash *string `json:"commitPrepareRequestMessageHash,omitempty"` + CommitPrepareResponseMessageHash *string `json:"commitPrepareResponseMessageHash,omitempty"` + ClientSignatureCommitPreparationRequestMessage *string `json:"clientSignatureCommitPreparationRequestMessage,omitempty"` + ServerSignatureCommitPreparationResponseMessage *string `json:"serverSignatureCommitPreparationResponseMessage,omitempty"` + CommitFinalRequestMessageHash *string `json:"commitFinalRequestMessageHash,omitempty"` + CommitFinalResponseMessageHash *string `json:"commitFinalResponseMessageHash,omitempty"` + CommitFinalClaim *string `json:"commitFinalClaim,omitempty"` + CommitFinalClaimFormat *string `json:"commitFinalClaimFormat,omitempty"` + CommitAcknowledgementClaim *string `json:"commitAcknowledgementClaim,omitempty"` + CommitAcknowledgementClaimFormat *string `json:"commitAcknowledgementClaimFormat,omitempty"` + ClientSignatureCommitFinalRequestMessage *string `json:"clientSignatureCommitFinalRequestMessage,omitempty"` + ServerSignatureCommitFinalResponseMessage *string `json:"serverSignatureCommitFinalResponseMessage,omitempty"` + TransferCompleteMessageHash *string `json:"transferCompleteMessageHash,omitempty"` + ClientSignatureTransferCompleteMessage *string `json:"clientSignatureTransferCompleteMessage,omitempty"` + MaxRetries *float32 `json:"maxRetries,omitempty"` + RecipientLedgerAssetID *string `json:"recipientLedgerAssetID,omitempty"` + SourceLedgerAssetID *string `json:"sourceLedgerAssetID,omitempty"` + MaxTimeout *float32 `json:"maxTimeout,omitempty"` + LastLogEntryTimestamp *string `json:"lastLogEntryTimestamp,omitempty"` + UnlockAssetClaim *string `json:"unlockAssetClaim,omitempty"` + RecreateAssetClaim *string `json:"recreateAssetClaim,omitempty"` + DeleteAssetClaim *string `json:"deleteAssetClaim,omitempty"` + LastMessageReceivedTimestamp *string `json:"lastMessageReceivedTimestamp,omitempty"` + Rollback *bool `json:"rollback,omitempty"` + RollbackMessageHash *string `json:"rollbackMessageHash,omitempty"` + RollbackProofs []string `json:"rollbackProofs,omitempty"` + RollbackActionsPerformed []string `json:"rollbackActionsPerformed,omitempty"` +} + +// NewSessionData instantiates a new SessionData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSessionData() *SessionData { + this := SessionData{} + return &this +} + +// NewSessionDataWithDefaults instantiates a new SessionData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSessionDataWithDefaults() *SessionData { + this := SessionData{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *SessionData) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SessionData) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SessionData) SetId(v string) { + o.Id = &v +} + +// GetStep returns the Step field value if set, zero value otherwise. +func (o *SessionData) GetStep() float32 { + if o == nil || IsNil(o.Step) { + var ret float32 + return ret + } + return *o.Step +} + +// GetStepOk returns a tuple with the Step field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetStepOk() (*float32, bool) { + if o == nil || IsNil(o.Step) { + return nil, false + } + return o.Step, true +} + +// HasStep returns a boolean if a field has been set. +func (o *SessionData) HasStep() bool { + if o != nil && !IsNil(o.Step) { + return true + } + + return false +} + +// SetStep gets a reference to the given float32 and assigns it to the Step field. +func (o *SessionData) SetStep(v float32) { + o.Step = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *SessionData) GetVersion() string { + if o == nil || IsNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetVersionOk() (*string, bool) { + if o == nil || IsNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *SessionData) HasVersion() bool { + if o != nil && !IsNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *SessionData) SetVersion(v string) { + o.Version = &v +} + +// GetLastSequenceNumber returns the LastSequenceNumber field value if set, zero value otherwise. +func (o *SessionData) GetLastSequenceNumber() float32 { + if o == nil || IsNil(o.LastSequenceNumber) { + var ret float32 + return ret + } + return *o.LastSequenceNumber +} + +// GetLastSequenceNumberOk returns a tuple with the LastSequenceNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetLastSequenceNumberOk() (*float32, bool) { + if o == nil || IsNil(o.LastSequenceNumber) { + return nil, false + } + return o.LastSequenceNumber, true +} + +// HasLastSequenceNumber returns a boolean if a field has been set. +func (o *SessionData) HasLastSequenceNumber() bool { + if o != nil && !IsNil(o.LastSequenceNumber) { + return true + } + + return false +} + +// SetLastSequenceNumber gets a reference to the given float32 and assigns it to the LastSequenceNumber field. +func (o *SessionData) SetLastSequenceNumber(v float32) { + o.LastSequenceNumber = &v +} + +// GetLoggingProfile returns the LoggingProfile field value if set, zero value otherwise. +func (o *SessionData) GetLoggingProfile() string { + if o == nil || IsNil(o.LoggingProfile) { + var ret string + return ret + } + return *o.LoggingProfile +} + +// GetLoggingProfileOk returns a tuple with the LoggingProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetLoggingProfileOk() (*string, bool) { + if o == nil || IsNil(o.LoggingProfile) { + return nil, false + } + return o.LoggingProfile, true +} + +// HasLoggingProfile returns a boolean if a field has been set. +func (o *SessionData) HasLoggingProfile() bool { + if o != nil && !IsNil(o.LoggingProfile) { + return true + } + + return false +} + +// SetLoggingProfile gets a reference to the given string and assigns it to the LoggingProfile field. +func (o *SessionData) SetLoggingProfile(v string) { + o.LoggingProfile = &v +} + +// GetAccessControlProfile returns the AccessControlProfile field value if set, zero value otherwise. +func (o *SessionData) GetAccessControlProfile() string { + if o == nil || IsNil(o.AccessControlProfile) { + var ret string + return ret + } + return *o.AccessControlProfile +} + +// GetAccessControlProfileOk returns a tuple with the AccessControlProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetAccessControlProfileOk() (*string, bool) { + if o == nil || IsNil(o.AccessControlProfile) { + return nil, false + } + return o.AccessControlProfile, true +} + +// HasAccessControlProfile returns a boolean if a field has been set. +func (o *SessionData) HasAccessControlProfile() bool { + if o != nil && !IsNil(o.AccessControlProfile) { + return true + } + + return false +} + +// SetAccessControlProfile gets a reference to the given string and assigns it to the AccessControlProfile field. +func (o *SessionData) SetAccessControlProfile(v string) { + o.AccessControlProfile = &v +} + +// GetApplicationProfile returns the ApplicationProfile field value if set, zero value otherwise. +func (o *SessionData) GetApplicationProfile() string { + if o == nil || IsNil(o.ApplicationProfile) { + var ret string + return ret + } + return *o.ApplicationProfile +} + +// GetApplicationProfileOk returns a tuple with the ApplicationProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetApplicationProfileOk() (*string, bool) { + if o == nil || IsNil(o.ApplicationProfile) { + return nil, false + } + return o.ApplicationProfile, true +} + +// HasApplicationProfile returns a boolean if a field has been set. +func (o *SessionData) HasApplicationProfile() bool { + if o != nil && !IsNil(o.ApplicationProfile) { + return true + } + + return false +} + +// SetApplicationProfile gets a reference to the given string and assigns it to the ApplicationProfile field. +func (o *SessionData) SetApplicationProfile(v string) { + o.ApplicationProfile = &v +} + +// GetPayloadProfile returns the PayloadProfile field value if set, zero value otherwise. +func (o *SessionData) GetPayloadProfile() PayloadProfile { + if o == nil || IsNil(o.PayloadProfile) { + var ret PayloadProfile + return ret + } + return *o.PayloadProfile +} + +// GetPayloadProfileOk returns a tuple with the PayloadProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetPayloadProfileOk() (*PayloadProfile, bool) { + if o == nil || IsNil(o.PayloadProfile) { + return nil, false + } + return o.PayloadProfile, true +} + +// HasPayloadProfile returns a boolean if a field has been set. +func (o *SessionData) HasPayloadProfile() bool { + if o != nil && !IsNil(o.PayloadProfile) { + return true + } + + return false +} + +// SetPayloadProfile gets a reference to the given PayloadProfile and assigns it to the PayloadProfile field. +func (o *SessionData) SetPayloadProfile(v PayloadProfile) { + o.PayloadProfile = &v +} + +// GetAssetProfile returns the AssetProfile field value if set, zero value otherwise. +func (o *SessionData) GetAssetProfile() AssetProfile { + if o == nil || IsNil(o.AssetProfile) { + var ret AssetProfile + return ret + } + return *o.AssetProfile +} + +// GetAssetProfileOk returns a tuple with the AssetProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetAssetProfileOk() (*AssetProfile, bool) { + if o == nil || IsNil(o.AssetProfile) { + return nil, false + } + return o.AssetProfile, true +} + +// HasAssetProfile returns a boolean if a field has been set. +func (o *SessionData) HasAssetProfile() bool { + if o != nil && !IsNil(o.AssetProfile) { + return true + } + + return false +} + +// SetAssetProfile gets a reference to the given AssetProfile and assigns it to the AssetProfile field. +func (o *SessionData) SetAssetProfile(v AssetProfile) { + o.AssetProfile = &v +} + +// GetAllowedSourceBackupGateways returns the AllowedSourceBackupGateways field value if set, zero value otherwise. +func (o *SessionData) GetAllowedSourceBackupGateways() []string { + if o == nil || IsNil(o.AllowedSourceBackupGateways) { + var ret []string + return ret + } + return o.AllowedSourceBackupGateways +} + +// GetAllowedSourceBackupGatewaysOk returns a tuple with the AllowedSourceBackupGateways field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetAllowedSourceBackupGatewaysOk() ([]string, bool) { + if o == nil || IsNil(o.AllowedSourceBackupGateways) { + return nil, false + } + return o.AllowedSourceBackupGateways, true +} + +// HasAllowedSourceBackupGateways returns a boolean if a field has been set. +func (o *SessionData) HasAllowedSourceBackupGateways() bool { + if o != nil && !IsNil(o.AllowedSourceBackupGateways) { + return true + } + + return false +} + +// SetAllowedSourceBackupGateways gets a reference to the given []string and assigns it to the AllowedSourceBackupGateways field. +func (o *SessionData) SetAllowedSourceBackupGateways(v []string) { + o.AllowedSourceBackupGateways = v +} + +// GetAllowedRecipientBackupGateways returns the AllowedRecipientBackupGateways field value if set, zero value otherwise. +func (o *SessionData) GetAllowedRecipientBackupGateways() []string { + if o == nil || IsNil(o.AllowedRecipientBackupGateways) { + var ret []string + return ret + } + return o.AllowedRecipientBackupGateways +} + +// GetAllowedRecipientBackupGatewaysOk returns a tuple with the AllowedRecipientBackupGateways field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetAllowedRecipientBackupGatewaysOk() ([]string, bool) { + if o == nil || IsNil(o.AllowedRecipientBackupGateways) { + return nil, false + } + return o.AllowedRecipientBackupGateways, true +} + +// HasAllowedRecipientBackupGateways returns a boolean if a field has been set. +func (o *SessionData) HasAllowedRecipientBackupGateways() bool { + if o != nil && !IsNil(o.AllowedRecipientBackupGateways) { + return true + } + + return false +} + +// SetAllowedRecipientBackupGateways gets a reference to the given []string and assigns it to the AllowedRecipientBackupGateways field. +func (o *SessionData) SetAllowedRecipientBackupGateways(v []string) { + o.AllowedRecipientBackupGateways = v +} + +// GetSourceBasePath returns the SourceBasePath field value if set, zero value otherwise. +func (o *SessionData) GetSourceBasePath() string { + if o == nil || IsNil(o.SourceBasePath) { + var ret string + return ret + } + return *o.SourceBasePath +} + +// GetSourceBasePathOk returns a tuple with the SourceBasePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetSourceBasePathOk() (*string, bool) { + if o == nil || IsNil(o.SourceBasePath) { + return nil, false + } + return o.SourceBasePath, true +} + +// HasSourceBasePath returns a boolean if a field has been set. +func (o *SessionData) HasSourceBasePath() bool { + if o != nil && !IsNil(o.SourceBasePath) { + return true + } + + return false +} + +// SetSourceBasePath gets a reference to the given string and assigns it to the SourceBasePath field. +func (o *SessionData) SetSourceBasePath(v string) { + o.SourceBasePath = &v +} + +// GetRecipientBasePath returns the RecipientBasePath field value if set, zero value otherwise. +func (o *SessionData) GetRecipientBasePath() string { + if o == nil || IsNil(o.RecipientBasePath) { + var ret string + return ret + } + return *o.RecipientBasePath +} + +// GetRecipientBasePathOk returns a tuple with the RecipientBasePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetRecipientBasePathOk() (*string, bool) { + if o == nil || IsNil(o.RecipientBasePath) { + return nil, false + } + return o.RecipientBasePath, true +} + +// HasRecipientBasePath returns a boolean if a field has been set. +func (o *SessionData) HasRecipientBasePath() bool { + if o != nil && !IsNil(o.RecipientBasePath) { + return true + } + + return false +} + +// SetRecipientBasePath gets a reference to the given string and assigns it to the RecipientBasePath field. +func (o *SessionData) SetRecipientBasePath(v string) { + o.RecipientBasePath = &v +} + +// GetOriginatorPubkey returns the OriginatorPubkey field value if set, zero value otherwise. +func (o *SessionData) GetOriginatorPubkey() string { + if o == nil || IsNil(o.OriginatorPubkey) { + var ret string + return ret + } + return *o.OriginatorPubkey +} + +// GetOriginatorPubkeyOk returns a tuple with the OriginatorPubkey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetOriginatorPubkeyOk() (*string, bool) { + if o == nil || IsNil(o.OriginatorPubkey) { + return nil, false + } + return o.OriginatorPubkey, true +} + +// HasOriginatorPubkey returns a boolean if a field has been set. +func (o *SessionData) HasOriginatorPubkey() bool { + if o != nil && !IsNil(o.OriginatorPubkey) { + return true + } + + return false +} + +// SetOriginatorPubkey gets a reference to the given string and assigns it to the OriginatorPubkey field. +func (o *SessionData) SetOriginatorPubkey(v string) { + o.OriginatorPubkey = &v +} + +// GetBeneficiaryPubkey returns the BeneficiaryPubkey field value if set, zero value otherwise. +func (o *SessionData) GetBeneficiaryPubkey() string { + if o == nil || IsNil(o.BeneficiaryPubkey) { + var ret string + return ret + } + return *o.BeneficiaryPubkey +} + +// GetBeneficiaryPubkeyOk returns a tuple with the BeneficiaryPubkey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetBeneficiaryPubkeyOk() (*string, bool) { + if o == nil || IsNil(o.BeneficiaryPubkey) { + return nil, false + } + return o.BeneficiaryPubkey, true +} + +// HasBeneficiaryPubkey returns a boolean if a field has been set. +func (o *SessionData) HasBeneficiaryPubkey() bool { + if o != nil && !IsNil(o.BeneficiaryPubkey) { + return true + } + + return false +} + +// SetBeneficiaryPubkey gets a reference to the given string and assigns it to the BeneficiaryPubkey field. +func (o *SessionData) SetBeneficiaryPubkey(v string) { + o.BeneficiaryPubkey = &v +} + +// GetSourceGatewayPubkey returns the SourceGatewayPubkey field value if set, zero value otherwise. +func (o *SessionData) GetSourceGatewayPubkey() string { + if o == nil || IsNil(o.SourceGatewayPubkey) { + var ret string + return ret + } + return *o.SourceGatewayPubkey +} + +// GetSourceGatewayPubkeyOk returns a tuple with the SourceGatewayPubkey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetSourceGatewayPubkeyOk() (*string, bool) { + if o == nil || IsNil(o.SourceGatewayPubkey) { + return nil, false + } + return o.SourceGatewayPubkey, true +} + +// HasSourceGatewayPubkey returns a boolean if a field has been set. +func (o *SessionData) HasSourceGatewayPubkey() bool { + if o != nil && !IsNil(o.SourceGatewayPubkey) { + return true + } + + return false +} + +// SetSourceGatewayPubkey gets a reference to the given string and assigns it to the SourceGatewayPubkey field. +func (o *SessionData) SetSourceGatewayPubkey(v string) { + o.SourceGatewayPubkey = &v +} + +// GetSourceGatewayDltSystem returns the SourceGatewayDltSystem field value if set, zero value otherwise. +func (o *SessionData) GetSourceGatewayDltSystem() string { + if o == nil || IsNil(o.SourceGatewayDltSystem) { + var ret string + return ret + } + return *o.SourceGatewayDltSystem +} + +// GetSourceGatewayDltSystemOk returns a tuple with the SourceGatewayDltSystem field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetSourceGatewayDltSystemOk() (*string, bool) { + if o == nil || IsNil(o.SourceGatewayDltSystem) { + return nil, false + } + return o.SourceGatewayDltSystem, true +} + +// HasSourceGatewayDltSystem returns a boolean if a field has been set. +func (o *SessionData) HasSourceGatewayDltSystem() bool { + if o != nil && !IsNil(o.SourceGatewayDltSystem) { + return true + } + + return false +} + +// SetSourceGatewayDltSystem gets a reference to the given string and assigns it to the SourceGatewayDltSystem field. +func (o *SessionData) SetSourceGatewayDltSystem(v string) { + o.SourceGatewayDltSystem = &v +} + +// GetRecipientGatewayPubkey returns the RecipientGatewayPubkey field value if set, zero value otherwise. +func (o *SessionData) GetRecipientGatewayPubkey() string { + if o == nil || IsNil(o.RecipientGatewayPubkey) { + var ret string + return ret + } + return *o.RecipientGatewayPubkey +} + +// GetRecipientGatewayPubkeyOk returns a tuple with the RecipientGatewayPubkey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetRecipientGatewayPubkeyOk() (*string, bool) { + if o == nil || IsNil(o.RecipientGatewayPubkey) { + return nil, false + } + return o.RecipientGatewayPubkey, true +} + +// HasRecipientGatewayPubkey returns a boolean if a field has been set. +func (o *SessionData) HasRecipientGatewayPubkey() bool { + if o != nil && !IsNil(o.RecipientGatewayPubkey) { + return true + } + + return false +} + +// SetRecipientGatewayPubkey gets a reference to the given string and assigns it to the RecipientGatewayPubkey field. +func (o *SessionData) SetRecipientGatewayPubkey(v string) { + o.RecipientGatewayPubkey = &v +} + +// GetRecipientGatewayDltSystem returns the RecipientGatewayDltSystem field value if set, zero value otherwise. +func (o *SessionData) GetRecipientGatewayDltSystem() string { + if o == nil || IsNil(o.RecipientGatewayDltSystem) { + var ret string + return ret + } + return *o.RecipientGatewayDltSystem +} + +// GetRecipientGatewayDltSystemOk returns a tuple with the RecipientGatewayDltSystem field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetRecipientGatewayDltSystemOk() (*string, bool) { + if o == nil || IsNil(o.RecipientGatewayDltSystem) { + return nil, false + } + return o.RecipientGatewayDltSystem, true +} + +// HasRecipientGatewayDltSystem returns a boolean if a field has been set. +func (o *SessionData) HasRecipientGatewayDltSystem() bool { + if o != nil && !IsNil(o.RecipientGatewayDltSystem) { + return true + } + + return false +} + +// SetRecipientGatewayDltSystem gets a reference to the given string and assigns it to the RecipientGatewayDltSystem field. +func (o *SessionData) SetRecipientGatewayDltSystem(v string) { + o.RecipientGatewayDltSystem = &v +} + +// GetInitializationRequestMessageHash returns the InitializationRequestMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetInitializationRequestMessageHash() string { + if o == nil || IsNil(o.InitializationRequestMessageHash) { + var ret string + return ret + } + return *o.InitializationRequestMessageHash +} + +// GetInitializationRequestMessageHashOk returns a tuple with the InitializationRequestMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetInitializationRequestMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.InitializationRequestMessageHash) { + return nil, false + } + return o.InitializationRequestMessageHash, true +} + +// HasInitializationRequestMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasInitializationRequestMessageHash() bool { + if o != nil && !IsNil(o.InitializationRequestMessageHash) { + return true + } + + return false +} + +// SetInitializationRequestMessageHash gets a reference to the given string and assigns it to the InitializationRequestMessageHash field. +func (o *SessionData) SetInitializationRequestMessageHash(v string) { + o.InitializationRequestMessageHash = &v +} + +// GetInitializationResponseMessageHash returns the InitializationResponseMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetInitializationResponseMessageHash() string { + if o == nil || IsNil(o.InitializationResponseMessageHash) { + var ret string + return ret + } + return *o.InitializationResponseMessageHash +} + +// GetInitializationResponseMessageHashOk returns a tuple with the InitializationResponseMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetInitializationResponseMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.InitializationResponseMessageHash) { + return nil, false + } + return o.InitializationResponseMessageHash, true +} + +// HasInitializationResponseMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasInitializationResponseMessageHash() bool { + if o != nil && !IsNil(o.InitializationResponseMessageHash) { + return true + } + + return false +} + +// SetInitializationResponseMessageHash gets a reference to the given string and assigns it to the InitializationResponseMessageHash field. +func (o *SessionData) SetInitializationResponseMessageHash(v string) { + o.InitializationResponseMessageHash = &v +} + +// GetInitializationRequestMessageRcvTimeStamp returns the InitializationRequestMessageRcvTimeStamp field value if set, zero value otherwise. +func (o *SessionData) GetInitializationRequestMessageRcvTimeStamp() string { + if o == nil || IsNil(o.InitializationRequestMessageRcvTimeStamp) { + var ret string + return ret + } + return *o.InitializationRequestMessageRcvTimeStamp +} + +// GetInitializationRequestMessageRcvTimeStampOk returns a tuple with the InitializationRequestMessageRcvTimeStamp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetInitializationRequestMessageRcvTimeStampOk() (*string, bool) { + if o == nil || IsNil(o.InitializationRequestMessageRcvTimeStamp) { + return nil, false + } + return o.InitializationRequestMessageRcvTimeStamp, true +} + +// HasInitializationRequestMessageRcvTimeStamp returns a boolean if a field has been set. +func (o *SessionData) HasInitializationRequestMessageRcvTimeStamp() bool { + if o != nil && !IsNil(o.InitializationRequestMessageRcvTimeStamp) { + return true + } + + return false +} + +// SetInitializationRequestMessageRcvTimeStamp gets a reference to the given string and assigns it to the InitializationRequestMessageRcvTimeStamp field. +func (o *SessionData) SetInitializationRequestMessageRcvTimeStamp(v string) { + o.InitializationRequestMessageRcvTimeStamp = &v +} + +// GetInitializationRequestMessageProcessedTimeStamp returns the InitializationRequestMessageProcessedTimeStamp field value if set, zero value otherwise. +func (o *SessionData) GetInitializationRequestMessageProcessedTimeStamp() string { + if o == nil || IsNil(o.InitializationRequestMessageProcessedTimeStamp) { + var ret string + return ret + } + return *o.InitializationRequestMessageProcessedTimeStamp +} + +// GetInitializationRequestMessageProcessedTimeStampOk returns a tuple with the InitializationRequestMessageProcessedTimeStamp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetInitializationRequestMessageProcessedTimeStampOk() (*string, bool) { + if o == nil || IsNil(o.InitializationRequestMessageProcessedTimeStamp) { + return nil, false + } + return o.InitializationRequestMessageProcessedTimeStamp, true +} + +// HasInitializationRequestMessageProcessedTimeStamp returns a boolean if a field has been set. +func (o *SessionData) HasInitializationRequestMessageProcessedTimeStamp() bool { + if o != nil && !IsNil(o.InitializationRequestMessageProcessedTimeStamp) { + return true + } + + return false +} + +// SetInitializationRequestMessageProcessedTimeStamp gets a reference to the given string and assigns it to the InitializationRequestMessageProcessedTimeStamp field. +func (o *SessionData) SetInitializationRequestMessageProcessedTimeStamp(v string) { + o.InitializationRequestMessageProcessedTimeStamp = &v +} + +// GetClientSignatureInitializationRequestMessage returns the ClientSignatureInitializationRequestMessage field value if set, zero value otherwise. +func (o *SessionData) GetClientSignatureInitializationRequestMessage() string { + if o == nil || IsNil(o.ClientSignatureInitializationRequestMessage) { + var ret string + return ret + } + return *o.ClientSignatureInitializationRequestMessage +} + +// GetClientSignatureInitializationRequestMessageOk returns a tuple with the ClientSignatureInitializationRequestMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetClientSignatureInitializationRequestMessageOk() (*string, bool) { + if o == nil || IsNil(o.ClientSignatureInitializationRequestMessage) { + return nil, false + } + return o.ClientSignatureInitializationRequestMessage, true +} + +// HasClientSignatureInitializationRequestMessage returns a boolean if a field has been set. +func (o *SessionData) HasClientSignatureInitializationRequestMessage() bool { + if o != nil && !IsNil(o.ClientSignatureInitializationRequestMessage) { + return true + } + + return false +} + +// SetClientSignatureInitializationRequestMessage gets a reference to the given string and assigns it to the ClientSignatureInitializationRequestMessage field. +func (o *SessionData) SetClientSignatureInitializationRequestMessage(v string) { + o.ClientSignatureInitializationRequestMessage = &v +} + +// GetServerSignatureInitializationResponseMessage returns the ServerSignatureInitializationResponseMessage field value if set, zero value otherwise. +func (o *SessionData) GetServerSignatureInitializationResponseMessage() string { + if o == nil || IsNil(o.ServerSignatureInitializationResponseMessage) { + var ret string + return ret + } + return *o.ServerSignatureInitializationResponseMessage +} + +// GetServerSignatureInitializationResponseMessageOk returns a tuple with the ServerSignatureInitializationResponseMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetServerSignatureInitializationResponseMessageOk() (*string, bool) { + if o == nil || IsNil(o.ServerSignatureInitializationResponseMessage) { + return nil, false + } + return o.ServerSignatureInitializationResponseMessage, true +} + +// HasServerSignatureInitializationResponseMessage returns a boolean if a field has been set. +func (o *SessionData) HasServerSignatureInitializationResponseMessage() bool { + if o != nil && !IsNil(o.ServerSignatureInitializationResponseMessage) { + return true + } + + return false +} + +// SetServerSignatureInitializationResponseMessage gets a reference to the given string and assigns it to the ServerSignatureInitializationResponseMessage field. +func (o *SessionData) SetServerSignatureInitializationResponseMessage(v string) { + o.ServerSignatureInitializationResponseMessage = &v +} + +// GetTransferCommenceMessageRequestHash returns the TransferCommenceMessageRequestHash field value if set, zero value otherwise. +func (o *SessionData) GetTransferCommenceMessageRequestHash() string { + if o == nil || IsNil(o.TransferCommenceMessageRequestHash) { + var ret string + return ret + } + return *o.TransferCommenceMessageRequestHash +} + +// GetTransferCommenceMessageRequestHashOk returns a tuple with the TransferCommenceMessageRequestHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetTransferCommenceMessageRequestHashOk() (*string, bool) { + if o == nil || IsNil(o.TransferCommenceMessageRequestHash) { + return nil, false + } + return o.TransferCommenceMessageRequestHash, true +} + +// HasTransferCommenceMessageRequestHash returns a boolean if a field has been set. +func (o *SessionData) HasTransferCommenceMessageRequestHash() bool { + if o != nil && !IsNil(o.TransferCommenceMessageRequestHash) { + return true + } + + return false +} + +// SetTransferCommenceMessageRequestHash gets a reference to the given string and assigns it to the TransferCommenceMessageRequestHash field. +func (o *SessionData) SetTransferCommenceMessageRequestHash(v string) { + o.TransferCommenceMessageRequestHash = &v +} + +// GetTransferCommenceMessageResponseHash returns the TransferCommenceMessageResponseHash field value if set, zero value otherwise. +func (o *SessionData) GetTransferCommenceMessageResponseHash() string { + if o == nil || IsNil(o.TransferCommenceMessageResponseHash) { + var ret string + return ret + } + return *o.TransferCommenceMessageResponseHash +} + +// GetTransferCommenceMessageResponseHashOk returns a tuple with the TransferCommenceMessageResponseHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetTransferCommenceMessageResponseHashOk() (*string, bool) { + if o == nil || IsNil(o.TransferCommenceMessageResponseHash) { + return nil, false + } + return o.TransferCommenceMessageResponseHash, true +} + +// HasTransferCommenceMessageResponseHash returns a boolean if a field has been set. +func (o *SessionData) HasTransferCommenceMessageResponseHash() bool { + if o != nil && !IsNil(o.TransferCommenceMessageResponseHash) { + return true + } + + return false +} + +// SetTransferCommenceMessageResponseHash gets a reference to the given string and assigns it to the TransferCommenceMessageResponseHash field. +func (o *SessionData) SetTransferCommenceMessageResponseHash(v string) { + o.TransferCommenceMessageResponseHash = &v +} + +// GetClientSignatureTransferCommenceRequestMessage returns the ClientSignatureTransferCommenceRequestMessage field value if set, zero value otherwise. +func (o *SessionData) GetClientSignatureTransferCommenceRequestMessage() string { + if o == nil || IsNil(o.ClientSignatureTransferCommenceRequestMessage) { + var ret string + return ret + } + return *o.ClientSignatureTransferCommenceRequestMessage +} + +// GetClientSignatureTransferCommenceRequestMessageOk returns a tuple with the ClientSignatureTransferCommenceRequestMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetClientSignatureTransferCommenceRequestMessageOk() (*string, bool) { + if o == nil || IsNil(o.ClientSignatureTransferCommenceRequestMessage) { + return nil, false + } + return o.ClientSignatureTransferCommenceRequestMessage, true +} + +// HasClientSignatureTransferCommenceRequestMessage returns a boolean if a field has been set. +func (o *SessionData) HasClientSignatureTransferCommenceRequestMessage() bool { + if o != nil && !IsNil(o.ClientSignatureTransferCommenceRequestMessage) { + return true + } + + return false +} + +// SetClientSignatureTransferCommenceRequestMessage gets a reference to the given string and assigns it to the ClientSignatureTransferCommenceRequestMessage field. +func (o *SessionData) SetClientSignatureTransferCommenceRequestMessage(v string) { + o.ClientSignatureTransferCommenceRequestMessage = &v +} + +// GetServerSignatureTransferCommenceResponseMessage returns the ServerSignatureTransferCommenceResponseMessage field value if set, zero value otherwise. +func (o *SessionData) GetServerSignatureTransferCommenceResponseMessage() string { + if o == nil || IsNil(o.ServerSignatureTransferCommenceResponseMessage) { + var ret string + return ret + } + return *o.ServerSignatureTransferCommenceResponseMessage +} + +// GetServerSignatureTransferCommenceResponseMessageOk returns a tuple with the ServerSignatureTransferCommenceResponseMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetServerSignatureTransferCommenceResponseMessageOk() (*string, bool) { + if o == nil || IsNil(o.ServerSignatureTransferCommenceResponseMessage) { + return nil, false + } + return o.ServerSignatureTransferCommenceResponseMessage, true +} + +// HasServerSignatureTransferCommenceResponseMessage returns a boolean if a field has been set. +func (o *SessionData) HasServerSignatureTransferCommenceResponseMessage() bool { + if o != nil && !IsNil(o.ServerSignatureTransferCommenceResponseMessage) { + return true + } + + return false +} + +// SetServerSignatureTransferCommenceResponseMessage gets a reference to the given string and assigns it to the ServerSignatureTransferCommenceResponseMessage field. +func (o *SessionData) SetServerSignatureTransferCommenceResponseMessage(v string) { + o.ServerSignatureTransferCommenceResponseMessage = &v +} + +// GetLockEvidenceRequestMessageHash returns the LockEvidenceRequestMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetLockEvidenceRequestMessageHash() string { + if o == nil || IsNil(o.LockEvidenceRequestMessageHash) { + var ret string + return ret + } + return *o.LockEvidenceRequestMessageHash +} + +// GetLockEvidenceRequestMessageHashOk returns a tuple with the LockEvidenceRequestMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetLockEvidenceRequestMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.LockEvidenceRequestMessageHash) { + return nil, false + } + return o.LockEvidenceRequestMessageHash, true +} + +// HasLockEvidenceRequestMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasLockEvidenceRequestMessageHash() bool { + if o != nil && !IsNil(o.LockEvidenceRequestMessageHash) { + return true + } + + return false +} + +// SetLockEvidenceRequestMessageHash gets a reference to the given string and assigns it to the LockEvidenceRequestMessageHash field. +func (o *SessionData) SetLockEvidenceRequestMessageHash(v string) { + o.LockEvidenceRequestMessageHash = &v +} + +// GetLockEvidenceResponseMessageHash returns the LockEvidenceResponseMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetLockEvidenceResponseMessageHash() string { + if o == nil || IsNil(o.LockEvidenceResponseMessageHash) { + var ret string + return ret + } + return *o.LockEvidenceResponseMessageHash +} + +// GetLockEvidenceResponseMessageHashOk returns a tuple with the LockEvidenceResponseMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetLockEvidenceResponseMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.LockEvidenceResponseMessageHash) { + return nil, false + } + return o.LockEvidenceResponseMessageHash, true +} + +// HasLockEvidenceResponseMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasLockEvidenceResponseMessageHash() bool { + if o != nil && !IsNil(o.LockEvidenceResponseMessageHash) { + return true + } + + return false +} + +// SetLockEvidenceResponseMessageHash gets a reference to the given string and assigns it to the LockEvidenceResponseMessageHash field. +func (o *SessionData) SetLockEvidenceResponseMessageHash(v string) { + o.LockEvidenceResponseMessageHash = &v +} + +// GetClientSignatureLockEvidenceRequestMessage returns the ClientSignatureLockEvidenceRequestMessage field value if set, zero value otherwise. +func (o *SessionData) GetClientSignatureLockEvidenceRequestMessage() string { + if o == nil || IsNil(o.ClientSignatureLockEvidenceRequestMessage) { + var ret string + return ret + } + return *o.ClientSignatureLockEvidenceRequestMessage +} + +// GetClientSignatureLockEvidenceRequestMessageOk returns a tuple with the ClientSignatureLockEvidenceRequestMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetClientSignatureLockEvidenceRequestMessageOk() (*string, bool) { + if o == nil || IsNil(o.ClientSignatureLockEvidenceRequestMessage) { + return nil, false + } + return o.ClientSignatureLockEvidenceRequestMessage, true +} + +// HasClientSignatureLockEvidenceRequestMessage returns a boolean if a field has been set. +func (o *SessionData) HasClientSignatureLockEvidenceRequestMessage() bool { + if o != nil && !IsNil(o.ClientSignatureLockEvidenceRequestMessage) { + return true + } + + return false +} + +// SetClientSignatureLockEvidenceRequestMessage gets a reference to the given string and assigns it to the ClientSignatureLockEvidenceRequestMessage field. +func (o *SessionData) SetClientSignatureLockEvidenceRequestMessage(v string) { + o.ClientSignatureLockEvidenceRequestMessage = &v +} + +// GetServerSignatureLockEvidenceResponseMessage returns the ServerSignatureLockEvidenceResponseMessage field value if set, zero value otherwise. +func (o *SessionData) GetServerSignatureLockEvidenceResponseMessage() string { + if o == nil || IsNil(o.ServerSignatureLockEvidenceResponseMessage) { + var ret string + return ret + } + return *o.ServerSignatureLockEvidenceResponseMessage +} + +// GetServerSignatureLockEvidenceResponseMessageOk returns a tuple with the ServerSignatureLockEvidenceResponseMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetServerSignatureLockEvidenceResponseMessageOk() (*string, bool) { + if o == nil || IsNil(o.ServerSignatureLockEvidenceResponseMessage) { + return nil, false + } + return o.ServerSignatureLockEvidenceResponseMessage, true +} + +// HasServerSignatureLockEvidenceResponseMessage returns a boolean if a field has been set. +func (o *SessionData) HasServerSignatureLockEvidenceResponseMessage() bool { + if o != nil && !IsNil(o.ServerSignatureLockEvidenceResponseMessage) { + return true + } + + return false +} + +// SetServerSignatureLockEvidenceResponseMessage gets a reference to the given string and assigns it to the ServerSignatureLockEvidenceResponseMessage field. +func (o *SessionData) SetServerSignatureLockEvidenceResponseMessage(v string) { + o.ServerSignatureLockEvidenceResponseMessage = &v +} + +// GetLockEvidenceClaim returns the LockEvidenceClaim field value if set, zero value otherwise. +func (o *SessionData) GetLockEvidenceClaim() string { + if o == nil || IsNil(o.LockEvidenceClaim) { + var ret string + return ret + } + return *o.LockEvidenceClaim +} + +// GetLockEvidenceClaimOk returns a tuple with the LockEvidenceClaim field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetLockEvidenceClaimOk() (*string, bool) { + if o == nil || IsNil(o.LockEvidenceClaim) { + return nil, false + } + return o.LockEvidenceClaim, true +} + +// HasLockEvidenceClaim returns a boolean if a field has been set. +func (o *SessionData) HasLockEvidenceClaim() bool { + if o != nil && !IsNil(o.LockEvidenceClaim) { + return true + } + + return false +} + +// SetLockEvidenceClaim gets a reference to the given string and assigns it to the LockEvidenceClaim field. +func (o *SessionData) SetLockEvidenceClaim(v string) { + o.LockEvidenceClaim = &v +} + +// GetCommitPrepareRequestMessageHash returns the CommitPrepareRequestMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetCommitPrepareRequestMessageHash() string { + if o == nil || IsNil(o.CommitPrepareRequestMessageHash) { + var ret string + return ret + } + return *o.CommitPrepareRequestMessageHash +} + +// GetCommitPrepareRequestMessageHashOk returns a tuple with the CommitPrepareRequestMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetCommitPrepareRequestMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.CommitPrepareRequestMessageHash) { + return nil, false + } + return o.CommitPrepareRequestMessageHash, true +} + +// HasCommitPrepareRequestMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasCommitPrepareRequestMessageHash() bool { + if o != nil && !IsNil(o.CommitPrepareRequestMessageHash) { + return true + } + + return false +} + +// SetCommitPrepareRequestMessageHash gets a reference to the given string and assigns it to the CommitPrepareRequestMessageHash field. +func (o *SessionData) SetCommitPrepareRequestMessageHash(v string) { + o.CommitPrepareRequestMessageHash = &v +} + +// GetCommitPrepareResponseMessageHash returns the CommitPrepareResponseMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetCommitPrepareResponseMessageHash() string { + if o == nil || IsNil(o.CommitPrepareResponseMessageHash) { + var ret string + return ret + } + return *o.CommitPrepareResponseMessageHash +} + +// GetCommitPrepareResponseMessageHashOk returns a tuple with the CommitPrepareResponseMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetCommitPrepareResponseMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.CommitPrepareResponseMessageHash) { + return nil, false + } + return o.CommitPrepareResponseMessageHash, true +} + +// HasCommitPrepareResponseMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasCommitPrepareResponseMessageHash() bool { + if o != nil && !IsNil(o.CommitPrepareResponseMessageHash) { + return true + } + + return false +} + +// SetCommitPrepareResponseMessageHash gets a reference to the given string and assigns it to the CommitPrepareResponseMessageHash field. +func (o *SessionData) SetCommitPrepareResponseMessageHash(v string) { + o.CommitPrepareResponseMessageHash = &v +} + +// GetClientSignatureCommitPreparationRequestMessage returns the ClientSignatureCommitPreparationRequestMessage field value if set, zero value otherwise. +func (o *SessionData) GetClientSignatureCommitPreparationRequestMessage() string { + if o == nil || IsNil(o.ClientSignatureCommitPreparationRequestMessage) { + var ret string + return ret + } + return *o.ClientSignatureCommitPreparationRequestMessage +} + +// GetClientSignatureCommitPreparationRequestMessageOk returns a tuple with the ClientSignatureCommitPreparationRequestMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetClientSignatureCommitPreparationRequestMessageOk() (*string, bool) { + if o == nil || IsNil(o.ClientSignatureCommitPreparationRequestMessage) { + return nil, false + } + return o.ClientSignatureCommitPreparationRequestMessage, true +} + +// HasClientSignatureCommitPreparationRequestMessage returns a boolean if a field has been set. +func (o *SessionData) HasClientSignatureCommitPreparationRequestMessage() bool { + if o != nil && !IsNil(o.ClientSignatureCommitPreparationRequestMessage) { + return true + } + + return false +} + +// SetClientSignatureCommitPreparationRequestMessage gets a reference to the given string and assigns it to the ClientSignatureCommitPreparationRequestMessage field. +func (o *SessionData) SetClientSignatureCommitPreparationRequestMessage(v string) { + o.ClientSignatureCommitPreparationRequestMessage = &v +} + +// GetServerSignatureCommitPreparationResponseMessage returns the ServerSignatureCommitPreparationResponseMessage field value if set, zero value otherwise. +func (o *SessionData) GetServerSignatureCommitPreparationResponseMessage() string { + if o == nil || IsNil(o.ServerSignatureCommitPreparationResponseMessage) { + var ret string + return ret + } + return *o.ServerSignatureCommitPreparationResponseMessage +} + +// GetServerSignatureCommitPreparationResponseMessageOk returns a tuple with the ServerSignatureCommitPreparationResponseMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetServerSignatureCommitPreparationResponseMessageOk() (*string, bool) { + if o == nil || IsNil(o.ServerSignatureCommitPreparationResponseMessage) { + return nil, false + } + return o.ServerSignatureCommitPreparationResponseMessage, true +} + +// HasServerSignatureCommitPreparationResponseMessage returns a boolean if a field has been set. +func (o *SessionData) HasServerSignatureCommitPreparationResponseMessage() bool { + if o != nil && !IsNil(o.ServerSignatureCommitPreparationResponseMessage) { + return true + } + + return false +} + +// SetServerSignatureCommitPreparationResponseMessage gets a reference to the given string and assigns it to the ServerSignatureCommitPreparationResponseMessage field. +func (o *SessionData) SetServerSignatureCommitPreparationResponseMessage(v string) { + o.ServerSignatureCommitPreparationResponseMessage = &v +} + +// GetCommitFinalRequestMessageHash returns the CommitFinalRequestMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetCommitFinalRequestMessageHash() string { + if o == nil || IsNil(o.CommitFinalRequestMessageHash) { + var ret string + return ret + } + return *o.CommitFinalRequestMessageHash +} + +// GetCommitFinalRequestMessageHashOk returns a tuple with the CommitFinalRequestMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetCommitFinalRequestMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.CommitFinalRequestMessageHash) { + return nil, false + } + return o.CommitFinalRequestMessageHash, true +} + +// HasCommitFinalRequestMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasCommitFinalRequestMessageHash() bool { + if o != nil && !IsNil(o.CommitFinalRequestMessageHash) { + return true + } + + return false +} + +// SetCommitFinalRequestMessageHash gets a reference to the given string and assigns it to the CommitFinalRequestMessageHash field. +func (o *SessionData) SetCommitFinalRequestMessageHash(v string) { + o.CommitFinalRequestMessageHash = &v +} + +// GetCommitFinalResponseMessageHash returns the CommitFinalResponseMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetCommitFinalResponseMessageHash() string { + if o == nil || IsNil(o.CommitFinalResponseMessageHash) { + var ret string + return ret + } + return *o.CommitFinalResponseMessageHash +} + +// GetCommitFinalResponseMessageHashOk returns a tuple with the CommitFinalResponseMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetCommitFinalResponseMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.CommitFinalResponseMessageHash) { + return nil, false + } + return o.CommitFinalResponseMessageHash, true +} + +// HasCommitFinalResponseMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasCommitFinalResponseMessageHash() bool { + if o != nil && !IsNil(o.CommitFinalResponseMessageHash) { + return true + } + + return false +} + +// SetCommitFinalResponseMessageHash gets a reference to the given string and assigns it to the CommitFinalResponseMessageHash field. +func (o *SessionData) SetCommitFinalResponseMessageHash(v string) { + o.CommitFinalResponseMessageHash = &v +} + +// GetCommitFinalClaim returns the CommitFinalClaim field value if set, zero value otherwise. +func (o *SessionData) GetCommitFinalClaim() string { + if o == nil || IsNil(o.CommitFinalClaim) { + var ret string + return ret + } + return *o.CommitFinalClaim +} + +// GetCommitFinalClaimOk returns a tuple with the CommitFinalClaim field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetCommitFinalClaimOk() (*string, bool) { + if o == nil || IsNil(o.CommitFinalClaim) { + return nil, false + } + return o.CommitFinalClaim, true +} + +// HasCommitFinalClaim returns a boolean if a field has been set. +func (o *SessionData) HasCommitFinalClaim() bool { + if o != nil && !IsNil(o.CommitFinalClaim) { + return true + } + + return false +} + +// SetCommitFinalClaim gets a reference to the given string and assigns it to the CommitFinalClaim field. +func (o *SessionData) SetCommitFinalClaim(v string) { + o.CommitFinalClaim = &v +} + +// GetCommitFinalClaimFormat returns the CommitFinalClaimFormat field value if set, zero value otherwise. +func (o *SessionData) GetCommitFinalClaimFormat() string { + if o == nil || IsNil(o.CommitFinalClaimFormat) { + var ret string + return ret + } + return *o.CommitFinalClaimFormat +} + +// GetCommitFinalClaimFormatOk returns a tuple with the CommitFinalClaimFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetCommitFinalClaimFormatOk() (*string, bool) { + if o == nil || IsNil(o.CommitFinalClaimFormat) { + return nil, false + } + return o.CommitFinalClaimFormat, true +} + +// HasCommitFinalClaimFormat returns a boolean if a field has been set. +func (o *SessionData) HasCommitFinalClaimFormat() bool { + if o != nil && !IsNil(o.CommitFinalClaimFormat) { + return true + } + + return false +} + +// SetCommitFinalClaimFormat gets a reference to the given string and assigns it to the CommitFinalClaimFormat field. +func (o *SessionData) SetCommitFinalClaimFormat(v string) { + o.CommitFinalClaimFormat = &v +} + +// GetCommitAcknowledgementClaim returns the CommitAcknowledgementClaim field value if set, zero value otherwise. +func (o *SessionData) GetCommitAcknowledgementClaim() string { + if o == nil || IsNil(o.CommitAcknowledgementClaim) { + var ret string + return ret + } + return *o.CommitAcknowledgementClaim +} + +// GetCommitAcknowledgementClaimOk returns a tuple with the CommitAcknowledgementClaim field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetCommitAcknowledgementClaimOk() (*string, bool) { + if o == nil || IsNil(o.CommitAcknowledgementClaim) { + return nil, false + } + return o.CommitAcknowledgementClaim, true +} + +// HasCommitAcknowledgementClaim returns a boolean if a field has been set. +func (o *SessionData) HasCommitAcknowledgementClaim() bool { + if o != nil && !IsNil(o.CommitAcknowledgementClaim) { + return true + } + + return false +} + +// SetCommitAcknowledgementClaim gets a reference to the given string and assigns it to the CommitAcknowledgementClaim field. +func (o *SessionData) SetCommitAcknowledgementClaim(v string) { + o.CommitAcknowledgementClaim = &v +} + +// GetCommitAcknowledgementClaimFormat returns the CommitAcknowledgementClaimFormat field value if set, zero value otherwise. +func (o *SessionData) GetCommitAcknowledgementClaimFormat() string { + if o == nil || IsNil(o.CommitAcknowledgementClaimFormat) { + var ret string + return ret + } + return *o.CommitAcknowledgementClaimFormat +} + +// GetCommitAcknowledgementClaimFormatOk returns a tuple with the CommitAcknowledgementClaimFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetCommitAcknowledgementClaimFormatOk() (*string, bool) { + if o == nil || IsNil(o.CommitAcknowledgementClaimFormat) { + return nil, false + } + return o.CommitAcknowledgementClaimFormat, true +} + +// HasCommitAcknowledgementClaimFormat returns a boolean if a field has been set. +func (o *SessionData) HasCommitAcknowledgementClaimFormat() bool { + if o != nil && !IsNil(o.CommitAcknowledgementClaimFormat) { + return true + } + + return false +} + +// SetCommitAcknowledgementClaimFormat gets a reference to the given string and assigns it to the CommitAcknowledgementClaimFormat field. +func (o *SessionData) SetCommitAcknowledgementClaimFormat(v string) { + o.CommitAcknowledgementClaimFormat = &v +} + +// GetClientSignatureCommitFinalRequestMessage returns the ClientSignatureCommitFinalRequestMessage field value if set, zero value otherwise. +func (o *SessionData) GetClientSignatureCommitFinalRequestMessage() string { + if o == nil || IsNil(o.ClientSignatureCommitFinalRequestMessage) { + var ret string + return ret + } + return *o.ClientSignatureCommitFinalRequestMessage +} + +// GetClientSignatureCommitFinalRequestMessageOk returns a tuple with the ClientSignatureCommitFinalRequestMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetClientSignatureCommitFinalRequestMessageOk() (*string, bool) { + if o == nil || IsNil(o.ClientSignatureCommitFinalRequestMessage) { + return nil, false + } + return o.ClientSignatureCommitFinalRequestMessage, true +} + +// HasClientSignatureCommitFinalRequestMessage returns a boolean if a field has been set. +func (o *SessionData) HasClientSignatureCommitFinalRequestMessage() bool { + if o != nil && !IsNil(o.ClientSignatureCommitFinalRequestMessage) { + return true + } + + return false +} + +// SetClientSignatureCommitFinalRequestMessage gets a reference to the given string and assigns it to the ClientSignatureCommitFinalRequestMessage field. +func (o *SessionData) SetClientSignatureCommitFinalRequestMessage(v string) { + o.ClientSignatureCommitFinalRequestMessage = &v +} + +// GetServerSignatureCommitFinalResponseMessage returns the ServerSignatureCommitFinalResponseMessage field value if set, zero value otherwise. +func (o *SessionData) GetServerSignatureCommitFinalResponseMessage() string { + if o == nil || IsNil(o.ServerSignatureCommitFinalResponseMessage) { + var ret string + return ret + } + return *o.ServerSignatureCommitFinalResponseMessage +} + +// GetServerSignatureCommitFinalResponseMessageOk returns a tuple with the ServerSignatureCommitFinalResponseMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetServerSignatureCommitFinalResponseMessageOk() (*string, bool) { + if o == nil || IsNil(o.ServerSignatureCommitFinalResponseMessage) { + return nil, false + } + return o.ServerSignatureCommitFinalResponseMessage, true +} + +// HasServerSignatureCommitFinalResponseMessage returns a boolean if a field has been set. +func (o *SessionData) HasServerSignatureCommitFinalResponseMessage() bool { + if o != nil && !IsNil(o.ServerSignatureCommitFinalResponseMessage) { + return true + } + + return false +} + +// SetServerSignatureCommitFinalResponseMessage gets a reference to the given string and assigns it to the ServerSignatureCommitFinalResponseMessage field. +func (o *SessionData) SetServerSignatureCommitFinalResponseMessage(v string) { + o.ServerSignatureCommitFinalResponseMessage = &v +} + +// GetTransferCompleteMessageHash returns the TransferCompleteMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetTransferCompleteMessageHash() string { + if o == nil || IsNil(o.TransferCompleteMessageHash) { + var ret string + return ret + } + return *o.TransferCompleteMessageHash +} + +// GetTransferCompleteMessageHashOk returns a tuple with the TransferCompleteMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetTransferCompleteMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.TransferCompleteMessageHash) { + return nil, false + } + return o.TransferCompleteMessageHash, true +} + +// HasTransferCompleteMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasTransferCompleteMessageHash() bool { + if o != nil && !IsNil(o.TransferCompleteMessageHash) { + return true + } + + return false +} + +// SetTransferCompleteMessageHash gets a reference to the given string and assigns it to the TransferCompleteMessageHash field. +func (o *SessionData) SetTransferCompleteMessageHash(v string) { + o.TransferCompleteMessageHash = &v +} + +// GetClientSignatureTransferCompleteMessage returns the ClientSignatureTransferCompleteMessage field value if set, zero value otherwise. +func (o *SessionData) GetClientSignatureTransferCompleteMessage() string { + if o == nil || IsNil(o.ClientSignatureTransferCompleteMessage) { + var ret string + return ret + } + return *o.ClientSignatureTransferCompleteMessage +} + +// GetClientSignatureTransferCompleteMessageOk returns a tuple with the ClientSignatureTransferCompleteMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetClientSignatureTransferCompleteMessageOk() (*string, bool) { + if o == nil || IsNil(o.ClientSignatureTransferCompleteMessage) { + return nil, false + } + return o.ClientSignatureTransferCompleteMessage, true +} + +// HasClientSignatureTransferCompleteMessage returns a boolean if a field has been set. +func (o *SessionData) HasClientSignatureTransferCompleteMessage() bool { + if o != nil && !IsNil(o.ClientSignatureTransferCompleteMessage) { + return true + } + + return false +} + +// SetClientSignatureTransferCompleteMessage gets a reference to the given string and assigns it to the ClientSignatureTransferCompleteMessage field. +func (o *SessionData) SetClientSignatureTransferCompleteMessage(v string) { + o.ClientSignatureTransferCompleteMessage = &v +} + +// GetMaxRetries returns the MaxRetries field value if set, zero value otherwise. +func (o *SessionData) GetMaxRetries() float32 { + if o == nil || IsNil(o.MaxRetries) { + var ret float32 + return ret + } + return *o.MaxRetries +} + +// GetMaxRetriesOk returns a tuple with the MaxRetries field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetMaxRetriesOk() (*float32, bool) { + if o == nil || IsNil(o.MaxRetries) { + return nil, false + } + return o.MaxRetries, true +} + +// HasMaxRetries returns a boolean if a field has been set. +func (o *SessionData) HasMaxRetries() bool { + if o != nil && !IsNil(o.MaxRetries) { + return true + } + + return false +} + +// SetMaxRetries gets a reference to the given float32 and assigns it to the MaxRetries field. +func (o *SessionData) SetMaxRetries(v float32) { + o.MaxRetries = &v +} + +// GetRecipientLedgerAssetID returns the RecipientLedgerAssetID field value if set, zero value otherwise. +func (o *SessionData) GetRecipientLedgerAssetID() string { + if o == nil || IsNil(o.RecipientLedgerAssetID) { + var ret string + return ret + } + return *o.RecipientLedgerAssetID +} + +// GetRecipientLedgerAssetIDOk returns a tuple with the RecipientLedgerAssetID field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetRecipientLedgerAssetIDOk() (*string, bool) { + if o == nil || IsNil(o.RecipientLedgerAssetID) { + return nil, false + } + return o.RecipientLedgerAssetID, true +} + +// HasRecipientLedgerAssetID returns a boolean if a field has been set. +func (o *SessionData) HasRecipientLedgerAssetID() bool { + if o != nil && !IsNil(o.RecipientLedgerAssetID) { + return true + } + + return false +} + +// SetRecipientLedgerAssetID gets a reference to the given string and assigns it to the RecipientLedgerAssetID field. +func (o *SessionData) SetRecipientLedgerAssetID(v string) { + o.RecipientLedgerAssetID = &v +} + +// GetSourceLedgerAssetID returns the SourceLedgerAssetID field value if set, zero value otherwise. +func (o *SessionData) GetSourceLedgerAssetID() string { + if o == nil || IsNil(o.SourceLedgerAssetID) { + var ret string + return ret + } + return *o.SourceLedgerAssetID +} + +// GetSourceLedgerAssetIDOk returns a tuple with the SourceLedgerAssetID field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetSourceLedgerAssetIDOk() (*string, bool) { + if o == nil || IsNil(o.SourceLedgerAssetID) { + return nil, false + } + return o.SourceLedgerAssetID, true +} + +// HasSourceLedgerAssetID returns a boolean if a field has been set. +func (o *SessionData) HasSourceLedgerAssetID() bool { + if o != nil && !IsNil(o.SourceLedgerAssetID) { + return true + } + + return false +} + +// SetSourceLedgerAssetID gets a reference to the given string and assigns it to the SourceLedgerAssetID field. +func (o *SessionData) SetSourceLedgerAssetID(v string) { + o.SourceLedgerAssetID = &v +} + +// GetMaxTimeout returns the MaxTimeout field value if set, zero value otherwise. +func (o *SessionData) GetMaxTimeout() float32 { + if o == nil || IsNil(o.MaxTimeout) { + var ret float32 + return ret + } + return *o.MaxTimeout +} + +// GetMaxTimeoutOk returns a tuple with the MaxTimeout field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetMaxTimeoutOk() (*float32, bool) { + if o == nil || IsNil(o.MaxTimeout) { + return nil, false + } + return o.MaxTimeout, true +} + +// HasMaxTimeout returns a boolean if a field has been set. +func (o *SessionData) HasMaxTimeout() bool { + if o != nil && !IsNil(o.MaxTimeout) { + return true + } + + return false +} + +// SetMaxTimeout gets a reference to the given float32 and assigns it to the MaxTimeout field. +func (o *SessionData) SetMaxTimeout(v float32) { + o.MaxTimeout = &v +} + +// GetLastLogEntryTimestamp returns the LastLogEntryTimestamp field value if set, zero value otherwise. +func (o *SessionData) GetLastLogEntryTimestamp() string { + if o == nil || IsNil(o.LastLogEntryTimestamp) { + var ret string + return ret + } + return *o.LastLogEntryTimestamp +} + +// GetLastLogEntryTimestampOk returns a tuple with the LastLogEntryTimestamp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetLastLogEntryTimestampOk() (*string, bool) { + if o == nil || IsNil(o.LastLogEntryTimestamp) { + return nil, false + } + return o.LastLogEntryTimestamp, true +} + +// HasLastLogEntryTimestamp returns a boolean if a field has been set. +func (o *SessionData) HasLastLogEntryTimestamp() bool { + if o != nil && !IsNil(o.LastLogEntryTimestamp) { + return true + } + + return false +} + +// SetLastLogEntryTimestamp gets a reference to the given string and assigns it to the LastLogEntryTimestamp field. +func (o *SessionData) SetLastLogEntryTimestamp(v string) { + o.LastLogEntryTimestamp = &v +} + +// GetUnlockAssetClaim returns the UnlockAssetClaim field value if set, zero value otherwise. +func (o *SessionData) GetUnlockAssetClaim() string { + if o == nil || IsNil(o.UnlockAssetClaim) { + var ret string + return ret + } + return *o.UnlockAssetClaim +} + +// GetUnlockAssetClaimOk returns a tuple with the UnlockAssetClaim field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetUnlockAssetClaimOk() (*string, bool) { + if o == nil || IsNil(o.UnlockAssetClaim) { + return nil, false + } + return o.UnlockAssetClaim, true +} + +// HasUnlockAssetClaim returns a boolean if a field has been set. +func (o *SessionData) HasUnlockAssetClaim() bool { + if o != nil && !IsNil(o.UnlockAssetClaim) { + return true + } + + return false +} + +// SetUnlockAssetClaim gets a reference to the given string and assigns it to the UnlockAssetClaim field. +func (o *SessionData) SetUnlockAssetClaim(v string) { + o.UnlockAssetClaim = &v +} + +// GetRecreateAssetClaim returns the RecreateAssetClaim field value if set, zero value otherwise. +func (o *SessionData) GetRecreateAssetClaim() string { + if o == nil || IsNil(o.RecreateAssetClaim) { + var ret string + return ret + } + return *o.RecreateAssetClaim +} + +// GetRecreateAssetClaimOk returns a tuple with the RecreateAssetClaim field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetRecreateAssetClaimOk() (*string, bool) { + if o == nil || IsNil(o.RecreateAssetClaim) { + return nil, false + } + return o.RecreateAssetClaim, true +} + +// HasRecreateAssetClaim returns a boolean if a field has been set. +func (o *SessionData) HasRecreateAssetClaim() bool { + if o != nil && !IsNil(o.RecreateAssetClaim) { + return true + } + + return false +} + +// SetRecreateAssetClaim gets a reference to the given string and assigns it to the RecreateAssetClaim field. +func (o *SessionData) SetRecreateAssetClaim(v string) { + o.RecreateAssetClaim = &v +} + +// GetDeleteAssetClaim returns the DeleteAssetClaim field value if set, zero value otherwise. +func (o *SessionData) GetDeleteAssetClaim() string { + if o == nil || IsNil(o.DeleteAssetClaim) { + var ret string + return ret + } + return *o.DeleteAssetClaim +} + +// GetDeleteAssetClaimOk returns a tuple with the DeleteAssetClaim field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetDeleteAssetClaimOk() (*string, bool) { + if o == nil || IsNil(o.DeleteAssetClaim) { + return nil, false + } + return o.DeleteAssetClaim, true +} + +// HasDeleteAssetClaim returns a boolean if a field has been set. +func (o *SessionData) HasDeleteAssetClaim() bool { + if o != nil && !IsNil(o.DeleteAssetClaim) { + return true + } + + return false +} + +// SetDeleteAssetClaim gets a reference to the given string and assigns it to the DeleteAssetClaim field. +func (o *SessionData) SetDeleteAssetClaim(v string) { + o.DeleteAssetClaim = &v +} + +// GetLastMessageReceivedTimestamp returns the LastMessageReceivedTimestamp field value if set, zero value otherwise. +func (o *SessionData) GetLastMessageReceivedTimestamp() string { + if o == nil || IsNil(o.LastMessageReceivedTimestamp) { + var ret string + return ret + } + return *o.LastMessageReceivedTimestamp +} + +// GetLastMessageReceivedTimestampOk returns a tuple with the LastMessageReceivedTimestamp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetLastMessageReceivedTimestampOk() (*string, bool) { + if o == nil || IsNil(o.LastMessageReceivedTimestamp) { + return nil, false + } + return o.LastMessageReceivedTimestamp, true +} + +// HasLastMessageReceivedTimestamp returns a boolean if a field has been set. +func (o *SessionData) HasLastMessageReceivedTimestamp() bool { + if o != nil && !IsNil(o.LastMessageReceivedTimestamp) { + return true + } + + return false +} + +// SetLastMessageReceivedTimestamp gets a reference to the given string and assigns it to the LastMessageReceivedTimestamp field. +func (o *SessionData) SetLastMessageReceivedTimestamp(v string) { + o.LastMessageReceivedTimestamp = &v +} + +// GetRollback returns the Rollback field value if set, zero value otherwise. +func (o *SessionData) GetRollback() bool { + if o == nil || IsNil(o.Rollback) { + var ret bool + return ret + } + return *o.Rollback +} + +// GetRollbackOk returns a tuple with the Rollback field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetRollbackOk() (*bool, bool) { + if o == nil || IsNil(o.Rollback) { + return nil, false + } + return o.Rollback, true +} + +// HasRollback returns a boolean if a field has been set. +func (o *SessionData) HasRollback() bool { + if o != nil && !IsNil(o.Rollback) { + return true + } + + return false +} + +// SetRollback gets a reference to the given bool and assigns it to the Rollback field. +func (o *SessionData) SetRollback(v bool) { + o.Rollback = &v +} + +// GetRollbackMessageHash returns the RollbackMessageHash field value if set, zero value otherwise. +func (o *SessionData) GetRollbackMessageHash() string { + if o == nil || IsNil(o.RollbackMessageHash) { + var ret string + return ret + } + return *o.RollbackMessageHash +} + +// GetRollbackMessageHashOk returns a tuple with the RollbackMessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetRollbackMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.RollbackMessageHash) { + return nil, false + } + return o.RollbackMessageHash, true +} + +// HasRollbackMessageHash returns a boolean if a field has been set. +func (o *SessionData) HasRollbackMessageHash() bool { + if o != nil && !IsNil(o.RollbackMessageHash) { + return true + } + + return false +} + +// SetRollbackMessageHash gets a reference to the given string and assigns it to the RollbackMessageHash field. +func (o *SessionData) SetRollbackMessageHash(v string) { + o.RollbackMessageHash = &v +} + +// GetRollbackProofs returns the RollbackProofs field value if set, zero value otherwise. +func (o *SessionData) GetRollbackProofs() []string { + if o == nil || IsNil(o.RollbackProofs) { + var ret []string + return ret + } + return o.RollbackProofs +} + +// GetRollbackProofsOk returns a tuple with the RollbackProofs field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetRollbackProofsOk() ([]string, bool) { + if o == nil || IsNil(o.RollbackProofs) { + return nil, false + } + return o.RollbackProofs, true +} + +// HasRollbackProofs returns a boolean if a field has been set. +func (o *SessionData) HasRollbackProofs() bool { + if o != nil && !IsNil(o.RollbackProofs) { + return true + } + + return false +} + +// SetRollbackProofs gets a reference to the given []string and assigns it to the RollbackProofs field. +func (o *SessionData) SetRollbackProofs(v []string) { + o.RollbackProofs = v +} + +// GetRollbackActionsPerformed returns the RollbackActionsPerformed field value if set, zero value otherwise. +func (o *SessionData) GetRollbackActionsPerformed() []string { + if o == nil || IsNil(o.RollbackActionsPerformed) { + var ret []string + return ret + } + return o.RollbackActionsPerformed +} + +// GetRollbackActionsPerformedOk returns a tuple with the RollbackActionsPerformed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SessionData) GetRollbackActionsPerformedOk() ([]string, bool) { + if o == nil || IsNil(o.RollbackActionsPerformed) { + return nil, false + } + return o.RollbackActionsPerformed, true +} + +// HasRollbackActionsPerformed returns a boolean if a field has been set. +func (o *SessionData) HasRollbackActionsPerformed() bool { + if o != nil && !IsNil(o.RollbackActionsPerformed) { + return true + } + + return false +} + +// SetRollbackActionsPerformed gets a reference to the given []string and assigns it to the RollbackActionsPerformed field. +func (o *SessionData) SetRollbackActionsPerformed(v []string) { + o.RollbackActionsPerformed = v +} + +func (o SessionData) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SessionData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Step) { + toSerialize["step"] = o.Step + } + if !IsNil(o.Version) { + toSerialize["version"] = o.Version + } + if !IsNil(o.LastSequenceNumber) { + toSerialize["lastSequenceNumber"] = o.LastSequenceNumber + } + if !IsNil(o.LoggingProfile) { + toSerialize["loggingProfile"] = o.LoggingProfile + } + if !IsNil(o.AccessControlProfile) { + toSerialize["accessControlProfile"] = o.AccessControlProfile + } + if !IsNil(o.ApplicationProfile) { + toSerialize["applicationProfile"] = o.ApplicationProfile + } + if !IsNil(o.PayloadProfile) { + toSerialize["payloadProfile"] = o.PayloadProfile + } + if !IsNil(o.AssetProfile) { + toSerialize["assetProfile"] = o.AssetProfile + } + if !IsNil(o.AllowedSourceBackupGateways) { + toSerialize["allowedSourceBackupGateways"] = o.AllowedSourceBackupGateways + } + if !IsNil(o.AllowedRecipientBackupGateways) { + toSerialize["allowedRecipientBackupGateways"] = o.AllowedRecipientBackupGateways + } + if !IsNil(o.SourceBasePath) { + toSerialize["sourceBasePath"] = o.SourceBasePath + } + if !IsNil(o.RecipientBasePath) { + toSerialize["recipientBasePath"] = o.RecipientBasePath + } + if !IsNil(o.OriginatorPubkey) { + toSerialize["originatorPubkey"] = o.OriginatorPubkey + } + if !IsNil(o.BeneficiaryPubkey) { + toSerialize["beneficiaryPubkey"] = o.BeneficiaryPubkey + } + if !IsNil(o.SourceGatewayPubkey) { + toSerialize["sourceGatewayPubkey"] = o.SourceGatewayPubkey + } + if !IsNil(o.SourceGatewayDltSystem) { + toSerialize["sourceGatewayDltSystem"] = o.SourceGatewayDltSystem + } + if !IsNil(o.RecipientGatewayPubkey) { + toSerialize["recipientGatewayPubkey"] = o.RecipientGatewayPubkey + } + if !IsNil(o.RecipientGatewayDltSystem) { + toSerialize["recipientGatewayDltSystem"] = o.RecipientGatewayDltSystem + } + if !IsNil(o.InitializationRequestMessageHash) { + toSerialize["initializationRequestMessageHash"] = o.InitializationRequestMessageHash + } + if !IsNil(o.InitializationResponseMessageHash) { + toSerialize["initializationResponseMessageHash"] = o.InitializationResponseMessageHash + } + if !IsNil(o.InitializationRequestMessageRcvTimeStamp) { + toSerialize["initializationRequestMessageRcvTimeStamp"] = o.InitializationRequestMessageRcvTimeStamp + } + if !IsNil(o.InitializationRequestMessageProcessedTimeStamp) { + toSerialize["initializationRequestMessageProcessedTimeStamp"] = o.InitializationRequestMessageProcessedTimeStamp + } + if !IsNil(o.ClientSignatureInitializationRequestMessage) { + toSerialize["clientSignatureInitializationRequestMessage"] = o.ClientSignatureInitializationRequestMessage + } + if !IsNil(o.ServerSignatureInitializationResponseMessage) { + toSerialize["serverSignatureInitializationResponseMessage"] = o.ServerSignatureInitializationResponseMessage + } + if !IsNil(o.TransferCommenceMessageRequestHash) { + toSerialize["transferCommenceMessageRequestHash"] = o.TransferCommenceMessageRequestHash + } + if !IsNil(o.TransferCommenceMessageResponseHash) { + toSerialize["transferCommenceMessageResponseHash"] = o.TransferCommenceMessageResponseHash + } + if !IsNil(o.ClientSignatureTransferCommenceRequestMessage) { + toSerialize["clientSignatureTransferCommenceRequestMessage"] = o.ClientSignatureTransferCommenceRequestMessage + } + if !IsNil(o.ServerSignatureTransferCommenceResponseMessage) { + toSerialize["serverSignatureTransferCommenceResponseMessage"] = o.ServerSignatureTransferCommenceResponseMessage + } + if !IsNil(o.LockEvidenceRequestMessageHash) { + toSerialize["lockEvidenceRequestMessageHash"] = o.LockEvidenceRequestMessageHash + } + if !IsNil(o.LockEvidenceResponseMessageHash) { + toSerialize["lockEvidenceResponseMessageHash"] = o.LockEvidenceResponseMessageHash + } + if !IsNil(o.ClientSignatureLockEvidenceRequestMessage) { + toSerialize["clientSignatureLockEvidenceRequestMessage"] = o.ClientSignatureLockEvidenceRequestMessage + } + if !IsNil(o.ServerSignatureLockEvidenceResponseMessage) { + toSerialize["serverSignatureLockEvidenceResponseMessage"] = o.ServerSignatureLockEvidenceResponseMessage + } + if !IsNil(o.LockEvidenceClaim) { + toSerialize["lockEvidenceClaim"] = o.LockEvidenceClaim + } + if !IsNil(o.CommitPrepareRequestMessageHash) { + toSerialize["commitPrepareRequestMessageHash"] = o.CommitPrepareRequestMessageHash + } + if !IsNil(o.CommitPrepareResponseMessageHash) { + toSerialize["commitPrepareResponseMessageHash"] = o.CommitPrepareResponseMessageHash + } + if !IsNil(o.ClientSignatureCommitPreparationRequestMessage) { + toSerialize["clientSignatureCommitPreparationRequestMessage"] = o.ClientSignatureCommitPreparationRequestMessage + } + if !IsNil(o.ServerSignatureCommitPreparationResponseMessage) { + toSerialize["serverSignatureCommitPreparationResponseMessage"] = o.ServerSignatureCommitPreparationResponseMessage + } + if !IsNil(o.CommitFinalRequestMessageHash) { + toSerialize["commitFinalRequestMessageHash"] = o.CommitFinalRequestMessageHash + } + if !IsNil(o.CommitFinalResponseMessageHash) { + toSerialize["commitFinalResponseMessageHash"] = o.CommitFinalResponseMessageHash + } + if !IsNil(o.CommitFinalClaim) { + toSerialize["commitFinalClaim"] = o.CommitFinalClaim + } + if !IsNil(o.CommitFinalClaimFormat) { + toSerialize["commitFinalClaimFormat"] = o.CommitFinalClaimFormat + } + if !IsNil(o.CommitAcknowledgementClaim) { + toSerialize["commitAcknowledgementClaim"] = o.CommitAcknowledgementClaim + } + if !IsNil(o.CommitAcknowledgementClaimFormat) { + toSerialize["commitAcknowledgementClaimFormat"] = o.CommitAcknowledgementClaimFormat + } + if !IsNil(o.ClientSignatureCommitFinalRequestMessage) { + toSerialize["clientSignatureCommitFinalRequestMessage"] = o.ClientSignatureCommitFinalRequestMessage + } + if !IsNil(o.ServerSignatureCommitFinalResponseMessage) { + toSerialize["serverSignatureCommitFinalResponseMessage"] = o.ServerSignatureCommitFinalResponseMessage + } + if !IsNil(o.TransferCompleteMessageHash) { + toSerialize["transferCompleteMessageHash"] = o.TransferCompleteMessageHash + } + if !IsNil(o.ClientSignatureTransferCompleteMessage) { + toSerialize["clientSignatureTransferCompleteMessage"] = o.ClientSignatureTransferCompleteMessage + } + if !IsNil(o.MaxRetries) { + toSerialize["maxRetries"] = o.MaxRetries + } + if !IsNil(o.RecipientLedgerAssetID) { + toSerialize["recipientLedgerAssetID"] = o.RecipientLedgerAssetID + } + if !IsNil(o.SourceLedgerAssetID) { + toSerialize["sourceLedgerAssetID"] = o.SourceLedgerAssetID + } + if !IsNil(o.MaxTimeout) { + toSerialize["maxTimeout"] = o.MaxTimeout + } + if !IsNil(o.LastLogEntryTimestamp) { + toSerialize["lastLogEntryTimestamp"] = o.LastLogEntryTimestamp + } + if !IsNil(o.UnlockAssetClaim) { + toSerialize["unlockAssetClaim"] = o.UnlockAssetClaim + } + if !IsNil(o.RecreateAssetClaim) { + toSerialize["recreateAssetClaim"] = o.RecreateAssetClaim + } + if !IsNil(o.DeleteAssetClaim) { + toSerialize["deleteAssetClaim"] = o.DeleteAssetClaim + } + if !IsNil(o.LastMessageReceivedTimestamp) { + toSerialize["lastMessageReceivedTimestamp"] = o.LastMessageReceivedTimestamp + } + if !IsNil(o.Rollback) { + toSerialize["rollback"] = o.Rollback + } + if !IsNil(o.RollbackMessageHash) { + toSerialize["rollbackMessageHash"] = o.RollbackMessageHash + } + if !IsNil(o.RollbackProofs) { + toSerialize["rollbackProofs"] = o.RollbackProofs + } + if !IsNil(o.RollbackActionsPerformed) { + toSerialize["rollbackActionsPerformed"] = o.RollbackActionsPerformed + } + return toSerialize, nil +} + +type NullableSessionData struct { + value *SessionData + isSet bool +} + +func (v NullableSessionData) Get() *SessionData { + return v.value +} + +func (v *NullableSessionData) Set(val *SessionData) { + v.value = val + v.isSet = true +} + +func (v NullableSessionData) IsSet() bool { + return v.isSet +} + +func (v *NullableSessionData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSessionData(val *SessionData) *NullableSessionData { + return &NullableSessionData{value: val, isSet: true} +} + +func (v NullableSessionData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSessionData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_commence_v1_request.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_commence_v1_request.go new file mode 100644 index 00000000000..cd58158200e --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_commence_v1_request.go @@ -0,0 +1,496 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the TransferCommenceV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransferCommenceV1Request{} + +// TransferCommenceV1Request struct for TransferCommenceV1Request +type TransferCommenceV1Request struct { + SessionID string `json:"sessionID"` + MessageType string `json:"messageType"` + OriginatorPubkey string `json:"originatorPubkey"` + BeneficiaryPubkey string `json:"beneficiaryPubkey"` + SenderDltSystem string `json:"senderDltSystem"` + RecipientDltSystem string `json:"recipientDltSystem"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + HashAssetProfile string `json:"hashAssetProfile"` + AssetUnit *int32 `json:"assetUnit,omitempty"` + HashPrevMessage string `json:"hashPrevMessage"` + ClientTransferNumber NullableInt32 `json:"clientTransferNumber,omitempty"` + Signature string `json:"signature"` + SequenceNumber int32 `json:"sequenceNumber"` +} + +// NewTransferCommenceV1Request instantiates a new TransferCommenceV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransferCommenceV1Request(sessionID string, messageType string, originatorPubkey string, beneficiaryPubkey string, senderDltSystem string, recipientDltSystem string, clientIdentityPubkey string, serverIdentityPubkey string, hashAssetProfile string, hashPrevMessage string, signature string, sequenceNumber int32) *TransferCommenceV1Request { + this := TransferCommenceV1Request{} + this.SessionID = sessionID + this.MessageType = messageType + this.OriginatorPubkey = originatorPubkey + this.BeneficiaryPubkey = beneficiaryPubkey + this.SenderDltSystem = senderDltSystem + this.RecipientDltSystem = recipientDltSystem + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.HashAssetProfile = hashAssetProfile + this.HashPrevMessage = hashPrevMessage + this.Signature = signature + this.SequenceNumber = sequenceNumber + return &this +} + +// NewTransferCommenceV1RequestWithDefaults instantiates a new TransferCommenceV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransferCommenceV1RequestWithDefaults() *TransferCommenceV1Request { + this := TransferCommenceV1Request{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *TransferCommenceV1Request) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *TransferCommenceV1Request) SetSessionID(v string) { + o.SessionID = v +} + +// GetMessageType returns the MessageType field value +func (o *TransferCommenceV1Request) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *TransferCommenceV1Request) SetMessageType(v string) { + o.MessageType = v +} + +// GetOriginatorPubkey returns the OriginatorPubkey field value +func (o *TransferCommenceV1Request) GetOriginatorPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.OriginatorPubkey +} + +// GetOriginatorPubkeyOk returns a tuple with the OriginatorPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetOriginatorPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OriginatorPubkey, true +} + +// SetOriginatorPubkey sets field value +func (o *TransferCommenceV1Request) SetOriginatorPubkey(v string) { + o.OriginatorPubkey = v +} + +// GetBeneficiaryPubkey returns the BeneficiaryPubkey field value +func (o *TransferCommenceV1Request) GetBeneficiaryPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.BeneficiaryPubkey +} + +// GetBeneficiaryPubkeyOk returns a tuple with the BeneficiaryPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetBeneficiaryPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BeneficiaryPubkey, true +} + +// SetBeneficiaryPubkey sets field value +func (o *TransferCommenceV1Request) SetBeneficiaryPubkey(v string) { + o.BeneficiaryPubkey = v +} + +// GetSenderDltSystem returns the SenderDltSystem field value +func (o *TransferCommenceV1Request) GetSenderDltSystem() string { + if o == nil { + var ret string + return ret + } + + return o.SenderDltSystem +} + +// GetSenderDltSystemOk returns a tuple with the SenderDltSystem field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetSenderDltSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SenderDltSystem, true +} + +// SetSenderDltSystem sets field value +func (o *TransferCommenceV1Request) SetSenderDltSystem(v string) { + o.SenderDltSystem = v +} + +// GetRecipientDltSystem returns the RecipientDltSystem field value +func (o *TransferCommenceV1Request) GetRecipientDltSystem() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientDltSystem +} + +// GetRecipientDltSystemOk returns a tuple with the RecipientDltSystem field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetRecipientDltSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientDltSystem, true +} + +// SetRecipientDltSystem sets field value +func (o *TransferCommenceV1Request) SetRecipientDltSystem(v string) { + o.RecipientDltSystem = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *TransferCommenceV1Request) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *TransferCommenceV1Request) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *TransferCommenceV1Request) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *TransferCommenceV1Request) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetHashAssetProfile returns the HashAssetProfile field value +func (o *TransferCommenceV1Request) GetHashAssetProfile() string { + if o == nil { + var ret string + return ret + } + + return o.HashAssetProfile +} + +// GetHashAssetProfileOk returns a tuple with the HashAssetProfile field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetHashAssetProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashAssetProfile, true +} + +// SetHashAssetProfile sets field value +func (o *TransferCommenceV1Request) SetHashAssetProfile(v string) { + o.HashAssetProfile = v +} + +// GetAssetUnit returns the AssetUnit field value if set, zero value otherwise. +func (o *TransferCommenceV1Request) GetAssetUnit() int32 { + if o == nil || IsNil(o.AssetUnit) { + var ret int32 + return ret + } + return *o.AssetUnit +} + +// GetAssetUnitOk returns a tuple with the AssetUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetAssetUnitOk() (*int32, bool) { + if o == nil || IsNil(o.AssetUnit) { + return nil, false + } + return o.AssetUnit, true +} + +// HasAssetUnit returns a boolean if a field has been set. +func (o *TransferCommenceV1Request) HasAssetUnit() bool { + if o != nil && !IsNil(o.AssetUnit) { + return true + } + + return false +} + +// SetAssetUnit gets a reference to the given int32 and assigns it to the AssetUnit field. +func (o *TransferCommenceV1Request) SetAssetUnit(v int32) { + o.AssetUnit = &v +} + +// GetHashPrevMessage returns the HashPrevMessage field value +func (o *TransferCommenceV1Request) GetHashPrevMessage() string { + if o == nil { + var ret string + return ret + } + + return o.HashPrevMessage +} + +// GetHashPrevMessageOk returns a tuple with the HashPrevMessage field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetHashPrevMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashPrevMessage, true +} + +// SetHashPrevMessage sets field value +func (o *TransferCommenceV1Request) SetHashPrevMessage(v string) { + o.HashPrevMessage = v +} + +// GetClientTransferNumber returns the ClientTransferNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TransferCommenceV1Request) GetClientTransferNumber() int32 { + if o == nil || IsNil(o.ClientTransferNumber.Get()) { + var ret int32 + return ret + } + return *o.ClientTransferNumber.Get() +} + +// GetClientTransferNumberOk returns a tuple with the ClientTransferNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TransferCommenceV1Request) GetClientTransferNumberOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.ClientTransferNumber.Get(), o.ClientTransferNumber.IsSet() +} + +// HasClientTransferNumber returns a boolean if a field has been set. +func (o *TransferCommenceV1Request) HasClientTransferNumber() bool { + if o != nil && o.ClientTransferNumber.IsSet() { + return true + } + + return false +} + +// SetClientTransferNumber gets a reference to the given NullableInt32 and assigns it to the ClientTransferNumber field. +func (o *TransferCommenceV1Request) SetClientTransferNumber(v int32) { + o.ClientTransferNumber.Set(&v) +} +// SetClientTransferNumberNil sets the value for ClientTransferNumber to be an explicit nil +func (o *TransferCommenceV1Request) SetClientTransferNumberNil() { + o.ClientTransferNumber.Set(nil) +} + +// UnsetClientTransferNumber ensures that no value is present for ClientTransferNumber, not even an explicit nil +func (o *TransferCommenceV1Request) UnsetClientTransferNumber() { + o.ClientTransferNumber.Unset() +} + +// GetSignature returns the Signature field value +func (o *TransferCommenceV1Request) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *TransferCommenceV1Request) SetSignature(v string) { + o.Signature = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *TransferCommenceV1Request) GetSequenceNumber() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Request) GetSequenceNumberOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *TransferCommenceV1Request) SetSequenceNumber(v int32) { + o.SequenceNumber = v +} + +func (o TransferCommenceV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransferCommenceV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["messageType"] = o.MessageType + toSerialize["originatorPubkey"] = o.OriginatorPubkey + toSerialize["beneficiaryPubkey"] = o.BeneficiaryPubkey + toSerialize["senderDltSystem"] = o.SenderDltSystem + toSerialize["recipientDltSystem"] = o.RecipientDltSystem + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["hashAssetProfile"] = o.HashAssetProfile + if !IsNil(o.AssetUnit) { + toSerialize["assetUnit"] = o.AssetUnit + } + toSerialize["hashPrevMessage"] = o.HashPrevMessage + if o.ClientTransferNumber.IsSet() { + toSerialize["clientTransferNumber"] = o.ClientTransferNumber.Get() + } + toSerialize["signature"] = o.Signature + toSerialize["sequenceNumber"] = o.SequenceNumber + return toSerialize, nil +} + +type NullableTransferCommenceV1Request struct { + value *TransferCommenceV1Request + isSet bool +} + +func (v NullableTransferCommenceV1Request) Get() *TransferCommenceV1Request { + return v.value +} + +func (v *NullableTransferCommenceV1Request) Set(val *TransferCommenceV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableTransferCommenceV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableTransferCommenceV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransferCommenceV1Request(val *TransferCommenceV1Request) *NullableTransferCommenceV1Request { + return &NullableTransferCommenceV1Request{value: val, isSet: true} +} + +func (v NullableTransferCommenceV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransferCommenceV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_commence_v1_response.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_commence_v1_response.go new file mode 100644 index 00000000000..fdda179bb52 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_commence_v1_response.go @@ -0,0 +1,361 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the TransferCommenceV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransferCommenceV1Response{} + +// TransferCommenceV1Response struct for TransferCommenceV1Response +type TransferCommenceV1Response struct { + SessionID string `json:"sessionID"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + HashCommenceRequest string `json:"hashCommenceRequest"` + ServerTransferNumber NullableInt32 `json:"serverTransferNumber,omitempty"` + Signature string `json:"signature"` + MessageType string `json:"messageType"` + MessageHash *string `json:"messageHash,omitempty"` + SequenceNumber float32 `json:"sequenceNumber"` +} + +// NewTransferCommenceV1Response instantiates a new TransferCommenceV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransferCommenceV1Response(sessionID string, clientIdentityPubkey string, serverIdentityPubkey string, hashCommenceRequest string, signature string, messageType string, sequenceNumber float32) *TransferCommenceV1Response { + this := TransferCommenceV1Response{} + this.SessionID = sessionID + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.HashCommenceRequest = hashCommenceRequest + this.Signature = signature + this.MessageType = messageType + this.SequenceNumber = sequenceNumber + return &this +} + +// NewTransferCommenceV1ResponseWithDefaults instantiates a new TransferCommenceV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransferCommenceV1ResponseWithDefaults() *TransferCommenceV1Response { + this := TransferCommenceV1Response{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *TransferCommenceV1Response) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Response) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *TransferCommenceV1Response) SetSessionID(v string) { + o.SessionID = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *TransferCommenceV1Response) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Response) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *TransferCommenceV1Response) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *TransferCommenceV1Response) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Response) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *TransferCommenceV1Response) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetHashCommenceRequest returns the HashCommenceRequest field value +func (o *TransferCommenceV1Response) GetHashCommenceRequest() string { + if o == nil { + var ret string + return ret + } + + return o.HashCommenceRequest +} + +// GetHashCommenceRequestOk returns a tuple with the HashCommenceRequest field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Response) GetHashCommenceRequestOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashCommenceRequest, true +} + +// SetHashCommenceRequest sets field value +func (o *TransferCommenceV1Response) SetHashCommenceRequest(v string) { + o.HashCommenceRequest = v +} + +// GetServerTransferNumber returns the ServerTransferNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TransferCommenceV1Response) GetServerTransferNumber() int32 { + if o == nil || IsNil(o.ServerTransferNumber.Get()) { + var ret int32 + return ret + } + return *o.ServerTransferNumber.Get() +} + +// GetServerTransferNumberOk returns a tuple with the ServerTransferNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TransferCommenceV1Response) GetServerTransferNumberOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.ServerTransferNumber.Get(), o.ServerTransferNumber.IsSet() +} + +// HasServerTransferNumber returns a boolean if a field has been set. +func (o *TransferCommenceV1Response) HasServerTransferNumber() bool { + if o != nil && o.ServerTransferNumber.IsSet() { + return true + } + + return false +} + +// SetServerTransferNumber gets a reference to the given NullableInt32 and assigns it to the ServerTransferNumber field. +func (o *TransferCommenceV1Response) SetServerTransferNumber(v int32) { + o.ServerTransferNumber.Set(&v) +} +// SetServerTransferNumberNil sets the value for ServerTransferNumber to be an explicit nil +func (o *TransferCommenceV1Response) SetServerTransferNumberNil() { + o.ServerTransferNumber.Set(nil) +} + +// UnsetServerTransferNumber ensures that no value is present for ServerTransferNumber, not even an explicit nil +func (o *TransferCommenceV1Response) UnsetServerTransferNumber() { + o.ServerTransferNumber.Unset() +} + +// GetSignature returns the Signature field value +func (o *TransferCommenceV1Response) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Response) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *TransferCommenceV1Response) SetSignature(v string) { + o.Signature = v +} + +// GetMessageType returns the MessageType field value +func (o *TransferCommenceV1Response) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Response) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *TransferCommenceV1Response) SetMessageType(v string) { + o.MessageType = v +} + +// GetMessageHash returns the MessageHash field value if set, zero value otherwise. +func (o *TransferCommenceV1Response) GetMessageHash() string { + if o == nil || IsNil(o.MessageHash) { + var ret string + return ret + } + return *o.MessageHash +} + +// GetMessageHashOk returns a tuple with the MessageHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Response) GetMessageHashOk() (*string, bool) { + if o == nil || IsNil(o.MessageHash) { + return nil, false + } + return o.MessageHash, true +} + +// HasMessageHash returns a boolean if a field has been set. +func (o *TransferCommenceV1Response) HasMessageHash() bool { + if o != nil && !IsNil(o.MessageHash) { + return true + } + + return false +} + +// SetMessageHash gets a reference to the given string and assigns it to the MessageHash field. +func (o *TransferCommenceV1Response) SetMessageHash(v string) { + o.MessageHash = &v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *TransferCommenceV1Response) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *TransferCommenceV1Response) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *TransferCommenceV1Response) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +func (o TransferCommenceV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransferCommenceV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["hashCommenceRequest"] = o.HashCommenceRequest + if o.ServerTransferNumber.IsSet() { + toSerialize["serverTransferNumber"] = o.ServerTransferNumber.Get() + } + toSerialize["signature"] = o.Signature + toSerialize["messageType"] = o.MessageType + if !IsNil(o.MessageHash) { + toSerialize["messageHash"] = o.MessageHash + } + toSerialize["sequenceNumber"] = o.SequenceNumber + return toSerialize, nil +} + +type NullableTransferCommenceV1Response struct { + value *TransferCommenceV1Response + isSet bool +} + +func (v NullableTransferCommenceV1Response) Get() *TransferCommenceV1Response { + return v.value +} + +func (v *NullableTransferCommenceV1Response) Set(val *TransferCommenceV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableTransferCommenceV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableTransferCommenceV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransferCommenceV1Response(val *TransferCommenceV1Response) *NullableTransferCommenceV1Response { + return &NullableTransferCommenceV1Response{value: val, isSet: true} +} + +func (v NullableTransferCommenceV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransferCommenceV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_complete_v1_request.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_complete_v1_request.go new file mode 100644 index 00000000000..566bff4350a --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_complete_v1_request.go @@ -0,0 +1,352 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the TransferCompleteV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransferCompleteV1Request{} + +// TransferCompleteV1Request struct for TransferCompleteV1Request +type TransferCompleteV1Request struct { + SessionID string `json:"sessionID"` + MessageType string `json:"messageType"` + ClientIdentityPubkey string `json:"clientIdentityPubkey"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + HashCommitFinalAck string `json:"hashCommitFinalAck"` + ClientTransferNumber NullableInt32 `json:"clientTransferNumber,omitempty"` + Signature string `json:"signature"` + HashTransferCommence string `json:"hashTransferCommence"` + SequenceNumber float32 `json:"sequenceNumber"` +} + +// NewTransferCompleteV1Request instantiates a new TransferCompleteV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransferCompleteV1Request(sessionID string, messageType string, clientIdentityPubkey string, serverIdentityPubkey string, hashCommitFinalAck string, signature string, hashTransferCommence string, sequenceNumber float32) *TransferCompleteV1Request { + this := TransferCompleteV1Request{} + this.SessionID = sessionID + this.MessageType = messageType + this.ClientIdentityPubkey = clientIdentityPubkey + this.ServerIdentityPubkey = serverIdentityPubkey + this.HashCommitFinalAck = hashCommitFinalAck + this.Signature = signature + this.HashTransferCommence = hashTransferCommence + this.SequenceNumber = sequenceNumber + return &this +} + +// NewTransferCompleteV1RequestWithDefaults instantiates a new TransferCompleteV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransferCompleteV1RequestWithDefaults() *TransferCompleteV1Request { + this := TransferCompleteV1Request{} + return &this +} + +// GetSessionID returns the SessionID field value +func (o *TransferCompleteV1Request) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *TransferCompleteV1Request) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *TransferCompleteV1Request) SetSessionID(v string) { + o.SessionID = v +} + +// GetMessageType returns the MessageType field value +func (o *TransferCompleteV1Request) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *TransferCompleteV1Request) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *TransferCompleteV1Request) SetMessageType(v string) { + o.MessageType = v +} + +// GetClientIdentityPubkey returns the ClientIdentityPubkey field value +func (o *TransferCompleteV1Request) GetClientIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ClientIdentityPubkey +} + +// GetClientIdentityPubkeyOk returns a tuple with the ClientIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferCompleteV1Request) GetClientIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClientIdentityPubkey, true +} + +// SetClientIdentityPubkey sets field value +func (o *TransferCompleteV1Request) SetClientIdentityPubkey(v string) { + o.ClientIdentityPubkey = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *TransferCompleteV1Request) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferCompleteV1Request) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *TransferCompleteV1Request) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetHashCommitFinalAck returns the HashCommitFinalAck field value +func (o *TransferCompleteV1Request) GetHashCommitFinalAck() string { + if o == nil { + var ret string + return ret + } + + return o.HashCommitFinalAck +} + +// GetHashCommitFinalAckOk returns a tuple with the HashCommitFinalAck field value +// and a boolean to check if the value has been set. +func (o *TransferCompleteV1Request) GetHashCommitFinalAckOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashCommitFinalAck, true +} + +// SetHashCommitFinalAck sets field value +func (o *TransferCompleteV1Request) SetHashCommitFinalAck(v string) { + o.HashCommitFinalAck = v +} + +// GetClientTransferNumber returns the ClientTransferNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TransferCompleteV1Request) GetClientTransferNumber() int32 { + if o == nil || IsNil(o.ClientTransferNumber.Get()) { + var ret int32 + return ret + } + return *o.ClientTransferNumber.Get() +} + +// GetClientTransferNumberOk returns a tuple with the ClientTransferNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TransferCompleteV1Request) GetClientTransferNumberOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.ClientTransferNumber.Get(), o.ClientTransferNumber.IsSet() +} + +// HasClientTransferNumber returns a boolean if a field has been set. +func (o *TransferCompleteV1Request) HasClientTransferNumber() bool { + if o != nil && o.ClientTransferNumber.IsSet() { + return true + } + + return false +} + +// SetClientTransferNumber gets a reference to the given NullableInt32 and assigns it to the ClientTransferNumber field. +func (o *TransferCompleteV1Request) SetClientTransferNumber(v int32) { + o.ClientTransferNumber.Set(&v) +} +// SetClientTransferNumberNil sets the value for ClientTransferNumber to be an explicit nil +func (o *TransferCompleteV1Request) SetClientTransferNumberNil() { + o.ClientTransferNumber.Set(nil) +} + +// UnsetClientTransferNumber ensures that no value is present for ClientTransferNumber, not even an explicit nil +func (o *TransferCompleteV1Request) UnsetClientTransferNumber() { + o.ClientTransferNumber.Unset() +} + +// GetSignature returns the Signature field value +func (o *TransferCompleteV1Request) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *TransferCompleteV1Request) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *TransferCompleteV1Request) SetSignature(v string) { + o.Signature = v +} + +// GetHashTransferCommence returns the HashTransferCommence field value +func (o *TransferCompleteV1Request) GetHashTransferCommence() string { + if o == nil { + var ret string + return ret + } + + return o.HashTransferCommence +} + +// GetHashTransferCommenceOk returns a tuple with the HashTransferCommence field value +// and a boolean to check if the value has been set. +func (o *TransferCompleteV1Request) GetHashTransferCommenceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HashTransferCommence, true +} + +// SetHashTransferCommence sets field value +func (o *TransferCompleteV1Request) SetHashTransferCommence(v string) { + o.HashTransferCommence = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *TransferCompleteV1Request) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *TransferCompleteV1Request) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *TransferCompleteV1Request) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +func (o TransferCompleteV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransferCompleteV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["sessionID"] = o.SessionID + toSerialize["messageType"] = o.MessageType + toSerialize["clientIdentityPubkey"] = o.ClientIdentityPubkey + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["hashCommitFinalAck"] = o.HashCommitFinalAck + if o.ClientTransferNumber.IsSet() { + toSerialize["clientTransferNumber"] = o.ClientTransferNumber.Get() + } + toSerialize["signature"] = o.Signature + toSerialize["hashTransferCommence"] = o.HashTransferCommence + toSerialize["sequenceNumber"] = o.SequenceNumber + return toSerialize, nil +} + +type NullableTransferCompleteV1Request struct { + value *TransferCompleteV1Request + isSet bool +} + +func (v NullableTransferCompleteV1Request) Get() *TransferCompleteV1Request { + return v.value +} + +func (v *NullableTransferCompleteV1Request) Set(val *TransferCompleteV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableTransferCompleteV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableTransferCompleteV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransferCompleteV1Request(val *TransferCompleteV1Request) *NullableTransferCompleteV1Request { + return &NullableTransferCompleteV1Request{value: val, isSet: true} +} + +func (v NullableTransferCompleteV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransferCompleteV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_initialization_v1_request.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_initialization_v1_request.go new file mode 100644 index 00000000000..d3560b53565 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_initialization_v1_request.go @@ -0,0 +1,1035 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the TransferInitializationV1Request type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransferInitializationV1Request{} + +// TransferInitializationV1Request struct for TransferInitializationV1Request +type TransferInitializationV1Request struct { + MessageType string `json:"messageType"` + SessionID string `json:"sessionID"` + Version *string `json:"version,omitempty"` + DeveloperURN *string `json:"developerURN,omitempty"` + CredentialProfile *CredentialProfile `json:"credentialProfile,omitempty"` + PayloadProfile PayloadProfile `json:"payloadProfile"` + ApplicationProfile string `json:"applicationProfile"` + LoggingProfile string `json:"loggingProfile"` + AccessControlProfile string `json:"accessControlProfile"` + Signature string `json:"signature"` + SourceGatewayPubkey string `json:"sourceGatewayPubkey"` + SourceGatewayDltSystem string `json:"sourceGatewayDltSystem"` + RecipientGatewayPubkey string `json:"recipientGatewayPubkey"` + RecipientGatewayDltSystem string `json:"recipientGatewayDltSystem"` + EscrowType *string `json:"escrowType,omitempty"` + ExpiryTime *string `json:"expiryTime,omitempty"` + MultipleClaimsAllowed *bool `json:"multipleClaimsAllowed,omitempty"` + MultipleCancelsAllowed *bool `json:"multipleCancelsAllowed,omitempty"` + Permissions map[string]interface{} `json:"permissions,omitempty"` + Origin *string `json:"origin,omitempty"` + Destination *string `json:"destination,omitempty"` + SubsequentCalls map[string]interface{} `json:"subsequentCalls,omitempty"` + Histories []History `json:"histories,omitempty"` + SequenceNumber int32 `json:"sequenceNumber"` + SourceBasePath string `json:"sourceBasePath"` + RecipientBasePath string `json:"recipientBasePath"` + MaxRetries float32 `json:"maxRetries"` + MaxTimeout float32 `json:"maxTimeout"` + BackupGatewaysAllowed []string `json:"backupGatewaysAllowed"` + RecipientLedgerAssetID string `json:"recipientLedgerAssetID"` + SourceLedgerAssetID string `json:"sourceLedgerAssetID"` +} + +// NewTransferInitializationV1Request instantiates a new TransferInitializationV1Request object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransferInitializationV1Request(messageType string, sessionID string, payloadProfile PayloadProfile, applicationProfile string, loggingProfile string, accessControlProfile string, signature string, sourceGatewayPubkey string, sourceGatewayDltSystem string, recipientGatewayPubkey string, recipientGatewayDltSystem string, sequenceNumber int32, sourceBasePath string, recipientBasePath string, maxRetries float32, maxTimeout float32, backupGatewaysAllowed []string, recipientLedgerAssetID string, sourceLedgerAssetID string) *TransferInitializationV1Request { + this := TransferInitializationV1Request{} + this.MessageType = messageType + this.SessionID = sessionID + this.PayloadProfile = payloadProfile + this.ApplicationProfile = applicationProfile + this.LoggingProfile = loggingProfile + this.AccessControlProfile = accessControlProfile + this.Signature = signature + this.SourceGatewayPubkey = sourceGatewayPubkey + this.SourceGatewayDltSystem = sourceGatewayDltSystem + this.RecipientGatewayPubkey = recipientGatewayPubkey + this.RecipientGatewayDltSystem = recipientGatewayDltSystem + this.SequenceNumber = sequenceNumber + this.SourceBasePath = sourceBasePath + this.RecipientBasePath = recipientBasePath + this.MaxRetries = maxRetries + this.MaxTimeout = maxTimeout + this.BackupGatewaysAllowed = backupGatewaysAllowed + this.RecipientLedgerAssetID = recipientLedgerAssetID + this.SourceLedgerAssetID = sourceLedgerAssetID + return &this +} + +// NewTransferInitializationV1RequestWithDefaults instantiates a new TransferInitializationV1Request object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransferInitializationV1RequestWithDefaults() *TransferInitializationV1Request { + this := TransferInitializationV1Request{} + return &this +} + +// GetMessageType returns the MessageType field value +func (o *TransferInitializationV1Request) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *TransferInitializationV1Request) SetMessageType(v string) { + o.MessageType = v +} + +// GetSessionID returns the SessionID field value +func (o *TransferInitializationV1Request) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *TransferInitializationV1Request) SetSessionID(v string) { + o.SessionID = v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetVersion() string { + if o == nil || IsNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetVersionOk() (*string, bool) { + if o == nil || IsNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasVersion() bool { + if o != nil && !IsNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *TransferInitializationV1Request) SetVersion(v string) { + o.Version = &v +} + +// GetDeveloperURN returns the DeveloperURN field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetDeveloperURN() string { + if o == nil || IsNil(o.DeveloperURN) { + var ret string + return ret + } + return *o.DeveloperURN +} + +// GetDeveloperURNOk returns a tuple with the DeveloperURN field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetDeveloperURNOk() (*string, bool) { + if o == nil || IsNil(o.DeveloperURN) { + return nil, false + } + return o.DeveloperURN, true +} + +// HasDeveloperURN returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasDeveloperURN() bool { + if o != nil && !IsNil(o.DeveloperURN) { + return true + } + + return false +} + +// SetDeveloperURN gets a reference to the given string and assigns it to the DeveloperURN field. +func (o *TransferInitializationV1Request) SetDeveloperURN(v string) { + o.DeveloperURN = &v +} + +// GetCredentialProfile returns the CredentialProfile field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetCredentialProfile() CredentialProfile { + if o == nil || IsNil(o.CredentialProfile) { + var ret CredentialProfile + return ret + } + return *o.CredentialProfile +} + +// GetCredentialProfileOk returns a tuple with the CredentialProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetCredentialProfileOk() (*CredentialProfile, bool) { + if o == nil || IsNil(o.CredentialProfile) { + return nil, false + } + return o.CredentialProfile, true +} + +// HasCredentialProfile returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasCredentialProfile() bool { + if o != nil && !IsNil(o.CredentialProfile) { + return true + } + + return false +} + +// SetCredentialProfile gets a reference to the given CredentialProfile and assigns it to the CredentialProfile field. +func (o *TransferInitializationV1Request) SetCredentialProfile(v CredentialProfile) { + o.CredentialProfile = &v +} + +// GetPayloadProfile returns the PayloadProfile field value +func (o *TransferInitializationV1Request) GetPayloadProfile() PayloadProfile { + if o == nil { + var ret PayloadProfile + return ret + } + + return o.PayloadProfile +} + +// GetPayloadProfileOk returns a tuple with the PayloadProfile field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetPayloadProfileOk() (*PayloadProfile, bool) { + if o == nil { + return nil, false + } + return &o.PayloadProfile, true +} + +// SetPayloadProfile sets field value +func (o *TransferInitializationV1Request) SetPayloadProfile(v PayloadProfile) { + o.PayloadProfile = v +} + +// GetApplicationProfile returns the ApplicationProfile field value +func (o *TransferInitializationV1Request) GetApplicationProfile() string { + if o == nil { + var ret string + return ret + } + + return o.ApplicationProfile +} + +// GetApplicationProfileOk returns a tuple with the ApplicationProfile field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetApplicationProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApplicationProfile, true +} + +// SetApplicationProfile sets field value +func (o *TransferInitializationV1Request) SetApplicationProfile(v string) { + o.ApplicationProfile = v +} + +// GetLoggingProfile returns the LoggingProfile field value +func (o *TransferInitializationV1Request) GetLoggingProfile() string { + if o == nil { + var ret string + return ret + } + + return o.LoggingProfile +} + +// GetLoggingProfileOk returns a tuple with the LoggingProfile field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetLoggingProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.LoggingProfile, true +} + +// SetLoggingProfile sets field value +func (o *TransferInitializationV1Request) SetLoggingProfile(v string) { + o.LoggingProfile = v +} + +// GetAccessControlProfile returns the AccessControlProfile field value +func (o *TransferInitializationV1Request) GetAccessControlProfile() string { + if o == nil { + var ret string + return ret + } + + return o.AccessControlProfile +} + +// GetAccessControlProfileOk returns a tuple with the AccessControlProfile field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetAccessControlProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AccessControlProfile, true +} + +// SetAccessControlProfile sets field value +func (o *TransferInitializationV1Request) SetAccessControlProfile(v string) { + o.AccessControlProfile = v +} + +// GetSignature returns the Signature field value +func (o *TransferInitializationV1Request) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *TransferInitializationV1Request) SetSignature(v string) { + o.Signature = v +} + +// GetSourceGatewayPubkey returns the SourceGatewayPubkey field value +func (o *TransferInitializationV1Request) GetSourceGatewayPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.SourceGatewayPubkey +} + +// GetSourceGatewayPubkeyOk returns a tuple with the SourceGatewayPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetSourceGatewayPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SourceGatewayPubkey, true +} + +// SetSourceGatewayPubkey sets field value +func (o *TransferInitializationV1Request) SetSourceGatewayPubkey(v string) { + o.SourceGatewayPubkey = v +} + +// GetSourceGatewayDltSystem returns the SourceGatewayDltSystem field value +func (o *TransferInitializationV1Request) GetSourceGatewayDltSystem() string { + if o == nil { + var ret string + return ret + } + + return o.SourceGatewayDltSystem +} + +// GetSourceGatewayDltSystemOk returns a tuple with the SourceGatewayDltSystem field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetSourceGatewayDltSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SourceGatewayDltSystem, true +} + +// SetSourceGatewayDltSystem sets field value +func (o *TransferInitializationV1Request) SetSourceGatewayDltSystem(v string) { + o.SourceGatewayDltSystem = v +} + +// GetRecipientGatewayPubkey returns the RecipientGatewayPubkey field value +func (o *TransferInitializationV1Request) GetRecipientGatewayPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientGatewayPubkey +} + +// GetRecipientGatewayPubkeyOk returns a tuple with the RecipientGatewayPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetRecipientGatewayPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientGatewayPubkey, true +} + +// SetRecipientGatewayPubkey sets field value +func (o *TransferInitializationV1Request) SetRecipientGatewayPubkey(v string) { + o.RecipientGatewayPubkey = v +} + +// GetRecipientGatewayDltSystem returns the RecipientGatewayDltSystem field value +func (o *TransferInitializationV1Request) GetRecipientGatewayDltSystem() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientGatewayDltSystem +} + +// GetRecipientGatewayDltSystemOk returns a tuple with the RecipientGatewayDltSystem field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetRecipientGatewayDltSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientGatewayDltSystem, true +} + +// SetRecipientGatewayDltSystem sets field value +func (o *TransferInitializationV1Request) SetRecipientGatewayDltSystem(v string) { + o.RecipientGatewayDltSystem = v +} + +// GetEscrowType returns the EscrowType field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetEscrowType() string { + if o == nil || IsNil(o.EscrowType) { + var ret string + return ret + } + return *o.EscrowType +} + +// GetEscrowTypeOk returns a tuple with the EscrowType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetEscrowTypeOk() (*string, bool) { + if o == nil || IsNil(o.EscrowType) { + return nil, false + } + return o.EscrowType, true +} + +// HasEscrowType returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasEscrowType() bool { + if o != nil && !IsNil(o.EscrowType) { + return true + } + + return false +} + +// SetEscrowType gets a reference to the given string and assigns it to the EscrowType field. +func (o *TransferInitializationV1Request) SetEscrowType(v string) { + o.EscrowType = &v +} + +// GetExpiryTime returns the ExpiryTime field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetExpiryTime() string { + if o == nil || IsNil(o.ExpiryTime) { + var ret string + return ret + } + return *o.ExpiryTime +} + +// GetExpiryTimeOk returns a tuple with the ExpiryTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetExpiryTimeOk() (*string, bool) { + if o == nil || IsNil(o.ExpiryTime) { + return nil, false + } + return o.ExpiryTime, true +} + +// HasExpiryTime returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasExpiryTime() bool { + if o != nil && !IsNil(o.ExpiryTime) { + return true + } + + return false +} + +// SetExpiryTime gets a reference to the given string and assigns it to the ExpiryTime field. +func (o *TransferInitializationV1Request) SetExpiryTime(v string) { + o.ExpiryTime = &v +} + +// GetMultipleClaimsAllowed returns the MultipleClaimsAllowed field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetMultipleClaimsAllowed() bool { + if o == nil || IsNil(o.MultipleClaimsAllowed) { + var ret bool + return ret + } + return *o.MultipleClaimsAllowed +} + +// GetMultipleClaimsAllowedOk returns a tuple with the MultipleClaimsAllowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetMultipleClaimsAllowedOk() (*bool, bool) { + if o == nil || IsNil(o.MultipleClaimsAllowed) { + return nil, false + } + return o.MultipleClaimsAllowed, true +} + +// HasMultipleClaimsAllowed returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasMultipleClaimsAllowed() bool { + if o != nil && !IsNil(o.MultipleClaimsAllowed) { + return true + } + + return false +} + +// SetMultipleClaimsAllowed gets a reference to the given bool and assigns it to the MultipleClaimsAllowed field. +func (o *TransferInitializationV1Request) SetMultipleClaimsAllowed(v bool) { + o.MultipleClaimsAllowed = &v +} + +// GetMultipleCancelsAllowed returns the MultipleCancelsAllowed field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetMultipleCancelsAllowed() bool { + if o == nil || IsNil(o.MultipleCancelsAllowed) { + var ret bool + return ret + } + return *o.MultipleCancelsAllowed +} + +// GetMultipleCancelsAllowedOk returns a tuple with the MultipleCancelsAllowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetMultipleCancelsAllowedOk() (*bool, bool) { + if o == nil || IsNil(o.MultipleCancelsAllowed) { + return nil, false + } + return o.MultipleCancelsAllowed, true +} + +// HasMultipleCancelsAllowed returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasMultipleCancelsAllowed() bool { + if o != nil && !IsNil(o.MultipleCancelsAllowed) { + return true + } + + return false +} + +// SetMultipleCancelsAllowed gets a reference to the given bool and assigns it to the MultipleCancelsAllowed field. +func (o *TransferInitializationV1Request) SetMultipleCancelsAllowed(v bool) { + o.MultipleCancelsAllowed = &v +} + +// GetPermissions returns the Permissions field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetPermissions() map[string]interface{} { + if o == nil || IsNil(o.Permissions) { + var ret map[string]interface{} + return ret + } + return o.Permissions +} + +// GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetPermissionsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Permissions) { + return map[string]interface{}{}, false + } + return o.Permissions, true +} + +// HasPermissions returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasPermissions() bool { + if o != nil && !IsNil(o.Permissions) { + return true + } + + return false +} + +// SetPermissions gets a reference to the given map[string]interface{} and assigns it to the Permissions field. +func (o *TransferInitializationV1Request) SetPermissions(v map[string]interface{}) { + o.Permissions = v +} + +// GetOrigin returns the Origin field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetOrigin() string { + if o == nil || IsNil(o.Origin) { + var ret string + return ret + } + return *o.Origin +} + +// GetOriginOk returns a tuple with the Origin field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetOriginOk() (*string, bool) { + if o == nil || IsNil(o.Origin) { + return nil, false + } + return o.Origin, true +} + +// HasOrigin returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasOrigin() bool { + if o != nil && !IsNil(o.Origin) { + return true + } + + return false +} + +// SetOrigin gets a reference to the given string and assigns it to the Origin field. +func (o *TransferInitializationV1Request) SetOrigin(v string) { + o.Origin = &v +} + +// GetDestination returns the Destination field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetDestination() string { + if o == nil || IsNil(o.Destination) { + var ret string + return ret + } + return *o.Destination +} + +// GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetDestinationOk() (*string, bool) { + if o == nil || IsNil(o.Destination) { + return nil, false + } + return o.Destination, true +} + +// HasDestination returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasDestination() bool { + if o != nil && !IsNil(o.Destination) { + return true + } + + return false +} + +// SetDestination gets a reference to the given string and assigns it to the Destination field. +func (o *TransferInitializationV1Request) SetDestination(v string) { + o.Destination = &v +} + +// GetSubsequentCalls returns the SubsequentCalls field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetSubsequentCalls() map[string]interface{} { + if o == nil || IsNil(o.SubsequentCalls) { + var ret map[string]interface{} + return ret + } + return o.SubsequentCalls +} + +// GetSubsequentCallsOk returns a tuple with the SubsequentCalls field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetSubsequentCallsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.SubsequentCalls) { + return map[string]interface{}{}, false + } + return o.SubsequentCalls, true +} + +// HasSubsequentCalls returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasSubsequentCalls() bool { + if o != nil && !IsNil(o.SubsequentCalls) { + return true + } + + return false +} + +// SetSubsequentCalls gets a reference to the given map[string]interface{} and assigns it to the SubsequentCalls field. +func (o *TransferInitializationV1Request) SetSubsequentCalls(v map[string]interface{}) { + o.SubsequentCalls = v +} + +// GetHistories returns the Histories field value if set, zero value otherwise. +func (o *TransferInitializationV1Request) GetHistories() []History { + if o == nil || IsNil(o.Histories) { + var ret []History + return ret + } + return o.Histories +} + +// GetHistoriesOk returns a tuple with the Histories field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetHistoriesOk() ([]History, bool) { + if o == nil || IsNil(o.Histories) { + return nil, false + } + return o.Histories, true +} + +// HasHistories returns a boolean if a field has been set. +func (o *TransferInitializationV1Request) HasHistories() bool { + if o != nil && !IsNil(o.Histories) { + return true + } + + return false +} + +// SetHistories gets a reference to the given []History and assigns it to the Histories field. +func (o *TransferInitializationV1Request) SetHistories(v []History) { + o.Histories = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *TransferInitializationV1Request) GetSequenceNumber() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetSequenceNumberOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *TransferInitializationV1Request) SetSequenceNumber(v int32) { + o.SequenceNumber = v +} + +// GetSourceBasePath returns the SourceBasePath field value +func (o *TransferInitializationV1Request) GetSourceBasePath() string { + if o == nil { + var ret string + return ret + } + + return o.SourceBasePath +} + +// GetSourceBasePathOk returns a tuple with the SourceBasePath field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetSourceBasePathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SourceBasePath, true +} + +// SetSourceBasePath sets field value +func (o *TransferInitializationV1Request) SetSourceBasePath(v string) { + o.SourceBasePath = v +} + +// GetRecipientBasePath returns the RecipientBasePath field value +func (o *TransferInitializationV1Request) GetRecipientBasePath() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientBasePath +} + +// GetRecipientBasePathOk returns a tuple with the RecipientBasePath field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetRecipientBasePathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientBasePath, true +} + +// SetRecipientBasePath sets field value +func (o *TransferInitializationV1Request) SetRecipientBasePath(v string) { + o.RecipientBasePath = v +} + +// GetMaxRetries returns the MaxRetries field value +func (o *TransferInitializationV1Request) GetMaxRetries() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.MaxRetries +} + +// GetMaxRetriesOk returns a tuple with the MaxRetries field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetMaxRetriesOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.MaxRetries, true +} + +// SetMaxRetries sets field value +func (o *TransferInitializationV1Request) SetMaxRetries(v float32) { + o.MaxRetries = v +} + +// GetMaxTimeout returns the MaxTimeout field value +func (o *TransferInitializationV1Request) GetMaxTimeout() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.MaxTimeout +} + +// GetMaxTimeoutOk returns a tuple with the MaxTimeout field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetMaxTimeoutOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.MaxTimeout, true +} + +// SetMaxTimeout sets field value +func (o *TransferInitializationV1Request) SetMaxTimeout(v float32) { + o.MaxTimeout = v +} + +// GetBackupGatewaysAllowed returns the BackupGatewaysAllowed field value +func (o *TransferInitializationV1Request) GetBackupGatewaysAllowed() []string { + if o == nil { + var ret []string + return ret + } + + return o.BackupGatewaysAllowed +} + +// GetBackupGatewaysAllowedOk returns a tuple with the BackupGatewaysAllowed field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetBackupGatewaysAllowedOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.BackupGatewaysAllowed, true +} + +// SetBackupGatewaysAllowed sets field value +func (o *TransferInitializationV1Request) SetBackupGatewaysAllowed(v []string) { + o.BackupGatewaysAllowed = v +} + +// GetRecipientLedgerAssetID returns the RecipientLedgerAssetID field value +func (o *TransferInitializationV1Request) GetRecipientLedgerAssetID() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientLedgerAssetID +} + +// GetRecipientLedgerAssetIDOk returns a tuple with the RecipientLedgerAssetID field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetRecipientLedgerAssetIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientLedgerAssetID, true +} + +// SetRecipientLedgerAssetID sets field value +func (o *TransferInitializationV1Request) SetRecipientLedgerAssetID(v string) { + o.RecipientLedgerAssetID = v +} + +// GetSourceLedgerAssetID returns the SourceLedgerAssetID field value +func (o *TransferInitializationV1Request) GetSourceLedgerAssetID() string { + if o == nil { + var ret string + return ret + } + + return o.SourceLedgerAssetID +} + +// GetSourceLedgerAssetIDOk returns a tuple with the SourceLedgerAssetID field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Request) GetSourceLedgerAssetIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SourceLedgerAssetID, true +} + +// SetSourceLedgerAssetID sets field value +func (o *TransferInitializationV1Request) SetSourceLedgerAssetID(v string) { + o.SourceLedgerAssetID = v +} + +func (o TransferInitializationV1Request) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransferInitializationV1Request) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["messageType"] = o.MessageType + toSerialize["sessionID"] = o.SessionID + if !IsNil(o.Version) { + toSerialize["version"] = o.Version + } + if !IsNil(o.DeveloperURN) { + toSerialize["developerURN"] = o.DeveloperURN + } + if !IsNil(o.CredentialProfile) { + toSerialize["credentialProfile"] = o.CredentialProfile + } + toSerialize["payloadProfile"] = o.PayloadProfile + toSerialize["applicationProfile"] = o.ApplicationProfile + toSerialize["loggingProfile"] = o.LoggingProfile + toSerialize["accessControlProfile"] = o.AccessControlProfile + toSerialize["signature"] = o.Signature + toSerialize["sourceGatewayPubkey"] = o.SourceGatewayPubkey + toSerialize["sourceGatewayDltSystem"] = o.SourceGatewayDltSystem + toSerialize["recipientGatewayPubkey"] = o.RecipientGatewayPubkey + toSerialize["recipientGatewayDltSystem"] = o.RecipientGatewayDltSystem + if !IsNil(o.EscrowType) { + toSerialize["escrowType"] = o.EscrowType + } + if !IsNil(o.ExpiryTime) { + toSerialize["expiryTime"] = o.ExpiryTime + } + if !IsNil(o.MultipleClaimsAllowed) { + toSerialize["multipleClaimsAllowed"] = o.MultipleClaimsAllowed + } + if !IsNil(o.MultipleCancelsAllowed) { + toSerialize["multipleCancelsAllowed"] = o.MultipleCancelsAllowed + } + if !IsNil(o.Permissions) { + toSerialize["permissions"] = o.Permissions + } + if !IsNil(o.Origin) { + toSerialize["origin"] = o.Origin + } + if !IsNil(o.Destination) { + toSerialize["destination"] = o.Destination + } + if !IsNil(o.SubsequentCalls) { + toSerialize["subsequentCalls"] = o.SubsequentCalls + } + if !IsNil(o.Histories) { + toSerialize["histories"] = o.Histories + } + toSerialize["sequenceNumber"] = o.SequenceNumber + toSerialize["sourceBasePath"] = o.SourceBasePath + toSerialize["recipientBasePath"] = o.RecipientBasePath + toSerialize["maxRetries"] = o.MaxRetries + toSerialize["maxTimeout"] = o.MaxTimeout + toSerialize["backupGatewaysAllowed"] = o.BackupGatewaysAllowed + toSerialize["recipientLedgerAssetID"] = o.RecipientLedgerAssetID + toSerialize["sourceLedgerAssetID"] = o.SourceLedgerAssetID + return toSerialize, nil +} + +type NullableTransferInitializationV1Request struct { + value *TransferInitializationV1Request + isSet bool +} + +func (v NullableTransferInitializationV1Request) Get() *TransferInitializationV1Request { + return v.value +} + +func (v *NullableTransferInitializationV1Request) Set(val *TransferInitializationV1Request) { + v.value = val + v.isSet = true +} + +func (v NullableTransferInitializationV1Request) IsSet() bool { + return v.isSet +} + +func (v *NullableTransferInitializationV1Request) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransferInitializationV1Request(val *TransferInitializationV1Request) *NullableTransferInitializationV1Request { + return &NullableTransferInitializationV1Request{value: val, isSet: true} +} + +func (v NullableTransferInitializationV1Request) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransferInitializationV1Request) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_initialization_v1_response.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_initialization_v1_response.go new file mode 100644 index 00000000000..e1f9220f7c0 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/model_transfer_initialization_v1_response.go @@ -0,0 +1,405 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" +) + +// checks if the TransferInitializationV1Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TransferInitializationV1Response{} + +// TransferInitializationV1Response struct for TransferInitializationV1Response +type TransferInitializationV1Response struct { + MessageType string `json:"messageType"` + SessionID string `json:"sessionID"` + SequenceNumber float32 `json:"sequenceNumber"` + OdapPhase *string `json:"odapPhase,omitempty"` + InitialRequestMessageHash string `json:"initialRequestMessageHash"` + Destination *string `json:"destination,omitempty"` + TimeStamp string `json:"timeStamp"` + ProcessedTimeStamp string `json:"processedTimeStamp"` + ServerIdentityPubkey string `json:"serverIdentityPubkey"` + Signature string `json:"signature"` + BackupGatewaysAllowed []string `json:"backupGatewaysAllowed"` +} + +// NewTransferInitializationV1Response instantiates a new TransferInitializationV1Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTransferInitializationV1Response(messageType string, sessionID string, sequenceNumber float32, initialRequestMessageHash string, timeStamp string, processedTimeStamp string, serverIdentityPubkey string, signature string, backupGatewaysAllowed []string) *TransferInitializationV1Response { + this := TransferInitializationV1Response{} + this.MessageType = messageType + this.SessionID = sessionID + this.SequenceNumber = sequenceNumber + this.InitialRequestMessageHash = initialRequestMessageHash + this.TimeStamp = timeStamp + this.ProcessedTimeStamp = processedTimeStamp + this.ServerIdentityPubkey = serverIdentityPubkey + this.Signature = signature + this.BackupGatewaysAllowed = backupGatewaysAllowed + return &this +} + +// NewTransferInitializationV1ResponseWithDefaults instantiates a new TransferInitializationV1Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTransferInitializationV1ResponseWithDefaults() *TransferInitializationV1Response { + this := TransferInitializationV1Response{} + return &this +} + +// GetMessageType returns the MessageType field value +func (o *TransferInitializationV1Response) GetMessageType() string { + if o == nil { + var ret string + return ret + } + + return o.MessageType +} + +// GetMessageTypeOk returns a tuple with the MessageType field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetMessageTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MessageType, true +} + +// SetMessageType sets field value +func (o *TransferInitializationV1Response) SetMessageType(v string) { + o.MessageType = v +} + +// GetSessionID returns the SessionID field value +func (o *TransferInitializationV1Response) GetSessionID() string { + if o == nil { + var ret string + return ret + } + + return o.SessionID +} + +// GetSessionIDOk returns a tuple with the SessionID field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetSessionIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SessionID, true +} + +// SetSessionID sets field value +func (o *TransferInitializationV1Response) SetSessionID(v string) { + o.SessionID = v +} + +// GetSequenceNumber returns the SequenceNumber field value +func (o *TransferInitializationV1Response) GetSequenceNumber() float32 { + if o == nil { + var ret float32 + return ret + } + + return o.SequenceNumber +} + +// GetSequenceNumberOk returns a tuple with the SequenceNumber field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetSequenceNumberOk() (*float32, bool) { + if o == nil { + return nil, false + } + return &o.SequenceNumber, true +} + +// SetSequenceNumber sets field value +func (o *TransferInitializationV1Response) SetSequenceNumber(v float32) { + o.SequenceNumber = v +} + +// GetOdapPhase returns the OdapPhase field value if set, zero value otherwise. +func (o *TransferInitializationV1Response) GetOdapPhase() string { + if o == nil || IsNil(o.OdapPhase) { + var ret string + return ret + } + return *o.OdapPhase +} + +// GetOdapPhaseOk returns a tuple with the OdapPhase field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetOdapPhaseOk() (*string, bool) { + if o == nil || IsNil(o.OdapPhase) { + return nil, false + } + return o.OdapPhase, true +} + +// HasOdapPhase returns a boolean if a field has been set. +func (o *TransferInitializationV1Response) HasOdapPhase() bool { + if o != nil && !IsNil(o.OdapPhase) { + return true + } + + return false +} + +// SetOdapPhase gets a reference to the given string and assigns it to the OdapPhase field. +func (o *TransferInitializationV1Response) SetOdapPhase(v string) { + o.OdapPhase = &v +} + +// GetInitialRequestMessageHash returns the InitialRequestMessageHash field value +func (o *TransferInitializationV1Response) GetInitialRequestMessageHash() string { + if o == nil { + var ret string + return ret + } + + return o.InitialRequestMessageHash +} + +// GetInitialRequestMessageHashOk returns a tuple with the InitialRequestMessageHash field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetInitialRequestMessageHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.InitialRequestMessageHash, true +} + +// SetInitialRequestMessageHash sets field value +func (o *TransferInitializationV1Response) SetInitialRequestMessageHash(v string) { + o.InitialRequestMessageHash = v +} + +// GetDestination returns the Destination field value if set, zero value otherwise. +func (o *TransferInitializationV1Response) GetDestination() string { + if o == nil || IsNil(o.Destination) { + var ret string + return ret + } + return *o.Destination +} + +// GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetDestinationOk() (*string, bool) { + if o == nil || IsNil(o.Destination) { + return nil, false + } + return o.Destination, true +} + +// HasDestination returns a boolean if a field has been set. +func (o *TransferInitializationV1Response) HasDestination() bool { + if o != nil && !IsNil(o.Destination) { + return true + } + + return false +} + +// SetDestination gets a reference to the given string and assigns it to the Destination field. +func (o *TransferInitializationV1Response) SetDestination(v string) { + o.Destination = &v +} + +// GetTimeStamp returns the TimeStamp field value +func (o *TransferInitializationV1Response) GetTimeStamp() string { + if o == nil { + var ret string + return ret + } + + return o.TimeStamp +} + +// GetTimeStampOk returns a tuple with the TimeStamp field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetTimeStampOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TimeStamp, true +} + +// SetTimeStamp sets field value +func (o *TransferInitializationV1Response) SetTimeStamp(v string) { + o.TimeStamp = v +} + +// GetProcessedTimeStamp returns the ProcessedTimeStamp field value +func (o *TransferInitializationV1Response) GetProcessedTimeStamp() string { + if o == nil { + var ret string + return ret + } + + return o.ProcessedTimeStamp +} + +// GetProcessedTimeStampOk returns a tuple with the ProcessedTimeStamp field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetProcessedTimeStampOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ProcessedTimeStamp, true +} + +// SetProcessedTimeStamp sets field value +func (o *TransferInitializationV1Response) SetProcessedTimeStamp(v string) { + o.ProcessedTimeStamp = v +} + +// GetServerIdentityPubkey returns the ServerIdentityPubkey field value +func (o *TransferInitializationV1Response) GetServerIdentityPubkey() string { + if o == nil { + var ret string + return ret + } + + return o.ServerIdentityPubkey +} + +// GetServerIdentityPubkeyOk returns a tuple with the ServerIdentityPubkey field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetServerIdentityPubkeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServerIdentityPubkey, true +} + +// SetServerIdentityPubkey sets field value +func (o *TransferInitializationV1Response) SetServerIdentityPubkey(v string) { + o.ServerIdentityPubkey = v +} + +// GetSignature returns the Signature field value +func (o *TransferInitializationV1Response) GetSignature() string { + if o == nil { + var ret string + return ret + } + + return o.Signature +} + +// GetSignatureOk returns a tuple with the Signature field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetSignatureOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Signature, true +} + +// SetSignature sets field value +func (o *TransferInitializationV1Response) SetSignature(v string) { + o.Signature = v +} + +// GetBackupGatewaysAllowed returns the BackupGatewaysAllowed field value +func (o *TransferInitializationV1Response) GetBackupGatewaysAllowed() []string { + if o == nil { + var ret []string + return ret + } + + return o.BackupGatewaysAllowed +} + +// GetBackupGatewaysAllowedOk returns a tuple with the BackupGatewaysAllowed field value +// and a boolean to check if the value has been set. +func (o *TransferInitializationV1Response) GetBackupGatewaysAllowedOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.BackupGatewaysAllowed, true +} + +// SetBackupGatewaysAllowed sets field value +func (o *TransferInitializationV1Response) SetBackupGatewaysAllowed(v []string) { + o.BackupGatewaysAllowed = v +} + +func (o TransferInitializationV1Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TransferInitializationV1Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["messageType"] = o.MessageType + toSerialize["sessionID"] = o.SessionID + toSerialize["sequenceNumber"] = o.SequenceNumber + if !IsNil(o.OdapPhase) { + toSerialize["odapPhase"] = o.OdapPhase + } + toSerialize["initialRequestMessageHash"] = o.InitialRequestMessageHash + if !IsNil(o.Destination) { + toSerialize["destination"] = o.Destination + } + toSerialize["timeStamp"] = o.TimeStamp + toSerialize["processedTimeStamp"] = o.ProcessedTimeStamp + toSerialize["serverIdentityPubkey"] = o.ServerIdentityPubkey + toSerialize["signature"] = o.Signature + toSerialize["backupGatewaysAllowed"] = o.BackupGatewaysAllowed + return toSerialize, nil +} + +type NullableTransferInitializationV1Response struct { + value *TransferInitializationV1Response + isSet bool +} + +func (v NullableTransferInitializationV1Response) Get() *TransferInitializationV1Response { + return v.value +} + +func (v *NullableTransferInitializationV1Response) Set(val *TransferInitializationV1Response) { + v.value = val + v.isSet = true +} + +func (v NullableTransferInitializationV1Response) IsSet() bool { + return v.isSet +} + +func (v *NullableTransferInitializationV1Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTransferInitializationV1Response(val *TransferInitializationV1Response) *NullableTransferInitializationV1Response { + return &NullableTransferInitializationV1Response{value: val, isSet: true} +} + +func (v NullableTransferInitializationV1Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTransferInitializationV1Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/response.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/response.go new file mode 100644 index 00000000000..21b0869ef5e --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/response.go @@ -0,0 +1,47 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/test/api_default_test.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/test/api_default_test.go new file mode 100644 index 00000000000..72e567c5bc4 --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/test/api_default_test.go @@ -0,0 +1,224 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Testing DefaultApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package cactus-plugin-satp-hermes + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/hyperledger/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client" +) + +func Test_cactus-plugin-satp-hermes_DefaultApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test DefaultApiService ClientRequestV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.DefaultApi.ClientRequestV1(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase1TransferInitiationRequestV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase1TransferInitiationRequestV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase1TransferInitiationResponseV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase1TransferInitiationResponseV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase2LockEvidenceRequestV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase2LockEvidenceRequestV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase2LockEvidenceResponseV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase2LockEvidenceResponseV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase2TransferCommenceRequestV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase2TransferCommenceRequestV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase2TransferCommenceResponseV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase2TransferCommenceResponseV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase3CommitFinalRequestV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase3CommitFinalRequestV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase3CommitFinalResponseV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase3CommitFinalResponseV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase3CommitPreparationRequestV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase3CommitPreparationRequestV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase3CommitPreparationResponseV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase3CommitPreparationResponseV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService Phase3TransferCompleteRequestV1", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.Phase3TransferCompleteRequestV1(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RecoverUpdateAckV1Message", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.RecoverUpdateAckV1Message(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RecoverUpdateV1Message", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.RecoverUpdateV1Message(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RecoverV1Message", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.RecoverV1Message(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RecoverV1Success", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.RecoverV1Success(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RollbackAckV1Message", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.RollbackAckV1Message(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test DefaultApiService RollbackV1Message", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.DefaultApi.RollbackV1Message(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/utils.go b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/utils.go new file mode 100644 index 00000000000..be8ea1d96dc --- /dev/null +++ b/packages/cactus-plugin-satp-hermes/src/main/go/generated/openapi/go-client/utils.go @@ -0,0 +1,347 @@ +/* +Hyperledger Cactus Plugin - Odap Hermes + +Implementation for Odap and Hermes + +API version: v2.0.0-alpha.2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cactus-plugin-satp-hermes + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// IsNil checks if an input is nil +func IsNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} + +type MappedNullable interface { + ToMap() (map[string]interface{}, error) +} diff --git a/yarn.lock b/yarn.lock index 616fc8c2ff1..6fcb3794c75 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9484,6 +9484,7 @@ __metadata: openapi-types: "npm:12.1.3" prettier: "npm:3.2.5" protoc-gen-ts: "npm:0.8.7" + replace: "npm:1.2.2" run-time-error: "npm:1.4.0" run-time-error-cjs: "npm:1.4.0" secp256k1: "npm:4.0.3" @@ -20321,6 +20322,17 @@ __metadata: languageName: node linkType: hard +"chalk@npm:2.4.2, chalk@npm:^2.0.0, chalk@npm:^2.1.0, chalk@npm:^2.3.0, chalk@npm:^2.3.2, chalk@npm:^2.4.1, chalk@npm:^2.4.2": + version: 2.4.2 + resolution: "chalk@npm:2.4.2" + dependencies: + ansi-styles: "npm:^3.2.1" + escape-string-regexp: "npm:^1.0.5" + supports-color: "npm:^5.3.0" + checksum: 10/3d1d103433166f6bfe82ac75724951b33769675252d8417317363ef9d54699b7c3b2d46671b772b893a8e50c3ece70c4b933c73c01e81bc60ea4df9b55afa303 + languageName: node + linkType: hard + "chalk@npm:4.1.2, chalk@npm:^4.0.0, chalk@npm:^4.0.2, chalk@npm:^4.1.0, chalk@npm:^4.1.1, chalk@npm:^4.1.2": version: 4.1.2 resolution: "chalk@npm:4.1.2" @@ -20344,17 +20356,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^2.0.0, chalk@npm:^2.1.0, chalk@npm:^2.3.0, chalk@npm:^2.3.2, chalk@npm:^2.4.1, chalk@npm:^2.4.2": - version: 2.4.2 - resolution: "chalk@npm:2.4.2" - dependencies: - ansi-styles: "npm:^3.2.1" - escape-string-regexp: "npm:^1.0.5" - supports-color: "npm:^5.3.0" - checksum: 10/3d1d103433166f6bfe82ac75724951b33769675252d8417317363ef9d54699b7c3b2d46671b772b893a8e50c3ece70c4b933c73c01e81bc60ea4df9b55afa303 - languageName: node - linkType: hard - "chalk@npm:^3.0.0": version: 3.0.0 resolution: "chalk@npm:3.0.0" @@ -36618,6 +36619,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:3.0.5": + version: 3.0.5 + resolution: "minimatch@npm:3.0.5" + dependencies: + brace-expansion: "npm:^1.1.7" + checksum: 10/8f9707491183a07a9542b8cf45aacb3745ba9fe6c611173fb225d7bf191e55416779aee31e17673a516a178af02d8d3d71ddd36ae3d5cc2495f627977ad1a012 + languageName: node + linkType: hard + "minimatch@npm:5.0.1, minimatch@npm:^5.0.1": version: 5.0.1 resolution: "minimatch@npm:5.0.1" @@ -43589,6 +43599,20 @@ __metadata: languageName: node linkType: hard +"replace@npm:1.2.2": + version: 1.2.2 + resolution: "replace@npm:1.2.2" + dependencies: + chalk: "npm:2.4.2" + minimatch: "npm:3.0.5" + yargs: "npm:^15.3.1" + bin: + replace: bin/replace.js + search: bin/search.js + checksum: 10/275ca1a2cfc12476426420fb9a3dda382450395176b4600fdd76ac7d2876b43af96b4ba82c40e3bb46696d3caa2babef13ea1bbb81371d6dd4416ce4f9f77ffd + languageName: node + linkType: hard + "request-progress@npm:^3.0.0": version: 3.0.0 resolution: "request-progress@npm:3.0.0" @@ -49097,11 +49121,11 @@ __metadata: "typescript@patch:typescript@npm%3A4.5.2#optional!builtin": version: 4.5.2 - resolution: "typescript@patch:typescript@npm%3A4.5.2#optional!builtin::version=4.5.2&hash=bcec9a" + resolution: "typescript@patch:typescript@npm%3A4.5.2#optional!builtin::version=4.5.2&hash=f1b8ea" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/2b1b5da201d27f6a1ec6b5fa26c169e2d9999b0aa7833bcd71386214f0249aeafb290dc9d06b6fa78008bc945e32fc7c7ab91d580116a9a9d451ea5d609a1553 + checksum: 10/7f1707766d9835f54358774b40ce67aaef9619597732d8633274d21e24e714b14e06ea30997181eb4c14a815898c35915bd22448546440a2daa602e027f36018 languageName: node linkType: hard @@ -54184,7 +54208,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^15.0.2": +"yargs@npm:^15.0.2, yargs@npm:^15.3.1": version: 15.4.1 resolution: "yargs@npm:15.4.1" dependencies: